OSDN Git Service

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