1 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
3 * classpath/gnu/classpath/jdwp/processor/
4 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
6 (executeSetValues): Ditto.
7 (executeThisObject): Ditto.
8 * classpath/gnu/classpath/jdwp/processor/
9 StackFrameCommandSet.class: Rebuilt.
10 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
12 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
13 * classpath/lib/gnu/classpath/jdwp/exception/
14 InvalidFrameException.java: New file.
15 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
17 (Constructor): New method.
18 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
19 * gnu/classpath/jdwp/VMVirtualMachine.java
20 (getFrame): Changed ByteBuffer to jlong.
21 * gnu/classpath/jdwp/natVMVirtualMachine.cc
22 (getFrame): Implement.
23 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
25 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
27 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
28 to hold "this" pointer for frame.
29 (_Jv_InterpFrame::get_this_ptr): New method.
30 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
32 2007-02-07 Keith Seitz <keiths@redhat.com>
34 * include/java-interp.h (_Jv_Frame::depth):
36 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
38 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
40 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
41 (_Jv_JVMTI_GetMaxLocals): New method.
42 * include/java-interp.h
43 (_Jv_InterpMethod::get_max_locals): New method.
45 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
47 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
49 2007-02-07 Tom Tromey <tromey@redhat.com>
51 * testsuite/libjava.jni/init.c: New file.
52 * testsuite/libjava.jni/init.java: New file.
53 * testsuite/libjava.jni/init.out: New file.
54 * testsuite/libjava.jni/init.jar: New file.
55 * testsuite/libjava.jni/init.h: New file.
56 * testsuite/libjava.jni/init$NativeClass.h: New file.
58 2007-02-07 Jakub Jelinek <jakub@redhat.com>
61 * configure: Regenerate.
63 2007-02-06 Andrew Haley <aph@redhat.com>
65 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
66 * sources.am: Rebuild.
68 2007-02-05 Keith Seitz <keiths@redhat.com>
70 * jvmti.cc (_envListLock): Change type to
71 ReentrantReadWriteLock.
72 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
74 (check_enabled_event): Likewise.
75 (_Jv_GetJVMTIEnv): Likewise.
76 (_Jv_JVMTI_Init): Likewise.
77 (_Jv_JVMTI_PostEvent): Likewise.
79 2007-02-05 Keith Seitz <keiths@redhat.com>
81 * gnu/classpath/jdwp/natVMVirtualMachine.cc
82 (registerEvent): Implement EVENT_BREAKPOINT.
83 (unregisterEvent): Likewise.
84 (get_request_location): New function.
86 2007-02-05 Matthias Klose <doko@debian.org>
88 testsuite/Makefile.am (compile-tests): Fix typo.
89 testsuite/Makefile.in: Regenerate.
91 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
93 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
96 2007-02-02 Jakub Jelinek <jakub@redhat.com>
98 * configure.ac (libjava_cv_anon_version_script): New test.
99 (ANONVERSCRIPT): New AM_CONDITIONAL.
100 * configure: Rebuilt.
101 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
103 * Makefile.in: Rebuilt.
104 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
105 * libgcj.ver: New file.
107 2007-02-01 David Daney <ddaney@avtrex.com>
109 * scripts/makemake.tcl: Replace gnu/xml build with build of all
111 * sources.am: Regenerate.
112 * Makefile.in: Regenerate.
114 2007-02-01 Tom Tromey <tromey@redhat.com>
116 * java/lang/ClassLoader.java (getResources): No longer final.
118 2007-02-01 Tom Tromey <tromey@redhat.com>
120 * java/util/logging/LogManager.java (loggers): Genericized.
122 (findAncestor): Likewise.
123 (getLogger): Likewise.
124 (getLoggerNames): Genericized.
126 (getLevelProperty): Likewise.
127 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
128 * java/lang/reflect/Constructor.java (getParameterTypes):
130 (getExceptionTypes): Likewise.
131 (newInstance): Likewise.
132 * java/lang/reflect/Array.java (newInstance): Genericized.
133 * java/lang/Object.java (getClass): Genericized.
134 * java/nio/charset/spi/CharsetProvider.java (charsets):
136 * java/text/Collator.java: Implement Comparable<Object>.
138 2007-02-01 Tom Tromey <tromey@redhat.com>
140 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
142 (clear): Call complete.
143 (setTimeZone): Call computeTime, computeFields.
144 (compareTo): New method.
145 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
146 (availableCharsets): Genericized.
148 (compareTo): Changed argument type.
149 * java/lang/ClassLoader.java (loadClass): Genericized.
150 (findClass): Likewise.
151 (defineClass): Likewise.
152 (resolveClass): Likewise.
153 (findSystemClass): Likewise.
154 (setSigners): Likewise.
155 (findLoadedClass): Likewise.
156 (getResources): Likewise.
157 (findResources): Likewise.
158 (getSystemResources): Likewise.
159 (checkInitialized): New method.
160 * java/lang/Class.java (getCanonicalName): New method.
162 2007-01-31 Keith Seitz <keiths@redhat.com>
164 * include/jvmti-int.h (JVMTI): Declare member "enabled".
165 * jvmti.cc (JVMTI): Add member "enabled".
166 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
167 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
168 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
169 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
170 instead of run to compile the method.
172 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
175 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
177 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
178 -shared-libgcc to the cxxflaglist for Darwin.
180 2007-01-31 Tom Tromey <tromey@redhat.com>
182 * scripts.am, Makefile.in: Rebuilt.
183 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
185 (emit_ordinary_rule): New proc.
187 2007-01-31 Keith Seitz <keiths@redhat.com>
189 * testsuite/libjava.jvmti/getmethodname.h: New file.
190 * testsuite/libjava.jvmti/getmethodname.jar: New file.
192 2007-01-31 Andrew Haley <aph@redhat.com>
194 * prims.cc (_Jv_Abort): fflush (stderr).
195 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
197 2007-01-31 Tom Tromey <tromey@redhat.com>
199 * configure, Makefile.in: Rebuilt.
200 * configure.ac (JAR): Check for -@ feature.
201 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
203 2007-01-31 Tom Tromey <tromey@redhat.com>
206 * configure, include/config.h.in: Rebuilt.
207 * configure.ac: Check for magic_t in magic.h.
208 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
210 2007-01-30 Tom Tromey <tromey@redhat.com>
212 * Makefile.in: Rebuilt.
213 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
215 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
217 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
218 cast to print it right.
220 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
223 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
226 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
228 * include/java-interp.h: Added _Jv_Frame class and its two
229 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
230 _Jv_FrameType from java-stack.h.
231 * include/java-stack.h: Removed _Jv_FrameType.
232 * java/lang/Thread.java: Added frame member to hold new
233 composite frame stack.
234 * java/lang/Thread.h: Regenerated.
235 * java/lang/Thread.class: Rebuilt.
236 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
237 calling a JNI method.
238 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
239 (_Jv_JVMTI_GetFrameCount): New method.
240 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
242 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
243 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
244 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
245 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
246 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
249 2007-01-29 Tom Tromey <tromey@redhat.com>
251 * interpret.cc (run_debug): Remove comment.
258 (run_normal_debug): Likewise.
259 (run_synch_object_debug): Likewise.
260 (run_class_debug): Likewise.
261 (run_synch_class_debug): Likewise.
266 (NULLARRAYCHECK): Likewise.
267 (ARRAYBOUNDSCHECK): Likewise.
268 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
270 2007-01-29 Tom Tromey <tromey@redhat.com>
272 * configure, Makefile.in: Rebuilt.
273 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
274 * configure.ac (BASH_JAR): Removed conditional.
275 (JAR): Prefer the jar found by AC_CHECK_PROGS.
277 2007-01-29 Tom Tromey <tromey@redhat.com>
279 * Makefile.in: Rebuilt.
280 * Makefile.am (interpret.lo): New target. Add -fwrap to
283 2007-01-29 Keith Seitz <keiths@redhat.com>
285 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
287 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
288 gcj. All jvmti object types now are defined to be their
289 corresponding java classes.
290 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
292 (_Jv_JVMTI_ResumeThread): Likewise.
293 (_Jv_JVMTI_InterruptThread): Likewise.
294 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
295 * gnu/classpath/jdwp/natVMVirtualMachine.cc
296 (jdwpClassPrepareCB): Likewise.
297 (jdwpThreadEndCB): Likewise.
298 (jdwpThreadStartCB): Likewise.
299 (jdwpVMInitCB): Likewise.
301 2007-01-28 Michele Sandri <gpointorama@gmail.com>
303 * gnu/java/nio/channels/natFileChannelWin32.cc
305 (unlock): Implemented.
307 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
310 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
311 libgcj_flags to undefine 'sun' at compile time.
312 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
314 (write_barrier): Likewise.
316 2007-01-27 Keith Seitz <keiths@redhat.com>
318 * gnu/classpath/jdwp/natVMVirtualMachine.cc
319 (getAllClassMethods): Move error handling to ...
320 (throw_jvmti_error): ... here.
321 (jdwpClassPrepareCB): New function.
322 (jdwpThreadEndCB): New function.
323 (jdwpThreadStartCB): New function.
324 (jdwpVMDeathCB): New function.
325 (jdwpVMInitCB): Define and enable callbacks for
326 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
328 2007-01-27 Jakub Jelinek <jakub@redhat.com>
330 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
331 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
332 (MYGCJH): New variable.
333 (compile-tests): New goal.
334 * Makefile.in: Rebuilt.
335 * testsuite/Makefile.in: Rebuilt.
337 2007-01-26 Andrew Haley <aph@redhat.com>
339 * java/lang/natClass.cc (initializeClass): Re-throw
341 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
342 * java/lang/ClassLoader.java: (loadClass): Likewise.
344 2007-01-26 Tom Tromey <tromey@redhat.com>
348 2007-01-25 Tom Tromey <tromey@redhat.com>
351 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
352 input or output encodings. Removed unused local variables.
354 2007-01-25 Keith Seitz <keiths@redhat.com>
356 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
357 * gnu/classpath/jdwp/natVMVirtualMachine.cc
358 (_Jv_GetJDWP_JVMTIEnv): New function.
359 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
360 (getSignature): Implement.
361 (getModifiers): Implement.
363 2007-01-25 Andrew Haley <aph@redhat.com>
365 * configure, Makefile.in, include/config.h.in: Rebuilt.
366 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
367 * configure.ac: Don't check for libmagic.
368 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
369 p_magic_close, p_magic_buffer): New globals.
370 (init): Look up 'magic' functions.
371 (guessContentTypeFromBuffer): Updated.
373 2007-01-25 Keith Seitz <keiths@redhat.com>
375 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
376 (_Jv_JVMTI_Interface): Define GetMethodName.
377 * testsuite/libjava.jvmti/getmethodname.java: New file.
378 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
379 * testsuite/libjava.jvmti/getmethodname.out: New file.
381 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
383 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
384 * libjava/testsuite/libjava.jvmti/interp: New folder.
385 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
387 2007-01-24 Keith Seitz <keiths@redhat.com>
389 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
390 CLASS_PREPARE notification.
392 2007-01-24 Keith Seitz <keiths@redhat.com>
394 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
395 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
396 * interpret-run.cc: Implement insn_breakpoint.
398 2007-01-24 Keith Seitz <keiths@redhat.com>
400 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
401 for VM_INIT and VM_DEATH instead of the JDWP notifications.
403 2007-01-24 Keith Seitz <keiths@redhat.com>
405 * gnu/classpath/jdwp/natVMVirtualMachine.cc
406 (getAllClassMethods): Implement.
408 2007-01-24 Andrew Haley <aph@redhat.com>
410 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
411 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
412 from being sibcalled.
414 2007-01-24 Andrew Haley <aph@redhat.com>
416 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
417 * sources.am: Rebuild.
419 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
421 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
422 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
424 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
427 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
428 * Makefile.in: Regenerated.
430 2007-01-22 Keith Seitz <keiths@redhat.com>
432 * gnu/classpath/jdwp/natVMVirtualMachine.cc
433 (getClassMethod): Implement.
435 2007-01-22 Keith Seitz <keiths@redhat.com>
437 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
438 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
439 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
440 (_Jv_JVMTI_Interface): Define GetClassStatus.
442 2007-01-22 Tom Tromey <tromey@redhat.com>
444 * configure: Rebuilt.
445 * configure.ac (GCJ): Reverted patch of 2006-12-20.
447 2007-01-22 Tom Tromey <tromey@redhat.com>
450 * testsuite/libjava.jni/pr29812.java: New file.
451 * testsuite/libjava.jni/pr29812_injar.java: New file.
452 * testsuite/libjava.jni/pr29812_injar.jar: New file.
453 * testsuite/libjava.jni/pr29812.out: New file.
454 * testsuite/libjava.jni/pr29812_injar.c: New file.
455 * testsuite/libjava.jni/pr29812_injar.h: New file.
456 * testsuite/libjava.jni/pr29812.jar: New file.
457 * testsuite/libjava.jni/pr29812.c: New file.
458 * testsuite/libjava.jni/pr29812.h: New file.
459 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
461 (gcj_jni_invocation_test_one): Use it.
462 (gcj_jni_pr29812): New proc.
463 (gcj_jni_run): Use it.
464 * java/lang/natRuntime.cc (_load): Push a new system frame before
466 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
467 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
468 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
469 <allocated_p>: Now bool.
471 (_Jv_JNI_EnsureLocalCapacity): Updated.
472 (_Jv_JNI_NewLocalRef): Likewise.
473 (_Jv_JNI_NewLocalRef): Likewise.
474 (_Jv_JNI_PopLocalFrame): Likewise.
475 (_Jv_JNI_FindClass): Likewise.
476 (_Jv_GetJNIEnvNewFrame): Likewise.
477 (_Jv_JNI_AttachCurrentThread): Likewise.
478 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
479 (_Jv_GetJNIEnvNewFrame): Use it.
480 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
482 2007-01-22 Tom Tromey <tromey@redhat.com>
484 * libtool-version: Bump current to 9.
486 2007-01-22 Andrew Haley <aph@redhat.com>
488 * sysdep/alpha/locks.h (write_barrier): New.
490 2007-01-21 Matthias Klose <doko@debian.org>
492 * Makefile.am (install-exec-hook): Use transformed name.
493 * Makefile.in: Regenerate.
495 2007-01-19 Keith Seitz <keiths@redhat.com>
497 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
498 in methods and reformat.
500 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
503 2007-01-18 Keith Seitz <keiths@redhat.com>
505 From Macro Trudel <mtrudel@gmx.ch>:
506 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
509 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
511 * jni.cc (_Jv_JNI_FindClass): Initialize class.
512 * testsuite/libjava.jni/findclass2.jar: New file.
513 * testsuite/libjava.jni/findclass2.h: New file.
514 * testsuite/libjava.jni/findclass2.java: New file
515 * testsuite/libjava.jni/findclass2.c: New file.
516 * testsuite/libjava.jni/findclass2.out: New file.
518 2007-01-18 Tom Tromey <tromey@redhat.com>
520 * configure: Rebuilt.
521 * configure.ac: Use multi_basedir instead of libgcj_basedir.
523 2007-01-18 Gary Benson <gbenson@redhat.com>
525 * gnu/java/nio/natVMPipeEcos.cc:
526 Renamed from gnu/java/nio/natPipeImplEcos.cc.
527 * gnu/java/nio/natVMPipePosix.cc:
528 Renamed from gnu/java/nio/natPipeImplPosix.cc.
529 * gnu/java/nio/natVMPipeWin32.cc:
530 Renamed from gnu/java/nio/natPipeImplWin32.cc.
531 * gnu/java/nio/natVMSelectorEcos.cc:
532 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
533 * gnu/java/nio/natVMSelectorPosix.cc:
534 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
535 * gnu/java/nio/natVMSelectorWin32.cc:
536 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
537 * java/io/natVMObjectInputStream.cc:
538 Renamed from java/io/natObjectInputStream.cc.
539 * java/lang/natVMDouble.cc:
540 Renamed from java/lang/natDouble.cc.
541 * java/lang/natVMFloat.cc:
542 Renamed from java/lang/natFloat.cc.
543 * Makefile.am, configure.ac: Reflect the above.
544 * Makefile.in, configure: Rebuilt.
546 2007-01-17 Andrew Haley <aph@redhat.com>
548 * Makefile.in: Rebuilt.
549 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
551 2007-01-17 Keith Seitz <keiths@redhat.com>
553 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
554 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
556 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
558 * configure.ac: Use multi.m4 from aclocal rather than custom
559 code. Use multi_basedir instead libgcj_basedir. Test for
560 /proc/self/exe when not cross-compiling.
561 * aclocal.m4: Regenerate.
562 * configure: Regenerate.
563 * Makefile.in: Regenerate.
565 2007-01-17 Gary Benson <gbenson@redhat.com>
567 * java/nio/natVMDirectByteBufferImpl.cc:
568 Renamed from java/nio/natDirectByteBufferImpl.cc.
569 * Makefile.am: Reflect the above.
570 * Makefile.in: Rebuilt.
572 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
574 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
575 Fixed indentation. Removed unused variable.
577 2007-01-16 Tom Tromey <tromey@redhat.com>
579 * java/lang/natThread.cc (finalize_native): Remove cast.
580 (_Jv_GetCurrentJNIEnv): Likewise.
581 * include/jvm.h (struct natThread) <jni_env>: Declare as
584 2007-01-16 Keith Seitz <keiths@redhat.com>
586 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
587 %#llx instead of %d for new_value.
588 * testsuite/libjava.jvmti/events.out: Update expected output.
589 * testsuite/libjava.jvmti/events.jar: Regenerate.
591 2007-01-16 Keith Seitz <keiths@redhat.com>
593 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
595 (ENABLE_EVENT): New macro.
596 (initialize): Define and enable JVMTI VM_INIT callback.
597 (jdwpVMInitCB): New function.
599 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
601 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
602 * testsuite/libjava.jvmti/getallthreads.java: New test.
603 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
604 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
605 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
606 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
608 2007-01-15 Keith Seitz <keiths@redhat.com>
610 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
611 java.lang.StringBuilder instead of java.lang.StringBuffer.
612 (resumeThread): Likewise.
614 2007-01-15 Gary Benson <gbenson@redhat.com>
616 * java/nio/MappedByteBuffer.java: Removed.
617 * sources.am, Makefile.in: Rebuilt.
619 2007-01-15 Gary Benson <gbenson@redhat.com>
621 * java/net/URLClassLoader.java: Removed.
622 * gnu/java/net/loader/Load_gcjlib.java: New file.
623 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
624 URL handler is present in static executables.
625 * sources.am, Makefile.in: Rebuilt.
627 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
629 * Makefile.am (libgcj_la_LDFLAGS): Add
630 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
631 (libgcj_tools_la_LDFLAGS): Likewise.
632 (libgcj_bc_la_LDFLAGS): Likewise.
633 * Makefile.in: Regenerated.
635 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
636 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
637 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
638 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
639 * configure: Regenerated.
640 * aclocal.m4: Likewise.
641 * gcj/Makefile.in: Likewise.
642 * include/Makefile.in: Likewise.
643 * testsuite/Makefile.in: Likewise.
645 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
647 * sysdep/sh/locks.h (read_barrier): New.
648 (write_barrier): Likewise.
650 2007-01-12 Andrew Haley <aph@redhat.com>
652 * include/i386-signal.h: Rewrite to use rt_sigaction.
654 2007-01-11 Andrew Haley <aph@redhat.com>
656 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
658 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
661 2007-01-10 Tom Tromey <tromey@redhat.com>
663 * gnu/gcj/xlib/*.h: New files.
664 * gnu/awt/xlib/*.h: Likewise.
665 * classpath/lib/gnu/gcj/xlib: New class files.
666 * classpath/lib/gnu/awt/xlib: Likewise.
668 2007-01-10 Tom Tromey <tromey@redhat.com>
670 * HACKING: Various updates.
672 2007-01-10 Tom Tromey <tromey@redhat.com>
674 * java/lang/natDouble.cc (toString): Added parens.
675 * gnu/gcj/io/shs.h (PROTO): Define.
676 * link.cc (resolve_pool_entry): Added missing braces.
678 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
681 * sysdep/ia64/locks.h (read_barrier): New.
682 (write_barrier): New.
684 2007-01-10 Gary Benson <gbenson@redhat.com>
686 * java/net/URL.java: Removed.
687 * sources.am, Makefile.in: Rebuilt.
689 2007-01-10 Matthias Klose <doko@debian.org>
691 * Makefile.am (install-exec-hook): Support $(DESTDIR).
692 * Makefile.in: Regenerated.
694 2007-01-05 Tom Tromey <tromey@redhat.com>
696 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
697 dummy.class in srcdir.
699 2007-01-03 Tom Tromey <tromey@redhat.com>
701 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
704 2007-01-03 Tom Tromey <tromey@redhat.com>
706 * testsuite/*: Added many .jar and .h files.
707 * testsuite/libjava.special/special.exp
708 (gcj_special_try_compiler): New proc.
709 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
710 bytecompile source. Search for .jar files.
711 (gcj_loader_test_one): Don't look for MyLoader.java.
712 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
713 bytecompile sources or build headers.
714 (gcj_jvmti_run): Look for .jar files.
715 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
717 (gcj_jni_test_one): Don't bytecompile sources or build headers.
718 Set classpath when invoking gij.
719 (gcj_jni_invocation_test_one): Likewise.
720 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
721 headers or bytecompile sources.
722 (gcj_cni_run): Use .jar files, not .java files.
723 * testsuite/libjava.lang/lang.exp: Compile .jar files.
725 2007-01-02 Tom Tromey <tromey@redhat.com>
727 * configure: Rebuilt.
728 * configure.ac: Check for gjar.
730 2007-01-02 Tom Tromey <tromey@redhat.com>
732 * testsuite/libjava.jacks/jacks.exp: Removed.
733 * testsuite/libjava.jacks/jacks.xfail: Removed.