1 2007-02-15 David Daney <ddaney@avtrex.com>
3 * gnu/java/net/PlainSocketImpl.h: Regenerate.
4 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
5 * gnu/classpath/jdwp/VMFrame.h: Same.
6 * java/net/Socket.h: Same.
7 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
9 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
11 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
12 Added LocalVariableTable attribute handling.
13 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
14 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
15 * include/java-interp.h: Added local_var_table and
16 local_var_table_len fields to _Jv_InterpMethod.
17 (_Jv_InterpMethod::get_local_var_table): New method.
18 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
19 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
20 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
22 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
23 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
25 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
27 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
29 2007-02-13 Keith Seitz <keiths@redhat.com>
31 * gnu/classpath/jdwp/natVMVirtualMachine.cc
32 (jdwpBreakpointCB): New function.
33 (jdwpVMInitCB): Define and enable the breakpoint
36 2007-02-13 Andrew Haley <aph@redhat.com>
38 * testsuite/libjava.lang/Divide_2.out
39 * testsuite/libjava.lang/Divide_2.java: New test.
41 2007-02-12 Keith Seitz <keiths@redhat.com>
43 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
44 from jthread to Thread *; it is no longer needed.
45 (_Jv_JVMTI_GetFrameCount): Likewise.
46 Fix small formatting typo.
48 2007-02-12 Tom Tromey <tromey@redhat.com>
50 * sources.am, Makefile.in: Rebuilt.
51 * java/lang/Socket.java: Removed override.
52 * java/lang/DatagramSocket.java: Removed override.
53 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
55 (getLocalAddress): New method.
56 * gnu/java/net/PlainDatagramSocketImpl.java
57 (PlainDatagramSocketImpl): Throws IOException.
58 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
62 2007-02-09 Jakub Jelinek <jakub@redhat.com>
64 * java/util/VMTimeZone.java: Rewrite to handle both the old
65 'TZif\0' format and the new one.
67 2007-02-10 Andrew Haley <aph@redhat.com>
70 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
71 (getCallingClass): Call GET_CALLING_CLASS.
72 (getCallingClassLoader): Likewise.
74 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
77 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
79 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
81 * Makefile.in: Rebuilt.
82 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
83 the host's ecj1 executable.
85 2007-02-09 Richard Henderson <rth@redhat.com>
87 * sysdep/alpha/locks.h (read_barrier): New.
89 2007-02-09 Keith Seitz <keiths@redhat.com>
91 * gnu/classpath/jdwp/VMVirtualMachine.java
92 (_stepping_threads): New member.
93 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
95 * gnu/classpath/jdwp/VMVirtualMachine.h:
97 * gnu/claspath/jdwp/natVMVirtualMachine.cc
98 (get_request_step_filter): New function.
99 (DISABLE_EVENT): New macro.
100 (initialize): Initialize _stepping_threads.
101 (registerEvent): Implement EVENT_SINGLE_STEP.
102 (unregisterEvent): Likewise.
104 2007-02-08 Keith Seitz <keiths@redhat.com>
106 * sources.am: Regenerate.
107 * Makefile.in: Regenerate.
108 * testsuite/Makefile.in: Regenerate.
109 * gcj/Makefile.in: Regenerate.
110 * include/Makefile.in: Regenerate.
112 * classpath/lib/javax/management/MBeanServerFactory.class:
115 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
117 * classpath/gnu/classpath/jdwp/processor/
118 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
120 (executeSetValues): Ditto.
121 (executeThisObject): Ditto.
122 * classpath/gnu/classpath/jdwp/processor/
123 StackFrameCommandSet.class: Rebuilt.
124 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
126 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
127 * classpath/lib/gnu/classpath/jdwp/exception/
128 InvalidFrameException.java: New file.
129 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
131 (Constructor): New method.
132 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
133 * gnu/classpath/jdwp/VMVirtualMachine.java
134 (getFrame): Changed ByteBuffer to jlong.
135 * gnu/classpath/jdwp/natVMVirtualMachine.cc
136 (getFrame): Implement.
137 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
139 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
141 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
142 to hold "this" pointer for frame.
143 (_Jv_InterpFrame::get_this_ptr): New method.
144 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
146 2007-02-07 Keith Seitz <keiths@redhat.com>
148 * include/java-interp.h (_Jv_Frame::depth):
150 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
152 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
154 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
155 (_Jv_JVMTI_GetMaxLocals): New method.
156 * include/java-interp.h
157 (_Jv_InterpMethod::get_max_locals): New method.
159 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
161 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
163 2007-02-07 Tom Tromey <tromey@redhat.com>
165 * testsuite/libjava.jni/init.c: New file.
166 * testsuite/libjava.jni/init.java: New file.
167 * testsuite/libjava.jni/init.out: New file.
168 * testsuite/libjava.jni/init.jar: New file.
169 * testsuite/libjava.jni/init.h: New file.
170 * testsuite/libjava.jni/init$NativeClass.h: New file.
172 2007-02-07 Jakub Jelinek <jakub@redhat.com>
175 * configure: Regenerate.
177 2007-02-06 Andrew Haley <aph@redhat.com>
179 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
180 * sources.am: Rebuild.
182 2007-02-05 Keith Seitz <keiths@redhat.com>
184 * jvmti.cc (_envListLock): Change type to
185 ReentrantReadWriteLock.
186 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
188 (check_enabled_event): Likewise.
189 (_Jv_GetJVMTIEnv): Likewise.
190 (_Jv_JVMTI_Init): Likewise.
191 (_Jv_JVMTI_PostEvent): Likewise.
193 2007-02-05 Keith Seitz <keiths@redhat.com>
195 * gnu/classpath/jdwp/natVMVirtualMachine.cc
196 (registerEvent): Implement EVENT_BREAKPOINT.
197 (unregisterEvent): Likewise.
198 (get_request_location): New function.
200 2007-02-05 Matthias Klose <doko@debian.org>
202 testsuite/Makefile.am (compile-tests): Fix typo.
203 testsuite/Makefile.in: Regenerate.
205 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
207 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
210 2007-02-02 Jakub Jelinek <jakub@redhat.com>
212 * configure.ac (libjava_cv_anon_version_script): New test.
213 (ANONVERSCRIPT): New AM_CONDITIONAL.
214 * configure: Rebuilt.
215 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
217 * Makefile.in: Rebuilt.
218 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
219 * libgcj.ver: New file.
221 2007-02-01 David Daney <ddaney@avtrex.com>
223 * scripts/makemake.tcl: Replace gnu/xml build with build of all
225 * sources.am: Regenerate.
226 * Makefile.in: Regenerate.
228 2007-02-01 Tom Tromey <tromey@redhat.com>
230 * java/lang/ClassLoader.java (getResources): No longer final.
232 2007-02-01 Tom Tromey <tromey@redhat.com>
234 * java/util/logging/LogManager.java (loggers): Genericized.
236 (findAncestor): Likewise.
237 (getLogger): Likewise.
238 (getLoggerNames): Genericized.
240 (getLevelProperty): Likewise.
241 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
242 * java/lang/reflect/Constructor.java (getParameterTypes):
244 (getExceptionTypes): Likewise.
245 (newInstance): Likewise.
246 * java/lang/reflect/Array.java (newInstance): Genericized.
247 * java/lang/Object.java (getClass): Genericized.
248 * java/nio/charset/spi/CharsetProvider.java (charsets):
250 * java/text/Collator.java: Implement Comparable<Object>.
252 2007-02-01 Tom Tromey <tromey@redhat.com>
254 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
256 (clear): Call complete.
257 (setTimeZone): Call computeTime, computeFields.
258 (compareTo): New method.
259 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
260 (availableCharsets): Genericized.
262 (compareTo): Changed argument type.
263 * java/lang/ClassLoader.java (loadClass): Genericized.
264 (findClass): Likewise.
265 (defineClass): Likewise.
266 (resolveClass): Likewise.
267 (findSystemClass): Likewise.
268 (setSigners): Likewise.
269 (findLoadedClass): Likewise.
270 (getResources): Likewise.
271 (findResources): Likewise.
272 (getSystemResources): Likewise.
273 (checkInitialized): New method.
274 * java/lang/Class.java (getCanonicalName): New method.
276 2007-01-31 Keith Seitz <keiths@redhat.com>
278 * include/jvmti-int.h (JVMTI): Declare member "enabled".
279 * jvmti.cc (JVMTI): Add member "enabled".
280 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
281 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
282 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
283 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
284 instead of run to compile the method.
286 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
289 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
291 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
292 -shared-libgcc to the cxxflaglist for Darwin.
294 2007-01-31 Tom Tromey <tromey@redhat.com>
296 * scripts.am, Makefile.in: Rebuilt.
297 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
299 (emit_ordinary_rule): New proc.
301 2007-01-31 Keith Seitz <keiths@redhat.com>
303 * testsuite/libjava.jvmti/getmethodname.h: New file.
304 * testsuite/libjava.jvmti/getmethodname.jar: New file.
306 2007-01-31 Andrew Haley <aph@redhat.com>
308 * prims.cc (_Jv_Abort): fflush (stderr).
309 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
311 2007-01-31 Tom Tromey <tromey@redhat.com>
313 * configure, Makefile.in: Rebuilt.
314 * configure.ac (JAR): Check for -@ feature.
315 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
317 2007-01-31 Tom Tromey <tromey@redhat.com>
320 * configure, include/config.h.in: Rebuilt.
321 * configure.ac: Check for magic_t in magic.h.
322 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
324 2007-01-30 Tom Tromey <tromey@redhat.com>
326 * Makefile.in: Rebuilt.
327 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
329 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
331 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
332 cast to print it right.
334 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
337 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
340 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
342 * include/java-interp.h: Added _Jv_Frame class and its two
343 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
344 _Jv_FrameType from java-stack.h.
345 * include/java-stack.h: Removed _Jv_FrameType.
346 * java/lang/Thread.java: Added frame member to hold new
347 composite frame stack.
348 * java/lang/Thread.h: Regenerated.
349 * java/lang/Thread.class: Rebuilt.
350 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
351 calling a JNI method.
352 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
353 (_Jv_JVMTI_GetFrameCount): New method.
354 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
356 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
357 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
358 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
359 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
360 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
363 2007-01-29 Tom Tromey <tromey@redhat.com>
365 * interpret.cc (run_debug): Remove comment.
372 (run_normal_debug): Likewise.
373 (run_synch_object_debug): Likewise.
374 (run_class_debug): Likewise.
375 (run_synch_class_debug): Likewise.
380 (NULLARRAYCHECK): Likewise.
381 (ARRAYBOUNDSCHECK): Likewise.
382 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
384 2007-01-29 Tom Tromey <tromey@redhat.com>
386 * configure, Makefile.in: Rebuilt.
387 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
388 * configure.ac (BASH_JAR): Removed conditional.
389 (JAR): Prefer the jar found by AC_CHECK_PROGS.
391 2007-01-29 Tom Tromey <tromey@redhat.com>
393 * Makefile.in: Rebuilt.
394 * Makefile.am (interpret.lo): New target. Add -fwrap to
397 2007-01-29 Keith Seitz <keiths@redhat.com>
399 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
401 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
402 gcj. All jvmti object types now are defined to be their
403 corresponding java classes.
404 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
406 (_Jv_JVMTI_ResumeThread): Likewise.
407 (_Jv_JVMTI_InterruptThread): Likewise.
408 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
409 * gnu/classpath/jdwp/natVMVirtualMachine.cc
410 (jdwpClassPrepareCB): Likewise.
411 (jdwpThreadEndCB): Likewise.
412 (jdwpThreadStartCB): Likewise.
413 (jdwpVMInitCB): Likewise.
415 2007-01-28 Michele Sandri <gpointorama@gmail.com>
417 * gnu/java/nio/channels/natFileChannelWin32.cc
419 (unlock): Implemented.
421 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
424 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
425 libgcj_flags to undefine 'sun' at compile time.
426 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
428 (write_barrier): Likewise.
430 2007-01-27 Keith Seitz <keiths@redhat.com>
432 * gnu/classpath/jdwp/natVMVirtualMachine.cc
433 (getAllClassMethods): Move error handling to ...
434 (throw_jvmti_error): ... here.
435 (jdwpClassPrepareCB): New function.
436 (jdwpThreadEndCB): New function.
437 (jdwpThreadStartCB): New function.
438 (jdwpVMDeathCB): New function.
439 (jdwpVMInitCB): Define and enable callbacks for
440 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
442 2007-01-27 Jakub Jelinek <jakub@redhat.com>
444 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
445 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
446 (MYGCJH): New variable.
447 (compile-tests): New goal.
448 * Makefile.in: Rebuilt.
449 * testsuite/Makefile.in: Rebuilt.
451 2007-01-26 Andrew Haley <aph@redhat.com>
453 * java/lang/natClass.cc (initializeClass): Re-throw
455 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
456 * java/lang/ClassLoader.java: (loadClass): Likewise.
458 2007-01-26 Tom Tromey <tromey@redhat.com>
462 2007-01-25 Tom Tromey <tromey@redhat.com>
465 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
466 input or output encodings. Removed unused local variables.
468 2007-01-25 Keith Seitz <keiths@redhat.com>
470 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
471 * gnu/classpath/jdwp/natVMVirtualMachine.cc
472 (_Jv_GetJDWP_JVMTIEnv): New function.
473 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
474 (getSignature): Implement.
475 (getModifiers): Implement.
477 2007-01-25 Andrew Haley <aph@redhat.com>
479 * configure, Makefile.in, include/config.h.in: Rebuilt.
480 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
481 * configure.ac: Don't check for libmagic.
482 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
483 p_magic_close, p_magic_buffer): New globals.
484 (init): Look up 'magic' functions.
485 (guessContentTypeFromBuffer): Updated.
487 2007-01-25 Keith Seitz <keiths@redhat.com>
489 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
490 (_Jv_JVMTI_Interface): Define GetMethodName.
491 * testsuite/libjava.jvmti/getmethodname.java: New file.
492 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
493 * testsuite/libjava.jvmti/getmethodname.out: New file.
495 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
497 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
498 * libjava/testsuite/libjava.jvmti/interp: New folder.
499 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
501 2007-01-24 Keith Seitz <keiths@redhat.com>
503 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
504 CLASS_PREPARE notification.
506 2007-01-24 Keith Seitz <keiths@redhat.com>
508 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
509 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
510 * interpret-run.cc: Implement insn_breakpoint.
512 2007-01-24 Keith Seitz <keiths@redhat.com>
514 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
515 for VM_INIT and VM_DEATH instead of the JDWP notifications.
517 2007-01-24 Keith Seitz <keiths@redhat.com>
519 * gnu/classpath/jdwp/natVMVirtualMachine.cc
520 (getAllClassMethods): Implement.
522 2007-01-24 Andrew Haley <aph@redhat.com>
524 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
525 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
526 from being sibcalled.
528 2007-01-24 Andrew Haley <aph@redhat.com>
530 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
531 * sources.am: Rebuild.
533 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
535 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
536 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
538 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
541 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
542 * Makefile.in: Regenerated.
544 2007-01-22 Keith Seitz <keiths@redhat.com>
546 * gnu/classpath/jdwp/natVMVirtualMachine.cc
547 (getClassMethod): Implement.
549 2007-01-22 Keith Seitz <keiths@redhat.com>
551 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
552 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
553 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
554 (_Jv_JVMTI_Interface): Define GetClassStatus.
556 2007-01-22 Tom Tromey <tromey@redhat.com>
558 * configure: Rebuilt.
559 * configure.ac (GCJ): Reverted patch of 2006-12-20.
561 2007-01-22 Tom Tromey <tromey@redhat.com>
564 * testsuite/libjava.jni/pr29812.java: New file.
565 * testsuite/libjava.jni/pr29812_injar.java: New file.
566 * testsuite/libjava.jni/pr29812_injar.jar: New file.
567 * testsuite/libjava.jni/pr29812.out: New file.
568 * testsuite/libjava.jni/pr29812_injar.c: New file.
569 * testsuite/libjava.jni/pr29812_injar.h: New file.
570 * testsuite/libjava.jni/pr29812.jar: New file.
571 * testsuite/libjava.jni/pr29812.c: New file.
572 * testsuite/libjava.jni/pr29812.h: New file.
573 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
575 (gcj_jni_invocation_test_one): Use it.
576 (gcj_jni_pr29812): New proc.
577 (gcj_jni_run): Use it.
578 * java/lang/natRuntime.cc (_load): Push a new system frame before
580 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
581 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
582 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
583 <allocated_p>: Now bool.
585 (_Jv_JNI_EnsureLocalCapacity): Updated.
586 (_Jv_JNI_NewLocalRef): Likewise.
587 (_Jv_JNI_NewLocalRef): Likewise.
588 (_Jv_JNI_PopLocalFrame): Likewise.
589 (_Jv_JNI_FindClass): Likewise.
590 (_Jv_GetJNIEnvNewFrame): Likewise.
591 (_Jv_JNI_AttachCurrentThread): Likewise.
592 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
593 (_Jv_GetJNIEnvNewFrame): Use it.
594 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
596 2007-01-22 Tom Tromey <tromey@redhat.com>
598 * libtool-version: Bump current to 9.
600 2007-01-22 Andrew Haley <aph@redhat.com>
602 * sysdep/alpha/locks.h (write_barrier): New.
604 2007-01-21 Matthias Klose <doko@debian.org>
606 * Makefile.am (install-exec-hook): Use transformed name.
607 * Makefile.in: Regenerate.
609 2007-01-19 Keith Seitz <keiths@redhat.com>
611 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
612 in methods and reformat.
614 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
617 2007-01-18 Keith Seitz <keiths@redhat.com>
619 From Macro Trudel <mtrudel@gmx.ch>:
620 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
623 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
625 * jni.cc (_Jv_JNI_FindClass): Initialize class.
626 * testsuite/libjava.jni/findclass2.jar: New file.
627 * testsuite/libjava.jni/findclass2.h: New file.
628 * testsuite/libjava.jni/findclass2.java: New file
629 * testsuite/libjava.jni/findclass2.c: New file.
630 * testsuite/libjava.jni/findclass2.out: New file.
632 2007-01-18 Tom Tromey <tromey@redhat.com>
634 * configure: Rebuilt.
635 * configure.ac: Use multi_basedir instead of libgcj_basedir.
637 2007-01-18 Gary Benson <gbenson@redhat.com>
639 * gnu/java/nio/natVMPipeEcos.cc:
640 Renamed from gnu/java/nio/natPipeImplEcos.cc.
641 * gnu/java/nio/natVMPipePosix.cc:
642 Renamed from gnu/java/nio/natPipeImplPosix.cc.
643 * gnu/java/nio/natVMPipeWin32.cc:
644 Renamed from gnu/java/nio/natPipeImplWin32.cc.
645 * gnu/java/nio/natVMSelectorEcos.cc:
646 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
647 * gnu/java/nio/natVMSelectorPosix.cc:
648 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
649 * gnu/java/nio/natVMSelectorWin32.cc:
650 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
651 * java/io/natVMObjectInputStream.cc:
652 Renamed from java/io/natObjectInputStream.cc.
653 * java/lang/natVMDouble.cc:
654 Renamed from java/lang/natDouble.cc.
655 * java/lang/natVMFloat.cc:
656 Renamed from java/lang/natFloat.cc.
657 * Makefile.am, configure.ac: Reflect the above.
658 * Makefile.in, configure: Rebuilt.
660 2007-01-17 Andrew Haley <aph@redhat.com>
662 * Makefile.in: Rebuilt.
663 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
665 2007-01-17 Keith Seitz <keiths@redhat.com>
667 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
668 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
670 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
672 * configure.ac: Use multi.m4 from aclocal rather than custom
673 code. Use multi_basedir instead libgcj_basedir. Test for
674 /proc/self/exe when not cross-compiling.
675 * aclocal.m4: Regenerate.
676 * configure: Regenerate.
677 * Makefile.in: Regenerate.
679 2007-01-17 Gary Benson <gbenson@redhat.com>
681 * java/nio/natVMDirectByteBufferImpl.cc:
682 Renamed from java/nio/natDirectByteBufferImpl.cc.
683 * Makefile.am: Reflect the above.
684 * Makefile.in: Rebuilt.
686 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
688 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
689 Fixed indentation. Removed unused variable.
691 2007-01-16 Tom Tromey <tromey@redhat.com>
693 * java/lang/natThread.cc (finalize_native): Remove cast.
694 (_Jv_GetCurrentJNIEnv): Likewise.
695 * include/jvm.h (struct natThread) <jni_env>: Declare as
698 2007-01-16 Keith Seitz <keiths@redhat.com>
700 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
701 %#llx instead of %d for new_value.
702 * testsuite/libjava.jvmti/events.out: Update expected output.
703 * testsuite/libjava.jvmti/events.jar: Regenerate.
705 2007-01-16 Keith Seitz <keiths@redhat.com>
707 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
709 (ENABLE_EVENT): New macro.
710 (initialize): Define and enable JVMTI VM_INIT callback.
711 (jdwpVMInitCB): New function.
713 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
715 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
716 * testsuite/libjava.jvmti/getallthreads.java: New test.
717 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
718 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
719 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
720 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
722 2007-01-15 Keith Seitz <keiths@redhat.com>
724 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
725 java.lang.StringBuilder instead of java.lang.StringBuffer.
726 (resumeThread): Likewise.
728 2007-01-15 Gary Benson <gbenson@redhat.com>
730 * java/nio/MappedByteBuffer.java: Removed.
731 * sources.am, Makefile.in: Rebuilt.
733 2007-01-15 Gary Benson <gbenson@redhat.com>
735 * java/net/URLClassLoader.java: Removed.
736 * gnu/java/net/loader/Load_gcjlib.java: New file.
737 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
738 URL handler is present in static executables.
739 * sources.am, Makefile.in: Rebuilt.
741 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
743 * Makefile.am (libgcj_la_LDFLAGS): Add
744 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
745 (libgcj_tools_la_LDFLAGS): Likewise.
746 (libgcj_bc_la_LDFLAGS): Likewise.
747 * Makefile.in: Regenerated.
749 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
750 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
751 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
752 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
753 * configure: Regenerated.
754 * aclocal.m4: Likewise.
755 * gcj/Makefile.in: Likewise.
756 * include/Makefile.in: Likewise.
757 * testsuite/Makefile.in: Likewise.
759 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
761 * sysdep/sh/locks.h (read_barrier): New.
762 (write_barrier): Likewise.
764 2007-01-12 Andrew Haley <aph@redhat.com>
766 * include/i386-signal.h: Rewrite to use rt_sigaction.
768 2007-01-11 Andrew Haley <aph@redhat.com>
770 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
772 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
775 2007-01-10 Tom Tromey <tromey@redhat.com>
777 * gnu/gcj/xlib/*.h: New files.
778 * gnu/awt/xlib/*.h: Likewise.
779 * classpath/lib/gnu/gcj/xlib: New class files.
780 * classpath/lib/gnu/awt/xlib: Likewise.
782 2007-01-10 Tom Tromey <tromey@redhat.com>
784 * HACKING: Various updates.
786 2007-01-10 Tom Tromey <tromey@redhat.com>
788 * java/lang/natDouble.cc (toString): Added parens.
789 * gnu/gcj/io/shs.h (PROTO): Define.
790 * link.cc (resolve_pool_entry): Added missing braces.
792 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
795 * sysdep/ia64/locks.h (read_barrier): New.
796 (write_barrier): New.
798 2007-01-10 Gary Benson <gbenson@redhat.com>
800 * java/net/URL.java: Removed.
801 * sources.am, Makefile.in: Rebuilt.
803 2007-01-10 Matthias Klose <doko@debian.org>
805 * Makefile.am (install-exec-hook): Support $(DESTDIR).
806 * Makefile.in: Regenerated.
808 2007-01-05 Tom Tromey <tromey@redhat.com>
810 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
811 dummy.class in srcdir.
813 2007-01-03 Tom Tromey <tromey@redhat.com>
815 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
818 2007-01-03 Tom Tromey <tromey@redhat.com>
820 * testsuite/*: Added many .jar and .h files.
821 * testsuite/libjava.special/special.exp
822 (gcj_special_try_compiler): New proc.
823 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
824 bytecompile source. Search for .jar files.
825 (gcj_loader_test_one): Don't look for MyLoader.java.
826 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
827 bytecompile sources or build headers.
828 (gcj_jvmti_run): Look for .jar files.
829 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
831 (gcj_jni_test_one): Don't bytecompile sources or build headers.
832 Set classpath when invoking gij.
833 (gcj_jni_invocation_test_one): Likewise.
834 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
835 headers or bytecompile sources.
836 (gcj_cni_run): Use .jar files, not .java files.
837 * testsuite/libjava.lang/lang.exp: Compile .jar files.
839 2007-01-02 Tom Tromey <tromey@redhat.com>
841 * configure: Rebuilt.
842 * configure.ac: Check for gjar.
844 2007-01-02 Tom Tromey <tromey@redhat.com>
846 * testsuite/libjava.jacks/jacks.exp: Removed.
847 * testsuite/libjava.jacks/jacks.xfail: Removed.