OSDN Git Service

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