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