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