OSDN Git Service

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