1 2007-01-29 Tom Tromey <tromey@redhat.com>
3 * Makefile.in: Rebuilt.
4 * Makefile.am (interpret.lo): New target. Add -fwrap to
7 2007-01-29 Keith Seitz <keiths@redhat.com>
9 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
11 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
12 gcj. All jvmti object types now are defined to be their
13 corresponding java classes.
14 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
16 (_Jv_JVMTI_ResumeThread): Likewise.
17 (_Jv_JVMTI_InterruptThread): Likewise.
18 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
19 * gnu/classpath/jdwp/natVMVirtualMachine.cc
20 (jdwpClassPrepareCB): Likewise.
21 (jdwpThreadEndCB): Likewise.
22 (jdwpThreadStartCB): Likewise.
23 (jdwpVMInitCB): Likewise.
25 2007-01-28 Michele Sandri <gpointorama@gmail.com>
27 * gnu/java/nio/channels/natFileChannelWin32.cc
29 (unlock): Implemented.
31 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
34 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
35 libgcj_flags to undefine 'sun' at compile time.
36 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
38 (write_barrier): Likewise.
40 2007-01-27 Keith Seitz <keiths@redhat.com>
42 * gnu/classpath/jdwp/natVMVirtualMachine.cc
43 (getAllClassMethods): Move error handling to ...
44 (throw_jvmti_error): ... here.
45 (jdwpClassPrepareCB): New function.
46 (jdwpThreadEndCB): New function.
47 (jdwpThreadStartCB): New function.
48 (jdwpVMDeathCB): New function.
49 (jdwpVMInitCB): Define and enable callbacks for
50 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
52 2007-01-27 Jakub Jelinek <jakub@redhat.com>
54 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
55 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
56 (MYGCJH): New variable.
57 (compile-tests): New goal.
58 * Makefile.in: Rebuilt.
59 * testsuite/Makefile.in: Rebuilt.
61 2007-01-26 Tom Tromey <tromey@redhat.com>
65 2007-01-25 Tom Tromey <tromey@redhat.com>
68 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
69 input or output encodings. Removed unused local variables.
71 2007-01-25 Keith Seitz <keiths@redhat.com>
73 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
74 * gnu/classpath/jdwp/natVMVirtualMachine.cc
75 (_Jv_GetJDWP_JVMTIEnv): New function.
76 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
77 (getSignature): Implement.
78 (getModifiers): Implement.
80 2007-01-25 Andrew Haley <aph@redhat.com>
82 * configure, Makefile.in, include/config.h.in: Rebuilt.
83 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
84 * configure.ac: Don't check for libmagic.
85 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
86 p_magic_close, p_magic_buffer): New globals.
87 (init): Look up 'magic' functions.
88 (guessContentTypeFromBuffer): Updated.
90 2007-01-25 Keith Seitz <keiths@redhat.com>
92 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
93 (_Jv_JVMTI_Interface): Define GetMethodName.
94 * testsuite/libjava.jvmti/getmethodname.java: New file.
95 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
96 * testsuite/libjava.jvmti/getmethodname.out: New file.
98 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
100 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
101 * libjava/testsuite/libjava.jvmti/interp: New folder.
102 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
104 2007-01-24 Keith Seitz <keiths@redhat.com>
106 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
107 CLASS_PREPARE notification.
109 2007-01-24 Keith Seitz <keiths@redhat.com>
111 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
112 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
113 * interpret-run.cc: Implement insn_breakpoint.
115 2007-01-24 Keith Seitz <keiths@redhat.com>
117 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
118 for VM_INIT and VM_DEATH instead of the JDWP notifications.
120 2007-01-24 Keith Seitz <keiths@redhat.com>
122 * gnu/classpath/jdwp/natVMVirtualMachine.cc
123 (getAllClassMethods): Implement.
125 2007-01-24 Andrew Haley <aph@redhat.com>
127 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
128 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
129 from being sibcalled.
131 2007-01-24 Andrew Haley <aph@redhat.com>
133 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
134 * sources.am: Rebuild.
136 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
138 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
139 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
141 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
144 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
145 * Makefile.in: Regenerated.
147 2007-01-22 Keith Seitz <keiths@redhat.com>
149 * gnu/classpath/jdwp/natVMVirtualMachine.cc
150 (getClassMethod): Implement.
152 2007-01-22 Keith Seitz <keiths@redhat.com>
154 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
155 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
156 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
157 (_Jv_JVMTI_Interface): Define GetClassStatus.
159 2007-01-22 Tom Tromey <tromey@redhat.com>
161 * configure: Rebuilt.
162 * configure.ac (GCJ): Reverted patch of 2006-12-20.
164 2007-01-22 Tom Tromey <tromey@redhat.com>
167 * testsuite/libjava.jni/pr29812.java: New file.
168 * testsuite/libjava.jni/pr29812_injar.java: New file.
169 * testsuite/libjava.jni/pr29812_injar.jar: New file.
170 * testsuite/libjava.jni/pr29812.out: New file.
171 * testsuite/libjava.jni/pr29812_injar.c: New file.
172 * testsuite/libjava.jni/pr29812_injar.h: New file.
173 * testsuite/libjava.jni/pr29812.jar: New file.
174 * testsuite/libjava.jni/pr29812.c: New file.
175 * testsuite/libjava.jni/pr29812.h: New file.
176 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
178 (gcj_jni_invocation_test_one): Use it.
179 (gcj_jni_pr29812): New proc.
180 (gcj_jni_run): Use it.
181 * java/lang/natRuntime.cc (_load): Push a new system frame before
183 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
184 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
185 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
186 <allocated_p>: Now bool.
188 (_Jv_JNI_EnsureLocalCapacity): Updated.
189 (_Jv_JNI_NewLocalRef): Likewise.
190 (_Jv_JNI_NewLocalRef): Likewise.
191 (_Jv_JNI_PopLocalFrame): Likewise.
192 (_Jv_JNI_FindClass): Likewise.
193 (_Jv_GetJNIEnvNewFrame): Likewise.
194 (_Jv_JNI_AttachCurrentThread): Likewise.
195 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
196 (_Jv_GetJNIEnvNewFrame): Use it.
197 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
199 2007-01-22 Tom Tromey <tromey@redhat.com>
201 * libtool-version: Bump current to 9.
203 2007-01-22 Andrew Haley <aph@redhat.com>
205 * sysdep/alpha/locks.h (write_barrier): New.
207 2007-01-21 Matthias Klose <doko@debian.org>
209 * Makefile.am (install-exec-hook): Use transformed name.
210 * Makefile.in: Regenerate.
212 2007-01-19 Keith Seitz <keiths@redhat.com>
214 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
215 in methods and reformat.
217 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
220 2007-01-18 Keith Seitz <keiths@redhat.com>
222 From Macro Trudel <mtrudel@gmx.ch>:
223 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
226 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
228 * jni.cc (_Jv_JNI_FindClass): Initialize class.
229 * testsuite/libjava.jni/findclass2.jar: New file.
230 * testsuite/libjava.jni/findclass2.h: New file.
231 * testsuite/libjava.jni/findclass2.java: New file
232 * testsuite/libjava.jni/findclass2.c: New file.
233 * testsuite/libjava.jni/findclass2.out: New file.
235 2007-01-18 Tom Tromey <tromey@redhat.com>
237 * configure: Rebuilt.
238 * configure.ac: Use multi_basedir instead of libgcj_basedir.
240 2007-01-18 Gary Benson <gbenson@redhat.com>
242 * gnu/java/nio/natVMPipeEcos.cc:
243 Renamed from gnu/java/nio/natPipeImplEcos.cc.
244 * gnu/java/nio/natVMPipePosix.cc:
245 Renamed from gnu/java/nio/natPipeImplPosix.cc.
246 * gnu/java/nio/natVMPipeWin32.cc:
247 Renamed from gnu/java/nio/natPipeImplWin32.cc.
248 * gnu/java/nio/natVMSelectorEcos.cc:
249 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
250 * gnu/java/nio/natVMSelectorPosix.cc:
251 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
252 * gnu/java/nio/natVMSelectorWin32.cc:
253 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
254 * java/io/natVMObjectInputStream.cc:
255 Renamed from java/io/natObjectInputStream.cc.
256 * java/lang/natVMDouble.cc:
257 Renamed from java/lang/natDouble.cc.
258 * java/lang/natVMFloat.cc:
259 Renamed from java/lang/natFloat.cc.
260 * Makefile.am, configure.ac: Reflect the above.
261 * Makefile.in, configure: Rebuilt.
263 2007-01-17 Andrew Haley <aph@redhat.com>
265 * Makefile.in: Rebuilt.
266 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
268 2007-01-17 Keith Seitz <keiths@redhat.com>
270 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
271 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
273 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
275 * configure.ac: Use multi.m4 from aclocal rather than custom
276 code. Use multi_basedir instead libgcj_basedir. Test for
277 /proc/self/exe when not cross-compiling.
278 * aclocal.m4: Regenerate.
279 * configure: Regenerate.
280 * Makefile.in: Regenerate.
282 2007-01-17 Gary Benson <gbenson@redhat.com>
284 * java/nio/natVMDirectByteBufferImpl.cc:
285 Renamed from java/nio/natDirectByteBufferImpl.cc.
286 * Makefile.am: Reflect the above.
287 * Makefile.in: Rebuilt.
289 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
291 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
292 Fixed indentation. Removed unused variable.
294 2007-01-16 Tom Tromey <tromey@redhat.com>
296 * java/lang/natThread.cc (finalize_native): Remove cast.
297 (_Jv_GetCurrentJNIEnv): Likewise.
298 * include/jvm.h (struct natThread) <jni_env>: Declare as
301 2007-01-16 Keith Seitz <keiths@redhat.com>
303 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
304 %#llx instead of %d for new_value.
305 * testsuite/libjava.jvmti/events.out: Update expected output.
306 * testsuite/libjava.jvmti/events.jar: Regenerate.
308 2007-01-16 Keith Seitz <keiths@redhat.com>
310 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
312 (ENABLE_EVENT): New macro.
313 (initialize): Define and enable JVMTI VM_INIT callback.
314 (jdwpVMInitCB): New function.
316 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
318 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
319 * testsuite/libjava.jvmti/getallthreads.java: New test.
320 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
321 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
322 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
323 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
325 2007-01-15 Keith Seitz <keiths@redhat.com>
327 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
328 java.lang.StringBuilder instead of java.lang.StringBuffer.
329 (resumeThread): Likewise.
331 2007-01-15 Gary Benson <gbenson@redhat.com>
333 * java/nio/MappedByteBuffer.java: Removed.
334 * sources.am, Makefile.in: Rebuilt.
336 2007-01-15 Gary Benson <gbenson@redhat.com>
338 * java/net/URLClassLoader.java: Removed.
339 * gnu/java/net/loader/Load_gcjlib.java: New file.
340 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
341 URL handler is present in static executables.
342 * sources.am, Makefile.in: Rebuilt.
344 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
346 * Makefile.am (libgcj_la_LDFLAGS): Add
347 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
348 (libgcj_tools_la_LDFLAGS): Likewise.
349 (libgcj_bc_la_LDFLAGS): Likewise.
350 * Makefile.in: Regenerated.
352 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
353 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
354 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
355 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
356 * configure: Regenerated.
357 * aclocal.m4: Likewise.
358 * gcj/Makefile.in: Likewise.
359 * include/Makefile.in: Likewise.
360 * testsuite/Makefile.in: Likewise.
362 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
364 * sysdep/sh/locks.h (read_barrier): New.
365 (write_barrier): Likewise.
367 2007-01-12 Andrew Haley <aph@redhat.com>
369 * include/i386-signal.h: Rewrite to use rt_sigaction.
371 2007-01-11 Andrew Haley <aph@redhat.com>
373 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
375 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
378 2007-01-10 Tom Tromey <tromey@redhat.com>
380 * gnu/gcj/xlib/*.h: New files.
381 * gnu/awt/xlib/*.h: Likewise.
382 * classpath/lib/gnu/gcj/xlib: New class files.
383 * classpath/lib/gnu/awt/xlib: Likewise.
385 2007-01-10 Tom Tromey <tromey@redhat.com>
387 * HACKING: Various updates.
389 2007-01-10 Tom Tromey <tromey@redhat.com>
391 * java/lang/natDouble.cc (toString): Added parens.
392 * gnu/gcj/io/shs.h (PROTO): Define.
393 * link.cc (resolve_pool_entry): Added missing braces.
395 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
398 * sysdep/ia64/locks.h (read_barrier): New.
399 (write_barrier): New.
401 2007-01-10 Gary Benson <gbenson@redhat.com>
403 * java/net/URL.java: Removed.
404 * sources.am, Makefile.in: Rebuilt.
406 2007-01-10 Matthias Klose <doko@debian.org>
408 * Makefile.am (install-exec-hook): Support $(DESTDIR).
409 * Makefile.in: Regenerated.
411 2007-01-05 Tom Tromey <tromey@redhat.com>
413 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
414 dummy.class in srcdir.
416 2007-01-03 Tom Tromey <tromey@redhat.com>
418 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
421 2007-01-03 Tom Tromey <tromey@redhat.com>
423 * testsuite/*: Added many .jar and .h files.
424 * testsuite/libjava.special/special.exp
425 (gcj_special_try_compiler): New proc.
426 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
427 bytecompile source. Search for .jar files.
428 (gcj_loader_test_one): Don't look for MyLoader.java.
429 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
430 bytecompile sources or build headers.
431 (gcj_jvmti_run): Look for .jar files.
432 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
434 (gcj_jni_test_one): Don't bytecompile sources or build headers.
435 Set classpath when invoking gij.
436 (gcj_jni_invocation_test_one): Likewise.
437 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
438 headers or bytecompile sources.
439 (gcj_cni_run): Use .jar files, not .java files.
440 * testsuite/libjava.lang/lang.exp: Compile .jar files.
442 2007-01-02 Tom Tromey <tromey@redhat.com>
444 * configure: Rebuilt.
445 * configure.ac: Check for gjar.
447 2007-01-02 Tom Tromey <tromey@redhat.com>
449 * testsuite/libjava.jacks/jacks.exp: Removed.
450 * testsuite/libjava.jacks/jacks.xfail: Removed.