OSDN Git Service

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