1 2007-01-29 Tom Tromey <tromey@redhat.com>
3 * interpret.cc (run_debug): Remove comment.
10 (run_normal_debug): Likewise.
11 (run_synch_object_debug): Likewise.
12 (run_class_debug): Likewise.
13 (run_synch_class_debug): Likewise.
18 (NULLARRAYCHECK): Likewise.
19 (ARRAYBOUNDSCHECK): Likewise.
20 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
22 2007-01-29 Tom Tromey <tromey@redhat.com>
24 * configure, Makefile.in: Rebuilt.
25 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
26 * configure.ac (BASH_JAR): Removed conditional.
27 (JAR): Prefer the jar found by AC_CHECK_PROGS.
29 2007-01-29 Tom Tromey <tromey@redhat.com>
31 * Makefile.in: Rebuilt.
32 * Makefile.am (interpret.lo): New target. Add -fwrap to
35 2007-01-29 Keith Seitz <keiths@redhat.com>
37 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
39 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
40 gcj. All jvmti object types now are defined to be their
41 corresponding java classes.
42 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
44 (_Jv_JVMTI_ResumeThread): Likewise.
45 (_Jv_JVMTI_InterruptThread): Likewise.
46 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
47 * gnu/classpath/jdwp/natVMVirtualMachine.cc
48 (jdwpClassPrepareCB): Likewise.
49 (jdwpThreadEndCB): Likewise.
50 (jdwpThreadStartCB): Likewise.
51 (jdwpVMInitCB): Likewise.
53 2007-01-28 Michele Sandri <gpointorama@gmail.com>
55 * gnu/java/nio/channels/natFileChannelWin32.cc
57 (unlock): Implemented.
59 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
62 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
63 libgcj_flags to undefine 'sun' at compile time.
64 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
66 (write_barrier): Likewise.
68 2007-01-27 Keith Seitz <keiths@redhat.com>
70 * gnu/classpath/jdwp/natVMVirtualMachine.cc
71 (getAllClassMethods): Move error handling to ...
72 (throw_jvmti_error): ... here.
73 (jdwpClassPrepareCB): New function.
74 (jdwpThreadEndCB): New function.
75 (jdwpThreadStartCB): New function.
76 (jdwpVMDeathCB): New function.
77 (jdwpVMInitCB): Define and enable callbacks for
78 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
80 2007-01-27 Jakub Jelinek <jakub@redhat.com>
82 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
83 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
84 (MYGCJH): New variable.
85 (compile-tests): New goal.
86 * Makefile.in: Rebuilt.
87 * testsuite/Makefile.in: Rebuilt.
89 2007-01-26 Tom Tromey <tromey@redhat.com>
93 2007-01-25 Tom Tromey <tromey@redhat.com>
96 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
97 input or output encodings. Removed unused local variables.
99 2007-01-25 Keith Seitz <keiths@redhat.com>
101 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
102 * gnu/classpath/jdwp/natVMVirtualMachine.cc
103 (_Jv_GetJDWP_JVMTIEnv): New function.
104 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
105 (getSignature): Implement.
106 (getModifiers): Implement.
108 2007-01-25 Andrew Haley <aph@redhat.com>
110 * configure, Makefile.in, include/config.h.in: Rebuilt.
111 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
112 * configure.ac: Don't check for libmagic.
113 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
114 p_magic_close, p_magic_buffer): New globals.
115 (init): Look up 'magic' functions.
116 (guessContentTypeFromBuffer): Updated.
118 2007-01-25 Keith Seitz <keiths@redhat.com>
120 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
121 (_Jv_JVMTI_Interface): Define GetMethodName.
122 * testsuite/libjava.jvmti/getmethodname.java: New file.
123 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
124 * testsuite/libjava.jvmti/getmethodname.out: New file.
126 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
128 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
129 * libjava/testsuite/libjava.jvmti/interp: New folder.
130 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
132 2007-01-24 Keith Seitz <keiths@redhat.com>
134 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
135 CLASS_PREPARE notification.
137 2007-01-24 Keith Seitz <keiths@redhat.com>
139 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
140 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
141 * interpret-run.cc: Implement insn_breakpoint.
143 2007-01-24 Keith Seitz <keiths@redhat.com>
145 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
146 for VM_INIT and VM_DEATH instead of the JDWP notifications.
148 2007-01-24 Keith Seitz <keiths@redhat.com>
150 * gnu/classpath/jdwp/natVMVirtualMachine.cc
151 (getAllClassMethods): Implement.
153 2007-01-24 Andrew Haley <aph@redhat.com>
155 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
156 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
157 from being sibcalled.
159 2007-01-24 Andrew Haley <aph@redhat.com>
161 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
162 * sources.am: Rebuild.
164 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
166 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
167 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
169 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
172 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
173 * Makefile.in: Regenerated.
175 2007-01-22 Keith Seitz <keiths@redhat.com>
177 * gnu/classpath/jdwp/natVMVirtualMachine.cc
178 (getClassMethod): Implement.
180 2007-01-22 Keith Seitz <keiths@redhat.com>
182 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
183 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
184 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
185 (_Jv_JVMTI_Interface): Define GetClassStatus.
187 2007-01-22 Tom Tromey <tromey@redhat.com>
189 * configure: Rebuilt.
190 * configure.ac (GCJ): Reverted patch of 2006-12-20.
192 2007-01-22 Tom Tromey <tromey@redhat.com>
195 * testsuite/libjava.jni/pr29812.java: New file.
196 * testsuite/libjava.jni/pr29812_injar.java: New file.
197 * testsuite/libjava.jni/pr29812_injar.jar: New file.
198 * testsuite/libjava.jni/pr29812.out: New file.
199 * testsuite/libjava.jni/pr29812_injar.c: New file.
200 * testsuite/libjava.jni/pr29812_injar.h: New file.
201 * testsuite/libjava.jni/pr29812.jar: New file.
202 * testsuite/libjava.jni/pr29812.c: New file.
203 * testsuite/libjava.jni/pr29812.h: New file.
204 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
206 (gcj_jni_invocation_test_one): Use it.
207 (gcj_jni_pr29812): New proc.
208 (gcj_jni_run): Use it.
209 * java/lang/natRuntime.cc (_load): Push a new system frame before
211 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
212 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
213 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
214 <allocated_p>: Now bool.
216 (_Jv_JNI_EnsureLocalCapacity): Updated.
217 (_Jv_JNI_NewLocalRef): Likewise.
218 (_Jv_JNI_NewLocalRef): Likewise.
219 (_Jv_JNI_PopLocalFrame): Likewise.
220 (_Jv_JNI_FindClass): Likewise.
221 (_Jv_GetJNIEnvNewFrame): Likewise.
222 (_Jv_JNI_AttachCurrentThread): Likewise.
223 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
224 (_Jv_GetJNIEnvNewFrame): Use it.
225 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
227 2007-01-22 Tom Tromey <tromey@redhat.com>
229 * libtool-version: Bump current to 9.
231 2007-01-22 Andrew Haley <aph@redhat.com>
233 * sysdep/alpha/locks.h (write_barrier): New.
235 2007-01-21 Matthias Klose <doko@debian.org>
237 * Makefile.am (install-exec-hook): Use transformed name.
238 * Makefile.in: Regenerate.
240 2007-01-19 Keith Seitz <keiths@redhat.com>
242 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
243 in methods and reformat.
245 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
248 2007-01-18 Keith Seitz <keiths@redhat.com>
250 From Macro Trudel <mtrudel@gmx.ch>:
251 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
254 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
256 * jni.cc (_Jv_JNI_FindClass): Initialize class.
257 * testsuite/libjava.jni/findclass2.jar: New file.
258 * testsuite/libjava.jni/findclass2.h: New file.
259 * testsuite/libjava.jni/findclass2.java: New file
260 * testsuite/libjava.jni/findclass2.c: New file.
261 * testsuite/libjava.jni/findclass2.out: New file.
263 2007-01-18 Tom Tromey <tromey@redhat.com>
265 * configure: Rebuilt.
266 * configure.ac: Use multi_basedir instead of libgcj_basedir.
268 2007-01-18 Gary Benson <gbenson@redhat.com>
270 * gnu/java/nio/natVMPipeEcos.cc:
271 Renamed from gnu/java/nio/natPipeImplEcos.cc.
272 * gnu/java/nio/natVMPipePosix.cc:
273 Renamed from gnu/java/nio/natPipeImplPosix.cc.
274 * gnu/java/nio/natVMPipeWin32.cc:
275 Renamed from gnu/java/nio/natPipeImplWin32.cc.
276 * gnu/java/nio/natVMSelectorEcos.cc:
277 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
278 * gnu/java/nio/natVMSelectorPosix.cc:
279 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
280 * gnu/java/nio/natVMSelectorWin32.cc:
281 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
282 * java/io/natVMObjectInputStream.cc:
283 Renamed from java/io/natObjectInputStream.cc.
284 * java/lang/natVMDouble.cc:
285 Renamed from java/lang/natDouble.cc.
286 * java/lang/natVMFloat.cc:
287 Renamed from java/lang/natFloat.cc.
288 * Makefile.am, configure.ac: Reflect the above.
289 * Makefile.in, configure: Rebuilt.
291 2007-01-17 Andrew Haley <aph@redhat.com>
293 * Makefile.in: Rebuilt.
294 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
296 2007-01-17 Keith Seitz <keiths@redhat.com>
298 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
299 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
301 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
303 * configure.ac: Use multi.m4 from aclocal rather than custom
304 code. Use multi_basedir instead libgcj_basedir. Test for
305 /proc/self/exe when not cross-compiling.
306 * aclocal.m4: Regenerate.
307 * configure: Regenerate.
308 * Makefile.in: Regenerate.
310 2007-01-17 Gary Benson <gbenson@redhat.com>
312 * java/nio/natVMDirectByteBufferImpl.cc:
313 Renamed from java/nio/natDirectByteBufferImpl.cc.
314 * Makefile.am: Reflect the above.
315 * Makefile.in: Rebuilt.
317 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
319 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
320 Fixed indentation. Removed unused variable.
322 2007-01-16 Tom Tromey <tromey@redhat.com>
324 * java/lang/natThread.cc (finalize_native): Remove cast.
325 (_Jv_GetCurrentJNIEnv): Likewise.
326 * include/jvm.h (struct natThread) <jni_env>: Declare as
329 2007-01-16 Keith Seitz <keiths@redhat.com>
331 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
332 %#llx instead of %d for new_value.
333 * testsuite/libjava.jvmti/events.out: Update expected output.
334 * testsuite/libjava.jvmti/events.jar: Regenerate.
336 2007-01-16 Keith Seitz <keiths@redhat.com>
338 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
340 (ENABLE_EVENT): New macro.
341 (initialize): Define and enable JVMTI VM_INIT callback.
342 (jdwpVMInitCB): New function.
344 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
346 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
347 * testsuite/libjava.jvmti/getallthreads.java: New test.
348 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
349 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
350 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
351 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
353 2007-01-15 Keith Seitz <keiths@redhat.com>
355 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
356 java.lang.StringBuilder instead of java.lang.StringBuffer.
357 (resumeThread): Likewise.
359 2007-01-15 Gary Benson <gbenson@redhat.com>
361 * java/nio/MappedByteBuffer.java: Removed.
362 * sources.am, Makefile.in: Rebuilt.
364 2007-01-15 Gary Benson <gbenson@redhat.com>
366 * java/net/URLClassLoader.java: Removed.
367 * gnu/java/net/loader/Load_gcjlib.java: New file.
368 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
369 URL handler is present in static executables.
370 * sources.am, Makefile.in: Rebuilt.
372 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
374 * Makefile.am (libgcj_la_LDFLAGS): Add
375 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
376 (libgcj_tools_la_LDFLAGS): Likewise.
377 (libgcj_bc_la_LDFLAGS): Likewise.
378 * Makefile.in: Regenerated.
380 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
381 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
382 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
383 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
384 * configure: Regenerated.
385 * aclocal.m4: Likewise.
386 * gcj/Makefile.in: Likewise.
387 * include/Makefile.in: Likewise.
388 * testsuite/Makefile.in: Likewise.
390 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
392 * sysdep/sh/locks.h (read_barrier): New.
393 (write_barrier): Likewise.
395 2007-01-12 Andrew Haley <aph@redhat.com>
397 * include/i386-signal.h: Rewrite to use rt_sigaction.
399 2007-01-11 Andrew Haley <aph@redhat.com>
401 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
403 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
406 2007-01-10 Tom Tromey <tromey@redhat.com>
408 * gnu/gcj/xlib/*.h: New files.
409 * gnu/awt/xlib/*.h: Likewise.
410 * classpath/lib/gnu/gcj/xlib: New class files.
411 * classpath/lib/gnu/awt/xlib: Likewise.
413 2007-01-10 Tom Tromey <tromey@redhat.com>
415 * HACKING: Various updates.
417 2007-01-10 Tom Tromey <tromey@redhat.com>
419 * java/lang/natDouble.cc (toString): Added parens.
420 * gnu/gcj/io/shs.h (PROTO): Define.
421 * link.cc (resolve_pool_entry): Added missing braces.
423 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
426 * sysdep/ia64/locks.h (read_barrier): New.
427 (write_barrier): New.
429 2007-01-10 Gary Benson <gbenson@redhat.com>
431 * java/net/URL.java: Removed.
432 * sources.am, Makefile.in: Rebuilt.
434 2007-01-10 Matthias Klose <doko@debian.org>
436 * Makefile.am (install-exec-hook): Support $(DESTDIR).
437 * Makefile.in: Regenerated.
439 2007-01-05 Tom Tromey <tromey@redhat.com>
441 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
442 dummy.class in srcdir.
444 2007-01-03 Tom Tromey <tromey@redhat.com>
446 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
449 2007-01-03 Tom Tromey <tromey@redhat.com>
451 * testsuite/*: Added many .jar and .h files.
452 * testsuite/libjava.special/special.exp
453 (gcj_special_try_compiler): New proc.
454 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
455 bytecompile source. Search for .jar files.
456 (gcj_loader_test_one): Don't look for MyLoader.java.
457 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
458 bytecompile sources or build headers.
459 (gcj_jvmti_run): Look for .jar files.
460 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
462 (gcj_jni_test_one): Don't bytecompile sources or build headers.
463 Set classpath when invoking gij.
464 (gcj_jni_invocation_test_one): Likewise.
465 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
466 headers or bytecompile sources.
467 (gcj_cni_run): Use .jar files, not .java files.
468 * testsuite/libjava.lang/lang.exp: Compile .jar files.
470 2007-01-02 Tom Tromey <tromey@redhat.com>
472 * configure: Rebuilt.
473 * configure.ac: Check for gjar.
475 2007-01-02 Tom Tromey <tromey@redhat.com>
477 * testsuite/libjava.jacks/jacks.exp: Removed.
478 * testsuite/libjava.jacks/jacks.xfail: Removed.