1 2007-02-12 Keith Seitz <keiths@redhat.com>
3 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
4 from jthread to Thread *; it is no longer needed.
5 (_Jv_JVMTI_GetFrameCount): Likewise.
6 Fix small formatting typo.
8 2007-02-12 Tom Tromey <tromey@redhat.com>
10 * sources.am, Makefile.in: Rebuilt.
11 * java/lang/Socket.java: Removed override.
12 * java/lang/DatagramSocket.java: Removed override.
13 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
15 (getLocalAddress): New method.
16 * gnu/java/net/PlainDatagramSocketImpl.java
17 (PlainDatagramSocketImpl): Throws IOException.
18 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
22 2007-02-09 Jakub Jelinek <jakub@redhat.com>
24 * java/util/VMTimeZone.java: Rewrite to handle both the old
25 'TZif\0' format and the new one.
27 2007-02-10 Andrew Haley <aph@redhat.com>
30 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
31 (getCallingClass): Call GET_CALLING_CLASS.
32 (getCallingClassLoader): Likewise.
34 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
37 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
39 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
41 * Makefile.in: Rebuilt.
42 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
43 the host's ecj1 executable.
45 2007-02-09 Richard Henderson <rth@redhat.com>
47 * sysdep/alpha/locks.h (read_barrier): New.
49 2007-02-09 Keith Seitz <keiths@redhat.com>
51 * gnu/classpath/jdwp/VMVirtualMachine.java
52 (_stepping_threads): New member.
53 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
55 * gnu/classpath/jdwp/VMVirtualMachine.h:
57 * gnu/claspath/jdwp/natVMVirtualMachine.cc
58 (get_request_step_filter): New function.
59 (DISABLE_EVENT): New macro.
60 (initialize): Initialize _stepping_threads.
61 (registerEvent): Implement EVENT_SINGLE_STEP.
62 (unregisterEvent): Likewise.
64 2007-02-08 Keith Seitz <keiths@redhat.com>
66 * sources.am: Regenerate.
67 * Makefile.in: Regenerate.
68 * testsuite/Makefile.in: Regenerate.
69 * gcj/Makefile.in: Regenerate.
70 * include/Makefile.in: Regenerate.
72 * classpath/lib/javax/management/MBeanServerFactory.class:
75 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
77 * classpath/gnu/classpath/jdwp/processor/
78 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
80 (executeSetValues): Ditto.
81 (executeThisObject): Ditto.
82 * classpath/gnu/classpath/jdwp/processor/
83 StackFrameCommandSet.class: Rebuilt.
84 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
86 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
87 * classpath/lib/gnu/classpath/jdwp/exception/
88 InvalidFrameException.java: New file.
89 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
91 (Constructor): New method.
92 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
93 * gnu/classpath/jdwp/VMVirtualMachine.java
94 (getFrame): Changed ByteBuffer to jlong.
95 * gnu/classpath/jdwp/natVMVirtualMachine.cc
96 (getFrame): Implement.
97 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
99 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
101 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
102 to hold "this" pointer for frame.
103 (_Jv_InterpFrame::get_this_ptr): New method.
104 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
106 2007-02-07 Keith Seitz <keiths@redhat.com>
108 * include/java-interp.h (_Jv_Frame::depth):
110 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
112 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
114 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
115 (_Jv_JVMTI_GetMaxLocals): New method.
116 * include/java-interp.h
117 (_Jv_InterpMethod::get_max_locals): New method.
119 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
121 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
123 2007-02-07 Tom Tromey <tromey@redhat.com>
125 * testsuite/libjava.jni/init.c: New file.
126 * testsuite/libjava.jni/init.java: New file.
127 * testsuite/libjava.jni/init.out: New file.
128 * testsuite/libjava.jni/init.jar: New file.
129 * testsuite/libjava.jni/init.h: New file.
130 * testsuite/libjava.jni/init$NativeClass.h: New file.
132 2007-02-07 Jakub Jelinek <jakub@redhat.com>
135 * configure: Regenerate.
137 2007-02-06 Andrew Haley <aph@redhat.com>
139 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
140 * sources.am: Rebuild.
142 2007-02-05 Keith Seitz <keiths@redhat.com>
144 * jvmti.cc (_envListLock): Change type to
145 ReentrantReadWriteLock.
146 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
148 (check_enabled_event): Likewise.
149 (_Jv_GetJVMTIEnv): Likewise.
150 (_Jv_JVMTI_Init): Likewise.
151 (_Jv_JVMTI_PostEvent): Likewise.
153 2007-02-05 Keith Seitz <keiths@redhat.com>
155 * gnu/classpath/jdwp/natVMVirtualMachine.cc
156 (registerEvent): Implement EVENT_BREAKPOINT.
157 (unregisterEvent): Likewise.
158 (get_request_location): New function.
160 2007-02-05 Matthias Klose <doko@debian.org>
162 testsuite/Makefile.am (compile-tests): Fix typo.
163 testsuite/Makefile.in: Regenerate.
165 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
167 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
170 2007-02-02 Jakub Jelinek <jakub@redhat.com>
172 * configure.ac (libjava_cv_anon_version_script): New test.
173 (ANONVERSCRIPT): New AM_CONDITIONAL.
174 * configure: Rebuilt.
175 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
177 * Makefile.in: Rebuilt.
178 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
179 * libgcj.ver: New file.
181 2007-02-01 David Daney <ddaney@avtrex.com>
183 * scripts/makemake.tcl: Replace gnu/xml build with build of all
185 * sources.am: Regenerate.
186 * Makefile.in: Regenerate.
188 2007-02-01 Tom Tromey <tromey@redhat.com>
190 * java/lang/ClassLoader.java (getResources): No longer final.
192 2007-02-01 Tom Tromey <tromey@redhat.com>
194 * java/util/logging/LogManager.java (loggers): Genericized.
196 (findAncestor): Likewise.
197 (getLogger): Likewise.
198 (getLoggerNames): Genericized.
200 (getLevelProperty): Likewise.
201 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
202 * java/lang/reflect/Constructor.java (getParameterTypes):
204 (getExceptionTypes): Likewise.
205 (newInstance): Likewise.
206 * java/lang/reflect/Array.java (newInstance): Genericized.
207 * java/lang/Object.java (getClass): Genericized.
208 * java/nio/charset/spi/CharsetProvider.java (charsets):
210 * java/text/Collator.java: Implement Comparable<Object>.
212 2007-02-01 Tom Tromey <tromey@redhat.com>
214 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
216 (clear): Call complete.
217 (setTimeZone): Call computeTime, computeFields.
218 (compareTo): New method.
219 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
220 (availableCharsets): Genericized.
222 (compareTo): Changed argument type.
223 * java/lang/ClassLoader.java (loadClass): Genericized.
224 (findClass): Likewise.
225 (defineClass): Likewise.
226 (resolveClass): Likewise.
227 (findSystemClass): Likewise.
228 (setSigners): Likewise.
229 (findLoadedClass): Likewise.
230 (getResources): Likewise.
231 (findResources): Likewise.
232 (getSystemResources): Likewise.
233 (checkInitialized): New method.
234 * java/lang/Class.java (getCanonicalName): New method.
236 2007-01-31 Keith Seitz <keiths@redhat.com>
238 * include/jvmti-int.h (JVMTI): Declare member "enabled".
239 * jvmti.cc (JVMTI): Add member "enabled".
240 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
241 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
242 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
243 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
244 instead of run to compile the method.
246 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
249 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
251 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
252 -shared-libgcc to the cxxflaglist for Darwin.
254 2007-01-31 Tom Tromey <tromey@redhat.com>
256 * scripts.am, Makefile.in: Rebuilt.
257 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
259 (emit_ordinary_rule): New proc.
261 2007-01-31 Keith Seitz <keiths@redhat.com>
263 * testsuite/libjava.jvmti/getmethodname.h: New file.
264 * testsuite/libjava.jvmti/getmethodname.jar: New file.
266 2007-01-31 Andrew Haley <aph@redhat.com>
268 * prims.cc (_Jv_Abort): fflush (stderr).
269 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
271 2007-01-31 Tom Tromey <tromey@redhat.com>
273 * configure, Makefile.in: Rebuilt.
274 * configure.ac (JAR): Check for -@ feature.
275 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
277 2007-01-31 Tom Tromey <tromey@redhat.com>
280 * configure, include/config.h.in: Rebuilt.
281 * configure.ac: Check for magic_t in magic.h.
282 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
284 2007-01-30 Tom Tromey <tromey@redhat.com>
286 * Makefile.in: Rebuilt.
287 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
289 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
291 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
292 cast to print it right.
294 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
297 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
300 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
302 * include/java-interp.h: Added _Jv_Frame class and its two
303 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
304 _Jv_FrameType from java-stack.h.
305 * include/java-stack.h: Removed _Jv_FrameType.
306 * java/lang/Thread.java: Added frame member to hold new
307 composite frame stack.
308 * java/lang/Thread.h: Regenerated.
309 * java/lang/Thread.class: Rebuilt.
310 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
311 calling a JNI method.
312 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
313 (_Jv_JVMTI_GetFrameCount): New method.
314 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
316 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
317 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
318 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
319 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
320 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
323 2007-01-29 Tom Tromey <tromey@redhat.com>
325 * interpret.cc (run_debug): Remove comment.
332 (run_normal_debug): Likewise.
333 (run_synch_object_debug): Likewise.
334 (run_class_debug): Likewise.
335 (run_synch_class_debug): Likewise.
340 (NULLARRAYCHECK): Likewise.
341 (ARRAYBOUNDSCHECK): Likewise.
342 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
344 2007-01-29 Tom Tromey <tromey@redhat.com>
346 * configure, Makefile.in: Rebuilt.
347 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
348 * configure.ac (BASH_JAR): Removed conditional.
349 (JAR): Prefer the jar found by AC_CHECK_PROGS.
351 2007-01-29 Tom Tromey <tromey@redhat.com>
353 * Makefile.in: Rebuilt.
354 * Makefile.am (interpret.lo): New target. Add -fwrap to
357 2007-01-29 Keith Seitz <keiths@redhat.com>
359 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
361 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
362 gcj. All jvmti object types now are defined to be their
363 corresponding java classes.
364 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
366 (_Jv_JVMTI_ResumeThread): Likewise.
367 (_Jv_JVMTI_InterruptThread): Likewise.
368 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
369 * gnu/classpath/jdwp/natVMVirtualMachine.cc
370 (jdwpClassPrepareCB): Likewise.
371 (jdwpThreadEndCB): Likewise.
372 (jdwpThreadStartCB): Likewise.
373 (jdwpVMInitCB): Likewise.
375 2007-01-28 Michele Sandri <gpointorama@gmail.com>
377 * gnu/java/nio/channels/natFileChannelWin32.cc
379 (unlock): Implemented.
381 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
384 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
385 libgcj_flags to undefine 'sun' at compile time.
386 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
388 (write_barrier): Likewise.
390 2007-01-27 Keith Seitz <keiths@redhat.com>
392 * gnu/classpath/jdwp/natVMVirtualMachine.cc
393 (getAllClassMethods): Move error handling to ...
394 (throw_jvmti_error): ... here.
395 (jdwpClassPrepareCB): New function.
396 (jdwpThreadEndCB): New function.
397 (jdwpThreadStartCB): New function.
398 (jdwpVMDeathCB): New function.
399 (jdwpVMInitCB): Define and enable callbacks for
400 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
402 2007-01-27 Jakub Jelinek <jakub@redhat.com>
404 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
405 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
406 (MYGCJH): New variable.
407 (compile-tests): New goal.
408 * Makefile.in: Rebuilt.
409 * testsuite/Makefile.in: Rebuilt.
411 2007-01-26 Andrew Haley <aph@redhat.com>
413 * java/lang/natClass.cc (initializeClass): Re-throw
415 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
416 * java/lang/ClassLoader.java: (loadClass): Likewise.
418 2007-01-26 Tom Tromey <tromey@redhat.com>
422 2007-01-25 Tom Tromey <tromey@redhat.com>
425 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
426 input or output encodings. Removed unused local variables.
428 2007-01-25 Keith Seitz <keiths@redhat.com>
430 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
431 * gnu/classpath/jdwp/natVMVirtualMachine.cc
432 (_Jv_GetJDWP_JVMTIEnv): New function.
433 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
434 (getSignature): Implement.
435 (getModifiers): Implement.
437 2007-01-25 Andrew Haley <aph@redhat.com>
439 * configure, Makefile.in, include/config.h.in: Rebuilt.
440 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
441 * configure.ac: Don't check for libmagic.
442 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
443 p_magic_close, p_magic_buffer): New globals.
444 (init): Look up 'magic' functions.
445 (guessContentTypeFromBuffer): Updated.
447 2007-01-25 Keith Seitz <keiths@redhat.com>
449 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
450 (_Jv_JVMTI_Interface): Define GetMethodName.
451 * testsuite/libjava.jvmti/getmethodname.java: New file.
452 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
453 * testsuite/libjava.jvmti/getmethodname.out: New file.
455 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
457 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
458 * libjava/testsuite/libjava.jvmti/interp: New folder.
459 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
461 2007-01-24 Keith Seitz <keiths@redhat.com>
463 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
464 CLASS_PREPARE notification.
466 2007-01-24 Keith Seitz <keiths@redhat.com>
468 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
469 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
470 * interpret-run.cc: Implement insn_breakpoint.
472 2007-01-24 Keith Seitz <keiths@redhat.com>
474 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
475 for VM_INIT and VM_DEATH instead of the JDWP notifications.
477 2007-01-24 Keith Seitz <keiths@redhat.com>
479 * gnu/classpath/jdwp/natVMVirtualMachine.cc
480 (getAllClassMethods): Implement.
482 2007-01-24 Andrew Haley <aph@redhat.com>
484 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
485 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
486 from being sibcalled.
488 2007-01-24 Andrew Haley <aph@redhat.com>
490 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
491 * sources.am: Rebuild.
493 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
495 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
496 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
498 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
501 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
502 * Makefile.in: Regenerated.
504 2007-01-22 Keith Seitz <keiths@redhat.com>
506 * gnu/classpath/jdwp/natVMVirtualMachine.cc
507 (getClassMethod): Implement.
509 2007-01-22 Keith Seitz <keiths@redhat.com>
511 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
512 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
513 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
514 (_Jv_JVMTI_Interface): Define GetClassStatus.
516 2007-01-22 Tom Tromey <tromey@redhat.com>
518 * configure: Rebuilt.
519 * configure.ac (GCJ): Reverted patch of 2006-12-20.
521 2007-01-22 Tom Tromey <tromey@redhat.com>
524 * testsuite/libjava.jni/pr29812.java: New file.
525 * testsuite/libjava.jni/pr29812_injar.java: New file.
526 * testsuite/libjava.jni/pr29812_injar.jar: New file.
527 * testsuite/libjava.jni/pr29812.out: New file.
528 * testsuite/libjava.jni/pr29812_injar.c: New file.
529 * testsuite/libjava.jni/pr29812_injar.h: New file.
530 * testsuite/libjava.jni/pr29812.jar: New file.
531 * testsuite/libjava.jni/pr29812.c: New file.
532 * testsuite/libjava.jni/pr29812.h: New file.
533 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
535 (gcj_jni_invocation_test_one): Use it.
536 (gcj_jni_pr29812): New proc.
537 (gcj_jni_run): Use it.
538 * java/lang/natRuntime.cc (_load): Push a new system frame before
540 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
541 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
542 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
543 <allocated_p>: Now bool.
545 (_Jv_JNI_EnsureLocalCapacity): Updated.
546 (_Jv_JNI_NewLocalRef): Likewise.
547 (_Jv_JNI_NewLocalRef): Likewise.
548 (_Jv_JNI_PopLocalFrame): Likewise.
549 (_Jv_JNI_FindClass): Likewise.
550 (_Jv_GetJNIEnvNewFrame): Likewise.
551 (_Jv_JNI_AttachCurrentThread): Likewise.
552 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
553 (_Jv_GetJNIEnvNewFrame): Use it.
554 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
556 2007-01-22 Tom Tromey <tromey@redhat.com>
558 * libtool-version: Bump current to 9.
560 2007-01-22 Andrew Haley <aph@redhat.com>
562 * sysdep/alpha/locks.h (write_barrier): New.
564 2007-01-21 Matthias Klose <doko@debian.org>
566 * Makefile.am (install-exec-hook): Use transformed name.
567 * Makefile.in: Regenerate.
569 2007-01-19 Keith Seitz <keiths@redhat.com>
571 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
572 in methods and reformat.
574 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
577 2007-01-18 Keith Seitz <keiths@redhat.com>
579 From Macro Trudel <mtrudel@gmx.ch>:
580 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
583 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
585 * jni.cc (_Jv_JNI_FindClass): Initialize class.
586 * testsuite/libjava.jni/findclass2.jar: New file.
587 * testsuite/libjava.jni/findclass2.h: New file.
588 * testsuite/libjava.jni/findclass2.java: New file
589 * testsuite/libjava.jni/findclass2.c: New file.
590 * testsuite/libjava.jni/findclass2.out: New file.
592 2007-01-18 Tom Tromey <tromey@redhat.com>
594 * configure: Rebuilt.
595 * configure.ac: Use multi_basedir instead of libgcj_basedir.
597 2007-01-18 Gary Benson <gbenson@redhat.com>
599 * gnu/java/nio/natVMPipeEcos.cc:
600 Renamed from gnu/java/nio/natPipeImplEcos.cc.
601 * gnu/java/nio/natVMPipePosix.cc:
602 Renamed from gnu/java/nio/natPipeImplPosix.cc.
603 * gnu/java/nio/natVMPipeWin32.cc:
604 Renamed from gnu/java/nio/natPipeImplWin32.cc.
605 * gnu/java/nio/natVMSelectorEcos.cc:
606 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
607 * gnu/java/nio/natVMSelectorPosix.cc:
608 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
609 * gnu/java/nio/natVMSelectorWin32.cc:
610 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
611 * java/io/natVMObjectInputStream.cc:
612 Renamed from java/io/natObjectInputStream.cc.
613 * java/lang/natVMDouble.cc:
614 Renamed from java/lang/natDouble.cc.
615 * java/lang/natVMFloat.cc:
616 Renamed from java/lang/natFloat.cc.
617 * Makefile.am, configure.ac: Reflect the above.
618 * Makefile.in, configure: Rebuilt.
620 2007-01-17 Andrew Haley <aph@redhat.com>
622 * Makefile.in: Rebuilt.
623 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
625 2007-01-17 Keith Seitz <keiths@redhat.com>
627 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
628 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
630 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
632 * configure.ac: Use multi.m4 from aclocal rather than custom
633 code. Use multi_basedir instead libgcj_basedir. Test for
634 /proc/self/exe when not cross-compiling.
635 * aclocal.m4: Regenerate.
636 * configure: Regenerate.
637 * Makefile.in: Regenerate.
639 2007-01-17 Gary Benson <gbenson@redhat.com>
641 * java/nio/natVMDirectByteBufferImpl.cc:
642 Renamed from java/nio/natDirectByteBufferImpl.cc.
643 * Makefile.am: Reflect the above.
644 * Makefile.in: Rebuilt.
646 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
648 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
649 Fixed indentation. Removed unused variable.
651 2007-01-16 Tom Tromey <tromey@redhat.com>
653 * java/lang/natThread.cc (finalize_native): Remove cast.
654 (_Jv_GetCurrentJNIEnv): Likewise.
655 * include/jvm.h (struct natThread) <jni_env>: Declare as
658 2007-01-16 Keith Seitz <keiths@redhat.com>
660 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
661 %#llx instead of %d for new_value.
662 * testsuite/libjava.jvmti/events.out: Update expected output.
663 * testsuite/libjava.jvmti/events.jar: Regenerate.
665 2007-01-16 Keith Seitz <keiths@redhat.com>
667 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
669 (ENABLE_EVENT): New macro.
670 (initialize): Define and enable JVMTI VM_INIT callback.
671 (jdwpVMInitCB): New function.
673 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
675 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
676 * testsuite/libjava.jvmti/getallthreads.java: New test.
677 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
678 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
679 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
680 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
682 2007-01-15 Keith Seitz <keiths@redhat.com>
684 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
685 java.lang.StringBuilder instead of java.lang.StringBuffer.
686 (resumeThread): Likewise.
688 2007-01-15 Gary Benson <gbenson@redhat.com>
690 * java/nio/MappedByteBuffer.java: Removed.
691 * sources.am, Makefile.in: Rebuilt.
693 2007-01-15 Gary Benson <gbenson@redhat.com>
695 * java/net/URLClassLoader.java: Removed.
696 * gnu/java/net/loader/Load_gcjlib.java: New file.
697 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
698 URL handler is present in static executables.
699 * sources.am, Makefile.in: Rebuilt.
701 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
703 * Makefile.am (libgcj_la_LDFLAGS): Add
704 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
705 (libgcj_tools_la_LDFLAGS): Likewise.
706 (libgcj_bc_la_LDFLAGS): Likewise.
707 * Makefile.in: Regenerated.
709 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
710 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
711 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
712 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
713 * configure: Regenerated.
714 * aclocal.m4: Likewise.
715 * gcj/Makefile.in: Likewise.
716 * include/Makefile.in: Likewise.
717 * testsuite/Makefile.in: Likewise.
719 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
721 * sysdep/sh/locks.h (read_barrier): New.
722 (write_barrier): Likewise.
724 2007-01-12 Andrew Haley <aph@redhat.com>
726 * include/i386-signal.h: Rewrite to use rt_sigaction.
728 2007-01-11 Andrew Haley <aph@redhat.com>
730 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
732 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
735 2007-01-10 Tom Tromey <tromey@redhat.com>
737 * gnu/gcj/xlib/*.h: New files.
738 * gnu/awt/xlib/*.h: Likewise.
739 * classpath/lib/gnu/gcj/xlib: New class files.
740 * classpath/lib/gnu/awt/xlib: Likewise.
742 2007-01-10 Tom Tromey <tromey@redhat.com>
744 * HACKING: Various updates.
746 2007-01-10 Tom Tromey <tromey@redhat.com>
748 * java/lang/natDouble.cc (toString): Added parens.
749 * gnu/gcj/io/shs.h (PROTO): Define.
750 * link.cc (resolve_pool_entry): Added missing braces.
752 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
755 * sysdep/ia64/locks.h (read_barrier): New.
756 (write_barrier): New.
758 2007-01-10 Gary Benson <gbenson@redhat.com>
760 * java/net/URL.java: Removed.
761 * sources.am, Makefile.in: Rebuilt.
763 2007-01-10 Matthias Klose <doko@debian.org>
765 * Makefile.am (install-exec-hook): Support $(DESTDIR).
766 * Makefile.in: Regenerated.
768 2007-01-05 Tom Tromey <tromey@redhat.com>
770 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
771 dummy.class in srcdir.
773 2007-01-03 Tom Tromey <tromey@redhat.com>
775 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
778 2007-01-03 Tom Tromey <tromey@redhat.com>
780 * testsuite/*: Added many .jar and .h files.
781 * testsuite/libjava.special/special.exp
782 (gcj_special_try_compiler): New proc.
783 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
784 bytecompile source. Search for .jar files.
785 (gcj_loader_test_one): Don't look for MyLoader.java.
786 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
787 bytecompile sources or build headers.
788 (gcj_jvmti_run): Look for .jar files.
789 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
791 (gcj_jni_test_one): Don't bytecompile sources or build headers.
792 Set classpath when invoking gij.
793 (gcj_jni_invocation_test_one): Likewise.
794 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
795 headers or bytecompile sources.
796 (gcj_cni_run): Use .jar files, not .java files.
797 * testsuite/libjava.lang/lang.exp: Compile .jar files.
799 2007-01-02 Tom Tromey <tromey@redhat.com>
801 * configure: Rebuilt.
802 * configure.ac: Check for gjar.
804 2007-01-02 Tom Tromey <tromey@redhat.com>
806 * testsuite/libjava.jacks/jacks.exp: Removed.
807 * testsuite/libjava.jacks/jacks.xfail: Removed.