OSDN Git Service

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