1 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
3 * Makefile.in: Rebuilt.
4 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
5 the host's ecj1 executable.
7 2007-02-09 Richard Henderson <rth@redhat.com>
9 * sysdep/alpha/locks.h (read_barrier): New.
11 2007-02-09 Keith Seitz <keiths@redhat.com>
13 * gnu/classpath/jdwp/VMVirtualMachine.java
14 (_stepping_threads): New member.
15 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
17 * gnu/classpath/jdwp/VMVirtualMachine.h:
19 * gnu/claspath/jdwp/natVMVirtualMachine.cc
20 (get_request_step_filter): New function.
21 (DISABLE_EVENT): New macro.
22 (initialize): Initialize _stepping_threads.
23 (registerEvent): Implement EVENT_SINGLE_STEP.
24 (unregisterEvent): Likewise.
26 2007-02-08 Keith Seitz <keiths@redhat.com>
28 * sources.am: Regenerate.
29 * Makefile.in: Regenerate.
30 * testsuite/Makefile.in: Regenerate.
31 * gcj/Makefile.in: Regenerate.
32 * include/Makefile.in: Regenerate.
34 * classpath/lib/javax/management/MBeanServerFactory.class:
37 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
39 * classpath/gnu/classpath/jdwp/processor/
40 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
42 (executeSetValues): Ditto.
43 (executeThisObject): Ditto.
44 * classpath/gnu/classpath/jdwp/processor/
45 StackFrameCommandSet.class: Rebuilt.
46 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
48 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
49 * classpath/lib/gnu/classpath/jdwp/exception/
50 InvalidFrameException.java: New file.
51 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
53 (Constructor): New method.
54 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
55 * gnu/classpath/jdwp/VMVirtualMachine.java
56 (getFrame): Changed ByteBuffer to jlong.
57 * gnu/classpath/jdwp/natVMVirtualMachine.cc
58 (getFrame): Implement.
59 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
61 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
63 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
64 to hold "this" pointer for frame.
65 (_Jv_InterpFrame::get_this_ptr): New method.
66 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
68 2007-02-07 Keith Seitz <keiths@redhat.com>
70 * include/java-interp.h (_Jv_Frame::depth):
72 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
74 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
76 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
77 (_Jv_JVMTI_GetMaxLocals): New method.
78 * include/java-interp.h
79 (_Jv_InterpMethod::get_max_locals): New method.
81 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
83 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
85 2007-02-07 Tom Tromey <tromey@redhat.com>
87 * testsuite/libjava.jni/init.c: New file.
88 * testsuite/libjava.jni/init.java: New file.
89 * testsuite/libjava.jni/init.out: New file.
90 * testsuite/libjava.jni/init.jar: New file.
91 * testsuite/libjava.jni/init.h: New file.
92 * testsuite/libjava.jni/init$NativeClass.h: New file.
94 2007-02-07 Jakub Jelinek <jakub@redhat.com>
97 * configure: Regenerate.
99 2007-02-06 Andrew Haley <aph@redhat.com>
101 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
102 * sources.am: Rebuild.
104 2007-02-05 Keith Seitz <keiths@redhat.com>
106 * jvmti.cc (_envListLock): Change type to
107 ReentrantReadWriteLock.
108 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
110 (check_enabled_event): Likewise.
111 (_Jv_GetJVMTIEnv): Likewise.
112 (_Jv_JVMTI_Init): Likewise.
113 (_Jv_JVMTI_PostEvent): Likewise.
115 2007-02-05 Keith Seitz <keiths@redhat.com>
117 * gnu/classpath/jdwp/natVMVirtualMachine.cc
118 (registerEvent): Implement EVENT_BREAKPOINT.
119 (unregisterEvent): Likewise.
120 (get_request_location): New function.
122 2007-02-05 Matthias Klose <doko@debian.org>
124 testsuite/Makefile.am (compile-tests): Fix typo.
125 testsuite/Makefile.in: Regenerate.
127 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
129 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
132 2007-02-02 Jakub Jelinek <jakub@redhat.com>
134 * configure.ac (libjava_cv_anon_version_script): New test.
135 (ANONVERSCRIPT): New AM_CONDITIONAL.
136 * configure: Rebuilt.
137 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
139 * Makefile.in: Rebuilt.
140 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
141 * libgcj.ver: New file.
143 2007-02-01 David Daney <ddaney@avtrex.com>
145 * scripts/makemake.tcl: Replace gnu/xml build with build of all
147 * sources.am: Regenerate.
148 * Makefile.in: Regenerate.
150 2007-02-01 Tom Tromey <tromey@redhat.com>
152 * java/lang/ClassLoader.java (getResources): No longer final.
154 2007-02-01 Tom Tromey <tromey@redhat.com>
156 * java/util/logging/LogManager.java (loggers): Genericized.
158 (findAncestor): Likewise.
159 (getLogger): Likewise.
160 (getLoggerNames): Genericized.
162 (getLevelProperty): Likewise.
163 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
164 * java/lang/reflect/Constructor.java (getParameterTypes):
166 (getExceptionTypes): Likewise.
167 (newInstance): Likewise.
168 * java/lang/reflect/Array.java (newInstance): Genericized.
169 * java/lang/Object.java (getClass): Genericized.
170 * java/nio/charset/spi/CharsetProvider.java (charsets):
172 * java/text/Collator.java: Implement Comparable<Object>.
174 2007-02-01 Tom Tromey <tromey@redhat.com>
176 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
178 (clear): Call complete.
179 (setTimeZone): Call computeTime, computeFields.
180 (compareTo): New method.
181 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
182 (availableCharsets): Genericized.
184 (compareTo): Changed argument type.
185 * java/lang/ClassLoader.java (loadClass): Genericized.
186 (findClass): Likewise.
187 (defineClass): Likewise.
188 (resolveClass): Likewise.
189 (findSystemClass): Likewise.
190 (setSigners): Likewise.
191 (findLoadedClass): Likewise.
192 (getResources): Likewise.
193 (findResources): Likewise.
194 (getSystemResources): Likewise.
195 (checkInitialized): New method.
196 * java/lang/Class.java (getCanonicalName): New method.
198 2007-01-31 Keith Seitz <keiths@redhat.com>
200 * include/jvmti-int.h (JVMTI): Declare member "enabled".
201 * jvmti.cc (JVMTI): Add member "enabled".
202 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
203 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
204 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
205 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
206 instead of run to compile the method.
208 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
211 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
213 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
214 -shared-libgcc to the cxxflaglist for Darwin.
216 2007-01-31 Tom Tromey <tromey@redhat.com>
218 * scripts.am, Makefile.in: Rebuilt.
219 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
221 (emit_ordinary_rule): New proc.
223 2007-01-31 Keith Seitz <keiths@redhat.com>
225 * testsuite/libjava.jvmti/getmethodname.h: New file.
226 * testsuite/libjava.jvmti/getmethodname.jar: New file.
228 2007-01-31 Andrew Haley <aph@redhat.com>
230 * prims.cc (_Jv_Abort): fflush (stderr).
231 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
233 2007-01-31 Tom Tromey <tromey@redhat.com>
235 * configure, Makefile.in: Rebuilt.
236 * configure.ac (JAR): Check for -@ feature.
237 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
239 2007-01-31 Tom Tromey <tromey@redhat.com>
242 * configure, include/config.h.in: Rebuilt.
243 * configure.ac: Check for magic_t in magic.h.
244 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
246 2007-01-30 Tom Tromey <tromey@redhat.com>
248 * Makefile.in: Rebuilt.
249 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
251 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
253 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
254 cast to print it right.
256 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
259 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
262 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
264 * include/java-interp.h: Added _Jv_Frame class and its two
265 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
266 _Jv_FrameType from java-stack.h.
267 * include/java-stack.h: Removed _Jv_FrameType.
268 * java/lang/Thread.java: Added frame member to hold new
269 composite frame stack.
270 * java/lang/Thread.h: Regenerated.
271 * java/lang/Thread.class: Rebuilt.
272 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
273 calling a JNI method.
274 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
275 (_Jv_JVMTI_GetFrameCount): New method.
276 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
278 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
279 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
280 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
281 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
282 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
285 2007-01-29 Tom Tromey <tromey@redhat.com>
287 * interpret.cc (run_debug): Remove comment.
294 (run_normal_debug): Likewise.
295 (run_synch_object_debug): Likewise.
296 (run_class_debug): Likewise.
297 (run_synch_class_debug): Likewise.
302 (NULLARRAYCHECK): Likewise.
303 (ARRAYBOUNDSCHECK): Likewise.
304 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
306 2007-01-29 Tom Tromey <tromey@redhat.com>
308 * configure, Makefile.in: Rebuilt.
309 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
310 * configure.ac (BASH_JAR): Removed conditional.
311 (JAR): Prefer the jar found by AC_CHECK_PROGS.
313 2007-01-29 Tom Tromey <tromey@redhat.com>
315 * Makefile.in: Rebuilt.
316 * Makefile.am (interpret.lo): New target. Add -fwrap to
319 2007-01-29 Keith Seitz <keiths@redhat.com>
321 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
323 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
324 gcj. All jvmti object types now are defined to be their
325 corresponding java classes.
326 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
328 (_Jv_JVMTI_ResumeThread): Likewise.
329 (_Jv_JVMTI_InterruptThread): Likewise.
330 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
331 * gnu/classpath/jdwp/natVMVirtualMachine.cc
332 (jdwpClassPrepareCB): Likewise.
333 (jdwpThreadEndCB): Likewise.
334 (jdwpThreadStartCB): Likewise.
335 (jdwpVMInitCB): Likewise.
337 2007-01-28 Michele Sandri <gpointorama@gmail.com>
339 * gnu/java/nio/channels/natFileChannelWin32.cc
341 (unlock): Implemented.
343 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
346 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
347 libgcj_flags to undefine 'sun' at compile time.
348 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
350 (write_barrier): Likewise.
352 2007-01-27 Keith Seitz <keiths@redhat.com>
354 * gnu/classpath/jdwp/natVMVirtualMachine.cc
355 (getAllClassMethods): Move error handling to ...
356 (throw_jvmti_error): ... here.
357 (jdwpClassPrepareCB): New function.
358 (jdwpThreadEndCB): New function.
359 (jdwpThreadStartCB): New function.
360 (jdwpVMDeathCB): New function.
361 (jdwpVMInitCB): Define and enable callbacks for
362 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
364 2007-01-27 Jakub Jelinek <jakub@redhat.com>
366 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
367 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
368 (MYGCJH): New variable.
369 (compile-tests): New goal.
370 * Makefile.in: Rebuilt.
371 * testsuite/Makefile.in: Rebuilt.
373 2007-01-26 Andrew Haley <aph@redhat.com>
375 * java/lang/natClass.cc (initializeClass): Re-throw
377 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
378 * java/lang/ClassLoader.java: (loadClass): Likewise.
380 2007-01-26 Tom Tromey <tromey@redhat.com>
384 2007-01-25 Tom Tromey <tromey@redhat.com>
387 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
388 input or output encodings. Removed unused local variables.
390 2007-01-25 Keith Seitz <keiths@redhat.com>
392 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
393 * gnu/classpath/jdwp/natVMVirtualMachine.cc
394 (_Jv_GetJDWP_JVMTIEnv): New function.
395 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
396 (getSignature): Implement.
397 (getModifiers): Implement.
399 2007-01-25 Andrew Haley <aph@redhat.com>
401 * configure, Makefile.in, include/config.h.in: Rebuilt.
402 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
403 * configure.ac: Don't check for libmagic.
404 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
405 p_magic_close, p_magic_buffer): New globals.
406 (init): Look up 'magic' functions.
407 (guessContentTypeFromBuffer): Updated.
409 2007-01-25 Keith Seitz <keiths@redhat.com>
411 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
412 (_Jv_JVMTI_Interface): Define GetMethodName.
413 * testsuite/libjava.jvmti/getmethodname.java: New file.
414 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
415 * testsuite/libjava.jvmti/getmethodname.out: New file.
417 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
419 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
420 * libjava/testsuite/libjava.jvmti/interp: New folder.
421 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
423 2007-01-24 Keith Seitz <keiths@redhat.com>
425 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
426 CLASS_PREPARE notification.
428 2007-01-24 Keith Seitz <keiths@redhat.com>
430 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
431 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
432 * interpret-run.cc: Implement insn_breakpoint.
434 2007-01-24 Keith Seitz <keiths@redhat.com>
436 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
437 for VM_INIT and VM_DEATH instead of the JDWP notifications.
439 2007-01-24 Keith Seitz <keiths@redhat.com>
441 * gnu/classpath/jdwp/natVMVirtualMachine.cc
442 (getAllClassMethods): Implement.
444 2007-01-24 Andrew Haley <aph@redhat.com>
446 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
447 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
448 from being sibcalled.
450 2007-01-24 Andrew Haley <aph@redhat.com>
452 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
453 * sources.am: Rebuild.
455 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
457 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
458 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
460 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
463 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
464 * Makefile.in: Regenerated.
466 2007-01-22 Keith Seitz <keiths@redhat.com>
468 * gnu/classpath/jdwp/natVMVirtualMachine.cc
469 (getClassMethod): Implement.
471 2007-01-22 Keith Seitz <keiths@redhat.com>
473 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
474 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
475 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
476 (_Jv_JVMTI_Interface): Define GetClassStatus.
478 2007-01-22 Tom Tromey <tromey@redhat.com>
480 * configure: Rebuilt.
481 * configure.ac (GCJ): Reverted patch of 2006-12-20.
483 2007-01-22 Tom Tromey <tromey@redhat.com>
486 * testsuite/libjava.jni/pr29812.java: New file.
487 * testsuite/libjava.jni/pr29812_injar.java: New file.
488 * testsuite/libjava.jni/pr29812_injar.jar: New file.
489 * testsuite/libjava.jni/pr29812.out: New file.
490 * testsuite/libjava.jni/pr29812_injar.c: New file.
491 * testsuite/libjava.jni/pr29812_injar.h: New file.
492 * testsuite/libjava.jni/pr29812.jar: New file.
493 * testsuite/libjava.jni/pr29812.c: New file.
494 * testsuite/libjava.jni/pr29812.h: New file.
495 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
497 (gcj_jni_invocation_test_one): Use it.
498 (gcj_jni_pr29812): New proc.
499 (gcj_jni_run): Use it.
500 * java/lang/natRuntime.cc (_load): Push a new system frame before
502 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
503 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
504 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
505 <allocated_p>: Now bool.
507 (_Jv_JNI_EnsureLocalCapacity): Updated.
508 (_Jv_JNI_NewLocalRef): Likewise.
509 (_Jv_JNI_NewLocalRef): Likewise.
510 (_Jv_JNI_PopLocalFrame): Likewise.
511 (_Jv_JNI_FindClass): Likewise.
512 (_Jv_GetJNIEnvNewFrame): Likewise.
513 (_Jv_JNI_AttachCurrentThread): Likewise.
514 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
515 (_Jv_GetJNIEnvNewFrame): Use it.
516 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
518 2007-01-22 Tom Tromey <tromey@redhat.com>
520 * libtool-version: Bump current to 9.
522 2007-01-22 Andrew Haley <aph@redhat.com>
524 * sysdep/alpha/locks.h (write_barrier): New.
526 2007-01-21 Matthias Klose <doko@debian.org>
528 * Makefile.am (install-exec-hook): Use transformed name.
529 * Makefile.in: Regenerate.
531 2007-01-19 Keith Seitz <keiths@redhat.com>
533 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
534 in methods and reformat.
536 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
539 2007-01-18 Keith Seitz <keiths@redhat.com>
541 From Macro Trudel <mtrudel@gmx.ch>:
542 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
545 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
547 * jni.cc (_Jv_JNI_FindClass): Initialize class.
548 * testsuite/libjava.jni/findclass2.jar: New file.
549 * testsuite/libjava.jni/findclass2.h: New file.
550 * testsuite/libjava.jni/findclass2.java: New file
551 * testsuite/libjava.jni/findclass2.c: New file.
552 * testsuite/libjava.jni/findclass2.out: New file.
554 2007-01-18 Tom Tromey <tromey@redhat.com>
556 * configure: Rebuilt.
557 * configure.ac: Use multi_basedir instead of libgcj_basedir.
559 2007-01-18 Gary Benson <gbenson@redhat.com>
561 * gnu/java/nio/natVMPipeEcos.cc:
562 Renamed from gnu/java/nio/natPipeImplEcos.cc.
563 * gnu/java/nio/natVMPipePosix.cc:
564 Renamed from gnu/java/nio/natPipeImplPosix.cc.
565 * gnu/java/nio/natVMPipeWin32.cc:
566 Renamed from gnu/java/nio/natPipeImplWin32.cc.
567 * gnu/java/nio/natVMSelectorEcos.cc:
568 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
569 * gnu/java/nio/natVMSelectorPosix.cc:
570 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
571 * gnu/java/nio/natVMSelectorWin32.cc:
572 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
573 * java/io/natVMObjectInputStream.cc:
574 Renamed from java/io/natObjectInputStream.cc.
575 * java/lang/natVMDouble.cc:
576 Renamed from java/lang/natDouble.cc.
577 * java/lang/natVMFloat.cc:
578 Renamed from java/lang/natFloat.cc.
579 * Makefile.am, configure.ac: Reflect the above.
580 * Makefile.in, configure: Rebuilt.
582 2007-01-17 Andrew Haley <aph@redhat.com>
584 * Makefile.in: Rebuilt.
585 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
587 2007-01-17 Keith Seitz <keiths@redhat.com>
589 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
590 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
592 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
594 * configure.ac: Use multi.m4 from aclocal rather than custom
595 code. Use multi_basedir instead libgcj_basedir. Test for
596 /proc/self/exe when not cross-compiling.
597 * aclocal.m4: Regenerate.
598 * configure: Regenerate.
599 * Makefile.in: Regenerate.
601 2007-01-17 Gary Benson <gbenson@redhat.com>
603 * java/nio/natVMDirectByteBufferImpl.cc:
604 Renamed from java/nio/natDirectByteBufferImpl.cc.
605 * Makefile.am: Reflect the above.
606 * Makefile.in: Rebuilt.
608 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
610 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
611 Fixed indentation. Removed unused variable.
613 2007-01-16 Tom Tromey <tromey@redhat.com>
615 * java/lang/natThread.cc (finalize_native): Remove cast.
616 (_Jv_GetCurrentJNIEnv): Likewise.
617 * include/jvm.h (struct natThread) <jni_env>: Declare as
620 2007-01-16 Keith Seitz <keiths@redhat.com>
622 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
623 %#llx instead of %d for new_value.
624 * testsuite/libjava.jvmti/events.out: Update expected output.
625 * testsuite/libjava.jvmti/events.jar: Regenerate.
627 2007-01-16 Keith Seitz <keiths@redhat.com>
629 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
631 (ENABLE_EVENT): New macro.
632 (initialize): Define and enable JVMTI VM_INIT callback.
633 (jdwpVMInitCB): New function.
635 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
637 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
638 * testsuite/libjava.jvmti/getallthreads.java: New test.
639 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
640 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
641 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
642 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
644 2007-01-15 Keith Seitz <keiths@redhat.com>
646 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
647 java.lang.StringBuilder instead of java.lang.StringBuffer.
648 (resumeThread): Likewise.
650 2007-01-15 Gary Benson <gbenson@redhat.com>
652 * java/nio/MappedByteBuffer.java: Removed.
653 * sources.am, Makefile.in: Rebuilt.
655 2007-01-15 Gary Benson <gbenson@redhat.com>
657 * java/net/URLClassLoader.java: Removed.
658 * gnu/java/net/loader/Load_gcjlib.java: New file.
659 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
660 URL handler is present in static executables.
661 * sources.am, Makefile.in: Rebuilt.
663 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
665 * Makefile.am (libgcj_la_LDFLAGS): Add
666 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
667 (libgcj_tools_la_LDFLAGS): Likewise.
668 (libgcj_bc_la_LDFLAGS): Likewise.
669 * Makefile.in: Regenerated.
671 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
672 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
673 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
674 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
675 * configure: Regenerated.
676 * aclocal.m4: Likewise.
677 * gcj/Makefile.in: Likewise.
678 * include/Makefile.in: Likewise.
679 * testsuite/Makefile.in: Likewise.
681 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
683 * sysdep/sh/locks.h (read_barrier): New.
684 (write_barrier): Likewise.
686 2007-01-12 Andrew Haley <aph@redhat.com>
688 * include/i386-signal.h: Rewrite to use rt_sigaction.
690 2007-01-11 Andrew Haley <aph@redhat.com>
692 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
694 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
697 2007-01-10 Tom Tromey <tromey@redhat.com>
699 * gnu/gcj/xlib/*.h: New files.
700 * gnu/awt/xlib/*.h: Likewise.
701 * classpath/lib/gnu/gcj/xlib: New class files.
702 * classpath/lib/gnu/awt/xlib: Likewise.
704 2007-01-10 Tom Tromey <tromey@redhat.com>
706 * HACKING: Various updates.
708 2007-01-10 Tom Tromey <tromey@redhat.com>
710 * java/lang/natDouble.cc (toString): Added parens.
711 * gnu/gcj/io/shs.h (PROTO): Define.
712 * link.cc (resolve_pool_entry): Added missing braces.
714 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
717 * sysdep/ia64/locks.h (read_barrier): New.
718 (write_barrier): New.
720 2007-01-10 Gary Benson <gbenson@redhat.com>
722 * java/net/URL.java: Removed.
723 * sources.am, Makefile.in: Rebuilt.
725 2007-01-10 Matthias Klose <doko@debian.org>
727 * Makefile.am (install-exec-hook): Support $(DESTDIR).
728 * Makefile.in: Regenerated.
730 2007-01-05 Tom Tromey <tromey@redhat.com>
732 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
733 dummy.class in srcdir.
735 2007-01-03 Tom Tromey <tromey@redhat.com>
737 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
740 2007-01-03 Tom Tromey <tromey@redhat.com>
742 * testsuite/*: Added many .jar and .h files.
743 * testsuite/libjava.special/special.exp
744 (gcj_special_try_compiler): New proc.
745 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
746 bytecompile source. Search for .jar files.
747 (gcj_loader_test_one): Don't look for MyLoader.java.
748 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
749 bytecompile sources or build headers.
750 (gcj_jvmti_run): Look for .jar files.
751 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
753 (gcj_jni_test_one): Don't bytecompile sources or build headers.
754 Set classpath when invoking gij.
755 (gcj_jni_invocation_test_one): Likewise.
756 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
757 headers or bytecompile sources.
758 (gcj_cni_run): Use .jar files, not .java files.
759 * testsuite/libjava.lang/lang.exp: Compile .jar files.
761 2007-01-02 Tom Tromey <tromey@redhat.com>
763 * configure: Rebuilt.
764 * configure.ac: Check for gjar.
766 2007-01-02 Tom Tromey <tromey@redhat.com>
768 * testsuite/libjava.jacks/jacks.exp: Removed.
769 * testsuite/libjava.jacks/jacks.xfail: Removed.