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