OSDN Git Service

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