OSDN Git Service

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