OSDN Git Service

PR libgcj/24170:
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2008-02-20  Tom Tromey  <tromey@redhat.com>
2
3         PR libgcj/24170:
4         * java/io/natFilePosix.cc (File::performList): Don't use
5         readdir_r.
6         * configure, include/config.h.in: Rebuilt.
7         * configure.ac: Don't check for readdir_r.
8
9 2008-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10
11         PR libgcj/33085
12         * configure: Regenerate.
13
14 2008-02-15  Andreas Tobler  <a.tobler@schweiz.org>
15
16         PR testsuite/35208
17         * testsuite/libjava.jvmti/interp/natgetstacktrace.cc
18         (Java_getstacktrace_natRunner): Increase the usleep time to a value
19         which prevents OS-X to get into a deadlock.
20
21 2008-02-06  Andreas Tobler  <a.tobler@schweiz.org>
22
23         PR libgcj/30071
24         * Makefile.am (install-exec-hook): Add install-binPROGRAMS.
25         * Makefile.in: Regenerate.
26
27 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
28
29         * shlibpath.m4: Add AIX 6 support.
30         * configure: Regenerate.
31
32 2008-01-18  Alexandre Oliva  <aoliva@redhat.com>
33
34         PR c++/33887
35         * link.cc (_Jv_Linker::prepare_constant_time_tables):
36         has_interfaces is boolean, treat it as such.
37
38 2008-01-04  Andrew Haley  <aph@redhat.com>
39
40         PR libgcj/34444
41         * java/lang/natClass.cc (Class::getEnclosingClass): Call
42         getDeclaringClass().
43
44 2007-12-22  David Daney  <ddaney@avtrex.com>
45
46         * scripts/makemake.tcl (emit_bc_rule): Use $(LIBGCJ_BC_FLAGS)
47         instead of -findirect-dispatch -fno-indirect-classes.
48         * configure.ac (libgcj-bc): New AC_ARG_ENABLE.
49         (SUPPRESS_LIBGCJ_BC): New AM_CONDITIONAL.
50         * Makefile.am (LIBGCJ_BC_FLAGS): New variable.
51         * Makefile.in: Regenerate.
52         * include/Makefile.in: Same.
53         * testsuite/Makefile.in: Same.
54         * configure: Same.
55         * gcj/Makefile.in: Same.
56         * sources.am: Same.
57         
58 2007-12-17  Jakub Jelinek  <jakub@redhat.com>
59
60         * testsuite/Makefile.am (compile-tests): Build
61         libjava.jvmti/interp/*.h with -jni rather than -cni.
62         * testsuite/Makefile.in: Rebuilt.
63
64 2007-12-08  Andreas Tobler  <a.tobler@schweiz.org>
65
66         * configure.host: Add bits for i?86-*-darwin9 and x86_64-*-darwin9.
67         * configure.ac: Add darwin-signal.h to x86_64-*-darwin9 and
68         i?86-*darwin9.
69         * configure.in: Regenerate.
70         * darwin.cc: Add definitions for Darwin specific functions for 64-bit.
71         (darwin_java_register_dyld_add_image_hook): Use this specific
72         functions.
73         * Makefile.am (gij_LDFLAGS): Add extra_gij_ldflags for Darwin9.
74         * Makefile.in: Regenerate.
75         * include/Makefile.in: Likewise.
76         * gcj/Makefile.in: Likewise.
77         * testsuite/Makefile.in: Likewise.
78         * testsuite/lib/libjava.exp (libjava_arguments): Add allow_stack_execute
79         for *-*-darwin9*.
80
81 2007-12-06  David Daney  <ddaney@avtrex.com>
82
83         * interpret.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE throughout.
84         (ncode_closure, ffi_closure_fun): Define versions for
85         non-FFI_NATIVE_RAW_API case.
86         * include/java-interp.h (INTERP_FFI_RAW_TYPE): Define and use to
87         replace ffi_raw throughout.
88         * jni.cc, interpret-run.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE
89         throughout.
90
91 2007-12-06  Andreas Tobler  <a.tobler@schweiz.org>
92
93         * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Make
94         the testsuite multilib aware for Darwin.
95
96 2007-12-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
97
98         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h: Regenerate.
99         * gnu/java/awt/peer/gtk/GtkWindowPeer.h: Likewise.
100         * java/awt/Component.h: Likewise.
101         * java/awt/Container.h: Likewise.
102
103 2007-11-05  H.J. Lu  <hongjiu.lu@intel.com>
104
105         * configure.ac: Don't run config-ml.in directly.
106         (multilib_arg): New.
107         * configure: Regenerated.
108
109 2007-10-22  David Daney  <ddaney@avtrex.com>
110
111         * include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function.
112         * boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it.
113
114 2007-10-18  David Daney  <ddaney@avtrex.com>
115
116         * classpath/lib/gnu/java/locale/LocaleData.class: Regenerate
117         * classpath/lib/gnu/javax/sound/sampled/gstreamer: Add generated
118         files.
119         * gnu/javax/sound/sampled/gstreamer: Add generated files.
120         
121 2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>
122
123         * configure: Regenerate following changes to ../config/tls.m4.
124
125 2007-09-17  Tom Tromey  <tromey@redhat.com>
126
127         * defineclass.cc (MAJOR_1_6): New define.
128         (MINOR_1_6): Likewise.
129         (_Jv_ClassReader::parse): Handle 1.6 bytecode.
130
131 2007-09-12  David Daney  <ddaney@avtrex.com>
132
133         * configure.host: Enable interpreter for mips64.  Enable hash
134         synchronization for all mips*-*-linux* targets.
135         * sysdep/mips/locks.h (compare_and_swap, compare_and_swap_release) Use
136         __sync_bool_compare_and_swap instead of in-line asm.
137         (release_set, read_barrier, write_barrier): Use __sync_synchronize
138         instead of in-line asm.
139
140 2007-09-09  Andreas Tobler  <a.tobler@schweiz.org>
141
142         PR libgcj/33326
143         * testsuite/lib/libjava.exp (libjava_arguments): Append the test spec
144         only for linux targets.
145
146 2007-09-09  Andrew Haley  <aph@redhat.com>
147
148         * interpret-run.cc (invokevirtual_resolved): Nullcheck object on
149         TOS.
150
151 2007-09-06  Tom Tromey  <tromey@redhat.com>
152
153         * testsuite/libjava.lang/StackTrace2.jar: Rebuilt.
154         * testsuite/libjava.lang/StackTrace2.java (checkLine): Print file
155         name.
156
157 2007-09-06  Roman Zippel  <zippel@linux-m68k.org>
158
159         * sysdep/m68k/locks.h: New file.
160         * configure.host: Set sysdeps_dir and libgcj_interpreter for m68k.
161         * configure.ac: Set SIGNAL_HANDLER for m68*-*-linux*.
162         * configure: Regenerate.
163
164 2007-09-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
165
166         * configure.host(gnu*): Set use_libgcj_bc to yes.
167
168 2007-09-04  Matthias Klose  <doko@ubuntu.com>
169
170         * configure.ac: Do not pass --with-native-libdir to classpath.
171         * configure: Regenerate.
172
173 2007-09-04  Matthias Klose  <doko@ubuntu.com>
174
175         PR libgcj/33278
176         * configure.ac: Robustify extraction of gcj version.
177         * configure: Regenerate.
178
179 2007-09-04  Andrew Haley  <aph@redhat.com>
180
181         PR java/27908
182         * testsuite/libjava.lang/PR27908.java
183         ({run1,run2,run3}.isRunning): New Method.
184         (main): Fix race condition.
185
186 2007-08-29  Andrew Haley  <aph@redhat.com>
187
188         * gnu/classpath/natVMStackWalker.cc (VMStackWalker::getCallingClass):
189         Make sure we're not sibcalled.
190         (GET_CALLING_CLASS): Define for ARM EABI.
191
192 2007-08-22  Andrew Haley  <aph@redhat.com>
193
194         * configure.host (BACKTRACESPEC): Add arm*-linux*.
195
196 2007-08-22  Andrew Haley  <aph@redhat.com>
197
198         * configure.ac (LIBSTDCXXSPEC): New.
199         * configure.host: Add arm*-linux* to pthread test.
200         * configure.ac (LIBGCJTESTSPEC): Add path to libstdc++ for ARM
201         EABI.
202         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
203         -fexceptions for ARM EABI.
204         * testsuite/lib/libjava.exp (libjava_arguments): Add libgcj-test.spec.
205         (libjava_invoke): Log the invocation.
206
207 2007-08-15  Andrew Haley  <aph@redhat.com>
208
209         * configure.ac (extra_ldflags): Define.
210         * Makefile.am: Use extra_ldflags for all executables.
211
212 2007-08-14  Andrew Haley  <aph@redhat.com>
213
214         * sysdep/arm/backtrace.h: Remove stubs for _Unwind_GetIPInfo,
215         _Unwind_GetRegionStart, and _Unwind_Backtrace.
216
217 2007-07-27  Andrew Haley  <aph@redhat.com>
218
219         * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): Stub for
220         ARM EABI.
221         * exception.cc (get_exception_header_from_ue): New.
222         (get_ttype_entry): ARM EABI version.
223         (PERSONALITY_FUNCTION): Add ARM EABI code.
224         * sysdep/arm/backtrace.h: New file.
225         * stacktrace.cc (_URC_NORMAL_STOP): New.
226         * configure.ac (extra_ldflags_libjava): Add libsupc++.la for ARM
227         EABI.
228         * configure.host (BACKTRACESPEC): Add arm/backtrace.h.
229
230 2007-08-31  Matthias Klose  <doko@ubuntu.com>
231
232         * classpath/lib/java/util/EnumSet*.class: Regenerate
233
234 2007-08-30  Andreas Tobler  <a.tobler@schweiz.org>
235
236         * gij.cc (version): Update Copyright year.
237
238 2007-08-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
239
240         * configure.host (gnu*): Set use_libgcj_bc to yes.
241
242 2007-08-15  Tom Tromey  <tromey@redhat.com>
243
244         * java/lang/Class.java (internalGetFields): Use LinkedHashSet.
245         * classpath/lib/java/lang/Class.class: Rebuilt.
246
247 2007-08-15  Samuel Thibault  <samuel.thibault@ens-lyon.org>
248
249         * java/lang/natPosixProcess.cc (sigchld_handler) [!SA_SIGINFO]: Remove
250         'si' and 'third' parameters.  Disable calling
251         pmi->old_sigaction.sa_sigaction.
252         (java::lang::PosixProcess*ProcessManager::init) [!SA_SIGINFO]: Set
253         sa.sa_handler instead of sa.sa_sigaction, don't set SA_SIGINFO flag.
254
255 2007-08-09  Andrew Haley  <aph@redhat.com>
256
257         * testsuite/lib/libjava.exp (libjava_invoke): Log the invocation.
258
259 2007-08-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
260
261         * java/net/natVMInetAddressPosix.cc
262         (java::net::VMInetAddress::getLocalHostname) [!MAXHOSTNAMELEN]:
263         Allocate buffer dynamically.
264
265 2007-08-04  Alfred M. Szmidt  <ams@gnu.org>
266
267         * java/io/natFilePosix.cc (init_native) [!MAXPATHLEN]: Define to 0.
268         * java/io/File.java (createTempFile): Don't truncate if the system
269         doesn't have a limit on the length of a file name.
270         * classpath/lib/java/io/File.class: Regenerate.
271
272 2007-08-04  Matthias Klose  <doko@ubuntu.com>
273
274         Import GNU Classpath (libgcj-import-20070727).
275
276         * Regenerate class and header files.
277         * Regenerate auto* files.
278
279         * include/jvm.h:
280         * jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type.
281         * jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise.
282         * jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA,
283         _Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA,
284         _Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA,
285         _Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify
286         jvalue parameter.
287         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
288
289         * java/lang/VMFloat.java (toString, parseFloat): New.
290
291         * gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported,
292         isModalExclusionTypeSupported): New (stub only).
293         * gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise.
294         * gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages,
295         updateFocusableWindowState, setModalBlocked, getBoundsPrivate,
296         setAlwaysOnTop): Likewise.
297         * gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature.
298
299         * scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer,
300         ignore javax.sound.sampled.spi.MixerProvider, ignore .in files.
301
302         * HACKING: Mention --enable-gstreamer-peer, removal of generated files.
303
304 2007-07-31  David Daney  <ddaney@avtrex.com>
305
306         * HACKING: Document regenerating configure and aclocal.m4.
307
308 2007-07-31  David Daney  <ddaney@avtrex.com>
309
310         * configure.ac (INTERPRETER): New AM_CONDITIONAL.
311         * scripts/makemake.tcl (package_map): Mark jdwp and jvmti packages
312         as being for interpreter only.  Place interpreter related files in
313         'if INTERPRETER' block.
314         (interpreter_package_files): New list.
315         (interpreter_header_vars): Ditto.
316         (emit_package_rule_to_list): Renamed from emit_package_rule with
317         new target list parameter.
318         (emit_package_rule): Rewritten to call emit_package_rule_to_list.
319         (emit_interpreter_rule): New function.
320         (emit_source_var): Place interpreter related files in
321         interpreter_header_vars.
322         * Makefile.am (ACLOCAL_AMFLAGS): Add -I libltdl.
323         (libgcj_interpret_source_files): New variable.
324         (libgcj_la_SOURCES): Move jvmti.cc and  interpret.cc to
325         libgcj_interpret_source_files and include
326         libgcj_interpret_source_files.
327         (nat_jdwp_source_files): New variable.
328         (nat_jvmti_source_files): Ditto.
329         (nat_source_files): Move jdwp and jvmti related files to
330         nat_jdwp_source_files and nat_jvmti_source_files and include
331         nat_jdwp_source_files and nat_jvmti_source_files.
332         * Makefile.in: Regenerate.
333         * include/Makefile.in: Ditto.
334         * testsuite/Makefile.in: Ditto.
335         * gcj/Makefile.in: Ditto.
336         * sources.am: Ditto.
337         * configure: Ditto.
338         * include/config.h.in: Ditto.
339         * interpret.cc: Remove #ifdef INTERPRETER block.
340         * stacktrace.cc (UnwindTraceFn): Do not handle proxy frames if
341         interpreter disabled.
342         * include/java-interp.h (_Jv_FrameType): Move outside of
343         #ifdef INTERPRETER block.
344         * include/execution.h (_Jv_IndirectCompiledEngine::do_get_closure_list,
345         _Jv_InterpreterEngine, _Jv_soleInterpreterEngine): Place in
346         #ifdef INTERPRETER block.
347         * jni.cc (jvmti.h, jvmti-int.h):  Only include if INTERPRETER is
348         defined.
349         (_Jv_JNI_PopSystemFrame, _Jv_JNI_GetEnv): Only do jvmti processing
350         if INTERPRETER is defined.
351         * prims.cc (jvmti.h, jvmti-int.h, Jdwp.h, VMVirtualMachine.h):  Only
352         include if INTERPRETER is defined.
353         (defaultJdwpOptions, jdwpOptions, jvmti_agent_onload_func,
354         jvmti_agent_onunload_func, jvmti_agentonload, jvmti_agentonunload,
355         jvmti_agent_opts, load_jvmti_agent): Only define if INTERPRETER is
356         defined.
357         (parse_x_arg): Only process 'runjdwp:' if INTERPRETER is defined.
358         (parse_init_args): Only process jvmti related options if
359         INTERPRETER is defined.
360         (_Jv_CreateJavaVM): Only call _Jv_JVMTI_Init if INTERPRETER is
361         defined.
362         (_Jv_RunMain): Only do jvmti and jdwp processing if INTERPRETER is
363         defined.
364         * link.cc (jvmti.h, jvmti-int.h):  Only include if INTERPRETER is
365         defined.
366         (_Jv_ThrowNoClassDefFoundError, _Jv_Linker::create_error_method):
367         Define if if INTERPRETER is not defined.
368         (_Jv_Linker::wait_for_state): Only do jvmti proccessing if
369         INTERPRETER is defined.
370         * boehm.cc (closure_list_pointer, finalize_closure_list,
371         _Jv_ClosureListFinalizer): Only define if INTERPRETER is
372         defined.
373         * java/lang/natThread.cc (jvmti.h, jvmti-int.h):  Only include if
374         INTERPRETER is defined.
375         (finish_, _Jv_NotifyThreadStart): Only do jvmti proccessing if
376         INTERPRETER is defined.
377         * java/lang/Class.h (_Jv_InterpreterEngine): Move declaration
378         and friend declaration inside #ifdef INTERPRETER block.
379         * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures,
380         _Jv_ClosureList::registerClosure, _Jv_GetInterpClassSourceFile):
381         Only define if INTERPRETER is defined.
382         * java/lang/reflect/natVMProxy.cc (UnsupportedOperationException.h):
383         Include.
384         (generateProxyClass): Throw UnsupportedOperationException unless
385         INTERPRETER is defined.
386
387 2007-07-29  Matthias Klose  <doko@ubuntu.com>
388
389         * HACKING: Document regenerating configure.
390
391 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
392
393         PR libgcj/32929
394         * aclocal.m4: Regenerated.
395         * configure: Likewise.
396
397 2007-07-28  Matthias Klose  <doko@ubuntu.com>
398
399         * configure.ac: Encode the libgcj soversion in dbexecdir,
400         pass --with-native-libdir to classpath configure.
401         * configure: Regenerate.
402
403 2007-07-28  Matthias Klose  <doko@ubuntu.com>
404
405         * classpath/jvmti.h: Remove.
406
407 2007-07-27  Tom Tromey  <tromey@redhat.com>
408
409         * Rebuild .class files with new ecj.
410
411 2007-07-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
412
413         * configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
414         * configure: Regenerate.
415
416 2007-07-16  Rask Ingemann Lambertsen  <rask@sygehus.dk>
417
418         PR target/32340
419         * configure.host (arm*-elf | strongarm*-elf | xscale*-elf): Use the
420         new sysdeps/arm directory.
421
422 2007-07-15  Tom Tromey  <tromey@redhat.com>
423
424         * java/io/File.java: Implement Comparable<File>.
425         (compareTo): Removed.
426         * java/io/File.h: Rebuilt.
427         * classpath/lib/java/io/File.class: Rebuilt.
428
429 2007-07-14  Tom Tromey  <tromey@redhat.com>
430
431         * Rebuilt .class files.
432
433 2007-07-15  Andrew Haley  <aph@redhat.com>
434
435         * configure.host: 
436         arm*-linux-gnu -> arm*-linux*.
437
438 2007-07-14  Krister Walfridsson  <cato@df.lth.se>
439
440         * gnu/gcj/util/natGCInfo.cc: Use HAVE_STRERROR_R.
441         * configure.ac: Remove check for strerror, add check for strerror_r.
442         * configure: Regenerate.
443         * include/config.h.in: Regenerate.
444
445 2007-07-13  Andrew Haley  <aph@redhat.com>
446
447         * libgcj.ver: Add __gcj_personality_sj0.
448
449         * testsuite/libjava.jvmti/jvmti-interp.exp: Likewise.
450         * testsuite/libjava.jni/jni.exp: Use -fdollars-in-identifiers.
451         * testsuite/libjava.jni/cni.exp: Use -fdollars-in-identifiers.
452         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Likewise.
453
454         * gnu/classpath/natVMStackWalker.cc (getCallingClassLoader): Check
455         klass is non-null.
456         * java/lang/reflect/natField.cc (getAddr): Call
457         _Jv_StackTrace::GetCallingClass only if CALLER is non-null.
458         * java/lang/reflect/natVMProxy.cc (run_proxy): Use
459         _Jv_getFieldInternal to get field proxyClass.m.
460         (_Jv_getFieldInternal): New function.
461
462 2007-07-11  Andrew Haley  <aph@redhat.com>
463
464         * configure.host (arm*-linux-gnu): New.
465         * sysdep/arm/locks.h: New.
466
467 2007-07-13  Roger Sayle  <roger@eyesopen.com>
468
469         * java/lang/natPosixProcess.cc: Include <sys/time.h> before
470         <sys/resource.h> to restore bootstrap on powerpc-apple-darwin7.9.0.
471
472 2007-07-12  Matthias Klose  <doko@ubuntu.com>
473
474         * gnu/classpath/jdwp/util/MethodResult.h,
475         gnu/classpath/jdwp/value/ObjectValue.h: Regenerate.
476
477 2007-07-11  Keith Seitz  <keiths@redhat.com>
478
479         * interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the
480         method is compiled.
481         * testsuite/libjava.jvmti/interp/getlocalvartable.out: Revise
482         for compiled methods.
483
484 2007-07-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
485
486         PR libgcj/32651
487         * configure.host (mips-sgi-irix6*): Set sysdeps_dir.
488         Disable interpreter.
489         
490 2007-07-05  Andreas Tobler  <a.tobler@schweiz.org>
491
492         * java/lang/natPosixProcess.cc: Reorder includes to fix compilation
493         on hppa2.0w-hp-hpux11.11.
494         Remove include of <gcj/cni.h>.
495
496 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
497
498         * aclocal.m4: Regenerated.
499
500 2007-07-03  Andreas Tobler  <a.tobler@schweiz.org>
501
502         * java/lang/Class.h: Remove redundant 'class java::*::* declarations.
503
504 2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
505
506         PR libgcj/30513
507         * configure.host (i[3-6]86-*): Undef sun.
508
509 2007-06-28  H.J. Lu  <hongjiu.lu@intel.com>
510
511         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
512         Fix a typo.
513
514 2007-06-28  Jan Nijtmans  <nijtmans@users.sourceforge.net>
515
516         PR libgcj/30999:
517         * jni_md.h: Add the possibility to compile jni code with.
518         -fvisibility=hidden. This causes all symbols to be hidden
519         except the JNI functions which need to be exported.
520
521 2007-06-28  Andreas Tobler  <a.tobler@schweiz.org>
522
523         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass
524         the cxxldlibflags to exec_gij to have the right libstdc++ invoked.
525
526 2007-07-21  Keith Seitz  <keiths@redhat.com>
527
528         * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerate.
529
530 2007-07-20  Keith Seitz  <keiths@redhat.com>
531
532         * classpath/lib/gnu/classpath/jdwp/value/StringValue.class:
533         Regenerate.
534
535 2007-07-20  Keith Seitz  <keiths@redhat.com>
536
537         * gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod):
538         Update from reference implementation.
539         * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod):
540         Update parameter list to match new VMVirtualMachine interface.
541         * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class:
542         Regenerate.
543         * classpath/lib/gnu/classpath/jdwp/processor/
544         ObjectReferenceCommandSet.class: Regenerate.
545         * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate.
546         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate.
547         * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate.
548
549 2007-06-18  Keith Seitz  <keiths@redhat.com>
550
551         * gnu/gcj/jvmti/Breakpoint.java: Make abstract.
552         (method): Change from private to protected.
553         (location): Likewise.
554         (Breakpoint): Change argument list to take only integer type.
555         Add default constructor.
556         (initialize_native): Renamed to ...
557         (_save_insn): ... this to make function more explicit.
558         (execute): New method.
559         * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
560         * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Rename to...
561         (_save_insn): ... this.
562         (install): Save the original instruction.
563         * gnu/gcj/jvmti/NormalBreakpoint.java: New file.
564         * gnu/gcj/jvmti/NormalBreakpoint.h: New file.
565         * gnu/gcj/jvmti/natNormalBreakpoint.cc: New file.
566         * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
567         Instantiate a NormalBreakpoint instead of Breakpoint.
568         * interpret-run.cc (insn_breakpoint): Remove breakpoint actions
569         and call Breakpoint.execute to do them.
570         * classpath/lib/gnu/gcj/jvmti/Breakpoint.class: Regenerate.
571         * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Likewise.
572         * classpath/lib/gnu/gcj/jvmti/NormalBreakpoint.class: New file.
573         * sources.am: Regenerate.
574         * Makefile.am (nat_source_files): Add natNormalBreakpoint.cc.
575         * Makefile.in: Regenerated.
576
577 2007-06-14  Keith Seitz  <keiths@redhat.com>
578
579         * include/java-interp.h (_Jv_LocalVarTableEntry): Add union
580         for bytecode_pc and direct-threaded pc.
581         Add field descriptions inline.
582         * defineclass.cc (read_one_code_attribute): Change from
583         bytecode_start_pc to bytecode_pc.
584         Remove unused variable "len".
585         * interpret.cc (compile): Remap the variable table, too.
586         (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the
587         start location to map from pc_t to code index.
588
589 2007-06-09  Keith Seitz  <keiths@redhat.com>
590
591         * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
592         Add missing return value.
593
594 2007-06-03  Matthias Klose  <doko@ubuntu.com>
595
596         * java/io/natFileWin32.cc (setFilePermissions): New (stub only).
597         _access: Handle EXEC query, stub only.
598
599 2007-06-03  Matthias Klose  <doko@ubuntu.com>
600
601         Merged from classpath:
602         * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge.
603         * java/lang/System.java(inheritedChannel): New.
604         * java/lang/Character.java: Remove stray`;'.
605         * java/net/MulticastSocket.java: Merged.
606         * java/text/DateFormatSymbols.java(getInstance): New, comment updates.
607         * java/text/Collator.java(getInstance): Merged.
608         * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG.
609         getDisplayName, getDisplayNames: New.
610         * java/util/logging/Logger.java: Merged.
611         * Regenerate .class and .h files.
612
613 2007-06-03  Matthias Klose  <doko@ubuntu.com>
614
615         * java/io/File.java: Merge with classpath-0.95, new method
616         setFilePermissions, new attribute EXEC.
617         * java/io/natFilePosix.cc (setFilePermissions): New.
618         _access: Handle EXEC query.
619         * classpath/lib/java/io/File.class, java/io/File.h: Regenerate.
620
621 2007-06-03  Matthias Klose  <doko@ubuntu.com>
622
623         Imported GNU Classpath 0.95.
624
625         * classpath/Makefile.in,
626         classpath/native/jni/midi-dssi/Makefile.in,
627         classpath/native/jni/classpath/Makefile.in,
628         classpath/native/jni/Makefile.in,
629         classpath/native/jni/gconf-peer/Makefile.in,
630         classpath/native/jni/java-io/Makefile.in,
631         classpath/native/jni/native-lib/Makefile.in,
632         classpath/native/jni/java-util/Makefile.in,
633         classpath/native/jni/midi-alsa/Makefile.in,
634         classpath/native/jni/java-lang/Makefile.in,
635         classpath/native/jni/java-nio/Makefile.in,
636         classpath/native/jni/java-net/Makefile.in,
637         classpath/native/jni/xmlj/Makefile.in,
638         classpath/native/jni/qt-peer/Makefile.in,
639         classpath/native/jni/gtk-peer/Makefile.in,
640         classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
641         classpath/native/fdlibm/Makefile.in,
642         classpath/native/plugin/Makefile.in,
643         classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
644         classpath/tools/Makefile.in, classpath/doc/Makefile.in,
645         classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
646         classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in,
647         classpath/external/sax/Makefile.in,
648         classpath/external/w3c_dom/Makefile.in,
649         classpath/external/relaxngDatatype/Makefile.in,
650         classpath/include/Makefile.in,
651         classpath/examples/Makefile.in: Regenerate.
652         * classpath/config.guess, classpath/config.sub,
653         classpath/ltmain.sh : Update.
654         * classpath/configure, classpath/depcomp, classpath/missing,
655         classpath/aclocal.m4, classpath/install-sh: Regenerate.
656
657         * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95.
658         * sources.am: Regenerate.
659         * Makefile.in: Regenerate.
660
661         * Update the .class files and generated CNI header files, add new
662         .class and generated CNI header files.
663         * Remove generated files for removed java source files:
664         classpath/gnu/java/net/BASE64.java,
665         classpath/gnu/java/security/util/Base64.java,
666         classpath/gnu/java/awt/peer/gtk/GThreadMutex.java,
667         classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
668         classpath/gnu/java/awt/font/autofit/Scaler.java,
669         classpath/gnu/classpath/jdwp/util/Value.java,
670         classpath/gnu/javax/net/ssl/Base64.java.
671         * Remove empty directories.
672
673         * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc.
674         * java/lang/Class.java(setAccessible): Merge from classpath.
675         * java/util/Locale.java: Remove.
676         * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java,
677         gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New.
678         * gcj/javaprims.h: Update class declarations.
679         * scripts/classes.pl: Update usage.
680         * HACKING: Mention to build all peers.
681
682 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
683
684         * configure: Regenerate.
685
686 2007-05-31  Andrew Haley  <aph@redhat.com>
687
688         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
689         INTERPRETED access modifier.
690
691 2007-05-31  Paolo Bonzini  <bonzini@gnu.org>
692
693         PR libjava/32098
694         * configure: Regenerated.
695         * aclocal.m4: Regenerated.
696
697 2007-05-30  H.J. Lu  <hongjiu.lu@intel.com>
698
699         PR libjava/32098
700         * configure: Regenerated.
701
702 2007-05-29  H.J. Lu  <hongjiu.lu@intel.com>
703
704         * configure.ac: Don't include ../config/confsubdir.m4.
705         * aclocal.m4: Regenerated.
706         * configure: Likewise.
707
708 2007-05-27  Paolo Bonzini  <bonzini@gnu.org>
709
710         PR bootstrap/32078
711         * configure.ac: Include confsubdir.m4.
712         * configure: Regenerate.
713
714 2007-05-24  Keith Seitz  <keiths@redhat.com>
715
716         * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
717         one when pc_ptr is non-NULL.
718
719         * prims.cc (parse_init_args): Enable JVMTI with agentlib
720         and agentpath options.
721
722         * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
723         parameter.
724         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
725         Pass '-agentlib:dummyagent' when executing gij.
726         (gij_jvmti_run): Build dummy JVMTI agent before running tests,
727         and remove it when finished.
728         * testsuite/libjava.jvmti/dummyagent.c: New file.
729
730 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
731
732         * Makefile.in: Regenerate.
733         * configure: Regenerate.
734         * aclocal.m4: Regenerate.
735         * gcj/Makefile.in: Regenerate.
736         * include/Makefile.in: Regenerate.
737         * testsuite/Makefile.in: Regenerate.
738
739 2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
740
741         * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
742         (executeMethods): Remove cast to ClassReferenceTypeId.
743         * classpath/lib/gnu/classpath/jdwp/processor/
744         ReferenceTypeCommandSet.class: Rebuilt.
745
746 2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
747
748         * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
749         classes and mark methods as native appropriately.
750
751 2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
752
753         * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
754         pointer.
755         * gnu/classpath/jdwp/VMFrame.h: Regenerated.
756         * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
757         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
758         VMFrame constructor.
759
760 2007-05-16  David Daney  <ddaney@avtrex.com>
761
762         * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
763         (_Jv_StackFrame): Remove commented out code.
764         (_Jv_UnwindState): Remove superfluous 'typedef'.
765         * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
766         compiler warnings.
767         * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
768         (getCollectionUsage): Don't declare unused parameter n.
769         (getMemoryManagerNames): Same.
770         * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
771         'typedef'.
772
773 2007-05-16  Keith Seitz  <keiths@redhat.com>
774
775         * include/java-interp.h (breakpoint_at): Declare.
776         * interpret.cc (breakpoint_at): New function.
777         * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
778         New member.
779         * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
780         Initialize _event_list.
781         (handle_single_step): If there is a breakpoint at the
782         location at which we are stopping, do not send the notification.
783         Instead add the event to a list of events that occur at this
784         location.
785         (jdwpBreakpointCB): If the event list is not empty, send
786         whatever events are in it and the breakpoint event in a single
787         notification.
788         Mark parameter jni_env as MAYBE_UNUSED.
789         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
790         Regenerated.
791         * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
792
793 2007-05-15  David Daney  <ddaney@avtrex.com>
794
795         * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
796         * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
797
798 2007-05-15  Keith Seitz  <keiths@redhat.com>
799
800         * interpret.cc (STOREA): Rewrite using temporary variable to
801         avoid double-macro expansion side-effects.
802         (STOREI): Likewise.
803         (STOREF): Likewise.
804         (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
805         (STORED)[SIZEOF_VOID_P == 8]: Likewise.
806         (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
807         (STORED)[SIZEOF_VOID_P != 8]: Likewise.
808         (POKEI): Likewise.
809
810 2007-05-12  David Daney  <ddaney@avtrex.com>
811
812         PR libgcj/29324
813         * include/posix-threads.h (_Jv_BlockSigchld): Declare.
814         (_Jv_UnBlockSigchld): Same.
815         * posix-threads.cc: Include posix-threads.h.
816         (block_sigchld) Rename to...
817         (_Jv_BlockSigchld) ... this.
818         (_Jv_UnBlockSigchld): New function.
819         (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
820         (_Jv_ThreadStart): Same.
821         * java/lang/PosixProcess$ProcessManager.h: Regenerate.
822         * java/lang/PosixProcess.java: Clean up imports.
823         (ProcessManager): Make final.
824         (ProcessManager.queue): Genericise and make private.
825         (ProcessManager.pidToProcess): Remove.
826         (ProcessManager.liveProcesses): New field.
827         (ProcessManager.reaperPID): Remove.
828         (ProcessManager.nativeData): New field.
829         (ProcessManager.removeProcessFromMap): Remove.
830         (ProcessManager.addProcessToMap):Remove.
831         (ProcessManager.addToLiveProcesses): New method.
832         (ProcessManager.run): Rewritten.
833         (ProcessManager.reap): Change method signature,
834         (getErrorStream): Correct formatting.
835         (getInputStream): Same.
836         (spawn): Add process to liveProcesses list.
837         (pid): Make package private.
838         * java/lang/PosixProcess.h: Regenerate.
839         * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
840         Add useing namespace java::lang.
841         (ProcessManagerInternal): New struct.
842         (sigchld_handler): Rewritten.
843         (init): Rewritten.
844         (waitForSignal): Same.
845         (reap): Same.
846         (signalReaper): Same.
847         (nativeDestroy): Call kill as ::kill.
848         (nativeSpawn): Correct formatting.
849         * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
850         * classpath/lib/java/lang/PosixProcess.class: Same.
851         * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
852
853 2007-05-07  Ian Lance Taylor  <iant@google.com>
854
855         PR java/31842
856         * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
857         overflow.
858
859 2007-05-07  Keith Seitz  <keiths@redhat.com>
860
861         * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
862         * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
863         * classpath/lib/gnu/classpath/jdwp/event/Event.class:
864         Regenerate.
865         * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
866         Regenerate.
867         * gnu/classpath/jdwp/Jdwp.h: Regenerate.
868         * gnu/classpath/jdwp/event/Event.h: Regenerate.
869         * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
870
871 2007-05-04  Kyle Galloway  <kgallowa@redhat.com>
872
873         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
874         to use JVMTI.
875
876 2007-05-03  Keith Seitz  <keiths@redhat.com>
877
878         * interpret.cc: Don't include ExceptionEvent.h.
879         * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
880         * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
881         * Makefile.in: Regenerated.
882
883 2007-05-03  Keith Seitz  <keiths@redhat.com>
884
885         * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
886         Declare.
887         * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
888         (find_catch_location): New function.
889         (REPORT_EXCEPTION): New macro.
890         (throw_internal_error): Use REPORT_EXCEPTION.
891         (throw_incompatible_class_change_error): Likewise.
892         (throw_null_pointer_exception): Likewise.
893         (throw_class_format_error): Likewise.
894         * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
895         to REPORT_EXCEPTION.
896         (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
897         (insn_new): Use INTERP_REPORT_EXCEPTION.
898         (insn_athrow): Likewise.
899         Remove previous JVMTI exception notifications.
900         Add JVMTI ExceptionCatch notificatin.
901         * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
902         exception throw.
903         * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
904         * gnu/gcj/jvmti/ExceptionEvent.h: Removed. 
905         * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
906         * gnu/classpath/jdwp/natVMVirtualMachine.cc
907         (jdwpExceptionCB): New function.
908         (jdwpVMInitCB): Set Exception event handler and enable.
909         * sources.am: Regenerated.
910         * Makefile.in: Regenerated.
911
912 2007-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
913
914         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
915         * Makefile.in: Regenerate.
916         * scripts/makemake.tcl (scan_directory): Treat default.css as a
917         property file.
918         * classpath/javax/swing/text/html/default.css: Move to...
919         * classpath/resource/javax/swing/text/html/default.css: New file.
920         * classpath/javax/swing/text/html/HTMLEditorKit.java
921         (getStyleSheet): Throw RuntimeException when style loading fails.
922         * sources.am (property_files): Add
923         classpath/resource/javax/swing/text/html/default.css.
924
925 2007-05-02  Tom Tromey  <tromey@redhat.com>
926
927         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
928         * java/lang/natCharacter.cc (Character::getType): Handle negative
929         code points.
930         (Character::toLowerCase): Likewise.
931         (Character::toUpperCase): Likewise.
932         (Character::digit): Likewise.
933         (Character::getNumericValue): Likewise.
934         (Character::getDirectionality): Likewise.
935         (Character::toTitleCase): Likewise.
936
937 2007-04-30  Keith Seitz  <keiths@redhat.com>
938
939         * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
940         executing the instruction.
941         * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
942         one insn from the frame's PC. _Jv_InterpMethod::run et al
943         will advance the PC before executing the instruction.
944
945 2007-04-27  Keith Seitz  <keiths@redhat.com>
946
947         * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
948         * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
949         Regenerated.
950         * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
951
952 2007-04-27  Keith Seitz  <keiths@redhat.com>
953
954         * classpath/lib/gnu/classpath/jdwp/event/filters/
955         LocationOnlyFilter.class: Regenerated;
956         * classpath/lib/gnu/classpath/jdwp/util/Location.class:
957         Regenerated.
958         * gnu/classpath/jdwp/VMMethod.java
959         * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
960         Regenerated.
961         * gnu/classpath/jdwp/VMMethod.h: Regenerated.
962         * gnu/classpath/jdwp/util/Location.h: Regenerated.
963
964 2007-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
965
966         * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
967         * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
968
969 2007-04-25  Kyle Galloway  <kgallowa@redhat.com>
970
971         * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
972         objects.
973         (get): Deal with ObjectId of 0. 
974
975 2007-04-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
976
977         PR libgcj/31084
978         * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
979
980 2007-04-24  Kyle Galloway  <kgallowa@redhat.com>
981
982         * gnu/classpath/jdwp/natVMVirtualMachine.java
983         (getThreadStatus): Implement.
984
985 2007-04-24  Keith Seitz  <keiths@redhat.com>
986
987         * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
988         Add _Jv_RewriteBreakpointInsn friend declaration.
989         * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
990         [DIRECT_THREADED]: New function.
991         * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
992         * interpret-run.cc: Define new REWRITE_INSN macro.
993         Changed all occurrences of insn rewriting to call REWRITE_INSN.
994
995 2007-04-23  Keith Seitz  <keiths@redhat.com>
996
997         * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
998         * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
999         * boehm.cc (_Jv_IsThreadSuspended): New function.
1000         * nogc.cc (_Jv_IsThreadSuspended): Likewise.
1001         * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
1002         (_Jv_JVMTI_Interface): Define GetThreadState.
1003
1004 2007-04-23  Kyle Galloway  <kgallowa@redhat.com>
1005
1006         * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
1007         interpreter PC.
1008         (<init>): Add a pointer to the interpreter PC as a parameter with
1009         default value NULL.
1010         (get_pc): New method.
1011         * interpret-run.cc: If debugging, pass a pointer to the PC when
1012         creating the stack frame.
1013         * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
1014         to get the PC.
1015
1016 2007-04-23  Kyle Galloway  <kgallowa@redhat.com>
1017
1018         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
1019         for null source file and throw an exception indicating this.
1020
1021 2007-04-20  Keith Seitz  <keiths@redhat.com>
1022
1023         * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
1024         Install the new breakpoint into the bytecode.
1025         (deleteBreakpoint): Remove the breakpoint from the bytecode.
1026         * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
1027         Regenerate.
1028         * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
1029         Don't install the breakpoint here.
1030
1031 2007-04-19  Keith Seitz  <keiths@redhat.com>
1032
1033         * interpret-run.cc [insn_breakpoint]: Save the original
1034         insn for the breakpoint before posting the JVMTI notification.
1035
1036 2007-04-19  Tom Tromey  <tromey@redhat.com>
1037
1038         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
1039
1040 2007-04-18  Tom Tromey  <tromey@redhat.com>
1041
1042         * Regenerated headers with new gjavah.
1043
1044 2007-04-18  Andrew Haley  <aph@redhat.com>
1045
1046         * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
1047         method_index.
1048         (generateProxyClass): Add field $Proxy0.m.  Store methods array in
1049         it.
1050         (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
1051         * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
1052         * java/lang/natClass.cc: Likewise.
1053         * headers.txt: Likewise.
1054         * java/lang/reflect/Method.h: Likewise.
1055
1056 2007-04-16  Andrew Haley  <aph@redhat.com>
1057
1058         * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
1059         method.
1060         (bootGetResource): Use getBootURLLoader() to load resources.
1061         (bootGetResources): Likewise.
1062
1063         * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
1064         check that the method's declaring class is accessible.
1065
1066 2007-04-10  Keith Seitz  <keiths@redhat.com>
1067
1068         * sources.am: Regenerate.
1069         * Makefile.in: Likewise.
1070
1071 2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
1072
1073         * interpret-run.cc: If debugging, check if args is NULL before
1074         getting the "this" pointer.
1075
1076 2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
1077
1078         * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
1079         * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
1080         * gnu/classpath/jdwp/ArrayValue.h: New file.
1081         * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
1082         (setValue): Ditto. 
1083
1084 2007-04-09  David Daney  <ddaney@avtrex.com>
1085
1086         PR libgcj/23758
1087         * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
1088         environment before the fork.
1089         * testsuite/libjava.lang/Process_7.java: New test.
1090         * testsuite/libjava.lang/Process_7.out: Its expected results.
1091         * testsuite/libjava.lang/Process_7.jar: Generated file.
1092
1093 2007-04-09  H.J. Lu  <hongjiu.lu@intel.com>
1094
1095         * prims.cc (load_jvmti_agent): Add the missing `,'.
1096
1097 2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
1098
1099         * gij.cc (main): Accept -agentlib and -agentpath options.
1100         * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
1101         (load_jvmti_agent): New function.
1102
1103 2007-04-04  Tania Bento  <tbento@redhat.com>
1104
1105         * java/text/DecimalFormatSymbols.java: Added the year 2007 to
1106         Copyright information and introduced new variable, currency.
1107         (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
1108         to "XXX", currencySymbol to "?" and localCurrency appropriately.
1109         (getCurrency): Fixed documentation and return the value of currency.
1110         (setCurrency): Fixed documentation and update the value of currency.
1111         (setInternationalCurrencySymbol): Fixed documentation and update the
1112         value of currency.
1113         * java/util/Currency.java: Introduced two new variables, properties
1114         and fractionDigits. In the static block, a properties object is
1115         created and the currency resource is loaded.
1116         (Currency(Locale)): fractionDigits is defined.
1117         (Currency(String)): New method.
1118         (getDefaultFractionDigits): Return the value of fractionDigits.
1119         (getInstance(String)): Check if String is equal to "XXX".
1120
1121 2007-04-04  Kyle Galloway  <kgallowa@redhat.com>
1122
1123         * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
1124         to ints for argCnt and slots.
1125         (write): Replace writeLong with writeInt for the above. 
1126
1127 2007-04-03  Andrew Haley  <aph@redhat.com>
1128
1129         * testsuite/libjava.lang/ProxyTest.java: New test.
1130
1131 2007-04-02  Tom Tromey  <tromey@redhat.com>
1132
1133         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
1134         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
1135         file, when writing, if it is too short.
1136
1137 2007-04-02  Tom Tromey  <tromey@redhat.com>
1138
1139         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
1140         * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
1141         already created.
1142         * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
1143         where localport is -1.
1144         (create): Now public.
1145         * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
1146         'create' on the socket.
1147
1148 2007-04-02  Andrew Haley  <aph@redhat.com>
1149
1150         * java/lang/reflect/natVMProxy.cc (run_proxy): Use
1151         _Jv_LookupProxyMethod to find the Method.
1152         If parameter_types->length == 0, pass a null paramameter list,
1153         not a zero-length parameter list.
1154         * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
1155         * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
1156
1157 2007-04-02  Kyle Galloway  <kgallowa@redhat.com>
1158
1159         * interpret-run.cc: Add code to properly set up variable slots
1160         when debugging.
1161         * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
1162         (getObjectJVMTI): New function.
1163         (setObjectJVMTI): New function.
1164         (getIntJVMTI): New function.
1165         (setIntJVMTI): New function.
1166         (getLongJVMTI): New function.
1167         (setLongJVMTI): New function.
1168         (getFloatJVMTI): New function.
1169         (setFloatJVMTI): New function.
1170         (getDoubleJVMTI): New function.
1171         (setDoubleJVMTI): New function.
1172         (getFrameDepth): New function.
1173         (getValue): Implement.
1174         (setValue): Implement. 
1175
1176 2007-04-02  Kyle Galloway  <kgallowa@redhat.com>
1177
1178         * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
1179         (executeResume): Call VMVirtualMachine.resumeThread.
1180
1181 2007-03-29  Tom Tromey  <tromey@redhat.com>
1182
1183         PR libgcj/29869:
1184         * java/util/logging/LogManager.java (readConfiguration): Handle
1185         comma-separated 'handlers'.  Don't try to add a non-existing
1186         handler.
1187
1188 2007-03-27  Tom Tromey  <tromey@redhat.com>
1189
1190         * sources.am, Makefile.in: Rebuilt.
1191         * scripts/mime.types: Removed.
1192         * scripts/MakeDefaultMimeTypes.java: Removed.
1193         * gnu/gcj/io/MimeTypes.java: Removed.
1194         * gnu/gcj/io/MimeTypes.h: Removed.
1195         * gnu/gcj/io/DefaultMimeTypes.java: Removed.
1196         * gnu/gcj/io/DefaultMimeTypes.h: Removed.
1197
1198 2007-03-27  Keith Seitz  <keiths@redhat.com>
1199
1200         * gnu/classpath/jdwp/VMFrame.java: Update from upstream
1201         classpath.
1202         * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
1203         * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
1204         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
1205         (initialize): Fix compiler type-punning warning.
1206         (getAllLoadedClasses): Return empty list instead of NULL.
1207         (getLoadRequests): Likewise.
1208         * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
1209         * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
1210         * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
1211         * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
1212         * gnu/classpath/jdwp/value/CharValue.h: New file.
1213         * gnu/classpath/jdwp/value/LongValue.h: New file.
1214         * gnu/classpath/jdwp/value/ShortValue.h: New file.
1215         * gnu/classpath/jdwp/value/Value.h: New file.
1216         * gnu/classpath/jdwp/value/BooleanValue.h: New file.
1217         * gnu/classpath/jdwp/value/VoidValue.h: New file.
1218         * gnu/classpath/jdwp/value/ByteValue.h: New file.
1219         * gnu/classpath/jdwp/value/FloatValue.h: New file.
1220         * gnu/classpath/jdwp/value/ObjectValue.h: New file.
1221         * gnu/classpath/jdwp/value/StringValue.h: New file.
1222         * gnu/classpath/jdwp/value/ValueFactory.h: New file.
1223         * gnu/classpath/jdwp/value/IntValue.h: New file.
1224         * gnu/classpath/jdwp/value/DoubleValue.h: New file.
1225         * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
1226         * gnu/classpath/jdwp/id/NullObjectId.h: New file.
1227         * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
1228         * gnu/classpath/jdwp/util/NullObject.h: New file.
1229         * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
1230         * Makefile.in: Rebuilt.
1231         * sources.am: Rebuilt.
1232
1233 2006-03-26  David Daney  <ddaney@avtrex.com>
1234
1235         * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
1236         fork, execvp, execinfo.h, pthread_mutexattr_settype,
1237         pthread_mutexattr_setkind_np and sys/wait.h.
1238         * Makefile.in: Regenerate.
1239         * include/Makefile.in: Regenerate.
1240         * include/config.h.in: Regenerate.
1241         * testsuite/Makefile.in: Regenerate.
1242         * configure: Regenerate.
1243         * gcj/Makefile.in: Regenerate.
1244
1245 2007-03-23  Gary Benson  <gbenson@redhat.com>
1246
1247         * link.cc (_Jv_Linker::resolve_method_entry):
1248         Ensure that the argument types and the return type of the
1249         found method match those expected by the calling method.
1250
1251 2007-03-22  David Daney  <ddaney@avtrex.com>
1252
1253         PR libgcj/31228
1254         * configure.ac: Add checks for getrlimit and sys/resource.h.
1255         * include/posix.h (_Jv_platform_close_on_exec): Remove.
1256         * include/config.h.in: Regenerate.
1257         * configure: Regenerate.
1258         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
1259         _Jv_platform_close_on_exec;
1260         * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
1261         (accept): Likewise.
1262         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
1263         * java/lang/natPosixProcess.cc: Include sys/resource.h.
1264         (nativeSpawn): Close all file descriptors.  Don't set FD_CLOEXEC on
1265         pipes.
1266
1267 2007-03-20  Andrew Haley  <aph@redhat.com>
1268
1269         * testsuite/libjava.lang/PR31264.java: New test.
1270
1271 2007-03-14  Jakub Jelinek  <jakub@redhat.com>
1272
1273         * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
1274         * Makefile.in: Rebuilt.
1275
1276 2007-03-13  Keith Seitz  <keiths@redhat.com>
1277
1278         * include/java-interp.h (_Jv_InterpClass): Declare
1279         friend function _Jv_GetInterpClassSourceFile.
1280         * java/lang/Class.h (Class): Likewise.
1281         * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
1282         New function.
1283         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1284         (getSourceFile): Implement.
1285
1286 2007-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1287
1288         * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
1289         * classpath/configure.ac: Add --with-ecj-jar configure option.
1290         * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
1291         field.
1292         * classpath/INSTALL: Document --with-ecj-jar configure option and
1293         ecj jar requirement for com.sun.tools.javac support.
1294         * classpath/tools/Makefile.am: Build decendents of com and sun
1295         directories.
1296         * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
1297         * gnu/classpath/Configuration.java,
1298         gnu/classpath/natConfiguration.cc (ecj): New method.
1299         (ECJ_JAR): New field.
1300         * scripts/makemake.tcl (scan_packages): Add com directory.
1301         * sources.am (property_files): Add
1302         classpath/resource/sun/rmi/rmic/messages.properties and
1303         classpath/resource/com/sun/tools/javac/messages.properties.
1304         * classpath/resource/com, classpath/resource/com/sun,
1305         classpath/resource/com/sun/tools,
1306         classpath/resource/com/sun/tools/javac, classpath/resource/sun,
1307         classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
1308         classpath/tools/classes/com, classpath/tools/classes/com/sun,
1309         classpath/tools/classes/com/sun/javadoc,
1310         classpath/tools/classes/com/sun/tools,
1311         classpath/tools/classes/com/sun/tools/doclets,
1312         classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
1313         classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
1314         classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
1315         classpath/tools/com/sun/tools,
1316         classpath/tools/com/sun/tools/doclets,
1317         classpath/tools/com/sun/tools/javac, classpath/tools/sun,
1318         classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
1319         directories.
1320         * classpath/resource/com/sun/tools/javac/messages.properties,
1321         classpath/resource/sun/rmi/rmic/messages.properties,
1322         classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
1323         classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
1324         classpath/tools/classes/com/sun/javadoc/Doc.class,
1325         classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
1326         classpath/tools/classes/com/sun/javadoc/Doclet.class,
1327         classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
1328         classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
1329         classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
1330         classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
1331         classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
1332         classpath/tools/classes/com/sun/javadoc/ParamTag.class,
1333         classpath/tools/classes/com/sun/javadoc/Parameter.class,
1334         classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
1335         classpath/tools/classes/com/sun/javadoc/RootDoc.class,
1336         classpath/tools/classes/com/sun/javadoc/SeeTag.class,
1337         classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
1338         classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
1339         classpath/tools/classes/com/sun/javadoc/Tag.class,
1340         classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
1341         classpath/tools/classes/com/sun/javadoc/Type.class,
1342         classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
1343         classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
1344         classpath/tools/classes/sun/rmi/rmic/Main.class,
1345         classpath/tools/classes/sun/rmi/rmic/Messages.class,
1346         classpath/tools/com/sun/javadoc/ClassDoc.java,
1347         classpath/tools/com/sun/javadoc/ConstructorDoc.java,
1348         classpath/tools/com/sun/javadoc/Doc.java,
1349         classpath/tools/com/sun/javadoc/DocErrorReporter.java,
1350         classpath/tools/com/sun/javadoc/Doclet.java,
1351         classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
1352         classpath/tools/com/sun/javadoc/FieldDoc.java,
1353         classpath/tools/com/sun/javadoc/MemberDoc.java,
1354         classpath/tools/com/sun/javadoc/MethodDoc.java,
1355         classpath/tools/com/sun/javadoc/PackageDoc.java,
1356         classpath/tools/com/sun/javadoc/ParamTag.java,
1357         classpath/tools/com/sun/javadoc/Parameter.java,
1358         classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
1359         classpath/tools/com/sun/javadoc/RootDoc.java,
1360         classpath/tools/com/sun/javadoc/SeeTag.java,
1361         classpath/tools/com/sun/javadoc/SerialFieldTag.java,
1362         classpath/tools/com/sun/javadoc/SourcePosition.java,
1363         classpath/tools/com/sun/javadoc/Tag.java,
1364         classpath/tools/com/sun/javadoc/ThrowsTag.java,
1365         classpath/tools/com/sun/javadoc/Type.java,
1366         classpath/tools/com/sun/javadoc/TypeVariable.java,
1367         classpath/tools/com/sun/tools/doclets/Taglet.java,
1368         classpath/tools/com/sun/tools/javac/Main.java,
1369         classpath/tools/com/sun/tools/javac/Messages.java,
1370         classpath/tools/sun/rmi/rmic/Main.java,
1371         classpath/tools/sun/rmi/rmic/Messages.java: New files.
1372         * Makefile.in, classpath/Makefile.in, classpath/configure,
1373         classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
1374         classpath/examples/Makefile.in, classpath/external/Makefile.in,
1375         classpath/external/jsr166/Makefile.in,
1376         classpath/external/relaxngDatatype/Makefile.in,
1377         classpath/external/sax/Makefile.in,
1378         classpath/external/w3c_dom/Makefile.in,
1379         classpath/include/Makefile.in, classpath/include/config.h.in,
1380         classpath/lib/Makefile.in,
1381         classpath/lib/gnu/classpath/Configuration.class,
1382         classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
1383         classpath/native/jawt/Makefile.in,
1384         classpath/native/jni/Makefile.in,
1385         classpath/native/jni/classpath/Makefile.in,
1386         classpath/native/jni/gconf-peer/Makefile.in,
1387         classpath/native/jni/gtk-peer/Makefile.in,
1388         classpath/native/jni/java-io/Makefile.in,
1389         classpath/native/jni/java-lang/Makefile.in,
1390         classpath/native/jni/java-net/Makefile.in,
1391         classpath/native/jni/java-nio/Makefile.in,
1392         classpath/native/jni/java-util/Makefile.in,
1393         classpath/native/jni/midi-alsa/Makefile.in,
1394         classpath/native/jni/midi-dssi/Makefile.in,
1395         classpath/native/jni/native-lib/Makefile.in,
1396         classpath/native/jni/qt-peer/Makefile.in,
1397         classpath/native/jni/xmlj/Makefile.in,
1398         classpath/native/plugin/Makefile.in,
1399         classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
1400         classpath/tools/Makefile.in, configure,
1401         gnu/classpath/Configuration.h: Regenerate.
1402
1403 2007-03-12  Kyle Galloway  <kgallowa@redhat.com>
1404
1405         * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
1406         as a sigle slot.
1407
1408 2007-03-12  Marco Trudel  <mtrudel@gmx.ch>
1409
1410         * java/lang/natString.cc (getBytes (jstring enc)):
1411         Fixed the loop for multiple cycles, Code cleanup
1412
1413 2007-03-09  Tom Tromey  <tromey@redhat.com>
1414
1415         * sources.am, Makefile.in: Rebuilt.
1416         * scripts/makemake.tcl (scan_directory): Allow service files to be
1417         omitted.
1418         Omit all XML-related service files.
1419
1420 2007-03-07  Tom Tromey  <tromey@redhat.com>
1421
1422         * configure: Rebuilt.
1423         * configure.ac: Clear vm-tools-packages.
1424
1425 2007-03-07  Mohan Embar  <gnustuff@thisiscool.com>
1426
1427         * java/lang/Win32Process.java: Added nested class EOFInputStream.
1428         * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
1429         enum and implementation.
1430         (startProcess): Use redirect flag.
1431         * classpath/lib/java/lang/Win32Process.class: Regenerated.
1432         * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
1433         * gcj/javaprims.h: Regenerated.
1434         * java/lang/Win32Process$EOFInputStream.h: New.
1435
1436 2007-03-07  Andrew Haley  <aph@redhat.com>
1437
1438         * libgcj_bc.c (JvRunMainName): Declare.
1439
1440 2007-03-07  Gary Benson  <gbenson@redhat.com>
1441
1442         * sources.am, Makefile.in: Rebuilt.
1443
1444 2007-03-07  Mohan Embar  <gnustuff@thisiscool.com>
1445
1446         * gcj/javaprims.h: Regenerated.
1447
1448 2007-03-07  Alexandre Oliva  <aoliva@redhat.com>
1449
1450         * include/jvm.h (_Jv_ClosureListFinalizer): New.
1451         (_Jv_Linker::create_error_method): Adjust.
1452         * boehm.cc (_Jv_ClosureListFinalizer): New.
1453         * nogc.cc (_Jv_ClosureListFinalizer): New.
1454         * java/lang/Class.h (class _Jv_ClosureList): New.
1455         (class java::lang::Class): Declare it as friend.
1456         * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
1457         (_Jv_ClosureList::registerClousure): New.
1458         * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
1459         (_Jv_CompiledEngine::do_get_closure_list): New.
1460         (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
1461         (_Jv_IndirectCompiledClass): Add closures.
1462         (_Jv_IndirectCompiledEngine::get_aux_info): New.
1463         (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
1464         it.
1465         (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
1466         (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
1467         (_Jv_InterpreterEngine::do_get_closure_list): Declare.
1468         (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
1469         * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
1470         (node_closure): Add closure list.
1471         (_Jv_InterpMethod::ncode): Add jclass argument.  Use
1472         ffi_closure_alloc and the separate code pointer.  Register the
1473         closure for finalization.
1474         (_Jv_JNIMethod::ncode): Likewise.
1475         (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
1476         (_Jv_InterpreterEngine::do_get_closure_list): New.
1477         * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
1478         (_Jv_InterpClass): Add closures field.
1479         (_Jv_JNIMethod::ncode): Adjust.
1480         * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
1481         (_Jv_ClassReader::handleMethodsEnd): Likewise.
1482         * link.cc (struct method_closure): Add closure list.
1483         (_Jv_Linker::create_error_method): Add jclass argument.  Use
1484         ffi_closure_alloc and the separate code pointer.  Register the
1485         closure for finalization.
1486         (_Jv_Linker::link_symbol_table): Remove outdated comment about
1487         sharing of otable and atable.  Adjust.
1488         * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
1489         list.
1490         (ncode): Add jclass argument.  Use ffi_closure_alloc and the
1491         separate code pointer.  Register the closure for finalization.
1492         (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
1493         * testsuite/libjava.jar/TestClosureGC.java: New.
1494         * testsuite/libjava.jar/TestClosureGC.out: New.
1495         * testsuite/libjava.jar/TestClosureGC.xfail: New.
1496         * testsuite/libjava.jar/TestClosureGC.jar: New.
1497
1498 2007-03-06  Kyle Galloway  <kgallowa@redhat.com>
1499
1500         * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
1501         * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
1502         * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
1503         * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
1504         (VMMethod::getLineTable): Use new macro.
1505         (VMMethod::getVariableTable): Implement.
1506         * sources.am: Regenerated.
1507         * Makefile.in: Ditto.
1508
1509 2007-03-06  Tom Tromey  <tromey@redhat.com>
1510
1511         * Makefile.in: Rebuilt.
1512         * Makefile.am (bin_PROGRAMS): Added gcjh.
1513         (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
1514         gcjh_DEPENDENCIES): New variables.
1515
1516 2007-03-06  Kyle Galloway  <kgallowa@redhat.com>
1517
1518         * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
1519         * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
1520         (do_getlocalvartable_tests): Add Deallocate calls to free strings.
1521
1522 2007-03-05  Matthias Klose  <doko@debian.org>
1523
1524         * Makefile.am (gij_LDFLAGS): Use dbexecdir.
1525         * Makefile.in: Regnerate.
1526
1527 2007-03-05  Mark Wielaard  <mark@klomp.org>
1528
1529         * java/lang/Character.java: Re-merged with Classpath.
1530         * java/lang/natString.cc (nativeCompareTo): Renamed from
1531         compareTo.
1532         * java/lang/StringBuilder.java: Re-merged with Classpath.
1533         * java/lang/String.java: Re-merged with Classpath.
1534         (nativeCompareTo): Renamed from compareTo.
1535         * java/lang/StringBuffer.java: Re-merged with Classpath.
1536         * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
1537
1538 2007-03-05  Andrew Haley  <aph@redhat.com>
1539
1540         * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
1541         (generateProxyClass): Don't pass method to ncode.
1542         (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
1543         * java/lang/reflect/Method.h: Rebuild.
1544         * java/lang/reflect/Method.java (internalGetParameterTypes,
1545         internalGetExceptionTypes): New methods.
1546         * headers.txt (class java/lang/reflect/Method): Declare
1547         _Jv_GetReflectedMethod.  Be its friend.
1548         * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
1549         * java/lang/Class.h: Declare it.  Be its friend.
1550
1551 2007-03-05  Tom Tromey  <tromey@redhat.com>
1552
1553         * sources.am, Makefile.in: Rebuilt.
1554         * scripts/makemake.tcl (emit_package_rule): Don't omit
1555         VMProcess.java.
1556         * Makefile.am (nat_source_files): Added natVMProcess.cc.
1557         (inner_nat_headers): Added ImmediateEOFInputStream.h.
1558         * gcj/javaprims.h: Regenerated.
1559         * java/lang/System.java (EnvironmentMap): Now package-private.
1560         (EnvironmentMap(Map)): New constructor.
1561         (EnvironmentMap.put): New method.
1562         * java/lang/natWin32Process.cc (startProcess): Update.
1563         * java/lang/Win32Process.java (Win32Process): Added 'redirect'
1564         argument.
1565         (startProcess): Likewise.
1566         * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
1567         argument.
1568         * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
1569         * java/lang/PosixProcess.java (redirect): New field.
1570         (PosixProcess): Added 'redirect' argument.
1571         * java/lang/natRuntime.cc (execInternal): Added 'redirect'
1572         argument to Process creation.
1573         * java/lang/natVMProcess.cc: New file.
1574         * java/lang/ProcessBuilder.java: Removed.
1575         * java/lang/VMProcess.java: New file.
1576
1577 2007-03-03  Andrew Haley  <aph@redhat.com>
1578
1579         * java/lang/natClass.cc (parseAnnotationElement): Correct long
1580         annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
1581
1582 2007-03-02  Andrew Haley  <aph@redhat.com>
1583
1584         * sun/reflect/annotation/AnnotationInvocationHandler.java:
1585         Generify in a few places.
1586         (equals): Rewrite to use invoke on local proxy.
1587         (deepToString): Remove most of it.
1588         (toString): Make nonstatic.
1589         (arrayClone): Delete.
1590         (coerce): New method.
1591         (invoke): Rewrite to handle gcj's structures correctly.
1592         * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
1593         null loader.
1594         * sources.am: Regenerate.
1595         * Makefile.am: Likewise.        
1596
1597 2007-03-02  Andrew Haley  <aph@redhat.com>
1598
1599         * sun/reflect/annotation/AnnotationInvocationHandler.java:
1600         Whitespace only changes.
1601
1602 2007-03-02  Andrew Haley  <aph@redhat.com>
1603
1604         * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
1605         from Classpath to libgcj local.
1606
1607 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
1608
1609         * Makefile.am: Add dummy install-pdf target.
1610         * Makefile.in: Regenerate
1611         * include/Makefile.in: Regenerate
1612         * testsuite/Makefile.in: Regenerate
1613         * gcj/Makefile.in: Regenerate
1614
1615 2007-02-23  Gary Benson  <gbenson@redhat.com>
1616
1617         * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
1618
1619 2007-02-23  Gary Benson  <gbenson@redhat.com>
1620
1621         * java/lang/VMCompiler.java
1622         (compileClass): Don't lose zeros from within the digest.
1623
1624 2007-02-22  Jakub Jelinek  <jakub@redhat.com>
1625
1626         PR libgcj/17002
1627         PR classpath/28550
1628         * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
1629         /etc/localtime, use ZoneInfo.readTZFile instead of
1630         VMTimeZone.readtzFile.  Get better timezone name for /etc/localtime,
1631         either if it is a symlink or through /etc/sysconfig/clock.
1632         (readSysconfigClockFile): New static method.
1633         (readtzFile): Removed.
1634         * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
1635         * posix.cc (_Jv_platform_initProperties): Set
1636         gnu.java.util.zoneinfo.dir.
1637         * sources.am (gnu_java_util_source_files): Add
1638         classpath/gnu/java/util/ZoneInfo.java.
1639         * Makefile.in: Regenerated.
1640         * java/util/VMTimeZone.h: Regenerated.
1641         * java/util/TimeZone.h: Regenerated.
1642         * gnu/java/util/ZoneInfo.h: Generated.
1643
1644 2007-02-22  Mohan Embar  <gnustuff@thisiscool.com>
1645
1646         * include/win32-threads.h: Added #undef OUT.
1647
1648 2007-02-21  Kyle Galloway  <kgallowa@redhat.com>
1649
1650         * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
1651         * testsuite/libjava.jvmti/interp/getargssize.java: New test.
1652         * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
1653         * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
1654         * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
1655         * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
1656
1657 2007-02-21  Gary Benson  <gbenson@redhat.com>
1658
1659         * java/util/GregorianCalendar.java: Removed.
1660         * sources.am, Makefile.in: Rebuilt.
1661
1662 2007-02-20  Keith Seitz  <keiths@redhat.com>
1663
1664         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1665         (jdwpClassPrepareCB): Move class status stuff to ...
1666         (getClassStatus): ... here.
1667
1668 2007-02-20  Gary Benson  <gbenson@redhat.com>
1669
1670         * gnu/awt/xlib/XEventLoop.h: Regenerated.
1671         * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
1672         * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
1673         Likewise.
1674         * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
1675         * java/lang/SecurityManager.h: Likewise.
1676         * java/lang/Thread.h: Likewise.
1677         * java/security/VMSecureRandom$Spinner.h: Likewise.
1678         * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
1679         * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
1680         * java/util/concurrent/atomic/AtomicLong.h: Likewise.
1681         * java/util/concurrent/atomic/AtomicReference.h: Likewise.
1682         * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
1683         * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
1684         * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
1685         * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
1686         * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
1687         * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
1688         * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
1689         * java/util/concurrent/Exchanger.h: Likewise.
1690         * java/util/concurrent/Exchanger$Node.h: Likewise.
1691         * java/util/concurrent/FutureTask$Sync.h: Likewise.
1692         * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
1693         * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
1694         Likewise.
1695         * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h: 
1696         Likewise.
1697         * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
1698         * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
1699         Likewise.
1700         * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
1701         * java/util/concurrent/SynchronousQueue.h: Likewise.
1702         * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
1703         * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
1704         Likewise.
1705         * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
1706         * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
1707         Likewise.
1708         * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
1709         * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
1710         * java/util/logging/ErrorManager.h: Likewise.
1711         * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
1712         * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
1713
1714 2007-02-16  Keith Seitz  <keiths@redhat.com>
1715
1716         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1717         (get_line_table): New function.
1718         (handle_single_step): New function.
1719         (jdwpSingleStepCB): New function.
1720         (jdwpVMInitCB): Define a JVMTI single step
1721         callback, but don't enable it until needed.
1722
1723 2007-02-16  David Daney  <ddaney@avtrex.com>
1724
1725         * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
1726         new parameter constructor.
1727         (Thread(ThreadGroup, Runnable, String, long)): Same.
1728         (Thread(String, boolean)): New constructor.
1729         (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
1730         noInheritableThreadLocal, don't call
1731         InheritableThreadLocal.newChildThread if set.
1732         * java/lang/PosixProcess.java(ProcessManager()): Set
1733         noInheritableThreadLocal in super.
1734         * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
1735         parameter to Thread constructor.
1736         (_Jv_AttachCurrentThreadAsDaemon): Same.
1737         * java/lang/Thread.h: Regenerate.
1738         * classpath/lib/java/lang/Thread.class: Same.
1739         * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
1740         * classpath/lib/java/lang/PosixProcess.class: Same.
1741         * classpath/lib/java/lang/Thread$State.class: Same.
1742         * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
1743
1744 2007-02-16  Kyle Galloway  <kgallowa@redhat.com>
1745
1746         * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
1747         variables to maintain type info.
1748         * interpret-run.cc: Add local variable info to frame in the debug
1749         interpreter.
1750         * jvmti.cc (getLocalFrame): New method.
1751         (_Jv_JVMTI_GetLocalObject): New method.
1752         (_Jv_JVMTI_GetLocallInt): New method.
1753         (_Jv_JVMTI_GetLocalFloat): New method.
1754         (_Jv_JVMTI_GetLocalLong): New method.
1755         (_Jv_JVMTI_GetLocalDouble): New method.
1756         (_Jv_JVMTI_SetLocalObject): New method.
1757         (_Jv_JVMTI_SetLocalInt): New method.
1758         (_Jv_JVMTI_SetLocalFloat): New method.
1759         (_Jv_JVMTI_SetLocalLong): New method.
1760         (_Jv_JVMTI_SetLocalDouble): New method.
1761
1762 2007-02-16  Gary Benson  <gbenson@redhat.com>
1763
1764         * gnu/gcj/tools/gcj_dbtool/Main.java
1765         (bytesToString): Don't lose zeros from within the digest.
1766
1767 2007-02-15  Andrew Haley  <aph@redhat.com>
1768
1769         * Makefile.am (nat_source_files): Remove
1770         java/lang/management/natVMManagementFactory.cc.
1771         * java/lang/Thread.java (getStackTrace): Use reflection to call
1772         the ManagementFactory.
1773         * java/lang/management/VMManagementFactory.java: Remove native
1774         methods.
1775         * java/lang/management/natVMManagementFactory.cc: Deleted.
1776         * sources.am: Regnerate.
1777         * scripts/makemake.tcl: Add new "bcheaders" type.
1778         Move java/lang/management and gnu/classpath/management to "bc".
1779         Move gnu/java/lang/management to "bcheaders".
1780         
1781 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
1782         
1783         * interpret.cc (_Jv_InterpMethod::check_handler): New method.
1784         * interpret-run.cc: Change the catch section to report exception
1785         events and to use the new check_handler method.
1786         * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
1787         * gnu/gcj/jvmti/ExceptionEvent.java: New file.
1788         * gnu/gcj/jvmti/ExceptionEvent.h: New file.
1789         * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
1790         * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1791         file.
1792         * sources.am: Added ExceptionEvent.java.
1793         * Makefile.am: Added natExceptionEvent.cc
1794         * Makefile.in: Regenerated.
1795         * include/Makefile.in: Regenerated.
1796         * gcj/Makefile.in: Regenerated.
1797
1798 2007-02-15  Johannes Schmidt  <jschmidt@avtrex.com>
1799         David Daney  <ddaney@avtrex.com>
1800
1801         * configure.ac: Create vm-tools-packages file.  Add 
1802         gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1803         Check for /proc/self/maps.
1804         * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1805         (gc_analyze_SOURCES): New.
1806         (gc_analyze_LDFLAGS): New.
1807         (gc_analyze_LINK): New.
1808         (gc_analyze_LDADD): New.
1809         (gc_analyze_DEPENDENCIES): New.
1810         (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1811         * Makefile.in: Regenerated.
1812         * configure: Regenerated.
1813         * include/config.h.in: Regenerated.
1814         * sources.am: Regenerated.
1815         * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1816         * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1817         * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1818         * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1819         * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1820         * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1821         * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1822         * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1823         * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1824         * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1825         * gnu/gcj/util/GCInfo.java: New.
1826         * gnu/gcj/util/GCInfo.h: New.
1827         * gnu/gcj/util/natGCInfo.cc: New.
1828         * gnu/gcj/util/UtilPermission.java: New.
1829         * gnu/gcj/util/UtilPermission.h: New.
1830         * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1831         * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1832         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1833         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1834         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1835         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1836         * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1837         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1838         * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1839         * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1840         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1841         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1842         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1843         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1844         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1845         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1846         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1847         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1848         * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1849         * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1850         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1851         * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1852         * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1853
1854 2007-02-15  David Daney  <ddaney@avtrex.com>
1855
1856         * gnu/java/net/PlainSocketImpl.h: Regenerate.
1857         * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1858         * gnu/classpath/jdwp/VMFrame.h: Same.
1859         * java/net/Socket.h: Same.
1860         * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1861
1862 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
1863
1864         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1865         Added LocalVariableTable attribute handling.
1866         (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1867         * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1868         * include/java-interp.h: Added local_var_table and 
1869         local_var_table_len fields to _Jv_InterpMethod.
1870         (_Jv_InterpMethod::get_local_var_table): New method.
1871         * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1872         * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1873         * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1874         for new test.
1875         * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1876         * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1877
1878 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
1879
1880         * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1881
1882 2007-02-13  Keith Seitz  <keiths@redhat.com>
1883
1884         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1885         (jdwpBreakpointCB): New function.
1886         (jdwpVMInitCB): Define and enable the breakpoint
1887         callback.
1888
1889 2007-02-13  Andrew Haley  <aph@redhat.com>
1890
1891         * testsuite/libjava.lang/Divide_2.out
1892         * testsuite/libjava.lang/Divide_2.java: New test.
1893
1894 2007-02-12  Keith Seitz  <keiths@redhat.com>
1895
1896         * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1897         from jthread to Thread *; it is no longer needed.
1898         (_Jv_JVMTI_GetFrameCount): Likewise.
1899         Fix small formatting typo.
1900
1901 2007-02-12  Tom Tromey  <tromey@redhat.com>
1902
1903         * sources.am, Makefile.in: Rebuilt.
1904         * java/lang/Socket.java: Removed override.
1905         * java/lang/DatagramSocket.java: Removed override.
1906         * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1907         field.
1908         (getLocalAddress): New method.
1909         * gnu/java/net/PlainDatagramSocketImpl.java
1910         (PlainDatagramSocketImpl): Throws IOException.
1911         * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1912         'sizeof'.
1913         (read): Likewise.
1914
1915 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
1916
1917         * java/util/VMTimeZone.java: Rewrite to handle both the old
1918         'TZif\0' format and the new one.
1919         
1920 2007-02-10  Andrew Haley  <aph@redhat.com>
1921
1922         PR java/30742
1923         * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1924         (getCallingClass): Call GET_CALLING_CLASS.
1925         (getCallingClassLoader): Likewise.
1926
1927 2007-02-10  Mohan Embar  <gnustuff@thisiscool.com>
1928
1929         * configure: Rebuilt.
1930         * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1931
1932 2007-02-10  Mohan Embar  <gnustuff@thisiscool.com>
1933
1934         * Makefile.in: Rebuilt.
1935         * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1936         the host's ecj1 executable.
1937
1938 2007-02-09  Richard Henderson  <rth@redhat.com>
1939
1940         * sysdep/alpha/locks.h (read_barrier): New.
1941
1942 2007-02-09  Keith Seitz  <keiths@redhat.com>
1943
1944         * gnu/classpath/jdwp/VMVirtualMachine.java
1945         (_stepping_threads): New member.
1946         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1947         Regenerated.
1948         * gnu/classpath/jdwp/VMVirtualMachine.h:
1949         Regenerated.
1950         * gnu/claspath/jdwp/natVMVirtualMachine.cc
1951         (get_request_step_filter): New function.
1952         (DISABLE_EVENT): New macro.
1953         (initialize): Initialize _stepping_threads.
1954         (registerEvent): Implement EVENT_SINGLE_STEP.
1955         (unregisterEvent): Likewise.
1956
1957 2007-02-08  Keith Seitz  <keiths@redhat.com>
1958
1959         * sources.am: Regenerate.
1960         * Makefile.in: Regenerate.
1961         * testsuite/Makefile.in: Regenerate.
1962         * gcj/Makefile.in: Regenerate.
1963         * include/Makefile.in: Regenerate.
1964
1965         * classpath/lib/javax/management/MBeanServerFactory.class:
1966         Regenerate.
1967
1968 2007-02-08  Kyle Galloway  <kgallowa@redhat.com>
1969
1970         * classpath/gnu/classpath/jdwp/processor/
1971         StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1972         of ByteBuffer.
1973         (executeSetValues): Ditto.
1974         (executeThisObject): Ditto.
1975         * classpath/gnu/classpath/jdwp/processor/
1976         StackFrameCommandSet.class: Rebuilt.
1977         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1978         Rebuilt.
1979         * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1980         * classpath/lib/gnu/classpath/jdwp/exception/
1981         InvalidFrameException.java: New file.
1982         * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1983         frame.
1984         (Constructor): New method.
1985         * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1986         * gnu/classpath/jdwp/VMVirtualMachine.java
1987         (getFrame): Changed ByteBuffer to jlong.
1988         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1989         (getFrame): Implement.
1990         * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1991
1992 2007-02-08  Kyle Galloway  <kgallowa@redhat.com>
1993
1994         * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1995         to hold "this" pointer for frame.
1996         (_Jv_InterpFrame::get_this_ptr): New method.
1997         * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1998
1999 2007-02-07  Keith Seitz  <keiths@redhat.com>
2000
2001         * include/java-interp.h (_Jv_Frame::depth):
2002         New function.
2003         * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
2004
2005 2007-02-07  Kyle Galloway  <kgallowa@redhat.com>
2006
2007         * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
2008         (_Jv_JVMTI_GetMaxLocals): New method.
2009         * include/java-interp.h
2010         (_Jv_InterpMethod::get_max_locals): New method.
2011
2012 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
2013
2014         * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
2015
2016 2007-02-07  Tom Tromey  <tromey@redhat.com>
2017
2018         * testsuite/libjava.jni/init.c: New file.
2019         * testsuite/libjava.jni/init.java: New file.
2020         * testsuite/libjava.jni/init.out: New file.
2021         * testsuite/libjava.jni/init.jar: New file.
2022         * testsuite/libjava.jni/init.h: New file.
2023         * testsuite/libjava.jni/init$NativeClass.h: New file.
2024
2025 2007-02-07  Jakub Jelinek  <jakub@redhat.com>
2026
2027         PR libgomp/28468
2028         * configure: Regenerate.
2029
2030 2007-02-06  Andrew Haley  <aph@redhat.com>
2031
2032         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
2033         * sources.am: Rebuild.
2034
2035 2007-02-05  Keith Seitz  <keiths@redhat.com>
2036
2037         * jvmti.cc (_envListLock): Change type to
2038         ReentrantReadWriteLock.
2039         (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
2040         lock.
2041         (check_enabled_event): Likewise.
2042         (_Jv_GetJVMTIEnv): Likewise.
2043         (_Jv_JVMTI_Init): Likewise.
2044         (_Jv_JVMTI_PostEvent): Likewise. 
2045
2046 2007-02-05  Keith Seitz  <keiths@redhat.com>
2047
2048         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2049         (registerEvent): Implement EVENT_BREAKPOINT.
2050         (unregisterEvent): Likewise.
2051         (get_request_location): New function.
2052
2053 2007-02-05  Matthias Klose  <doko@debian.org>
2054
2055         testsuite/Makefile.am (compile-tests): Fix typo.
2056         testsuite/Makefile.in: Regenerate.
2057
2058 2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
2059
2060         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
2061         Implment.
2062
2063 2007-02-02  Jakub Jelinek  <jakub@redhat.com>
2064
2065         * configure.ac (libjava_cv_anon_version_script): New test.
2066         (ANONVERSCRIPT): New AM_CONDITIONAL.
2067         * configure: Rebuilt.
2068         * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
2069         if ANONVERSCRIPT.
2070         * Makefile.in: Rebuilt.
2071         (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
2072         * libgcj.ver: New file.
2073
2074 2007-02-01  David Daney  <ddaney@avtrex.com>
2075
2076         * scripts/makemake.tcl: Replace gnu/xml build with build of all
2077         its subpackages.
2078         * sources.am: Regenerate.
2079         * Makefile.in: Regenerate.
2080
2081 2007-02-01  Tom Tromey  <tromey@redhat.com>
2082
2083         * java/lang/ClassLoader.java (getResources): No longer final.
2084
2085 2007-02-01  Tom Tromey  <tromey@redhat.com>
2086
2087         * java/util/logging/LogManager.java (loggers): Genericized.
2088         (addLogger): Merged.
2089         (findAncestor): Likewise.
2090         (getLogger): Likewise.
2091         (getLoggerNames): Genericized.
2092         (reset): Merged.
2093         (getLevelProperty): Likewise.
2094         * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
2095         * java/lang/reflect/Constructor.java (getParameterTypes):
2096         Genericized.
2097         (getExceptionTypes): Likewise.
2098         (newInstance): Likewise.
2099         * java/lang/reflect/Array.java (newInstance): Genericized.
2100         * java/lang/Object.java (getClass): Genericized.
2101         * java/nio/charset/spi/CharsetProvider.java (charsets):
2102         Genericized.
2103         * java/text/Collator.java: Implement Comparable<Object>.
2104
2105 2007-02-01  Tom Tromey  <tromey@redhat.com>
2106
2107         * java/util/Calendar.java: Implement Comparable<Calendar>.  Update
2108         comments.
2109         (clear): Call complete.
2110         (setTimeZone): Call computeTime, computeFields.
2111         (compareTo): New method.
2112         * java/nio/charset/Charset.java: Implement Comparable<Charset>.
2113         (availableCharsets): Genericized.
2114         (aliases): Likewise.
2115         (compareTo): Changed argument type.
2116         * java/lang/ClassLoader.java (loadClass): Genericized.
2117         (findClass): Likewise.
2118         (defineClass): Likewise.
2119         (resolveClass): Likewise.
2120         (findSystemClass): Likewise.
2121         (setSigners): Likewise.
2122         (findLoadedClass): Likewise.
2123         (getResources): Likewise.
2124         (findResources): Likewise.
2125         (getSystemResources): Likewise.
2126         (checkInitialized): New method.
2127         * java/lang/Class.java (getCanonicalName): New method.
2128
2129 2007-01-31  Keith Seitz  <keiths@redhat.com>
2130
2131         * include/jvmti-int.h (JVMTI): Declare member "enabled".
2132         * jvmti.cc (JVMTI): Add member "enabled".
2133         (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
2134         * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
2135         instead of gnu::classpath::jdwp::Jdwp::isDebugging.
2136         (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
2137         instead of run to compile the method.
2138
2139         * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
2140         notification.
2141
2142 2007-01-31  Andreas Tobler  <a.tobler@schweiz.org>
2143
2144         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
2145         -shared-libgcc to the cxxflaglist for Darwin.
2146
2147 2007-01-31  Tom Tromey  <tromey@redhat.com>
2148
2149         * scripts.am, Makefile.in: Rebuilt.
2150         * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
2151         as 'ordinary'.
2152         (emit_ordinary_rule): New proc.
2153
2154 2007-01-31  Keith Seitz  <keiths@redhat.com>
2155
2156         * testsuite/libjava.jvmti/getmethodname.h: New file.
2157         * testsuite/libjava.jvmti/getmethodname.jar: New file.
2158
2159 2007-01-31  Andrew Haley  <aph@redhat.com>
2160
2161         * prims.cc (_Jv_Abort): fflush (stderr).
2162         * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
2163
2164 2007-01-31  Tom Tromey  <tromey@redhat.com>
2165
2166         * configure, Makefile.in: Rebuilt.
2167         * configure.ac (JAR): Check for -@ feature.
2168         * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
2169
2170 2007-01-31  Tom Tromey  <tromey@redhat.com>
2171
2172         PR libgcj/30606:
2173         * configure, include/config.h.in: Rebuilt.
2174         * configure.ac: Check for magic_t in magic.h.
2175         * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
2176
2177 2007-01-30  Tom Tromey  <tromey@redhat.com>
2178
2179         * Makefile.in: Rebuilt.
2180         * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
2181
2182 2007-01-30  Andreas Tobler  <a.tobler@schweiz.org>
2183
2184         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
2185         cast to print it right.
2186
2187 2007-01-29  Kaloian Doganov  <kaloian@doganov.org>
2188
2189         PR libgcj/30600:
2190         * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
2191         'limit'.
2192
2193 2007-01-29  Kyle Galloway  <kgallowa@redhat.com>
2194
2195         * include/java-interp.h:  Added _Jv_Frame class and its two
2196         subclasses _Jv_InterpFrame and _Jv_NativeFrame.  Also moved
2197         _Jv_FrameType from java-stack.h.
2198         * include/java-stack.h: Removed _Jv_FrameType.
2199         * java/lang/Thread.java: Added frame member to hold new
2200         composite frame stack.
2201         * java/lang/Thread.h: Regenerated.
2202         * java/lang/Thread.class: Rebuilt.
2203         * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
2204         calling a JNI method.
2205         * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
2206         (_Jv_JVMTI_GetFrameCount): New method.
2207         * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
2208         classes.
2209         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
2210         * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
2211         * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
2212         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
2213         * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
2214         for test. 
2215
2216 2007-01-29  Tom Tromey  <tromey@redhat.com>
2217
2218         * interpret.cc (run_debug): Remove comment.
2219         (STOREA): Reformat.
2220         (STOREI): Likewise.
2221         (STOREF): Likewise.
2222         (STOREL): Likewise.
2223         (STORED): Likewise.
2224         (POKEI): Likewise.
2225         (run_normal_debug): Likewise.
2226         (run_synch_object_debug): Likewise.
2227         (run_class_debug): Likewise.
2228         (run_synch_class_debug): Likewise.
2229         (get1s): Likewise.
2230         (get1u): Likewise.
2231         (get2u): Likewise.
2232         (get4): Likewise.
2233         (NULLARRAYCHECK): Likewise.
2234         (ARRAYBOUNDSCHECK): Likewise.
2235         * interpret-run.cc (insn_target) <breakpoint>: Tidy.
2236
2237 2007-01-29  Tom Tromey  <tromey@redhat.com>
2238
2239         * configure, Makefile.in: Rebuilt.
2240         * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
2241         * configure.ac (BASH_JAR): Removed conditional.
2242         (JAR): Prefer the jar found by AC_CHECK_PROGS.
2243
2244 2007-01-29  Tom Tromey  <tromey@redhat.com>
2245
2246         * Makefile.in: Rebuilt.
2247         * Makefile.am (interpret.lo): New target.  Add -fwrap to
2248         AM_CXXFLAGS.
2249
2250 2007-01-29  Keith Seitz  <keiths@redhat.com>
2251
2252         * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
2253         Define.
2254         [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
2255         gcj. All jvmti object types now are defined to be their
2256         corresponding java classes.
2257         * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
2258         jthread to Thread*.
2259         (_Jv_JVMTI_ResumeThread): Likewise.
2260         (_Jv_JVMTI_InterruptThread): Likewise.
2261         (_Jv_JVMTI_SetEventNotificationMode): Likewise.
2262         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2263         (jdwpClassPrepareCB): Likewise.
2264         (jdwpThreadEndCB): Likewise.
2265         (jdwpThreadStartCB): Likewise.
2266         (jdwpVMInitCB): Likewise.
2267  
2268 2007-01-28  Michele Sandri  <gpointorama@gmail.com>
2269
2270         * gnu/java/nio/channels/natFileChannelWin32.cc
2271         (lock): Implemented.
2272         (unlock): Implemented.
2273
2274 2007-01-27  Andreas Tobler  <a.tobler@schweiz.org>
2275
2276         PR libgcj/30513
2277         * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
2278         libgcj_flags to undefine 'sun' at compile time.
2279         * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
2280         Sparc.
2281         (write_barrier): Likewise.
2282
2283 2007-01-27  Keith Seitz  <keiths@redhat.com>
2284
2285         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2286         (getAllClassMethods): Move error handling to ...
2287         (throw_jvmti_error): ... here.
2288         (jdwpClassPrepareCB): New function.
2289         (jdwpThreadEndCB): New function.
2290         (jdwpThreadStartCB): New function.
2291         (jdwpVMDeathCB): New function.
2292         (jdwpVMInitCB): Define and enable callbacks for
2293         ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
2294
2295 2007-01-27  Jakub Jelinek  <jakub@redhat.com>
2296
2297         * Makefile.am (generic_header_files): Add $(inner_nat_headers).
2298         * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
2299         (MYGCJH): New variable.
2300         (compile-tests): New goal.
2301         * Makefile.in: Rebuilt.
2302         * testsuite/Makefile.in: Rebuilt.
2303
2304 2007-01-26  Andrew Haley  <aph@redhat.com>
2305
2306         * java/lang/natClass.cc (initializeClass): Re-throw
2307         SecurityExceptions.
2308         * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
2309         * java/lang/ClassLoader.java: (loadClass): Likewise.
2310
2311 2007-01-26  Tom Tromey  <tromey@redhat.com>
2312
2313         * Updated headers.
2314
2315 2007-01-25  Tom Tromey  <tromey@redhat.com>
2316
2317         PR libgcj/29594:
2318         * gnu/gcj/convert/Convert.java (main): Correctly handle missing
2319         input or output encodings.  Removed unused local variables.
2320
2321 2007-01-25  Keith Seitz  <keiths@redhat.com>
2322
2323         * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
2324         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2325         (_Jv_GetJDWP_JVMTIEnv): New function.
2326         * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
2327         (getSignature): Implement.
2328         (getModifiers): Implement.
2329
2330 2007-01-25  Andrew Haley  <aph@redhat.com>
2331
2332         * configure, Makefile.in, include/config.h.in: Rebuilt.
2333         * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
2334         * configure.ac: Don't check for libmagic.
2335         * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
2336         p_magic_close, p_magic_buffer): New globals.
2337         (init): Look up 'magic' functions.
2338         (guessContentTypeFromBuffer): Updated.
2339
2340 2007-01-25  Keith Seitz  <keiths@redhat.com>
2341
2342         * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
2343         (_Jv_JVMTI_Interface): Define GetMethodName.
2344         * testsuite/libjava.jvmti/getmethodname.java: New file.
2345         * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
2346         * testsuite/libjava.jvmti/getmethodname.out: New file. 
2347
2348 2007-01-24  Kyle Galloway  <kgallowa@redhat.com>
2349
2350         * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
2351         * libjava/testsuite/libjava.jvmti/interp: New folder.
2352         * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
2353
2354 2007-01-24  Keith Seitz  <keiths@redhat.com>
2355
2356         * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
2357         CLASS_PREPARE notification.
2358
2359 2007-01-24  Keith Seitz  <keiths@redhat.com>
2360
2361         * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
2362         gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
2363         * interpret-run.cc: Implement insn_breakpoint.
2364
2365 2007-01-24  Keith Seitz  <keiths@redhat.com>
2366
2367         * prims.cc (_Jv_RunMain): Send JVMTI event notifications
2368         for VM_INIT and VM_DEATH instead of the JDWP notifications.
2369
2370 2007-01-24  Keith Seitz  <keiths@redhat.com>
2371
2372         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2373         (getAllClassMethods): Implement.
2374
2375 2007-01-24  Andrew Haley  <aph@redhat.com>
2376
2377         * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
2378         (getClassContext) Add a barrier to prevent GetStackWalkerStack()
2379         from being sibcalled.
2380
2381 2007-01-24  Andrew Haley  <aph@redhat.com>
2382
2383         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
2384         * sources.am: Rebuild.
2385
2386 2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>
2387
2388         * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
2389         _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
2390
2391 2007-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2392
2393         PR libgcj/30550
2394         * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
2395         * Makefile.in: Regenerated.
2396
2397 2007-01-22  Keith Seitz  <keiths@redhat.com>
2398
2399         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2400         (getClassMethod): Implement.
2401
2402 2007-01-22  Keith  Seitz  <keiths@redhat.com>
2403
2404         * java/lang/Class.h (_Jv_GetClassStatus): Declare.
2405         * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
2406         * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
2407         (_Jv_JVMTI_Interface): Define GetClassStatus.
2408
2409 2007-01-22  Tom Tromey  <tromey@redhat.com>
2410
2411         * configure: Rebuilt.
2412         * configure.ac (GCJ): Reverted patch of 2006-12-20.
2413
2414 2007-01-22  Tom Tromey  <tromey@redhat.com>
2415
2416         PR java/29812:
2417         * testsuite/libjava.jni/pr29812.java: New file.
2418         * testsuite/libjava.jni/pr29812_injar.java: New file.
2419         * testsuite/libjava.jni/pr29812_injar.jar: New file.
2420         * testsuite/libjava.jni/pr29812.out: New file.
2421         * testsuite/libjava.jni/pr29812_injar.c: New file.
2422         * testsuite/libjava.jni/pr29812_injar.h: New file.
2423         * testsuite/libjava.jni/pr29812.jar: New file.
2424         * testsuite/libjava.jni/pr29812.c: New file.
2425         * testsuite/libjava.jni/pr29812.h: New file.
2426         * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
2427         New proc.
2428         (gcj_jni_invocation_test_one): Use it.
2429         (gcj_jni_pr29812): New proc.
2430         (gcj_jni_run): Use it.
2431         * java/lang/natRuntime.cc (_load): Push a new system frame before
2432         calling JNI_OnLoad.
2433         * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
2434         (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
2435         * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
2436         <allocated_p>: Now bool.
2437         <loader>: New field.
2438         (_Jv_JNI_EnsureLocalCapacity): Updated.
2439         (_Jv_JNI_NewLocalRef): Likewise.
2440         (_Jv_JNI_NewLocalRef): Likewise.
2441         (_Jv_JNI_PopLocalFrame): Likewise.
2442         (_Jv_JNI_FindClass): Likewise.
2443         (_Jv_GetJNIEnvNewFrame): Likewise.
2444         (_Jv_JNI_AttachCurrentThread): Likewise.
2445         (_Jv_GetJNIEnvNewFrameWithLoader): New function.
2446         (_Jv_GetJNIEnvNewFrame): Use it.
2447         * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
2448
2449 2007-01-22  Tom Tromey  <tromey@redhat.com>
2450
2451         * libtool-version: Bump current to 9.
2452
2453 2007-01-22  Andrew Haley  <aph@redhat.com>
2454
2455         * sysdep/alpha/locks.h (write_barrier): New.
2456
2457 2007-01-21  Matthias Klose  <doko@debian.org>
2458
2459         * Makefile.am (install-exec-hook): Use transformed name.
2460         * Makefile.in: Regenerate.
2461
2462 2007-01-19  Keith Seitz  <keiths@redhat.com>
2463
2464         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
2465         in methods and reformat.
2466
2467         * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
2468         MAYBE_UNUSED.
2469
2470 2007-01-18  Keith Seitz  <keiths@redhat.com>
2471
2472         From Macro Trudel <mtrudel@gmx.ch>:
2473         * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
2474         Use JNICALL.
2475
2476 2007-01-18  Marco Trudel  <mtrudel@gmx.ch>
2477
2478         * jni.cc (_Jv_JNI_FindClass): Initialize class.
2479         * testsuite/libjava.jni/findclass2.jar: New file.
2480         * testsuite/libjava.jni/findclass2.h: New file.
2481         * testsuite/libjava.jni/findclass2.java: New file
2482         * testsuite/libjava.jni/findclass2.c: New file.
2483         * testsuite/libjava.jni/findclass2.out: New file.
2484
2485 2007-01-18  Tom Tromey  <tromey@redhat.com>
2486
2487         * configure: Rebuilt.
2488         * configure.ac: Use multi_basedir instead of libgcj_basedir.
2489
2490 2007-01-18  Gary Benson  <gbenson@redhat.com>
2491
2492         * gnu/java/nio/natVMPipeEcos.cc:
2493         Renamed from gnu/java/nio/natPipeImplEcos.cc.
2494         * gnu/java/nio/natVMPipePosix.cc:
2495         Renamed from gnu/java/nio/natPipeImplPosix.cc.
2496         * gnu/java/nio/natVMPipeWin32.cc:
2497         Renamed from gnu/java/nio/natPipeImplWin32.cc.
2498         * gnu/java/nio/natVMSelectorEcos.cc:
2499         Renamed from gnu/java/nio/natSelectorImplEcos.cc.
2500         * gnu/java/nio/natVMSelectorPosix.cc:
2501         Renamed from gnu/java/nio/natSelectorImplPosix.cc.
2502         * gnu/java/nio/natVMSelectorWin32.cc:
2503         Renamed from gnu/java/nio/natSelectorImplWin32.cc.
2504         * java/io/natVMObjectInputStream.cc:
2505         Renamed from java/io/natObjectInputStream.cc.
2506         * java/lang/natVMDouble.cc:
2507         Renamed from java/lang/natDouble.cc.
2508         * java/lang/natVMFloat.cc:
2509         Renamed from java/lang/natFloat.cc.     
2510         * Makefile.am, configure.ac: Reflect the above.
2511         * Makefile.in, configure: Rebuilt.
2512
2513 2007-01-17  Andrew Haley  <aph@redhat.com>
2514
2515         * Makefile.in: Rebuilt.
2516         * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
2517
2518 2007-01-17  Keith Seitz  <keiths@redhat.com>
2519
2520         * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
2521         (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
2522
2523 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
2524
2525         * configure.ac: Use multi.m4 from aclocal rather than custom
2526         code.  Use multi_basedir instead libgcj_basedir.  Test for
2527         /proc/self/exe when not cross-compiling.
2528         * aclocal.m4: Regenerate.
2529         * configure: Regenerate.
2530         * Makefile.in: Regenerate.
2531
2532 2007-01-17  Gary Benson  <gbenson@redhat.com>
2533
2534         * java/nio/natVMDirectByteBufferImpl.cc:
2535         Renamed from java/nio/natDirectByteBufferImpl.cc.
2536         * Makefile.am: Reflect the above.
2537         * Makefile.in: Rebuilt.
2538         
2539 2007-01-17  Marco Trudel  <mtrudel@gmx.ch>
2540
2541         * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static.  Use JNICALL.
2542         Fixed indentation.  Removed unused variable.
2543
2544 2007-01-16  Tom Tromey  <tromey@redhat.com>
2545
2546         * java/lang/natThread.cc (finalize_native): Remove cast.
2547         (_Jv_GetCurrentJNIEnv): Likewise.
2548         * include/jvm.h (struct natThread) <jni_env>: Declare as
2549         _Jv_JNIEnv*.
2550
2551 2007-01-16  Keith Seitz  <keiths@redhat.com>
2552
2553         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
2554         %#llx instead of %d for new_value.
2555         * testsuite/libjava.jvmti/events.out: Update expected output.
2556         * testsuite/libjava.jvmti/events.jar: Regenerate.
2557
2558 2007-01-16  Keith Seitz  <keiths@redhat.com>
2559
2560         * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
2561         New macro.
2562         (ENABLE_EVENT): New macro.
2563         (initialize): Define and enable JVMTI VM_INIT callback.
2564         (jdwpVMInitCB): New function.
2565
2566 2007-01-16  Kyle Galloway  <kgallowa@redhat.com>
2567
2568         * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
2569         * testsuite/libjava.jvmti/getallthreads.java: New test.
2570         * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
2571         * testsuite/libjava.jvmti/getallthreads.out: Ditto.
2572         * testsuite/libjava.jvmti/getallthreads.h: Ditto.
2573         * testsuite/libjava.jvmti/getallthreads.jar: Ditto. 
2574
2575 2007-01-15  Keith Seitz  <keiths@redhat.com>
2576
2577         * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
2578         java.lang.StringBuilder instead of java.lang.StringBuffer.
2579         (resumeThread): Likewise.
2580
2581 2007-01-15  Gary Benson  <gbenson@redhat.com>
2582
2583         * java/nio/MappedByteBuffer.java: Removed.
2584         * sources.am, Makefile.in: Rebuilt.
2585
2586 2007-01-15  Gary Benson  <gbenson@redhat.com>
2587
2588         * java/net/URLClassLoader.java: Removed.
2589         * gnu/java/net/loader/Load_gcjlib.java: New file.
2590         * gnu/gcj/runtime/BootClassLoader.java: Ensure core
2591         URL handler is present in static executables.
2592         * sources.am, Makefile.in: Rebuilt.
2593
2594 2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>
2595
2596         * Makefile.am (libgcj_la_LDFLAGS): Add
2597         $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
2598         (libgcj_tools_la_LDFLAGS): Likewise.
2599         (libgcj_bc_la_LDFLAGS): Likewise.
2600         * Makefile.in: Regenerated.
2601
2602         * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC.  Set
2603         LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS.  Set
2604         libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
2605         Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
2606         * configure: Regenerated.
2607         * aclocal.m4: Likewise.
2608         * gcj/Makefile.in: Likewise.
2609         * include/Makefile.in: Likewise.
2610         * testsuite/Makefile.in: Likewise.
2611
2612 2007-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
2613
2614         * sysdep/sh/locks.h (read_barrier): New.
2615         (write_barrier): Likewise.
2616
2617 2007-01-12  Andrew Haley  <aph@redhat.com>
2618
2619         * include/i386-signal.h: Rewrite to use rt_sigaction.
2620
2621 2007-01-11  Andrew Haley  <aph@redhat.com>
2622
2623         * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
2624         to char*.
2625         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
2626         aliasing violation.
2627
2628 2007-01-10  Tom Tromey  <tromey@redhat.com>
2629
2630         * gnu/gcj/xlib/*.h: New files.
2631         * gnu/awt/xlib/*.h: Likewise.
2632         * classpath/lib/gnu/gcj/xlib: New class files.
2633         * classpath/lib/gnu/awt/xlib: Likewise.
2634
2635 2007-01-10  Tom Tromey  <tromey@redhat.com>
2636
2637         * HACKING: Various updates.
2638
2639 2007-01-10  Tom Tromey  <tromey@redhat.com>
2640
2641         * java/lang/natDouble.cc (toString): Added parens.
2642         * gnu/gcj/io/shs.h (PROTO): Define.
2643         * link.cc (resolve_pool_entry): Added missing braces.
2644
2645 2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2646
2647         PR libgcj/30424
2648         * sysdep/ia64/locks.h (read_barrier): New.
2649         (write_barrier): New.
2650
2651 2007-01-10  Gary Benson  <gbenson@redhat.com>
2652
2653         * java/net/URL.java: Removed.
2654         * sources.am, Makefile.in: Rebuilt.
2655
2656 2007-01-10  Matthias Klose  <doko@debian.org>
2657
2658         * Makefile.am (install-exec-hook): Support $(DESTDIR).
2659         * Makefile.in: Regenerated.
2660
2661 2007-01-05  Tom Tromey  <tromey@redhat.com>
2662
2663         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
2664         dummy.class in srcdir.
2665
2666 2007-01-03  Tom Tromey  <tromey@redhat.com>
2667
2668         * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
2669         for srcdir.
2670
2671 2007-01-03  Tom Tromey  <tromey@redhat.com>
2672
2673         * testsuite/*: Added many .jar and .h files.
2674         * testsuite/libjava.special/special.exp
2675         (gcj_special_try_compiler): New proc.
2676         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
2677         bytecompile source.  Search for .jar files.
2678         (gcj_loader_test_one): Don't look for MyLoader.java.
2679         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
2680         bytecompile sources or build headers.
2681         (gcj_jvmti_run): Look for .jar files.
2682         * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
2683         files.
2684         (gcj_jni_test_one): Don't bytecompile sources or build headers.
2685         Set classpath when invoking gij.
2686         (gcj_jni_invocation_test_one): Likewise.
2687         * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
2688         headers or bytecompile sources.
2689         (gcj_cni_run): Use .jar files, not .java files.
2690         * testsuite/libjava.lang/lang.exp: Compile .jar files.
2691
2692 2007-01-02  Tom Tromey  <tromey@redhat.com>
2693
2694         * configure: Rebuilt.
2695         * configure.ac: Check for gjar.
2696
2697 2007-01-02  Tom Tromey  <tromey@redhat.com>
2698
2699         * testsuite/libjava.jacks/jacks.exp: Removed.
2700         * testsuite/libjava.jacks/jacks.xfail: Removed.
2701