1 2007-02-08 Keith Seitz <keiths@redhat.com>
3 * sources.am: Regenerate.
4 * Makefile.in: Regenerate.
6 * classpath/lib/javax/management/MBeanServerFactory.class:
9 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
11 * classpath/gnu/classpath/jdwp/processor/
12 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
14 (executeSetValues): Ditto.
15 (executeThisObject): Ditto.
16 * classpath/gnu/classpath/jdwp/processor/
17 StackFrameCommandSet.class: Rebuilt.
18 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
20 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
21 * classpath/lib/gnu/classpath/jdwp/exception/
22 InvalidFrameException.java: New file.
23 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
25 (Constructor): New method.
26 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
27 * gnu/classpath/jdwp/VMVirtualMachine.java
28 (getFrame): Changed ByteBuffer to jlong.
29 * gnu/classpath/jdwp/natVMVirtualMachine.cc
30 (getFrame): Implement.
31 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
33 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
35 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
36 to hold "this" pointer for frame.
37 (_Jv_InterpFrame::get_this_ptr): New method.
38 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
40 2007-02-07 Keith Seitz <keiths@redhat.com>
42 * include/java-interp.h (_Jv_Frame::depth):
44 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
46 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
48 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
49 (_Jv_JVMTI_GetMaxLocals): New method.
50 * include/java-interp.h
51 (_Jv_InterpMethod::get_max_locals): New method.
53 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
55 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
57 2007-02-07 Tom Tromey <tromey@redhat.com>
59 * testsuite/libjava.jni/init.c: New file.
60 * testsuite/libjava.jni/init.java: New file.
61 * testsuite/libjava.jni/init.out: New file.
62 * testsuite/libjava.jni/init.jar: New file.
63 * testsuite/libjava.jni/init.h: New file.
64 * testsuite/libjava.jni/init$NativeClass.h: New file.
66 2007-02-07 Jakub Jelinek <jakub@redhat.com>
69 * configure: Regenerate.
71 2007-02-06 Andrew Haley <aph@redhat.com>
73 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
74 * sources.am: Rebuild.
76 2007-02-05 Keith Seitz <keiths@redhat.com>
78 * jvmti.cc (_envListLock): Change type to
79 ReentrantReadWriteLock.
80 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
82 (check_enabled_event): Likewise.
83 (_Jv_GetJVMTIEnv): Likewise.
84 (_Jv_JVMTI_Init): Likewise.
85 (_Jv_JVMTI_PostEvent): Likewise.
87 2007-02-05 Keith Seitz <keiths@redhat.com>
89 * gnu/classpath/jdwp/natVMVirtualMachine.cc
90 (registerEvent): Implement EVENT_BREAKPOINT.
91 (unregisterEvent): Likewise.
92 (get_request_location): New function.
94 2007-02-05 Matthias Klose <doko@debian.org>
96 testsuite/Makefile.am (compile-tests): Fix typo.
97 testsuite/Makefile.in: Regenerate.
99 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
101 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
104 2007-02-02 Jakub Jelinek <jakub@redhat.com>
106 * configure.ac (libjava_cv_anon_version_script): New test.
107 (ANONVERSCRIPT): New AM_CONDITIONAL.
108 * configure: Rebuilt.
109 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
111 * Makefile.in: Rebuilt.
112 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
113 * libgcj.ver: New file.
115 2007-02-01 David Daney <ddaney@avtrex.com>
117 * scripts/makemake.tcl: Replace gnu/xml build with build of all
119 * sources.am: Regenerate.
120 * Makefile.in: Regenerate.
122 2007-02-01 Tom Tromey <tromey@redhat.com>
124 * java/lang/ClassLoader.java (getResources): No longer final.
126 2007-02-01 Tom Tromey <tromey@redhat.com>
128 * java/util/logging/LogManager.java (loggers): Genericized.
130 (findAncestor): Likewise.
131 (getLogger): Likewise.
132 (getLoggerNames): Genericized.
134 (getLevelProperty): Likewise.
135 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
136 * java/lang/reflect/Constructor.java (getParameterTypes):
138 (getExceptionTypes): Likewise.
139 (newInstance): Likewise.
140 * java/lang/reflect/Array.java (newInstance): Genericized.
141 * java/lang/Object.java (getClass): Genericized.
142 * java/nio/charset/spi/CharsetProvider.java (charsets):
144 * java/text/Collator.java: Implement Comparable<Object>.
146 2007-02-01 Tom Tromey <tromey@redhat.com>
148 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
150 (clear): Call complete.
151 (setTimeZone): Call computeTime, computeFields.
152 (compareTo): New method.
153 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
154 (availableCharsets): Genericized.
156 (compareTo): Changed argument type.
157 * java/lang/ClassLoader.java (loadClass): Genericized.
158 (findClass): Likewise.
159 (defineClass): Likewise.
160 (resolveClass): Likewise.
161 (findSystemClass): Likewise.
162 (setSigners): Likewise.
163 (findLoadedClass): Likewise.
164 (getResources): Likewise.
165 (findResources): Likewise.
166 (getSystemResources): Likewise.
167 (checkInitialized): New method.
168 * java/lang/Class.java (getCanonicalName): New method.
170 2007-01-31 Keith Seitz <keiths@redhat.com>
172 * include/jvmti-int.h (JVMTI): Declare member "enabled".
173 * jvmti.cc (JVMTI): Add member "enabled".
174 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
175 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
176 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
177 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
178 instead of run to compile the method.
180 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
183 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
185 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
186 -shared-libgcc to the cxxflaglist for Darwin.
188 2007-01-31 Tom Tromey <tromey@redhat.com>
190 * scripts.am, Makefile.in: Rebuilt.
191 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
193 (emit_ordinary_rule): New proc.
195 2007-01-31 Keith Seitz <keiths@redhat.com>
197 * testsuite/libjava.jvmti/getmethodname.h: New file.
198 * testsuite/libjava.jvmti/getmethodname.jar: New file.
200 2007-01-31 Andrew Haley <aph@redhat.com>
202 * prims.cc (_Jv_Abort): fflush (stderr).
203 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
205 2007-01-31 Tom Tromey <tromey@redhat.com>
207 * configure, Makefile.in: Rebuilt.
208 * configure.ac (JAR): Check for -@ feature.
209 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
211 2007-01-31 Tom Tromey <tromey@redhat.com>
214 * configure, include/config.h.in: Rebuilt.
215 * configure.ac: Check for magic_t in magic.h.
216 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
218 2007-01-30 Tom Tromey <tromey@redhat.com>
220 * Makefile.in: Rebuilt.
221 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
223 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
225 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
226 cast to print it right.
228 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
231 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
234 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
236 * include/java-interp.h: Added _Jv_Frame class and its two
237 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
238 _Jv_FrameType from java-stack.h.
239 * include/java-stack.h: Removed _Jv_FrameType.
240 * java/lang/Thread.java: Added frame member to hold new
241 composite frame stack.
242 * java/lang/Thread.h: Regenerated.
243 * java/lang/Thread.class: Rebuilt.
244 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
245 calling a JNI method.
246 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
247 (_Jv_JVMTI_GetFrameCount): New method.
248 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
250 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
251 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
252 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
253 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
254 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
257 2007-01-29 Tom Tromey <tromey@redhat.com>
259 * interpret.cc (run_debug): Remove comment.
266 (run_normal_debug): Likewise.
267 (run_synch_object_debug): Likewise.
268 (run_class_debug): Likewise.
269 (run_synch_class_debug): Likewise.
274 (NULLARRAYCHECK): Likewise.
275 (ARRAYBOUNDSCHECK): Likewise.
276 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
278 2007-01-29 Tom Tromey <tromey@redhat.com>
280 * configure, Makefile.in: Rebuilt.
281 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
282 * configure.ac (BASH_JAR): Removed conditional.
283 (JAR): Prefer the jar found by AC_CHECK_PROGS.
285 2007-01-29 Tom Tromey <tromey@redhat.com>
287 * Makefile.in: Rebuilt.
288 * Makefile.am (interpret.lo): New target. Add -fwrap to
291 2007-01-29 Keith Seitz <keiths@redhat.com>
293 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
295 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
296 gcj. All jvmti object types now are defined to be their
297 corresponding java classes.
298 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
300 (_Jv_JVMTI_ResumeThread): Likewise.
301 (_Jv_JVMTI_InterruptThread): Likewise.
302 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
303 * gnu/classpath/jdwp/natVMVirtualMachine.cc
304 (jdwpClassPrepareCB): Likewise.
305 (jdwpThreadEndCB): Likewise.
306 (jdwpThreadStartCB): Likewise.
307 (jdwpVMInitCB): Likewise.
309 2007-01-28 Michele Sandri <gpointorama@gmail.com>
311 * gnu/java/nio/channels/natFileChannelWin32.cc
313 (unlock): Implemented.
315 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
318 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
319 libgcj_flags to undefine 'sun' at compile time.
320 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
322 (write_barrier): Likewise.
324 2007-01-27 Keith Seitz <keiths@redhat.com>
326 * gnu/classpath/jdwp/natVMVirtualMachine.cc
327 (getAllClassMethods): Move error handling to ...
328 (throw_jvmti_error): ... here.
329 (jdwpClassPrepareCB): New function.
330 (jdwpThreadEndCB): New function.
331 (jdwpThreadStartCB): New function.
332 (jdwpVMDeathCB): New function.
333 (jdwpVMInitCB): Define and enable callbacks for
334 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
336 2007-01-27 Jakub Jelinek <jakub@redhat.com>
338 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
339 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
340 (MYGCJH): New variable.
341 (compile-tests): New goal.
342 * Makefile.in: Rebuilt.
343 * testsuite/Makefile.in: Rebuilt.
345 2007-01-26 Andrew Haley <aph@redhat.com>
347 * java/lang/natClass.cc (initializeClass): Re-throw
349 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
350 * java/lang/ClassLoader.java: (loadClass): Likewise.
352 2007-01-26 Tom Tromey <tromey@redhat.com>
356 2007-01-25 Tom Tromey <tromey@redhat.com>
359 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
360 input or output encodings. Removed unused local variables.
362 2007-01-25 Keith Seitz <keiths@redhat.com>
364 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
365 * gnu/classpath/jdwp/natVMVirtualMachine.cc
366 (_Jv_GetJDWP_JVMTIEnv): New function.
367 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
368 (getSignature): Implement.
369 (getModifiers): Implement.
371 2007-01-25 Andrew Haley <aph@redhat.com>
373 * configure, Makefile.in, include/config.h.in: Rebuilt.
374 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
375 * configure.ac: Don't check for libmagic.
376 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
377 p_magic_close, p_magic_buffer): New globals.
378 (init): Look up 'magic' functions.
379 (guessContentTypeFromBuffer): Updated.
381 2007-01-25 Keith Seitz <keiths@redhat.com>
383 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
384 (_Jv_JVMTI_Interface): Define GetMethodName.
385 * testsuite/libjava.jvmti/getmethodname.java: New file.
386 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
387 * testsuite/libjava.jvmti/getmethodname.out: New file.
389 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
391 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
392 * libjava/testsuite/libjava.jvmti/interp: New folder.
393 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
395 2007-01-24 Keith Seitz <keiths@redhat.com>
397 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
398 CLASS_PREPARE notification.
400 2007-01-24 Keith Seitz <keiths@redhat.com>
402 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
403 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
404 * interpret-run.cc: Implement insn_breakpoint.
406 2007-01-24 Keith Seitz <keiths@redhat.com>
408 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
409 for VM_INIT and VM_DEATH instead of the JDWP notifications.
411 2007-01-24 Keith Seitz <keiths@redhat.com>
413 * gnu/classpath/jdwp/natVMVirtualMachine.cc
414 (getAllClassMethods): Implement.
416 2007-01-24 Andrew Haley <aph@redhat.com>
418 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
419 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
420 from being sibcalled.
422 2007-01-24 Andrew Haley <aph@redhat.com>
424 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
425 * sources.am: Rebuild.
427 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
429 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
430 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
432 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
435 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
436 * Makefile.in: Regenerated.
438 2007-01-22 Keith Seitz <keiths@redhat.com>
440 * gnu/classpath/jdwp/natVMVirtualMachine.cc
441 (getClassMethod): Implement.
443 2007-01-22 Keith Seitz <keiths@redhat.com>
445 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
446 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
447 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
448 (_Jv_JVMTI_Interface): Define GetClassStatus.
450 2007-01-22 Tom Tromey <tromey@redhat.com>
452 * configure: Rebuilt.
453 * configure.ac (GCJ): Reverted patch of 2006-12-20.
455 2007-01-22 Tom Tromey <tromey@redhat.com>
458 * testsuite/libjava.jni/pr29812.java: New file.
459 * testsuite/libjava.jni/pr29812_injar.java: New file.
460 * testsuite/libjava.jni/pr29812_injar.jar: New file.
461 * testsuite/libjava.jni/pr29812.out: New file.
462 * testsuite/libjava.jni/pr29812_injar.c: New file.
463 * testsuite/libjava.jni/pr29812_injar.h: New file.
464 * testsuite/libjava.jni/pr29812.jar: New file.
465 * testsuite/libjava.jni/pr29812.c: New file.
466 * testsuite/libjava.jni/pr29812.h: New file.
467 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
469 (gcj_jni_invocation_test_one): Use it.
470 (gcj_jni_pr29812): New proc.
471 (gcj_jni_run): Use it.
472 * java/lang/natRuntime.cc (_load): Push a new system frame before
474 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
475 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
476 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
477 <allocated_p>: Now bool.
479 (_Jv_JNI_EnsureLocalCapacity): Updated.
480 (_Jv_JNI_NewLocalRef): Likewise.
481 (_Jv_JNI_NewLocalRef): Likewise.
482 (_Jv_JNI_PopLocalFrame): Likewise.
483 (_Jv_JNI_FindClass): Likewise.
484 (_Jv_GetJNIEnvNewFrame): Likewise.
485 (_Jv_JNI_AttachCurrentThread): Likewise.
486 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
487 (_Jv_GetJNIEnvNewFrame): Use it.
488 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
490 2007-01-22 Tom Tromey <tromey@redhat.com>
492 * libtool-version: Bump current to 9.
494 2007-01-22 Andrew Haley <aph@redhat.com>
496 * sysdep/alpha/locks.h (write_barrier): New.
498 2007-01-21 Matthias Klose <doko@debian.org>
500 * Makefile.am (install-exec-hook): Use transformed name.
501 * Makefile.in: Regenerate.
503 2007-01-19 Keith Seitz <keiths@redhat.com>
505 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
506 in methods and reformat.
508 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
511 2007-01-18 Keith Seitz <keiths@redhat.com>
513 From Macro Trudel <mtrudel@gmx.ch>:
514 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
517 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
519 * jni.cc (_Jv_JNI_FindClass): Initialize class.
520 * testsuite/libjava.jni/findclass2.jar: New file.
521 * testsuite/libjava.jni/findclass2.h: New file.
522 * testsuite/libjava.jni/findclass2.java: New file
523 * testsuite/libjava.jni/findclass2.c: New file.
524 * testsuite/libjava.jni/findclass2.out: New file.
526 2007-01-18 Tom Tromey <tromey@redhat.com>
528 * configure: Rebuilt.
529 * configure.ac: Use multi_basedir instead of libgcj_basedir.
531 2007-01-18 Gary Benson <gbenson@redhat.com>
533 * gnu/java/nio/natVMPipeEcos.cc:
534 Renamed from gnu/java/nio/natPipeImplEcos.cc.
535 * gnu/java/nio/natVMPipePosix.cc:
536 Renamed from gnu/java/nio/natPipeImplPosix.cc.
537 * gnu/java/nio/natVMPipeWin32.cc:
538 Renamed from gnu/java/nio/natPipeImplWin32.cc.
539 * gnu/java/nio/natVMSelectorEcos.cc:
540 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
541 * gnu/java/nio/natVMSelectorPosix.cc:
542 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
543 * gnu/java/nio/natVMSelectorWin32.cc:
544 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
545 * java/io/natVMObjectInputStream.cc:
546 Renamed from java/io/natObjectInputStream.cc.
547 * java/lang/natVMDouble.cc:
548 Renamed from java/lang/natDouble.cc.
549 * java/lang/natVMFloat.cc:
550 Renamed from java/lang/natFloat.cc.
551 * Makefile.am, configure.ac: Reflect the above.
552 * Makefile.in, configure: Rebuilt.
554 2007-01-17 Andrew Haley <aph@redhat.com>
556 * Makefile.in: Rebuilt.
557 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
559 2007-01-17 Keith Seitz <keiths@redhat.com>
561 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
562 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
564 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
566 * configure.ac: Use multi.m4 from aclocal rather than custom
567 code. Use multi_basedir instead libgcj_basedir. Test for
568 /proc/self/exe when not cross-compiling.
569 * aclocal.m4: Regenerate.
570 * configure: Regenerate.
571 * Makefile.in: Regenerate.
573 2007-01-17 Gary Benson <gbenson@redhat.com>
575 * java/nio/natVMDirectByteBufferImpl.cc:
576 Renamed from java/nio/natDirectByteBufferImpl.cc.
577 * Makefile.am: Reflect the above.
578 * Makefile.in: Rebuilt.
580 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
582 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
583 Fixed indentation. Removed unused variable.
585 2007-01-16 Tom Tromey <tromey@redhat.com>
587 * java/lang/natThread.cc (finalize_native): Remove cast.
588 (_Jv_GetCurrentJNIEnv): Likewise.
589 * include/jvm.h (struct natThread) <jni_env>: Declare as
592 2007-01-16 Keith Seitz <keiths@redhat.com>
594 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
595 %#llx instead of %d for new_value.
596 * testsuite/libjava.jvmti/events.out: Update expected output.
597 * testsuite/libjava.jvmti/events.jar: Regenerate.
599 2007-01-16 Keith Seitz <keiths@redhat.com>
601 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
603 (ENABLE_EVENT): New macro.
604 (initialize): Define and enable JVMTI VM_INIT callback.
605 (jdwpVMInitCB): New function.
607 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
609 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
610 * testsuite/libjava.jvmti/getallthreads.java: New test.
611 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
612 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
613 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
614 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
616 2007-01-15 Keith Seitz <keiths@redhat.com>
618 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
619 java.lang.StringBuilder instead of java.lang.StringBuffer.
620 (resumeThread): Likewise.
622 2007-01-15 Gary Benson <gbenson@redhat.com>
624 * java/nio/MappedByteBuffer.java: Removed.
625 * sources.am, Makefile.in: Rebuilt.
627 2007-01-15 Gary Benson <gbenson@redhat.com>
629 * java/net/URLClassLoader.java: Removed.
630 * gnu/java/net/loader/Load_gcjlib.java: New file.
631 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
632 URL handler is present in static executables.
633 * sources.am, Makefile.in: Rebuilt.
635 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
637 * Makefile.am (libgcj_la_LDFLAGS): Add
638 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
639 (libgcj_tools_la_LDFLAGS): Likewise.
640 (libgcj_bc_la_LDFLAGS): Likewise.
641 * Makefile.in: Regenerated.
643 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
644 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
645 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
646 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
647 * configure: Regenerated.
648 * aclocal.m4: Likewise.
649 * gcj/Makefile.in: Likewise.
650 * include/Makefile.in: Likewise.
651 * testsuite/Makefile.in: Likewise.
653 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
655 * sysdep/sh/locks.h (read_barrier): New.
656 (write_barrier): Likewise.
658 2007-01-12 Andrew Haley <aph@redhat.com>
660 * include/i386-signal.h: Rewrite to use rt_sigaction.
662 2007-01-11 Andrew Haley <aph@redhat.com>
664 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
666 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
669 2007-01-10 Tom Tromey <tromey@redhat.com>
671 * gnu/gcj/xlib/*.h: New files.
672 * gnu/awt/xlib/*.h: Likewise.
673 * classpath/lib/gnu/gcj/xlib: New class files.
674 * classpath/lib/gnu/awt/xlib: Likewise.
676 2007-01-10 Tom Tromey <tromey@redhat.com>
678 * HACKING: Various updates.
680 2007-01-10 Tom Tromey <tromey@redhat.com>
682 * java/lang/natDouble.cc (toString): Added parens.
683 * gnu/gcj/io/shs.h (PROTO): Define.
684 * link.cc (resolve_pool_entry): Added missing braces.
686 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
689 * sysdep/ia64/locks.h (read_barrier): New.
690 (write_barrier): New.
692 2007-01-10 Gary Benson <gbenson@redhat.com>
694 * java/net/URL.java: Removed.
695 * sources.am, Makefile.in: Rebuilt.
697 2007-01-10 Matthias Klose <doko@debian.org>
699 * Makefile.am (install-exec-hook): Support $(DESTDIR).
700 * Makefile.in: Regenerated.
702 2007-01-05 Tom Tromey <tromey@redhat.com>
704 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
705 dummy.class in srcdir.
707 2007-01-03 Tom Tromey <tromey@redhat.com>
709 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
712 2007-01-03 Tom Tromey <tromey@redhat.com>
714 * testsuite/*: Added many .jar and .h files.
715 * testsuite/libjava.special/special.exp
716 (gcj_special_try_compiler): New proc.
717 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
718 bytecompile source. Search for .jar files.
719 (gcj_loader_test_one): Don't look for MyLoader.java.
720 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
721 bytecompile sources or build headers.
722 (gcj_jvmti_run): Look for .jar files.
723 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
725 (gcj_jni_test_one): Don't bytecompile sources or build headers.
726 Set classpath when invoking gij.
727 (gcj_jni_invocation_test_one): Likewise.
728 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
729 headers or bytecompile sources.
730 (gcj_cni_run): Use .jar files, not .java files.
731 * testsuite/libjava.lang/lang.exp: Compile .jar files.
733 2007-01-02 Tom Tromey <tromey@redhat.com>
735 * configure: Rebuilt.
736 * configure.ac: Check for gjar.
738 2007-01-02 Tom Tromey <tromey@redhat.com>
740 * testsuite/libjava.jacks/jacks.exp: Removed.
741 * testsuite/libjava.jacks/jacks.xfail: Removed.