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