OSDN Git Service

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