1 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
3 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
4 Added LocalVariableTable attribute handling.
5 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
6 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
7 * include/java-interp.h: Added local_var_table and
8 local_var_table_len fields to _Jv_InterpMethod.
9 (_Jv_InterpMethod::get_local_var_table): New method.
10 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New
12 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
13 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
15 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
16 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New
19 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
21 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
23 2007-02-13 Keith Seitz <keiths@redhat.com>
25 * gnu/classpath/jdwp/natVMVirtualMachine.cc
26 (jdwpBreakpointCB): New function.
27 (jdwpVMInitCB): Define and enable the breakpoint
30 2007-02-13 Andrew Haley <aph@redhat.com>
32 * testsuite/libjava.lang/Divide_2.out
33 * testsuite/libjava.lang/Divide_2.java: New test.
35 2007-02-12 Keith Seitz <keiths@redhat.com>
37 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
38 from jthread to Thread *; it is no longer needed.
39 (_Jv_JVMTI_GetFrameCount): Likewise.
40 Fix small formatting typo.
42 2007-02-12 Tom Tromey <tromey@redhat.com>
44 * sources.am, Makefile.in: Rebuilt.
45 * java/lang/Socket.java: Removed override.
46 * java/lang/DatagramSocket.java: Removed override.
47 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
49 (getLocalAddress): New method.
50 * gnu/java/net/PlainDatagramSocketImpl.java
51 (PlainDatagramSocketImpl): Throws IOException.
52 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
56 2007-02-09 Jakub Jelinek <jakub@redhat.com>
58 * java/util/VMTimeZone.java: Rewrite to handle both the old
59 'TZif\0' format and the new one.
61 2007-02-10 Andrew Haley <aph@redhat.com>
64 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
65 (getCallingClass): Call GET_CALLING_CLASS.
66 (getCallingClassLoader): Likewise.
68 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
71 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
73 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
75 * Makefile.in: Rebuilt.
76 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
77 the host's ecj1 executable.
79 2007-02-09 Richard Henderson <rth@redhat.com>
81 * sysdep/alpha/locks.h (read_barrier): New.
83 2007-02-09 Keith Seitz <keiths@redhat.com>
85 * gnu/classpath/jdwp/VMVirtualMachine.java
86 (_stepping_threads): New member.
87 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
89 * gnu/classpath/jdwp/VMVirtualMachine.h:
91 * gnu/claspath/jdwp/natVMVirtualMachine.cc
92 (get_request_step_filter): New function.
93 (DISABLE_EVENT): New macro.
94 (initialize): Initialize _stepping_threads.
95 (registerEvent): Implement EVENT_SINGLE_STEP.
96 (unregisterEvent): Likewise.
98 2007-02-08 Keith Seitz <keiths@redhat.com>
100 * sources.am: Regenerate.
101 * Makefile.in: Regenerate.
102 * testsuite/Makefile.in: Regenerate.
103 * gcj/Makefile.in: Regenerate.
104 * include/Makefile.in: Regenerate.
106 * classpath/lib/javax/management/MBeanServerFactory.class:
109 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
111 * classpath/gnu/classpath/jdwp/processor/
112 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
114 (executeSetValues): Ditto.
115 (executeThisObject): Ditto.
116 * classpath/gnu/classpath/jdwp/processor/
117 StackFrameCommandSet.class: Rebuilt.
118 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
120 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
121 * classpath/lib/gnu/classpath/jdwp/exception/
122 InvalidFrameException.java: New file.
123 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
125 (Constructor): New method.
126 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
127 * gnu/classpath/jdwp/VMVirtualMachine.java
128 (getFrame): Changed ByteBuffer to jlong.
129 * gnu/classpath/jdwp/natVMVirtualMachine.cc
130 (getFrame): Implement.
131 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
133 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
135 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
136 to hold "this" pointer for frame.
137 (_Jv_InterpFrame::get_this_ptr): New method.
138 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
140 2007-02-07 Keith Seitz <keiths@redhat.com>
142 * include/java-interp.h (_Jv_Frame::depth):
144 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
146 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
148 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
149 (_Jv_JVMTI_GetMaxLocals): New method.
150 * include/java-interp.h
151 (_Jv_InterpMethod::get_max_locals): New method.
153 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
155 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
157 2007-02-07 Tom Tromey <tromey@redhat.com>
159 * testsuite/libjava.jni/init.c: New file.
160 * testsuite/libjava.jni/init.java: New file.
161 * testsuite/libjava.jni/init.out: New file.
162 * testsuite/libjava.jni/init.jar: New file.
163 * testsuite/libjava.jni/init.h: New file.
164 * testsuite/libjava.jni/init$NativeClass.h: New file.
166 2007-02-07 Jakub Jelinek <jakub@redhat.com>
169 * configure: Regenerate.
171 2007-02-06 Andrew Haley <aph@redhat.com>
173 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
174 * sources.am: Rebuild.
176 2007-02-05 Keith Seitz <keiths@redhat.com>
178 * jvmti.cc (_envListLock): Change type to
179 ReentrantReadWriteLock.
180 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
182 (check_enabled_event): Likewise.
183 (_Jv_GetJVMTIEnv): Likewise.
184 (_Jv_JVMTI_Init): Likewise.
185 (_Jv_JVMTI_PostEvent): Likewise.
187 2007-02-05 Keith Seitz <keiths@redhat.com>
189 * gnu/classpath/jdwp/natVMVirtualMachine.cc
190 (registerEvent): Implement EVENT_BREAKPOINT.
191 (unregisterEvent): Likewise.
192 (get_request_location): New function.
194 2007-02-05 Matthias Klose <doko@debian.org>
196 testsuite/Makefile.am (compile-tests): Fix typo.
197 testsuite/Makefile.in: Regenerate.
199 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
201 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
204 2007-02-02 Jakub Jelinek <jakub@redhat.com>
206 * configure.ac (libjava_cv_anon_version_script): New test.
207 (ANONVERSCRIPT): New AM_CONDITIONAL.
208 * configure: Rebuilt.
209 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
211 * Makefile.in: Rebuilt.
212 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
213 * libgcj.ver: New file.
215 2007-02-01 David Daney <ddaney@avtrex.com>
217 * scripts/makemake.tcl: Replace gnu/xml build with build of all
219 * sources.am: Regenerate.
220 * Makefile.in: Regenerate.
222 2007-02-01 Tom Tromey <tromey@redhat.com>
224 * java/lang/ClassLoader.java (getResources): No longer final.
226 2007-02-01 Tom Tromey <tromey@redhat.com>
228 * java/util/logging/LogManager.java (loggers): Genericized.
230 (findAncestor): Likewise.
231 (getLogger): Likewise.
232 (getLoggerNames): Genericized.
234 (getLevelProperty): Likewise.
235 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
236 * java/lang/reflect/Constructor.java (getParameterTypes):
238 (getExceptionTypes): Likewise.
239 (newInstance): Likewise.
240 * java/lang/reflect/Array.java (newInstance): Genericized.
241 * java/lang/Object.java (getClass): Genericized.
242 * java/nio/charset/spi/CharsetProvider.java (charsets):
244 * java/text/Collator.java: Implement Comparable<Object>.
246 2007-02-01 Tom Tromey <tromey@redhat.com>
248 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
250 (clear): Call complete.
251 (setTimeZone): Call computeTime, computeFields.
252 (compareTo): New method.
253 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
254 (availableCharsets): Genericized.
256 (compareTo): Changed argument type.
257 * java/lang/ClassLoader.java (loadClass): Genericized.
258 (findClass): Likewise.
259 (defineClass): Likewise.
260 (resolveClass): Likewise.
261 (findSystemClass): Likewise.
262 (setSigners): Likewise.
263 (findLoadedClass): Likewise.
264 (getResources): Likewise.
265 (findResources): Likewise.
266 (getSystemResources): Likewise.
267 (checkInitialized): New method.
268 * java/lang/Class.java (getCanonicalName): New method.
270 2007-01-31 Keith Seitz <keiths@redhat.com>
272 * include/jvmti-int.h (JVMTI): Declare member "enabled".
273 * jvmti.cc (JVMTI): Add member "enabled".
274 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
275 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
276 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
277 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
278 instead of run to compile the method.
280 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
283 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
285 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
286 -shared-libgcc to the cxxflaglist for Darwin.
288 2007-01-31 Tom Tromey <tromey@redhat.com>
290 * scripts.am, Makefile.in: Rebuilt.
291 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
293 (emit_ordinary_rule): New proc.
295 2007-01-31 Keith Seitz <keiths@redhat.com>
297 * testsuite/libjava.jvmti/getmethodname.h: New file.
298 * testsuite/libjava.jvmti/getmethodname.jar: New file.
300 2007-01-31 Andrew Haley <aph@redhat.com>
302 * prims.cc (_Jv_Abort): fflush (stderr).
303 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
305 2007-01-31 Tom Tromey <tromey@redhat.com>
307 * configure, Makefile.in: Rebuilt.
308 * configure.ac (JAR): Check for -@ feature.
309 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
311 2007-01-31 Tom Tromey <tromey@redhat.com>
314 * configure, include/config.h.in: Rebuilt.
315 * configure.ac: Check for magic_t in magic.h.
316 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
318 2007-01-30 Tom Tromey <tromey@redhat.com>
320 * Makefile.in: Rebuilt.
321 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
323 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
325 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
326 cast to print it right.
328 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
331 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
334 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
336 * include/java-interp.h: Added _Jv_Frame class and its two
337 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
338 _Jv_FrameType from java-stack.h.
339 * include/java-stack.h: Removed _Jv_FrameType.
340 * java/lang/Thread.java: Added frame member to hold new
341 composite frame stack.
342 * java/lang/Thread.h: Regenerated.
343 * java/lang/Thread.class: Rebuilt.
344 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
345 calling a JNI method.
346 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
347 (_Jv_JVMTI_GetFrameCount): New method.
348 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
350 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
351 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
352 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
353 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
354 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
357 2007-01-29 Tom Tromey <tromey@redhat.com>
359 * interpret.cc (run_debug): Remove comment.
366 (run_normal_debug): Likewise.
367 (run_synch_object_debug): Likewise.
368 (run_class_debug): Likewise.
369 (run_synch_class_debug): Likewise.
374 (NULLARRAYCHECK): Likewise.
375 (ARRAYBOUNDSCHECK): Likewise.
376 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
378 2007-01-29 Tom Tromey <tromey@redhat.com>
380 * configure, Makefile.in: Rebuilt.
381 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
382 * configure.ac (BASH_JAR): Removed conditional.
383 (JAR): Prefer the jar found by AC_CHECK_PROGS.
385 2007-01-29 Tom Tromey <tromey@redhat.com>
387 * Makefile.in: Rebuilt.
388 * Makefile.am (interpret.lo): New target. Add -fwrap to
391 2007-01-29 Keith Seitz <keiths@redhat.com>
393 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
395 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
396 gcj. All jvmti object types now are defined to be their
397 corresponding java classes.
398 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
400 (_Jv_JVMTI_ResumeThread): Likewise.
401 (_Jv_JVMTI_InterruptThread): Likewise.
402 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
403 * gnu/classpath/jdwp/natVMVirtualMachine.cc
404 (jdwpClassPrepareCB): Likewise.
405 (jdwpThreadEndCB): Likewise.
406 (jdwpThreadStartCB): Likewise.
407 (jdwpVMInitCB): Likewise.
409 2007-01-28 Michele Sandri <gpointorama@gmail.com>
411 * gnu/java/nio/channels/natFileChannelWin32.cc
413 (unlock): Implemented.
415 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
418 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
419 libgcj_flags to undefine 'sun' at compile time.
420 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
422 (write_barrier): Likewise.
424 2007-01-27 Keith Seitz <keiths@redhat.com>
426 * gnu/classpath/jdwp/natVMVirtualMachine.cc
427 (getAllClassMethods): Move error handling to ...
428 (throw_jvmti_error): ... here.
429 (jdwpClassPrepareCB): New function.
430 (jdwpThreadEndCB): New function.
431 (jdwpThreadStartCB): New function.
432 (jdwpVMDeathCB): New function.
433 (jdwpVMInitCB): Define and enable callbacks for
434 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
436 2007-01-27 Jakub Jelinek <jakub@redhat.com>
438 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
439 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
440 (MYGCJH): New variable.
441 (compile-tests): New goal.
442 * Makefile.in: Rebuilt.
443 * testsuite/Makefile.in: Rebuilt.
445 2007-01-26 Andrew Haley <aph@redhat.com>
447 * java/lang/natClass.cc (initializeClass): Re-throw
449 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
450 * java/lang/ClassLoader.java: (loadClass): Likewise.
452 2007-01-26 Tom Tromey <tromey@redhat.com>
456 2007-01-25 Tom Tromey <tromey@redhat.com>
459 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
460 input or output encodings. Removed unused local variables.
462 2007-01-25 Keith Seitz <keiths@redhat.com>
464 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
465 * gnu/classpath/jdwp/natVMVirtualMachine.cc
466 (_Jv_GetJDWP_JVMTIEnv): New function.
467 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
468 (getSignature): Implement.
469 (getModifiers): Implement.
471 2007-01-25 Andrew Haley <aph@redhat.com>
473 * configure, Makefile.in, include/config.h.in: Rebuilt.
474 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
475 * configure.ac: Don't check for libmagic.
476 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
477 p_magic_close, p_magic_buffer): New globals.
478 (init): Look up 'magic' functions.
479 (guessContentTypeFromBuffer): Updated.
481 2007-01-25 Keith Seitz <keiths@redhat.com>
483 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
484 (_Jv_JVMTI_Interface): Define GetMethodName.
485 * testsuite/libjava.jvmti/getmethodname.java: New file.
486 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
487 * testsuite/libjava.jvmti/getmethodname.out: New file.
489 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
491 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
492 * libjava/testsuite/libjava.jvmti/interp: New folder.
493 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
495 2007-01-24 Keith Seitz <keiths@redhat.com>
497 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
498 CLASS_PREPARE notification.
500 2007-01-24 Keith Seitz <keiths@redhat.com>
502 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
503 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
504 * interpret-run.cc: Implement insn_breakpoint.
506 2007-01-24 Keith Seitz <keiths@redhat.com>
508 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
509 for VM_INIT and VM_DEATH instead of the JDWP notifications.
511 2007-01-24 Keith Seitz <keiths@redhat.com>
513 * gnu/classpath/jdwp/natVMVirtualMachine.cc
514 (getAllClassMethods): Implement.
516 2007-01-24 Andrew Haley <aph@redhat.com>
518 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
519 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
520 from being sibcalled.
522 2007-01-24 Andrew Haley <aph@redhat.com>
524 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
525 * sources.am: Rebuild.
527 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
529 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
530 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
532 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
535 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
536 * Makefile.in: Regenerated.
538 2007-01-22 Keith Seitz <keiths@redhat.com>
540 * gnu/classpath/jdwp/natVMVirtualMachine.cc
541 (getClassMethod): Implement.
543 2007-01-22 Keith Seitz <keiths@redhat.com>
545 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
546 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
547 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
548 (_Jv_JVMTI_Interface): Define GetClassStatus.
550 2007-01-22 Tom Tromey <tromey@redhat.com>
552 * configure: Rebuilt.
553 * configure.ac (GCJ): Reverted patch of 2006-12-20.
555 2007-01-22 Tom Tromey <tromey@redhat.com>
558 * testsuite/libjava.jni/pr29812.java: New file.
559 * testsuite/libjava.jni/pr29812_injar.java: New file.
560 * testsuite/libjava.jni/pr29812_injar.jar: New file.
561 * testsuite/libjava.jni/pr29812.out: New file.
562 * testsuite/libjava.jni/pr29812_injar.c: New file.
563 * testsuite/libjava.jni/pr29812_injar.h: New file.
564 * testsuite/libjava.jni/pr29812.jar: New file.
565 * testsuite/libjava.jni/pr29812.c: New file.
566 * testsuite/libjava.jni/pr29812.h: New file.
567 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
569 (gcj_jni_invocation_test_one): Use it.
570 (gcj_jni_pr29812): New proc.
571 (gcj_jni_run): Use it.
572 * java/lang/natRuntime.cc (_load): Push a new system frame before
574 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
575 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
576 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
577 <allocated_p>: Now bool.
579 (_Jv_JNI_EnsureLocalCapacity): Updated.
580 (_Jv_JNI_NewLocalRef): Likewise.
581 (_Jv_JNI_NewLocalRef): Likewise.
582 (_Jv_JNI_PopLocalFrame): Likewise.
583 (_Jv_JNI_FindClass): Likewise.
584 (_Jv_GetJNIEnvNewFrame): Likewise.
585 (_Jv_JNI_AttachCurrentThread): Likewise.
586 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
587 (_Jv_GetJNIEnvNewFrame): Use it.
588 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
590 2007-01-22 Tom Tromey <tromey@redhat.com>
592 * libtool-version: Bump current to 9.
594 2007-01-22 Andrew Haley <aph@redhat.com>
596 * sysdep/alpha/locks.h (write_barrier): New.
598 2007-01-21 Matthias Klose <doko@debian.org>
600 * Makefile.am (install-exec-hook): Use transformed name.
601 * Makefile.in: Regenerate.
603 2007-01-19 Keith Seitz <keiths@redhat.com>
605 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
606 in methods and reformat.
608 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
611 2007-01-18 Keith Seitz <keiths@redhat.com>
613 From Macro Trudel <mtrudel@gmx.ch>:
614 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
617 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
619 * jni.cc (_Jv_JNI_FindClass): Initialize class.
620 * testsuite/libjava.jni/findclass2.jar: New file.
621 * testsuite/libjava.jni/findclass2.h: New file.
622 * testsuite/libjava.jni/findclass2.java: New file
623 * testsuite/libjava.jni/findclass2.c: New file.
624 * testsuite/libjava.jni/findclass2.out: New file.
626 2007-01-18 Tom Tromey <tromey@redhat.com>
628 * configure: Rebuilt.
629 * configure.ac: Use multi_basedir instead of libgcj_basedir.
631 2007-01-18 Gary Benson <gbenson@redhat.com>
633 * gnu/java/nio/natVMPipeEcos.cc:
634 Renamed from gnu/java/nio/natPipeImplEcos.cc.
635 * gnu/java/nio/natVMPipePosix.cc:
636 Renamed from gnu/java/nio/natPipeImplPosix.cc.
637 * gnu/java/nio/natVMPipeWin32.cc:
638 Renamed from gnu/java/nio/natPipeImplWin32.cc.
639 * gnu/java/nio/natVMSelectorEcos.cc:
640 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
641 * gnu/java/nio/natVMSelectorPosix.cc:
642 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
643 * gnu/java/nio/natVMSelectorWin32.cc:
644 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
645 * java/io/natVMObjectInputStream.cc:
646 Renamed from java/io/natObjectInputStream.cc.
647 * java/lang/natVMDouble.cc:
648 Renamed from java/lang/natDouble.cc.
649 * java/lang/natVMFloat.cc:
650 Renamed from java/lang/natFloat.cc.
651 * Makefile.am, configure.ac: Reflect the above.
652 * Makefile.in, configure: Rebuilt.
654 2007-01-17 Andrew Haley <aph@redhat.com>
656 * Makefile.in: Rebuilt.
657 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
659 2007-01-17 Keith Seitz <keiths@redhat.com>
661 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
662 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
664 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
666 * configure.ac: Use multi.m4 from aclocal rather than custom
667 code. Use multi_basedir instead libgcj_basedir. Test for
668 /proc/self/exe when not cross-compiling.
669 * aclocal.m4: Regenerate.
670 * configure: Regenerate.
671 * Makefile.in: Regenerate.
673 2007-01-17 Gary Benson <gbenson@redhat.com>
675 * java/nio/natVMDirectByteBufferImpl.cc:
676 Renamed from java/nio/natDirectByteBufferImpl.cc.
677 * Makefile.am: Reflect the above.
678 * Makefile.in: Rebuilt.
680 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
682 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
683 Fixed indentation. Removed unused variable.
685 2007-01-16 Tom Tromey <tromey@redhat.com>
687 * java/lang/natThread.cc (finalize_native): Remove cast.
688 (_Jv_GetCurrentJNIEnv): Likewise.
689 * include/jvm.h (struct natThread) <jni_env>: Declare as
692 2007-01-16 Keith Seitz <keiths@redhat.com>
694 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
695 %#llx instead of %d for new_value.
696 * testsuite/libjava.jvmti/events.out: Update expected output.
697 * testsuite/libjava.jvmti/events.jar: Regenerate.
699 2007-01-16 Keith Seitz <keiths@redhat.com>
701 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
703 (ENABLE_EVENT): New macro.
704 (initialize): Define and enable JVMTI VM_INIT callback.
705 (jdwpVMInitCB): New function.
707 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
709 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
710 * testsuite/libjava.jvmti/getallthreads.java: New test.
711 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
712 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
713 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
714 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
716 2007-01-15 Keith Seitz <keiths@redhat.com>
718 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
719 java.lang.StringBuilder instead of java.lang.StringBuffer.
720 (resumeThread): Likewise.
722 2007-01-15 Gary Benson <gbenson@redhat.com>
724 * java/nio/MappedByteBuffer.java: Removed.
725 * sources.am, Makefile.in: Rebuilt.
727 2007-01-15 Gary Benson <gbenson@redhat.com>
729 * java/net/URLClassLoader.java: Removed.
730 * gnu/java/net/loader/Load_gcjlib.java: New file.
731 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
732 URL handler is present in static executables.
733 * sources.am, Makefile.in: Rebuilt.
735 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
737 * Makefile.am (libgcj_la_LDFLAGS): Add
738 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
739 (libgcj_tools_la_LDFLAGS): Likewise.
740 (libgcj_bc_la_LDFLAGS): Likewise.
741 * Makefile.in: Regenerated.
743 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
744 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
745 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
746 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
747 * configure: Regenerated.
748 * aclocal.m4: Likewise.
749 * gcj/Makefile.in: Likewise.
750 * include/Makefile.in: Likewise.
751 * testsuite/Makefile.in: Likewise.
753 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
755 * sysdep/sh/locks.h (read_barrier): New.
756 (write_barrier): Likewise.
758 2007-01-12 Andrew Haley <aph@redhat.com>
760 * include/i386-signal.h: Rewrite to use rt_sigaction.
762 2007-01-11 Andrew Haley <aph@redhat.com>
764 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
766 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
769 2007-01-10 Tom Tromey <tromey@redhat.com>
771 * gnu/gcj/xlib/*.h: New files.
772 * gnu/awt/xlib/*.h: Likewise.
773 * classpath/lib/gnu/gcj/xlib: New class files.
774 * classpath/lib/gnu/awt/xlib: Likewise.
776 2007-01-10 Tom Tromey <tromey@redhat.com>
778 * HACKING: Various updates.
780 2007-01-10 Tom Tromey <tromey@redhat.com>
782 * java/lang/natDouble.cc (toString): Added parens.
783 * gnu/gcj/io/shs.h (PROTO): Define.
784 * link.cc (resolve_pool_entry): Added missing braces.
786 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
789 * sysdep/ia64/locks.h (read_barrier): New.
790 (write_barrier): New.
792 2007-01-10 Gary Benson <gbenson@redhat.com>
794 * java/net/URL.java: Removed.
795 * sources.am, Makefile.in: Rebuilt.
797 2007-01-10 Matthias Klose <doko@debian.org>
799 * Makefile.am (install-exec-hook): Support $(DESTDIR).
800 * Makefile.in: Regenerated.
802 2007-01-05 Tom Tromey <tromey@redhat.com>
804 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
805 dummy.class in srcdir.
807 2007-01-03 Tom Tromey <tromey@redhat.com>
809 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
812 2007-01-03 Tom Tromey <tromey@redhat.com>
814 * testsuite/*: Added many .jar and .h files.
815 * testsuite/libjava.special/special.exp
816 (gcj_special_try_compiler): New proc.
817 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
818 bytecompile source. Search for .jar files.
819 (gcj_loader_test_one): Don't look for MyLoader.java.
820 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
821 bytecompile sources or build headers.
822 (gcj_jvmti_run): Look for .jar files.
823 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
825 (gcj_jni_test_one): Don't bytecompile sources or build headers.
826 Set classpath when invoking gij.
827 (gcj_jni_invocation_test_one): Likewise.
828 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
829 headers or bytecompile sources.
830 (gcj_cni_run): Use .jar files, not .java files.
831 * testsuite/libjava.lang/lang.exp: Compile .jar files.
833 2007-01-02 Tom Tromey <tromey@redhat.com>
835 * configure: Rebuilt.
836 * configure.ac: Check for gjar.
838 2007-01-02 Tom Tromey <tromey@redhat.com>
840 * testsuite/libjava.jacks/jacks.exp: Removed.
841 * testsuite/libjava.jacks/jacks.xfail: Removed.