OSDN Git Service

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