OSDN Git Service

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