1 2007-02-10 Andrew Haley <aph@redhat.com>
4 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
5 (getCallingClass): Call GET_CALLING_CLASS.
6 (getCallingClassLoader): Likewise.
8 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
11 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
13 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
15 * Makefile.in: Rebuilt.
16 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
17 the host's ecj1 executable.
19 2007-02-09 Richard Henderson <rth@redhat.com>
21 * sysdep/alpha/locks.h (read_barrier): New.
23 2007-02-09 Keith Seitz <keiths@redhat.com>
25 * gnu/classpath/jdwp/VMVirtualMachine.java
26 (_stepping_threads): New member.
27 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
29 * gnu/classpath/jdwp/VMVirtualMachine.h:
31 * gnu/claspath/jdwp/natVMVirtualMachine.cc
32 (get_request_step_filter): New function.
33 (DISABLE_EVENT): New macro.
34 (initialize): Initialize _stepping_threads.
35 (registerEvent): Implement EVENT_SINGLE_STEP.
36 (unregisterEvent): Likewise.
38 2007-02-08 Keith Seitz <keiths@redhat.com>
40 * sources.am: Regenerate.
41 * Makefile.in: Regenerate.
42 * testsuite/Makefile.in: Regenerate.
43 * gcj/Makefile.in: Regenerate.
44 * include/Makefile.in: Regenerate.
46 * classpath/lib/javax/management/MBeanServerFactory.class:
49 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
51 * classpath/gnu/classpath/jdwp/processor/
52 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
54 (executeSetValues): Ditto.
55 (executeThisObject): Ditto.
56 * classpath/gnu/classpath/jdwp/processor/
57 StackFrameCommandSet.class: Rebuilt.
58 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
60 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
61 * classpath/lib/gnu/classpath/jdwp/exception/
62 InvalidFrameException.java: New file.
63 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
65 (Constructor): New method.
66 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
67 * gnu/classpath/jdwp/VMVirtualMachine.java
68 (getFrame): Changed ByteBuffer to jlong.
69 * gnu/classpath/jdwp/natVMVirtualMachine.cc
70 (getFrame): Implement.
71 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
73 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
75 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
76 to hold "this" pointer for frame.
77 (_Jv_InterpFrame::get_this_ptr): New method.
78 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
80 2007-02-07 Keith Seitz <keiths@redhat.com>
82 * include/java-interp.h (_Jv_Frame::depth):
84 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
86 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
88 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
89 (_Jv_JVMTI_GetMaxLocals): New method.
90 * include/java-interp.h
91 (_Jv_InterpMethod::get_max_locals): New method.
93 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
95 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
97 2007-02-07 Tom Tromey <tromey@redhat.com>
99 * testsuite/libjava.jni/init.c: New file.
100 * testsuite/libjava.jni/init.java: New file.
101 * testsuite/libjava.jni/init.out: New file.
102 * testsuite/libjava.jni/init.jar: New file.
103 * testsuite/libjava.jni/init.h: New file.
104 * testsuite/libjava.jni/init$NativeClass.h: New file.
106 2007-02-07 Jakub Jelinek <jakub@redhat.com>
109 * configure: Regenerate.
111 2007-02-06 Andrew Haley <aph@redhat.com>
113 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
114 * sources.am: Rebuild.
116 2007-02-05 Keith Seitz <keiths@redhat.com>
118 * jvmti.cc (_envListLock): Change type to
119 ReentrantReadWriteLock.
120 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
122 (check_enabled_event): Likewise.
123 (_Jv_GetJVMTIEnv): Likewise.
124 (_Jv_JVMTI_Init): Likewise.
125 (_Jv_JVMTI_PostEvent): Likewise.
127 2007-02-05 Keith Seitz <keiths@redhat.com>
129 * gnu/classpath/jdwp/natVMVirtualMachine.cc
130 (registerEvent): Implement EVENT_BREAKPOINT.
131 (unregisterEvent): Likewise.
132 (get_request_location): New function.
134 2007-02-05 Matthias Klose <doko@debian.org>
136 testsuite/Makefile.am (compile-tests): Fix typo.
137 testsuite/Makefile.in: Regenerate.
139 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
141 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
144 2007-02-02 Jakub Jelinek <jakub@redhat.com>
146 * configure.ac (libjava_cv_anon_version_script): New test.
147 (ANONVERSCRIPT): New AM_CONDITIONAL.
148 * configure: Rebuilt.
149 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
151 * Makefile.in: Rebuilt.
152 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
153 * libgcj.ver: New file.
155 2007-02-01 David Daney <ddaney@avtrex.com>
157 * scripts/makemake.tcl: Replace gnu/xml build with build of all
159 * sources.am: Regenerate.
160 * Makefile.in: Regenerate.
162 2007-02-01 Tom Tromey <tromey@redhat.com>
164 * java/lang/ClassLoader.java (getResources): No longer final.
166 2007-02-01 Tom Tromey <tromey@redhat.com>
168 * java/util/logging/LogManager.java (loggers): Genericized.
170 (findAncestor): Likewise.
171 (getLogger): Likewise.
172 (getLoggerNames): Genericized.
174 (getLevelProperty): Likewise.
175 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
176 * java/lang/reflect/Constructor.java (getParameterTypes):
178 (getExceptionTypes): Likewise.
179 (newInstance): Likewise.
180 * java/lang/reflect/Array.java (newInstance): Genericized.
181 * java/lang/Object.java (getClass): Genericized.
182 * java/nio/charset/spi/CharsetProvider.java (charsets):
184 * java/text/Collator.java: Implement Comparable<Object>.
186 2007-02-01 Tom Tromey <tromey@redhat.com>
188 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
190 (clear): Call complete.
191 (setTimeZone): Call computeTime, computeFields.
192 (compareTo): New method.
193 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
194 (availableCharsets): Genericized.
196 (compareTo): Changed argument type.
197 * java/lang/ClassLoader.java (loadClass): Genericized.
198 (findClass): Likewise.
199 (defineClass): Likewise.
200 (resolveClass): Likewise.
201 (findSystemClass): Likewise.
202 (setSigners): Likewise.
203 (findLoadedClass): Likewise.
204 (getResources): Likewise.
205 (findResources): Likewise.
206 (getSystemResources): Likewise.
207 (checkInitialized): New method.
208 * java/lang/Class.java (getCanonicalName): New method.
210 2007-01-31 Keith Seitz <keiths@redhat.com>
212 * include/jvmti-int.h (JVMTI): Declare member "enabled".
213 * jvmti.cc (JVMTI): Add member "enabled".
214 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
215 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
216 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
217 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
218 instead of run to compile the method.
220 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
223 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
225 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
226 -shared-libgcc to the cxxflaglist for Darwin.
228 2007-01-31 Tom Tromey <tromey@redhat.com>
230 * scripts.am, Makefile.in: Rebuilt.
231 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
233 (emit_ordinary_rule): New proc.
235 2007-01-31 Keith Seitz <keiths@redhat.com>
237 * testsuite/libjava.jvmti/getmethodname.h: New file.
238 * testsuite/libjava.jvmti/getmethodname.jar: New file.
240 2007-01-31 Andrew Haley <aph@redhat.com>
242 * prims.cc (_Jv_Abort): fflush (stderr).
243 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
245 2007-01-31 Tom Tromey <tromey@redhat.com>
247 * configure, Makefile.in: Rebuilt.
248 * configure.ac (JAR): Check for -@ feature.
249 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
251 2007-01-31 Tom Tromey <tromey@redhat.com>
254 * configure, include/config.h.in: Rebuilt.
255 * configure.ac: Check for magic_t in magic.h.
256 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
258 2007-01-30 Tom Tromey <tromey@redhat.com>
260 * Makefile.in: Rebuilt.
261 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
263 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
265 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
266 cast to print it right.
268 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
271 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
274 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
276 * include/java-interp.h: Added _Jv_Frame class and its two
277 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
278 _Jv_FrameType from java-stack.h.
279 * include/java-stack.h: Removed _Jv_FrameType.
280 * java/lang/Thread.java: Added frame member to hold new
281 composite frame stack.
282 * java/lang/Thread.h: Regenerated.
283 * java/lang/Thread.class: Rebuilt.
284 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
285 calling a JNI method.
286 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
287 (_Jv_JVMTI_GetFrameCount): New method.
288 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
290 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
291 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
292 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
293 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
294 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
297 2007-01-29 Tom Tromey <tromey@redhat.com>
299 * interpret.cc (run_debug): Remove comment.
306 (run_normal_debug): Likewise.
307 (run_synch_object_debug): Likewise.
308 (run_class_debug): Likewise.
309 (run_synch_class_debug): Likewise.
314 (NULLARRAYCHECK): Likewise.
315 (ARRAYBOUNDSCHECK): Likewise.
316 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
318 2007-01-29 Tom Tromey <tromey@redhat.com>
320 * configure, Makefile.in: Rebuilt.
321 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
322 * configure.ac (BASH_JAR): Removed conditional.
323 (JAR): Prefer the jar found by AC_CHECK_PROGS.
325 2007-01-29 Tom Tromey <tromey@redhat.com>
327 * Makefile.in: Rebuilt.
328 * Makefile.am (interpret.lo): New target. Add -fwrap to
331 2007-01-29 Keith Seitz <keiths@redhat.com>
333 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
335 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
336 gcj. All jvmti object types now are defined to be their
337 corresponding java classes.
338 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
340 (_Jv_JVMTI_ResumeThread): Likewise.
341 (_Jv_JVMTI_InterruptThread): Likewise.
342 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
343 * gnu/classpath/jdwp/natVMVirtualMachine.cc
344 (jdwpClassPrepareCB): Likewise.
345 (jdwpThreadEndCB): Likewise.
346 (jdwpThreadStartCB): Likewise.
347 (jdwpVMInitCB): Likewise.
349 2007-01-28 Michele Sandri <gpointorama@gmail.com>
351 * gnu/java/nio/channels/natFileChannelWin32.cc
353 (unlock): Implemented.
355 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
358 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
359 libgcj_flags to undefine 'sun' at compile time.
360 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
362 (write_barrier): Likewise.
364 2007-01-27 Keith Seitz <keiths@redhat.com>
366 * gnu/classpath/jdwp/natVMVirtualMachine.cc
367 (getAllClassMethods): Move error handling to ...
368 (throw_jvmti_error): ... here.
369 (jdwpClassPrepareCB): New function.
370 (jdwpThreadEndCB): New function.
371 (jdwpThreadStartCB): New function.
372 (jdwpVMDeathCB): New function.
373 (jdwpVMInitCB): Define and enable callbacks for
374 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
376 2007-01-27 Jakub Jelinek <jakub@redhat.com>
378 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
379 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
380 (MYGCJH): New variable.
381 (compile-tests): New goal.
382 * Makefile.in: Rebuilt.
383 * testsuite/Makefile.in: Rebuilt.
385 2007-01-26 Andrew Haley <aph@redhat.com>
387 * java/lang/natClass.cc (initializeClass): Re-throw
389 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
390 * java/lang/ClassLoader.java: (loadClass): Likewise.
392 2007-01-26 Tom Tromey <tromey@redhat.com>
396 2007-01-25 Tom Tromey <tromey@redhat.com>
399 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
400 input or output encodings. Removed unused local variables.
402 2007-01-25 Keith Seitz <keiths@redhat.com>
404 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
405 * gnu/classpath/jdwp/natVMVirtualMachine.cc
406 (_Jv_GetJDWP_JVMTIEnv): New function.
407 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
408 (getSignature): Implement.
409 (getModifiers): Implement.
411 2007-01-25 Andrew Haley <aph@redhat.com>
413 * configure, Makefile.in, include/config.h.in: Rebuilt.
414 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
415 * configure.ac: Don't check for libmagic.
416 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
417 p_magic_close, p_magic_buffer): New globals.
418 (init): Look up 'magic' functions.
419 (guessContentTypeFromBuffer): Updated.
421 2007-01-25 Keith Seitz <keiths@redhat.com>
423 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
424 (_Jv_JVMTI_Interface): Define GetMethodName.
425 * testsuite/libjava.jvmti/getmethodname.java: New file.
426 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
427 * testsuite/libjava.jvmti/getmethodname.out: New file.
429 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
431 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
432 * libjava/testsuite/libjava.jvmti/interp: New folder.
433 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
435 2007-01-24 Keith Seitz <keiths@redhat.com>
437 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
438 CLASS_PREPARE notification.
440 2007-01-24 Keith Seitz <keiths@redhat.com>
442 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
443 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
444 * interpret-run.cc: Implement insn_breakpoint.
446 2007-01-24 Keith Seitz <keiths@redhat.com>
448 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
449 for VM_INIT and VM_DEATH instead of the JDWP notifications.
451 2007-01-24 Keith Seitz <keiths@redhat.com>
453 * gnu/classpath/jdwp/natVMVirtualMachine.cc
454 (getAllClassMethods): Implement.
456 2007-01-24 Andrew Haley <aph@redhat.com>
458 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
459 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
460 from being sibcalled.
462 2007-01-24 Andrew Haley <aph@redhat.com>
464 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
465 * sources.am: Rebuild.
467 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
469 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
470 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
472 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
475 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
476 * Makefile.in: Regenerated.
478 2007-01-22 Keith Seitz <keiths@redhat.com>
480 * gnu/classpath/jdwp/natVMVirtualMachine.cc
481 (getClassMethod): Implement.
483 2007-01-22 Keith Seitz <keiths@redhat.com>
485 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
486 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
487 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
488 (_Jv_JVMTI_Interface): Define GetClassStatus.
490 2007-01-22 Tom Tromey <tromey@redhat.com>
492 * configure: Rebuilt.
493 * configure.ac (GCJ): Reverted patch of 2006-12-20.
495 2007-01-22 Tom Tromey <tromey@redhat.com>
498 * testsuite/libjava.jni/pr29812.java: New file.
499 * testsuite/libjava.jni/pr29812_injar.java: New file.
500 * testsuite/libjava.jni/pr29812_injar.jar: New file.
501 * testsuite/libjava.jni/pr29812.out: New file.
502 * testsuite/libjava.jni/pr29812_injar.c: New file.
503 * testsuite/libjava.jni/pr29812_injar.h: New file.
504 * testsuite/libjava.jni/pr29812.jar: New file.
505 * testsuite/libjava.jni/pr29812.c: New file.
506 * testsuite/libjava.jni/pr29812.h: New file.
507 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
509 (gcj_jni_invocation_test_one): Use it.
510 (gcj_jni_pr29812): New proc.
511 (gcj_jni_run): Use it.
512 * java/lang/natRuntime.cc (_load): Push a new system frame before
514 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
515 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
516 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
517 <allocated_p>: Now bool.
519 (_Jv_JNI_EnsureLocalCapacity): Updated.
520 (_Jv_JNI_NewLocalRef): Likewise.
521 (_Jv_JNI_NewLocalRef): Likewise.
522 (_Jv_JNI_PopLocalFrame): Likewise.
523 (_Jv_JNI_FindClass): Likewise.
524 (_Jv_GetJNIEnvNewFrame): Likewise.
525 (_Jv_JNI_AttachCurrentThread): Likewise.
526 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
527 (_Jv_GetJNIEnvNewFrame): Use it.
528 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
530 2007-01-22 Tom Tromey <tromey@redhat.com>
532 * libtool-version: Bump current to 9.
534 2007-01-22 Andrew Haley <aph@redhat.com>
536 * sysdep/alpha/locks.h (write_barrier): New.
538 2007-01-21 Matthias Klose <doko@debian.org>
540 * Makefile.am (install-exec-hook): Use transformed name.
541 * Makefile.in: Regenerate.
543 2007-01-19 Keith Seitz <keiths@redhat.com>
545 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
546 in methods and reformat.
548 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
551 2007-01-18 Keith Seitz <keiths@redhat.com>
553 From Macro Trudel <mtrudel@gmx.ch>:
554 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
557 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
559 * jni.cc (_Jv_JNI_FindClass): Initialize class.
560 * testsuite/libjava.jni/findclass2.jar: New file.
561 * testsuite/libjava.jni/findclass2.h: New file.
562 * testsuite/libjava.jni/findclass2.java: New file
563 * testsuite/libjava.jni/findclass2.c: New file.
564 * testsuite/libjava.jni/findclass2.out: New file.
566 2007-01-18 Tom Tromey <tromey@redhat.com>
568 * configure: Rebuilt.
569 * configure.ac: Use multi_basedir instead of libgcj_basedir.
571 2007-01-18 Gary Benson <gbenson@redhat.com>
573 * gnu/java/nio/natVMPipeEcos.cc:
574 Renamed from gnu/java/nio/natPipeImplEcos.cc.
575 * gnu/java/nio/natVMPipePosix.cc:
576 Renamed from gnu/java/nio/natPipeImplPosix.cc.
577 * gnu/java/nio/natVMPipeWin32.cc:
578 Renamed from gnu/java/nio/natPipeImplWin32.cc.
579 * gnu/java/nio/natVMSelectorEcos.cc:
580 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
581 * gnu/java/nio/natVMSelectorPosix.cc:
582 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
583 * gnu/java/nio/natVMSelectorWin32.cc:
584 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
585 * java/io/natVMObjectInputStream.cc:
586 Renamed from java/io/natObjectInputStream.cc.
587 * java/lang/natVMDouble.cc:
588 Renamed from java/lang/natDouble.cc.
589 * java/lang/natVMFloat.cc:
590 Renamed from java/lang/natFloat.cc.
591 * Makefile.am, configure.ac: Reflect the above.
592 * Makefile.in, configure: Rebuilt.
594 2007-01-17 Andrew Haley <aph@redhat.com>
596 * Makefile.in: Rebuilt.
597 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
599 2007-01-17 Keith Seitz <keiths@redhat.com>
601 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
602 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
604 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
606 * configure.ac: Use multi.m4 from aclocal rather than custom
607 code. Use multi_basedir instead libgcj_basedir. Test for
608 /proc/self/exe when not cross-compiling.
609 * aclocal.m4: Regenerate.
610 * configure: Regenerate.
611 * Makefile.in: Regenerate.
613 2007-01-17 Gary Benson <gbenson@redhat.com>
615 * java/nio/natVMDirectByteBufferImpl.cc:
616 Renamed from java/nio/natDirectByteBufferImpl.cc.
617 * Makefile.am: Reflect the above.
618 * Makefile.in: Rebuilt.
620 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
622 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
623 Fixed indentation. Removed unused variable.
625 2007-01-16 Tom Tromey <tromey@redhat.com>
627 * java/lang/natThread.cc (finalize_native): Remove cast.
628 (_Jv_GetCurrentJNIEnv): Likewise.
629 * include/jvm.h (struct natThread) <jni_env>: Declare as
632 2007-01-16 Keith Seitz <keiths@redhat.com>
634 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
635 %#llx instead of %d for new_value.
636 * testsuite/libjava.jvmti/events.out: Update expected output.
637 * testsuite/libjava.jvmti/events.jar: Regenerate.
639 2007-01-16 Keith Seitz <keiths@redhat.com>
641 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
643 (ENABLE_EVENT): New macro.
644 (initialize): Define and enable JVMTI VM_INIT callback.
645 (jdwpVMInitCB): New function.
647 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
649 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
650 * testsuite/libjava.jvmti/getallthreads.java: New test.
651 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
652 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
653 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
654 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
656 2007-01-15 Keith Seitz <keiths@redhat.com>
658 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
659 java.lang.StringBuilder instead of java.lang.StringBuffer.
660 (resumeThread): Likewise.
662 2007-01-15 Gary Benson <gbenson@redhat.com>
664 * java/nio/MappedByteBuffer.java: Removed.
665 * sources.am, Makefile.in: Rebuilt.
667 2007-01-15 Gary Benson <gbenson@redhat.com>
669 * java/net/URLClassLoader.java: Removed.
670 * gnu/java/net/loader/Load_gcjlib.java: New file.
671 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
672 URL handler is present in static executables.
673 * sources.am, Makefile.in: Rebuilt.
675 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
677 * Makefile.am (libgcj_la_LDFLAGS): Add
678 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
679 (libgcj_tools_la_LDFLAGS): Likewise.
680 (libgcj_bc_la_LDFLAGS): Likewise.
681 * Makefile.in: Regenerated.
683 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
684 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
685 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
686 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
687 * configure: Regenerated.
688 * aclocal.m4: Likewise.
689 * gcj/Makefile.in: Likewise.
690 * include/Makefile.in: Likewise.
691 * testsuite/Makefile.in: Likewise.
693 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
695 * sysdep/sh/locks.h (read_barrier): New.
696 (write_barrier): Likewise.
698 2007-01-12 Andrew Haley <aph@redhat.com>
700 * include/i386-signal.h: Rewrite to use rt_sigaction.
702 2007-01-11 Andrew Haley <aph@redhat.com>
704 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
706 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
709 2007-01-10 Tom Tromey <tromey@redhat.com>
711 * gnu/gcj/xlib/*.h: New files.
712 * gnu/awt/xlib/*.h: Likewise.
713 * classpath/lib/gnu/gcj/xlib: New class files.
714 * classpath/lib/gnu/awt/xlib: Likewise.
716 2007-01-10 Tom Tromey <tromey@redhat.com>
718 * HACKING: Various updates.
720 2007-01-10 Tom Tromey <tromey@redhat.com>
722 * java/lang/natDouble.cc (toString): Added parens.
723 * gnu/gcj/io/shs.h (PROTO): Define.
724 * link.cc (resolve_pool_entry): Added missing braces.
726 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
729 * sysdep/ia64/locks.h (read_barrier): New.
730 (write_barrier): New.
732 2007-01-10 Gary Benson <gbenson@redhat.com>
734 * java/net/URL.java: Removed.
735 * sources.am, Makefile.in: Rebuilt.
737 2007-01-10 Matthias Klose <doko@debian.org>
739 * Makefile.am (install-exec-hook): Support $(DESTDIR).
740 * Makefile.in: Regenerated.
742 2007-01-05 Tom Tromey <tromey@redhat.com>
744 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
745 dummy.class in srcdir.
747 2007-01-03 Tom Tromey <tromey@redhat.com>
749 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
752 2007-01-03 Tom Tromey <tromey@redhat.com>
754 * testsuite/*: Added many .jar and .h files.
755 * testsuite/libjava.special/special.exp
756 (gcj_special_try_compiler): New proc.
757 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
758 bytecompile source. Search for .jar files.
759 (gcj_loader_test_one): Don't look for MyLoader.java.
760 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
761 bytecompile sources or build headers.
762 (gcj_jvmti_run): Look for .jar files.
763 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
765 (gcj_jni_test_one): Don't bytecompile sources or build headers.
766 Set classpath when invoking gij.
767 (gcj_jni_invocation_test_one): Likewise.
768 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
769 headers or bytecompile sources.
770 (gcj_cni_run): Use .jar files, not .java files.
771 * testsuite/libjava.lang/lang.exp: Compile .jar files.
773 2007-01-02 Tom Tromey <tromey@redhat.com>
775 * configure: Rebuilt.
776 * configure.ac: Check for gjar.
778 2007-01-02 Tom Tromey <tromey@redhat.com>
780 * testsuite/libjava.jacks/jacks.exp: Removed.
781 * testsuite/libjava.jacks/jacks.xfail: Removed.