1 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
3 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
5 2007-02-13 Keith Seitz <keiths@redhat.com>
7 * gnu/classpath/jdwp/natVMVirtualMachine.cc
8 (jdwpBreakpointCB): New function.
9 (jdwpVMInitCB): Define and enable the breakpoint
12 2007-02-13 Andrew Haley <aph@redhat.com>
14 * testsuite/libjava.lang/Divide_2.out
15 * testsuite/libjava.lang/Divide_2.java: New test.
17 2007-02-12 Keith Seitz <keiths@redhat.com>
19 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
20 from jthread to Thread *; it is no longer needed.
21 (_Jv_JVMTI_GetFrameCount): Likewise.
22 Fix small formatting typo.
24 2007-02-12 Tom Tromey <tromey@redhat.com>
26 * sources.am, Makefile.in: Rebuilt.
27 * java/lang/Socket.java: Removed override.
28 * java/lang/DatagramSocket.java: Removed override.
29 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
31 (getLocalAddress): New method.
32 * gnu/java/net/PlainDatagramSocketImpl.java
33 (PlainDatagramSocketImpl): Throws IOException.
34 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
38 2007-02-09 Jakub Jelinek <jakub@redhat.com>
40 * java/util/VMTimeZone.java: Rewrite to handle both the old
41 'TZif\0' format and the new one.
43 2007-02-10 Andrew Haley <aph@redhat.com>
46 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
47 (getCallingClass): Call GET_CALLING_CLASS.
48 (getCallingClassLoader): Likewise.
50 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
53 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
55 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
57 * Makefile.in: Rebuilt.
58 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
59 the host's ecj1 executable.
61 2007-02-09 Richard Henderson <rth@redhat.com>
63 * sysdep/alpha/locks.h (read_barrier): New.
65 2007-02-09 Keith Seitz <keiths@redhat.com>
67 * gnu/classpath/jdwp/VMVirtualMachine.java
68 (_stepping_threads): New member.
69 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
71 * gnu/classpath/jdwp/VMVirtualMachine.h:
73 * gnu/claspath/jdwp/natVMVirtualMachine.cc
74 (get_request_step_filter): New function.
75 (DISABLE_EVENT): New macro.
76 (initialize): Initialize _stepping_threads.
77 (registerEvent): Implement EVENT_SINGLE_STEP.
78 (unregisterEvent): Likewise.
80 2007-02-08 Keith Seitz <keiths@redhat.com>
82 * sources.am: Regenerate.
83 * Makefile.in: Regenerate.
84 * testsuite/Makefile.in: Regenerate.
85 * gcj/Makefile.in: Regenerate.
86 * include/Makefile.in: Regenerate.
88 * classpath/lib/javax/management/MBeanServerFactory.class:
91 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
93 * classpath/gnu/classpath/jdwp/processor/
94 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
96 (executeSetValues): Ditto.
97 (executeThisObject): Ditto.
98 * classpath/gnu/classpath/jdwp/processor/
99 StackFrameCommandSet.class: Rebuilt.
100 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
102 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
103 * classpath/lib/gnu/classpath/jdwp/exception/
104 InvalidFrameException.java: New file.
105 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
107 (Constructor): New method.
108 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
109 * gnu/classpath/jdwp/VMVirtualMachine.java
110 (getFrame): Changed ByteBuffer to jlong.
111 * gnu/classpath/jdwp/natVMVirtualMachine.cc
112 (getFrame): Implement.
113 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
115 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
117 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
118 to hold "this" pointer for frame.
119 (_Jv_InterpFrame::get_this_ptr): New method.
120 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
122 2007-02-07 Keith Seitz <keiths@redhat.com>
124 * include/java-interp.h (_Jv_Frame::depth):
126 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
128 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
130 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
131 (_Jv_JVMTI_GetMaxLocals): New method.
132 * include/java-interp.h
133 (_Jv_InterpMethod::get_max_locals): New method.
135 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
137 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
139 2007-02-07 Tom Tromey <tromey@redhat.com>
141 * testsuite/libjava.jni/init.c: New file.
142 * testsuite/libjava.jni/init.java: New file.
143 * testsuite/libjava.jni/init.out: New file.
144 * testsuite/libjava.jni/init.jar: New file.
145 * testsuite/libjava.jni/init.h: New file.
146 * testsuite/libjava.jni/init$NativeClass.h: New file.
148 2007-02-07 Jakub Jelinek <jakub@redhat.com>
151 * configure: Regenerate.
153 2007-02-06 Andrew Haley <aph@redhat.com>
155 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
156 * sources.am: Rebuild.
158 2007-02-05 Keith Seitz <keiths@redhat.com>
160 * jvmti.cc (_envListLock): Change type to
161 ReentrantReadWriteLock.
162 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
164 (check_enabled_event): Likewise.
165 (_Jv_GetJVMTIEnv): Likewise.
166 (_Jv_JVMTI_Init): Likewise.
167 (_Jv_JVMTI_PostEvent): Likewise.
169 2007-02-05 Keith Seitz <keiths@redhat.com>
171 * gnu/classpath/jdwp/natVMVirtualMachine.cc
172 (registerEvent): Implement EVENT_BREAKPOINT.
173 (unregisterEvent): Likewise.
174 (get_request_location): New function.
176 2007-02-05 Matthias Klose <doko@debian.org>
178 testsuite/Makefile.am (compile-tests): Fix typo.
179 testsuite/Makefile.in: Regenerate.
181 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
183 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
186 2007-02-02 Jakub Jelinek <jakub@redhat.com>
188 * configure.ac (libjava_cv_anon_version_script): New test.
189 (ANONVERSCRIPT): New AM_CONDITIONAL.
190 * configure: Rebuilt.
191 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
193 * Makefile.in: Rebuilt.
194 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
195 * libgcj.ver: New file.
197 2007-02-01 David Daney <ddaney@avtrex.com>
199 * scripts/makemake.tcl: Replace gnu/xml build with build of all
201 * sources.am: Regenerate.
202 * Makefile.in: Regenerate.
204 2007-02-01 Tom Tromey <tromey@redhat.com>
206 * java/lang/ClassLoader.java (getResources): No longer final.
208 2007-02-01 Tom Tromey <tromey@redhat.com>
210 * java/util/logging/LogManager.java (loggers): Genericized.
212 (findAncestor): Likewise.
213 (getLogger): Likewise.
214 (getLoggerNames): Genericized.
216 (getLevelProperty): Likewise.
217 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
218 * java/lang/reflect/Constructor.java (getParameterTypes):
220 (getExceptionTypes): Likewise.
221 (newInstance): Likewise.
222 * java/lang/reflect/Array.java (newInstance): Genericized.
223 * java/lang/Object.java (getClass): Genericized.
224 * java/nio/charset/spi/CharsetProvider.java (charsets):
226 * java/text/Collator.java: Implement Comparable<Object>.
228 2007-02-01 Tom Tromey <tromey@redhat.com>
230 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
232 (clear): Call complete.
233 (setTimeZone): Call computeTime, computeFields.
234 (compareTo): New method.
235 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
236 (availableCharsets): Genericized.
238 (compareTo): Changed argument type.
239 * java/lang/ClassLoader.java (loadClass): Genericized.
240 (findClass): Likewise.
241 (defineClass): Likewise.
242 (resolveClass): Likewise.
243 (findSystemClass): Likewise.
244 (setSigners): Likewise.
245 (findLoadedClass): Likewise.
246 (getResources): Likewise.
247 (findResources): Likewise.
248 (getSystemResources): Likewise.
249 (checkInitialized): New method.
250 * java/lang/Class.java (getCanonicalName): New method.
252 2007-01-31 Keith Seitz <keiths@redhat.com>
254 * include/jvmti-int.h (JVMTI): Declare member "enabled".
255 * jvmti.cc (JVMTI): Add member "enabled".
256 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
257 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
258 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
259 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
260 instead of run to compile the method.
262 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
265 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
267 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
268 -shared-libgcc to the cxxflaglist for Darwin.
270 2007-01-31 Tom Tromey <tromey@redhat.com>
272 * scripts.am, Makefile.in: Rebuilt.
273 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
275 (emit_ordinary_rule): New proc.
277 2007-01-31 Keith Seitz <keiths@redhat.com>
279 * testsuite/libjava.jvmti/getmethodname.h: New file.
280 * testsuite/libjava.jvmti/getmethodname.jar: New file.
282 2007-01-31 Andrew Haley <aph@redhat.com>
284 * prims.cc (_Jv_Abort): fflush (stderr).
285 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
287 2007-01-31 Tom Tromey <tromey@redhat.com>
289 * configure, Makefile.in: Rebuilt.
290 * configure.ac (JAR): Check for -@ feature.
291 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
293 2007-01-31 Tom Tromey <tromey@redhat.com>
296 * configure, include/config.h.in: Rebuilt.
297 * configure.ac: Check for magic_t in magic.h.
298 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
300 2007-01-30 Tom Tromey <tromey@redhat.com>
302 * Makefile.in: Rebuilt.
303 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
305 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
307 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
308 cast to print it right.
310 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
313 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
316 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
318 * include/java-interp.h: Added _Jv_Frame class and its two
319 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
320 _Jv_FrameType from java-stack.h.
321 * include/java-stack.h: Removed _Jv_FrameType.
322 * java/lang/Thread.java: Added frame member to hold new
323 composite frame stack.
324 * java/lang/Thread.h: Regenerated.
325 * java/lang/Thread.class: Rebuilt.
326 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
327 calling a JNI method.
328 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
329 (_Jv_JVMTI_GetFrameCount): New method.
330 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
332 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
333 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
334 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
335 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
336 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
339 2007-01-29 Tom Tromey <tromey@redhat.com>
341 * interpret.cc (run_debug): Remove comment.
348 (run_normal_debug): Likewise.
349 (run_synch_object_debug): Likewise.
350 (run_class_debug): Likewise.
351 (run_synch_class_debug): Likewise.
356 (NULLARRAYCHECK): Likewise.
357 (ARRAYBOUNDSCHECK): Likewise.
358 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
360 2007-01-29 Tom Tromey <tromey@redhat.com>
362 * configure, Makefile.in: Rebuilt.
363 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
364 * configure.ac (BASH_JAR): Removed conditional.
365 (JAR): Prefer the jar found by AC_CHECK_PROGS.
367 2007-01-29 Tom Tromey <tromey@redhat.com>
369 * Makefile.in: Rebuilt.
370 * Makefile.am (interpret.lo): New target. Add -fwrap to
373 2007-01-29 Keith Seitz <keiths@redhat.com>
375 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
377 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
378 gcj. All jvmti object types now are defined to be their
379 corresponding java classes.
380 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
382 (_Jv_JVMTI_ResumeThread): Likewise.
383 (_Jv_JVMTI_InterruptThread): Likewise.
384 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
385 * gnu/classpath/jdwp/natVMVirtualMachine.cc
386 (jdwpClassPrepareCB): Likewise.
387 (jdwpThreadEndCB): Likewise.
388 (jdwpThreadStartCB): Likewise.
389 (jdwpVMInitCB): Likewise.
391 2007-01-28 Michele Sandri <gpointorama@gmail.com>
393 * gnu/java/nio/channels/natFileChannelWin32.cc
395 (unlock): Implemented.
397 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
400 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
401 libgcj_flags to undefine 'sun' at compile time.
402 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
404 (write_barrier): Likewise.
406 2007-01-27 Keith Seitz <keiths@redhat.com>
408 * gnu/classpath/jdwp/natVMVirtualMachine.cc
409 (getAllClassMethods): Move error handling to ...
410 (throw_jvmti_error): ... here.
411 (jdwpClassPrepareCB): New function.
412 (jdwpThreadEndCB): New function.
413 (jdwpThreadStartCB): New function.
414 (jdwpVMDeathCB): New function.
415 (jdwpVMInitCB): Define and enable callbacks for
416 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
418 2007-01-27 Jakub Jelinek <jakub@redhat.com>
420 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
421 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
422 (MYGCJH): New variable.
423 (compile-tests): New goal.
424 * Makefile.in: Rebuilt.
425 * testsuite/Makefile.in: Rebuilt.
427 2007-01-26 Andrew Haley <aph@redhat.com>
429 * java/lang/natClass.cc (initializeClass): Re-throw
431 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
432 * java/lang/ClassLoader.java: (loadClass): Likewise.
434 2007-01-26 Tom Tromey <tromey@redhat.com>
438 2007-01-25 Tom Tromey <tromey@redhat.com>
441 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
442 input or output encodings. Removed unused local variables.
444 2007-01-25 Keith Seitz <keiths@redhat.com>
446 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
447 * gnu/classpath/jdwp/natVMVirtualMachine.cc
448 (_Jv_GetJDWP_JVMTIEnv): New function.
449 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
450 (getSignature): Implement.
451 (getModifiers): Implement.
453 2007-01-25 Andrew Haley <aph@redhat.com>
455 * configure, Makefile.in, include/config.h.in: Rebuilt.
456 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
457 * configure.ac: Don't check for libmagic.
458 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
459 p_magic_close, p_magic_buffer): New globals.
460 (init): Look up 'magic' functions.
461 (guessContentTypeFromBuffer): Updated.
463 2007-01-25 Keith Seitz <keiths@redhat.com>
465 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
466 (_Jv_JVMTI_Interface): Define GetMethodName.
467 * testsuite/libjava.jvmti/getmethodname.java: New file.
468 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
469 * testsuite/libjava.jvmti/getmethodname.out: New file.
471 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
473 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
474 * libjava/testsuite/libjava.jvmti/interp: New folder.
475 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
477 2007-01-24 Keith Seitz <keiths@redhat.com>
479 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
480 CLASS_PREPARE notification.
482 2007-01-24 Keith Seitz <keiths@redhat.com>
484 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
485 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
486 * interpret-run.cc: Implement insn_breakpoint.
488 2007-01-24 Keith Seitz <keiths@redhat.com>
490 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
491 for VM_INIT and VM_DEATH instead of the JDWP notifications.
493 2007-01-24 Keith Seitz <keiths@redhat.com>
495 * gnu/classpath/jdwp/natVMVirtualMachine.cc
496 (getAllClassMethods): Implement.
498 2007-01-24 Andrew Haley <aph@redhat.com>
500 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
501 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
502 from being sibcalled.
504 2007-01-24 Andrew Haley <aph@redhat.com>
506 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
507 * sources.am: Rebuild.
509 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
511 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
512 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
514 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
517 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
518 * Makefile.in: Regenerated.
520 2007-01-22 Keith Seitz <keiths@redhat.com>
522 * gnu/classpath/jdwp/natVMVirtualMachine.cc
523 (getClassMethod): Implement.
525 2007-01-22 Keith Seitz <keiths@redhat.com>
527 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
528 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
529 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
530 (_Jv_JVMTI_Interface): Define GetClassStatus.
532 2007-01-22 Tom Tromey <tromey@redhat.com>
534 * configure: Rebuilt.
535 * configure.ac (GCJ): Reverted patch of 2006-12-20.
537 2007-01-22 Tom Tromey <tromey@redhat.com>
540 * testsuite/libjava.jni/pr29812.java: New file.
541 * testsuite/libjava.jni/pr29812_injar.java: New file.
542 * testsuite/libjava.jni/pr29812_injar.jar: New file.
543 * testsuite/libjava.jni/pr29812.out: New file.
544 * testsuite/libjava.jni/pr29812_injar.c: New file.
545 * testsuite/libjava.jni/pr29812_injar.h: New file.
546 * testsuite/libjava.jni/pr29812.jar: New file.
547 * testsuite/libjava.jni/pr29812.c: New file.
548 * testsuite/libjava.jni/pr29812.h: New file.
549 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
551 (gcj_jni_invocation_test_one): Use it.
552 (gcj_jni_pr29812): New proc.
553 (gcj_jni_run): Use it.
554 * java/lang/natRuntime.cc (_load): Push a new system frame before
556 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
557 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
558 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
559 <allocated_p>: Now bool.
561 (_Jv_JNI_EnsureLocalCapacity): Updated.
562 (_Jv_JNI_NewLocalRef): Likewise.
563 (_Jv_JNI_NewLocalRef): Likewise.
564 (_Jv_JNI_PopLocalFrame): Likewise.
565 (_Jv_JNI_FindClass): Likewise.
566 (_Jv_GetJNIEnvNewFrame): Likewise.
567 (_Jv_JNI_AttachCurrentThread): Likewise.
568 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
569 (_Jv_GetJNIEnvNewFrame): Use it.
570 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
572 2007-01-22 Tom Tromey <tromey@redhat.com>
574 * libtool-version: Bump current to 9.
576 2007-01-22 Andrew Haley <aph@redhat.com>
578 * sysdep/alpha/locks.h (write_barrier): New.
580 2007-01-21 Matthias Klose <doko@debian.org>
582 * Makefile.am (install-exec-hook): Use transformed name.
583 * Makefile.in: Regenerate.
585 2007-01-19 Keith Seitz <keiths@redhat.com>
587 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
588 in methods and reformat.
590 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
593 2007-01-18 Keith Seitz <keiths@redhat.com>
595 From Macro Trudel <mtrudel@gmx.ch>:
596 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
599 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
601 * jni.cc (_Jv_JNI_FindClass): Initialize class.
602 * testsuite/libjava.jni/findclass2.jar: New file.
603 * testsuite/libjava.jni/findclass2.h: New file.
604 * testsuite/libjava.jni/findclass2.java: New file
605 * testsuite/libjava.jni/findclass2.c: New file.
606 * testsuite/libjava.jni/findclass2.out: New file.
608 2007-01-18 Tom Tromey <tromey@redhat.com>
610 * configure: Rebuilt.
611 * configure.ac: Use multi_basedir instead of libgcj_basedir.
613 2007-01-18 Gary Benson <gbenson@redhat.com>
615 * gnu/java/nio/natVMPipeEcos.cc:
616 Renamed from gnu/java/nio/natPipeImplEcos.cc.
617 * gnu/java/nio/natVMPipePosix.cc:
618 Renamed from gnu/java/nio/natPipeImplPosix.cc.
619 * gnu/java/nio/natVMPipeWin32.cc:
620 Renamed from gnu/java/nio/natPipeImplWin32.cc.
621 * gnu/java/nio/natVMSelectorEcos.cc:
622 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
623 * gnu/java/nio/natVMSelectorPosix.cc:
624 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
625 * gnu/java/nio/natVMSelectorWin32.cc:
626 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
627 * java/io/natVMObjectInputStream.cc:
628 Renamed from java/io/natObjectInputStream.cc.
629 * java/lang/natVMDouble.cc:
630 Renamed from java/lang/natDouble.cc.
631 * java/lang/natVMFloat.cc:
632 Renamed from java/lang/natFloat.cc.
633 * Makefile.am, configure.ac: Reflect the above.
634 * Makefile.in, configure: Rebuilt.
636 2007-01-17 Andrew Haley <aph@redhat.com>
638 * Makefile.in: Rebuilt.
639 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
641 2007-01-17 Keith Seitz <keiths@redhat.com>
643 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
644 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
646 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
648 * configure.ac: Use multi.m4 from aclocal rather than custom
649 code. Use multi_basedir instead libgcj_basedir. Test for
650 /proc/self/exe when not cross-compiling.
651 * aclocal.m4: Regenerate.
652 * configure: Regenerate.
653 * Makefile.in: Regenerate.
655 2007-01-17 Gary Benson <gbenson@redhat.com>
657 * java/nio/natVMDirectByteBufferImpl.cc:
658 Renamed from java/nio/natDirectByteBufferImpl.cc.
659 * Makefile.am: Reflect the above.
660 * Makefile.in: Rebuilt.
662 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
664 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
665 Fixed indentation. Removed unused variable.
667 2007-01-16 Tom Tromey <tromey@redhat.com>
669 * java/lang/natThread.cc (finalize_native): Remove cast.
670 (_Jv_GetCurrentJNIEnv): Likewise.
671 * include/jvm.h (struct natThread) <jni_env>: Declare as
674 2007-01-16 Keith Seitz <keiths@redhat.com>
676 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
677 %#llx instead of %d for new_value.
678 * testsuite/libjava.jvmti/events.out: Update expected output.
679 * testsuite/libjava.jvmti/events.jar: Regenerate.
681 2007-01-16 Keith Seitz <keiths@redhat.com>
683 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
685 (ENABLE_EVENT): New macro.
686 (initialize): Define and enable JVMTI VM_INIT callback.
687 (jdwpVMInitCB): New function.
689 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
691 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
692 * testsuite/libjava.jvmti/getallthreads.java: New test.
693 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
694 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
695 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
696 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
698 2007-01-15 Keith Seitz <keiths@redhat.com>
700 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
701 java.lang.StringBuilder instead of java.lang.StringBuffer.
702 (resumeThread): Likewise.
704 2007-01-15 Gary Benson <gbenson@redhat.com>
706 * java/nio/MappedByteBuffer.java: Removed.
707 * sources.am, Makefile.in: Rebuilt.
709 2007-01-15 Gary Benson <gbenson@redhat.com>
711 * java/net/URLClassLoader.java: Removed.
712 * gnu/java/net/loader/Load_gcjlib.java: New file.
713 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
714 URL handler is present in static executables.
715 * sources.am, Makefile.in: Rebuilt.
717 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
719 * Makefile.am (libgcj_la_LDFLAGS): Add
720 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
721 (libgcj_tools_la_LDFLAGS): Likewise.
722 (libgcj_bc_la_LDFLAGS): Likewise.
723 * Makefile.in: Regenerated.
725 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
726 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
727 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
728 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
729 * configure: Regenerated.
730 * aclocal.m4: Likewise.
731 * gcj/Makefile.in: Likewise.
732 * include/Makefile.in: Likewise.
733 * testsuite/Makefile.in: Likewise.
735 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
737 * sysdep/sh/locks.h (read_barrier): New.
738 (write_barrier): Likewise.
740 2007-01-12 Andrew Haley <aph@redhat.com>
742 * include/i386-signal.h: Rewrite to use rt_sigaction.
744 2007-01-11 Andrew Haley <aph@redhat.com>
746 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
748 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
751 2007-01-10 Tom Tromey <tromey@redhat.com>
753 * gnu/gcj/xlib/*.h: New files.
754 * gnu/awt/xlib/*.h: Likewise.
755 * classpath/lib/gnu/gcj/xlib: New class files.
756 * classpath/lib/gnu/awt/xlib: Likewise.
758 2007-01-10 Tom Tromey <tromey@redhat.com>
760 * HACKING: Various updates.
762 2007-01-10 Tom Tromey <tromey@redhat.com>
764 * java/lang/natDouble.cc (toString): Added parens.
765 * gnu/gcj/io/shs.h (PROTO): Define.
766 * link.cc (resolve_pool_entry): Added missing braces.
768 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
771 * sysdep/ia64/locks.h (read_barrier): New.
772 (write_barrier): New.
774 2007-01-10 Gary Benson <gbenson@redhat.com>
776 * java/net/URL.java: Removed.
777 * sources.am, Makefile.in: Rebuilt.
779 2007-01-10 Matthias Klose <doko@debian.org>
781 * Makefile.am (install-exec-hook): Support $(DESTDIR).
782 * Makefile.in: Regenerated.
784 2007-01-05 Tom Tromey <tromey@redhat.com>
786 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
787 dummy.class in srcdir.
789 2007-01-03 Tom Tromey <tromey@redhat.com>
791 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
794 2007-01-03 Tom Tromey <tromey@redhat.com>
796 * testsuite/*: Added many .jar and .h files.
797 * testsuite/libjava.special/special.exp
798 (gcj_special_try_compiler): New proc.
799 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
800 bytecompile source. Search for .jar files.
801 (gcj_loader_test_one): Don't look for MyLoader.java.
802 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
803 bytecompile sources or build headers.
804 (gcj_jvmti_run): Look for .jar files.
805 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
807 (gcj_jni_test_one): Don't bytecompile sources or build headers.
808 Set classpath when invoking gij.
809 (gcj_jni_invocation_test_one): Likewise.
810 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
811 headers or bytecompile sources.
812 (gcj_cni_run): Use .jar files, not .java files.
813 * testsuite/libjava.lang/lang.exp: Compile .jar files.
815 2007-01-02 Tom Tromey <tromey@redhat.com>
817 * configure: Rebuilt.
818 * configure.ac: Check for gjar.
820 2007-01-02 Tom Tromey <tromey@redhat.com>
822 * testsuite/libjava.jacks/jacks.exp: Removed.
823 * testsuite/libjava.jacks/jacks.xfail: Removed.