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