1 2007-02-09 Richard Henderson <rth@redhat.com>
3 * sysdep/alpha/locks.h (read_barrier): New.
5 2007-02-09 Keith Seitz <keiths@redhat.com>
7 * gnu/classpath/jdwp/VMVirtualMachine.java
8 (_stepping_threads): New member.
9 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
11 * gnu/classpath/jdwp/VMVirtualMachine.h:
13 * gnu/claspath/jdwp/natVMVirtualMachine.cc
14 (get_request_step_filter): New function.
15 (DISABLE_EVENT): New macro.
16 (initialize): Initialize _stepping_threads.
17 (registerEvent): Implement EVENT_SINGLE_STEP.
18 (unregisterEvent): Likewise.
20 2007-02-08 Keith Seitz <keiths@redhat.com>
22 * sources.am: Regenerate.
23 * Makefile.in: Regenerate.
24 * testsuite/Makefile.in: Regenerate.
25 * gcj/Makefile.in: Regenerate.
26 * include/Makefile.in: Regenerate.
28 * classpath/lib/javax/management/MBeanServerFactory.class:
31 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
33 * classpath/gnu/classpath/jdwp/processor/
34 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
36 (executeSetValues): Ditto.
37 (executeThisObject): Ditto.
38 * classpath/gnu/classpath/jdwp/processor/
39 StackFrameCommandSet.class: Rebuilt.
40 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
42 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
43 * classpath/lib/gnu/classpath/jdwp/exception/
44 InvalidFrameException.java: New file.
45 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
47 (Constructor): New method.
48 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
49 * gnu/classpath/jdwp/VMVirtualMachine.java
50 (getFrame): Changed ByteBuffer to jlong.
51 * gnu/classpath/jdwp/natVMVirtualMachine.cc
52 (getFrame): Implement.
53 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
55 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
57 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
58 to hold "this" pointer for frame.
59 (_Jv_InterpFrame::get_this_ptr): New method.
60 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
62 2007-02-07 Keith Seitz <keiths@redhat.com>
64 * include/java-interp.h (_Jv_Frame::depth):
66 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
68 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
70 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
71 (_Jv_JVMTI_GetMaxLocals): New method.
72 * include/java-interp.h
73 (_Jv_InterpMethod::get_max_locals): New method.
75 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
77 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
79 2007-02-07 Tom Tromey <tromey@redhat.com>
81 * testsuite/libjava.jni/init.c: New file.
82 * testsuite/libjava.jni/init.java: New file.
83 * testsuite/libjava.jni/init.out: New file.
84 * testsuite/libjava.jni/init.jar: New file.
85 * testsuite/libjava.jni/init.h: New file.
86 * testsuite/libjava.jni/init$NativeClass.h: New file.
88 2007-02-07 Jakub Jelinek <jakub@redhat.com>
91 * configure: Regenerate.
93 2007-02-06 Andrew Haley <aph@redhat.com>
95 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
96 * sources.am: Rebuild.
98 2007-02-05 Keith Seitz <keiths@redhat.com>
100 * jvmti.cc (_envListLock): Change type to
101 ReentrantReadWriteLock.
102 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
104 (check_enabled_event): Likewise.
105 (_Jv_GetJVMTIEnv): Likewise.
106 (_Jv_JVMTI_Init): Likewise.
107 (_Jv_JVMTI_PostEvent): Likewise.
109 2007-02-05 Keith Seitz <keiths@redhat.com>
111 * gnu/classpath/jdwp/natVMVirtualMachine.cc
112 (registerEvent): Implement EVENT_BREAKPOINT.
113 (unregisterEvent): Likewise.
114 (get_request_location): New function.
116 2007-02-05 Matthias Klose <doko@debian.org>
118 testsuite/Makefile.am (compile-tests): Fix typo.
119 testsuite/Makefile.in: Regenerate.
121 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
123 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
126 2007-02-02 Jakub Jelinek <jakub@redhat.com>
128 * configure.ac (libjava_cv_anon_version_script): New test.
129 (ANONVERSCRIPT): New AM_CONDITIONAL.
130 * configure: Rebuilt.
131 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
133 * Makefile.in: Rebuilt.
134 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
135 * libgcj.ver: New file.
137 2007-02-01 David Daney <ddaney@avtrex.com>
139 * scripts/makemake.tcl: Replace gnu/xml build with build of all
141 * sources.am: Regenerate.
142 * Makefile.in: Regenerate.
144 2007-02-01 Tom Tromey <tromey@redhat.com>
146 * java/lang/ClassLoader.java (getResources): No longer final.
148 2007-02-01 Tom Tromey <tromey@redhat.com>
150 * java/util/logging/LogManager.java (loggers): Genericized.
152 (findAncestor): Likewise.
153 (getLogger): Likewise.
154 (getLoggerNames): Genericized.
156 (getLevelProperty): Likewise.
157 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
158 * java/lang/reflect/Constructor.java (getParameterTypes):
160 (getExceptionTypes): Likewise.
161 (newInstance): Likewise.
162 * java/lang/reflect/Array.java (newInstance): Genericized.
163 * java/lang/Object.java (getClass): Genericized.
164 * java/nio/charset/spi/CharsetProvider.java (charsets):
166 * java/text/Collator.java: Implement Comparable<Object>.
168 2007-02-01 Tom Tromey <tromey@redhat.com>
170 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
172 (clear): Call complete.
173 (setTimeZone): Call computeTime, computeFields.
174 (compareTo): New method.
175 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
176 (availableCharsets): Genericized.
178 (compareTo): Changed argument type.
179 * java/lang/ClassLoader.java (loadClass): Genericized.
180 (findClass): Likewise.
181 (defineClass): Likewise.
182 (resolveClass): Likewise.
183 (findSystemClass): Likewise.
184 (setSigners): Likewise.
185 (findLoadedClass): Likewise.
186 (getResources): Likewise.
187 (findResources): Likewise.
188 (getSystemResources): Likewise.
189 (checkInitialized): New method.
190 * java/lang/Class.java (getCanonicalName): New method.
192 2007-01-31 Keith Seitz <keiths@redhat.com>
194 * include/jvmti-int.h (JVMTI): Declare member "enabled".
195 * jvmti.cc (JVMTI): Add member "enabled".
196 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
197 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
198 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
199 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
200 instead of run to compile the method.
202 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
205 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
207 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
208 -shared-libgcc to the cxxflaglist for Darwin.
210 2007-01-31 Tom Tromey <tromey@redhat.com>
212 * scripts.am, Makefile.in: Rebuilt.
213 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
215 (emit_ordinary_rule): New proc.
217 2007-01-31 Keith Seitz <keiths@redhat.com>
219 * testsuite/libjava.jvmti/getmethodname.h: New file.
220 * testsuite/libjava.jvmti/getmethodname.jar: New file.
222 2007-01-31 Andrew Haley <aph@redhat.com>
224 * prims.cc (_Jv_Abort): fflush (stderr).
225 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
227 2007-01-31 Tom Tromey <tromey@redhat.com>
229 * configure, Makefile.in: Rebuilt.
230 * configure.ac (JAR): Check for -@ feature.
231 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
233 2007-01-31 Tom Tromey <tromey@redhat.com>
236 * configure, include/config.h.in: Rebuilt.
237 * configure.ac: Check for magic_t in magic.h.
238 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
240 2007-01-30 Tom Tromey <tromey@redhat.com>
242 * Makefile.in: Rebuilt.
243 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
245 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
247 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
248 cast to print it right.
250 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
253 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
256 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
258 * include/java-interp.h: Added _Jv_Frame class and its two
259 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
260 _Jv_FrameType from java-stack.h.
261 * include/java-stack.h: Removed _Jv_FrameType.
262 * java/lang/Thread.java: Added frame member to hold new
263 composite frame stack.
264 * java/lang/Thread.h: Regenerated.
265 * java/lang/Thread.class: Rebuilt.
266 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
267 calling a JNI method.
268 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
269 (_Jv_JVMTI_GetFrameCount): New method.
270 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
272 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
273 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
274 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
275 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
276 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
279 2007-01-29 Tom Tromey <tromey@redhat.com>
281 * interpret.cc (run_debug): Remove comment.
288 (run_normal_debug): Likewise.
289 (run_synch_object_debug): Likewise.
290 (run_class_debug): Likewise.
291 (run_synch_class_debug): Likewise.
296 (NULLARRAYCHECK): Likewise.
297 (ARRAYBOUNDSCHECK): Likewise.
298 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
300 2007-01-29 Tom Tromey <tromey@redhat.com>
302 * configure, Makefile.in: Rebuilt.
303 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
304 * configure.ac (BASH_JAR): Removed conditional.
305 (JAR): Prefer the jar found by AC_CHECK_PROGS.
307 2007-01-29 Tom Tromey <tromey@redhat.com>
309 * Makefile.in: Rebuilt.
310 * Makefile.am (interpret.lo): New target. Add -fwrap to
313 2007-01-29 Keith Seitz <keiths@redhat.com>
315 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
317 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
318 gcj. All jvmti object types now are defined to be their
319 corresponding java classes.
320 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
322 (_Jv_JVMTI_ResumeThread): Likewise.
323 (_Jv_JVMTI_InterruptThread): Likewise.
324 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
325 * gnu/classpath/jdwp/natVMVirtualMachine.cc
326 (jdwpClassPrepareCB): Likewise.
327 (jdwpThreadEndCB): Likewise.
328 (jdwpThreadStartCB): Likewise.
329 (jdwpVMInitCB): Likewise.
331 2007-01-28 Michele Sandri <gpointorama@gmail.com>
333 * gnu/java/nio/channels/natFileChannelWin32.cc
335 (unlock): Implemented.
337 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
340 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
341 libgcj_flags to undefine 'sun' at compile time.
342 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
344 (write_barrier): Likewise.
346 2007-01-27 Keith Seitz <keiths@redhat.com>
348 * gnu/classpath/jdwp/natVMVirtualMachine.cc
349 (getAllClassMethods): Move error handling to ...
350 (throw_jvmti_error): ... here.
351 (jdwpClassPrepareCB): New function.
352 (jdwpThreadEndCB): New function.
353 (jdwpThreadStartCB): New function.
354 (jdwpVMDeathCB): New function.
355 (jdwpVMInitCB): Define and enable callbacks for
356 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
358 2007-01-27 Jakub Jelinek <jakub@redhat.com>
360 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
361 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
362 (MYGCJH): New variable.
363 (compile-tests): New goal.
364 * Makefile.in: Rebuilt.
365 * testsuite/Makefile.in: Rebuilt.
367 2007-01-26 Andrew Haley <aph@redhat.com>
369 * java/lang/natClass.cc (initializeClass): Re-throw
371 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
372 * java/lang/ClassLoader.java: (loadClass): Likewise.
374 2007-01-26 Tom Tromey <tromey@redhat.com>
378 2007-01-25 Tom Tromey <tromey@redhat.com>
381 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
382 input or output encodings. Removed unused local variables.
384 2007-01-25 Keith Seitz <keiths@redhat.com>
386 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
387 * gnu/classpath/jdwp/natVMVirtualMachine.cc
388 (_Jv_GetJDWP_JVMTIEnv): New function.
389 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
390 (getSignature): Implement.
391 (getModifiers): Implement.
393 2007-01-25 Andrew Haley <aph@redhat.com>
395 * configure, Makefile.in, include/config.h.in: Rebuilt.
396 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
397 * configure.ac: Don't check for libmagic.
398 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
399 p_magic_close, p_magic_buffer): New globals.
400 (init): Look up 'magic' functions.
401 (guessContentTypeFromBuffer): Updated.
403 2007-01-25 Keith Seitz <keiths@redhat.com>
405 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
406 (_Jv_JVMTI_Interface): Define GetMethodName.
407 * testsuite/libjava.jvmti/getmethodname.java: New file.
408 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
409 * testsuite/libjava.jvmti/getmethodname.out: New file.
411 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
413 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
414 * libjava/testsuite/libjava.jvmti/interp: New folder.
415 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
417 2007-01-24 Keith Seitz <keiths@redhat.com>
419 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
420 CLASS_PREPARE notification.
422 2007-01-24 Keith Seitz <keiths@redhat.com>
424 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
425 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
426 * interpret-run.cc: Implement insn_breakpoint.
428 2007-01-24 Keith Seitz <keiths@redhat.com>
430 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
431 for VM_INIT and VM_DEATH instead of the JDWP notifications.
433 2007-01-24 Keith Seitz <keiths@redhat.com>
435 * gnu/classpath/jdwp/natVMVirtualMachine.cc
436 (getAllClassMethods): Implement.
438 2007-01-24 Andrew Haley <aph@redhat.com>
440 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
441 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
442 from being sibcalled.
444 2007-01-24 Andrew Haley <aph@redhat.com>
446 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
447 * sources.am: Rebuild.
449 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
451 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
452 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
454 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
457 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
458 * Makefile.in: Regenerated.
460 2007-01-22 Keith Seitz <keiths@redhat.com>
462 * gnu/classpath/jdwp/natVMVirtualMachine.cc
463 (getClassMethod): Implement.
465 2007-01-22 Keith Seitz <keiths@redhat.com>
467 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
468 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
469 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
470 (_Jv_JVMTI_Interface): Define GetClassStatus.
472 2007-01-22 Tom Tromey <tromey@redhat.com>
474 * configure: Rebuilt.
475 * configure.ac (GCJ): Reverted patch of 2006-12-20.
477 2007-01-22 Tom Tromey <tromey@redhat.com>
480 * testsuite/libjava.jni/pr29812.java: New file.
481 * testsuite/libjava.jni/pr29812_injar.java: New file.
482 * testsuite/libjava.jni/pr29812_injar.jar: New file.
483 * testsuite/libjava.jni/pr29812.out: New file.
484 * testsuite/libjava.jni/pr29812_injar.c: New file.
485 * testsuite/libjava.jni/pr29812_injar.h: New file.
486 * testsuite/libjava.jni/pr29812.jar: New file.
487 * testsuite/libjava.jni/pr29812.c: New file.
488 * testsuite/libjava.jni/pr29812.h: New file.
489 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
491 (gcj_jni_invocation_test_one): Use it.
492 (gcj_jni_pr29812): New proc.
493 (gcj_jni_run): Use it.
494 * java/lang/natRuntime.cc (_load): Push a new system frame before
496 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
497 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
498 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
499 <allocated_p>: Now bool.
501 (_Jv_JNI_EnsureLocalCapacity): Updated.
502 (_Jv_JNI_NewLocalRef): Likewise.
503 (_Jv_JNI_NewLocalRef): Likewise.
504 (_Jv_JNI_PopLocalFrame): Likewise.
505 (_Jv_JNI_FindClass): Likewise.
506 (_Jv_GetJNIEnvNewFrame): Likewise.
507 (_Jv_JNI_AttachCurrentThread): Likewise.
508 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
509 (_Jv_GetJNIEnvNewFrame): Use it.
510 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
512 2007-01-22 Tom Tromey <tromey@redhat.com>
514 * libtool-version: Bump current to 9.
516 2007-01-22 Andrew Haley <aph@redhat.com>
518 * sysdep/alpha/locks.h (write_barrier): New.
520 2007-01-21 Matthias Klose <doko@debian.org>
522 * Makefile.am (install-exec-hook): Use transformed name.
523 * Makefile.in: Regenerate.
525 2007-01-19 Keith Seitz <keiths@redhat.com>
527 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
528 in methods and reformat.
530 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
533 2007-01-18 Keith Seitz <keiths@redhat.com>
535 From Macro Trudel <mtrudel@gmx.ch>:
536 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
539 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
541 * jni.cc (_Jv_JNI_FindClass): Initialize class.
542 * testsuite/libjava.jni/findclass2.jar: New file.
543 * testsuite/libjava.jni/findclass2.h: New file.
544 * testsuite/libjava.jni/findclass2.java: New file
545 * testsuite/libjava.jni/findclass2.c: New file.
546 * testsuite/libjava.jni/findclass2.out: New file.
548 2007-01-18 Tom Tromey <tromey@redhat.com>
550 * configure: Rebuilt.
551 * configure.ac: Use multi_basedir instead of libgcj_basedir.
553 2007-01-18 Gary Benson <gbenson@redhat.com>
555 * gnu/java/nio/natVMPipeEcos.cc:
556 Renamed from gnu/java/nio/natPipeImplEcos.cc.
557 * gnu/java/nio/natVMPipePosix.cc:
558 Renamed from gnu/java/nio/natPipeImplPosix.cc.
559 * gnu/java/nio/natVMPipeWin32.cc:
560 Renamed from gnu/java/nio/natPipeImplWin32.cc.
561 * gnu/java/nio/natVMSelectorEcos.cc:
562 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
563 * gnu/java/nio/natVMSelectorPosix.cc:
564 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
565 * gnu/java/nio/natVMSelectorWin32.cc:
566 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
567 * java/io/natVMObjectInputStream.cc:
568 Renamed from java/io/natObjectInputStream.cc.
569 * java/lang/natVMDouble.cc:
570 Renamed from java/lang/natDouble.cc.
571 * java/lang/natVMFloat.cc:
572 Renamed from java/lang/natFloat.cc.
573 * Makefile.am, configure.ac: Reflect the above.
574 * Makefile.in, configure: Rebuilt.
576 2007-01-17 Andrew Haley <aph@redhat.com>
578 * Makefile.in: Rebuilt.
579 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
581 2007-01-17 Keith Seitz <keiths@redhat.com>
583 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
584 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
586 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
588 * configure.ac: Use multi.m4 from aclocal rather than custom
589 code. Use multi_basedir instead libgcj_basedir. Test for
590 /proc/self/exe when not cross-compiling.
591 * aclocal.m4: Regenerate.
592 * configure: Regenerate.
593 * Makefile.in: Regenerate.
595 2007-01-17 Gary Benson <gbenson@redhat.com>
597 * java/nio/natVMDirectByteBufferImpl.cc:
598 Renamed from java/nio/natDirectByteBufferImpl.cc.
599 * Makefile.am: Reflect the above.
600 * Makefile.in: Rebuilt.
602 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
604 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
605 Fixed indentation. Removed unused variable.
607 2007-01-16 Tom Tromey <tromey@redhat.com>
609 * java/lang/natThread.cc (finalize_native): Remove cast.
610 (_Jv_GetCurrentJNIEnv): Likewise.
611 * include/jvm.h (struct natThread) <jni_env>: Declare as
614 2007-01-16 Keith Seitz <keiths@redhat.com>
616 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
617 %#llx instead of %d for new_value.
618 * testsuite/libjava.jvmti/events.out: Update expected output.
619 * testsuite/libjava.jvmti/events.jar: Regenerate.
621 2007-01-16 Keith Seitz <keiths@redhat.com>
623 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
625 (ENABLE_EVENT): New macro.
626 (initialize): Define and enable JVMTI VM_INIT callback.
627 (jdwpVMInitCB): New function.
629 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
631 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
632 * testsuite/libjava.jvmti/getallthreads.java: New test.
633 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
634 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
635 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
636 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
638 2007-01-15 Keith Seitz <keiths@redhat.com>
640 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
641 java.lang.StringBuilder instead of java.lang.StringBuffer.
642 (resumeThread): Likewise.
644 2007-01-15 Gary Benson <gbenson@redhat.com>
646 * java/nio/MappedByteBuffer.java: Removed.
647 * sources.am, Makefile.in: Rebuilt.
649 2007-01-15 Gary Benson <gbenson@redhat.com>
651 * java/net/URLClassLoader.java: Removed.
652 * gnu/java/net/loader/Load_gcjlib.java: New file.
653 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
654 URL handler is present in static executables.
655 * sources.am, Makefile.in: Rebuilt.
657 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
659 * Makefile.am (libgcj_la_LDFLAGS): Add
660 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
661 (libgcj_tools_la_LDFLAGS): Likewise.
662 (libgcj_bc_la_LDFLAGS): Likewise.
663 * Makefile.in: Regenerated.
665 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
666 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
667 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
668 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
669 * configure: Regenerated.
670 * aclocal.m4: Likewise.
671 * gcj/Makefile.in: Likewise.
672 * include/Makefile.in: Likewise.
673 * testsuite/Makefile.in: Likewise.
675 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
677 * sysdep/sh/locks.h (read_barrier): New.
678 (write_barrier): Likewise.
680 2007-01-12 Andrew Haley <aph@redhat.com>
682 * include/i386-signal.h: Rewrite to use rt_sigaction.
684 2007-01-11 Andrew Haley <aph@redhat.com>
686 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
688 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
691 2007-01-10 Tom Tromey <tromey@redhat.com>
693 * gnu/gcj/xlib/*.h: New files.
694 * gnu/awt/xlib/*.h: Likewise.
695 * classpath/lib/gnu/gcj/xlib: New class files.
696 * classpath/lib/gnu/awt/xlib: Likewise.
698 2007-01-10 Tom Tromey <tromey@redhat.com>
700 * HACKING: Various updates.
702 2007-01-10 Tom Tromey <tromey@redhat.com>
704 * java/lang/natDouble.cc (toString): Added parens.
705 * gnu/gcj/io/shs.h (PROTO): Define.
706 * link.cc (resolve_pool_entry): Added missing braces.
708 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
711 * sysdep/ia64/locks.h (read_barrier): New.
712 (write_barrier): New.
714 2007-01-10 Gary Benson <gbenson@redhat.com>
716 * java/net/URL.java: Removed.
717 * sources.am, Makefile.in: Rebuilt.
719 2007-01-10 Matthias Klose <doko@debian.org>
721 * Makefile.am (install-exec-hook): Support $(DESTDIR).
722 * Makefile.in: Regenerated.
724 2007-01-05 Tom Tromey <tromey@redhat.com>
726 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
727 dummy.class in srcdir.
729 2007-01-03 Tom Tromey <tromey@redhat.com>
731 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
734 2007-01-03 Tom Tromey <tromey@redhat.com>
736 * testsuite/*: Added many .jar and .h files.
737 * testsuite/libjava.special/special.exp
738 (gcj_special_try_compiler): New proc.
739 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
740 bytecompile source. Search for .jar files.
741 (gcj_loader_test_one): Don't look for MyLoader.java.
742 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
743 bytecompile sources or build headers.
744 (gcj_jvmti_run): Look for .jar files.
745 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
747 (gcj_jni_test_one): Don't bytecompile sources or build headers.
748 Set classpath when invoking gij.
749 (gcj_jni_invocation_test_one): Likewise.
750 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
751 headers or bytecompile sources.
752 (gcj_cni_run): Use .jar files, not .java files.
753 * testsuite/libjava.lang/lang.exp: Compile .jar files.
755 2007-01-02 Tom Tromey <tromey@redhat.com>
757 * configure: Rebuilt.
758 * configure.ac: Check for gjar.
760 2007-01-02 Tom Tromey <tromey@redhat.com>
762 * testsuite/libjava.jacks/jacks.exp: Removed.
763 * testsuite/libjava.jacks/jacks.xfail: Removed.