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