1 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
4 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
5 libgcj_flags to undefine 'sun' at compile time.
6 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
8 (write_barrier): Likewise.
10 2007-01-27 Keith Seitz <keiths@redhat.com>
12 * gnu/classpath/jdwp/natVMVirtualMachine.cc
13 (getAllClassMethods): Move error handling to ...
14 (throw_jvmti_error): ... here.
15 (jdwpClassPrepareCB): New function.
16 (jdwpThreadEndCB): New function.
17 (jdwpThreadStartCB): New function.
18 (jdwpVMDeathCB): New function.
19 (jdwpVMInitCB): Define and enable callbacks for
20 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
22 2007-01-27 Jakub Jelinek <jakub@redhat.com>
24 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
25 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
26 (MYGCJH): New variable.
27 (compile-tests): New goal.
28 * Makefile.in: Rebuilt.
29 * testsuite/Makefile.in: Rebuilt.
31 2007-01-26 Tom Tromey <tromey@redhat.com>
35 2007-01-25 Tom Tromey <tromey@redhat.com>
38 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
39 input or output encodings. Removed unused local variables.
41 2007-01-25 Keith Seitz <keiths@redhat.com>
43 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
44 * gnu/classpath/jdwp/natVMVirtualMachine.cc
45 (_Jv_GetJDWP_JVMTIEnv): New function.
46 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
47 (getSignature): Implement.
48 (getModifiers): Implement.
50 2007-01-25 Andrew Haley <aph@redhat.com>
52 * configure, Makefile.in, include/config.h.in: Rebuilt.
53 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
54 * configure.ac: Don't check for libmagic.
55 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
56 p_magic_close, p_magic_buffer): New globals.
57 (init): Look up 'magic' functions.
58 (guessContentTypeFromBuffer): Updated.
60 2007-01-25 Keith Seitz <keiths@redhat.com>
62 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
63 (_Jv_JVMTI_Interface): Define GetMethodName.
64 * testsuite/libjava.jvmti/getmethodname.java: New file.
65 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
66 * testsuite/libjava.jvmti/getmethodname.out: New file.
68 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
70 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
71 * libjava/testsuite/libjava.jvmti/interp: New folder.
72 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
74 2007-01-24 Keith Seitz <keiths@redhat.com>
76 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
77 CLASS_PREPARE notification.
79 2007-01-24 Keith Seitz <keiths@redhat.com>
81 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
82 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
83 * interpret-run.cc: Implement insn_breakpoint.
85 2007-01-24 Keith Seitz <keiths@redhat.com>
87 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
88 for VM_INIT and VM_DEATH instead of the JDWP notifications.
90 2007-01-24 Keith Seitz <keiths@redhat.com>
92 * gnu/classpath/jdwp/natVMVirtualMachine.cc
93 (getAllClassMethods): Implement.
95 2007-01-24 Andrew Haley <aph@redhat.com>
97 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
98 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
101 2007-01-24 Andrew Haley <aph@redhat.com>
103 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
104 * sources.am: Rebuild.
106 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
108 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
109 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
111 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
114 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
115 * Makefile.in: Regenerated.
117 2007-01-22 Keith Seitz <keiths@redhat.com>
119 * gnu/classpath/jdwp/natVMVirtualMachine.cc
120 (getClassMethod): Implement.
122 2007-01-22 Keith Seitz <keiths@redhat.com>
124 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
125 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
126 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
127 (_Jv_JVMTI_Interface): Define GetClassStatus.
129 2007-01-22 Tom Tromey <tromey@redhat.com>
131 * configure: Rebuilt.
132 * configure.ac (GCJ): Reverted patch of 2006-12-20.
134 2007-01-22 Tom Tromey <tromey@redhat.com>
137 * testsuite/libjava.jni/pr29812.java: New file.
138 * testsuite/libjava.jni/pr29812_injar.java: New file.
139 * testsuite/libjava.jni/pr29812_injar.jar: New file.
140 * testsuite/libjava.jni/pr29812.out: New file.
141 * testsuite/libjava.jni/pr29812_injar.c: New file.
142 * testsuite/libjava.jni/pr29812_injar.h: New file.
143 * testsuite/libjava.jni/pr29812.jar: New file.
144 * testsuite/libjava.jni/pr29812.c: New file.
145 * testsuite/libjava.jni/pr29812.h: New file.
146 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
148 (gcj_jni_invocation_test_one): Use it.
149 (gcj_jni_pr29812): New proc.
150 (gcj_jni_run): Use it.
151 * java/lang/natRuntime.cc (_load): Push a new system frame before
153 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
154 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
155 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
156 <allocated_p>: Now bool.
158 (_Jv_JNI_EnsureLocalCapacity): Updated.
159 (_Jv_JNI_NewLocalRef): Likewise.
160 (_Jv_JNI_NewLocalRef): Likewise.
161 (_Jv_JNI_PopLocalFrame): Likewise.
162 (_Jv_JNI_FindClass): Likewise.
163 (_Jv_GetJNIEnvNewFrame): Likewise.
164 (_Jv_JNI_AttachCurrentThread): Likewise.
165 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
166 (_Jv_GetJNIEnvNewFrame): Use it.
167 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
169 2007-01-22 Tom Tromey <tromey@redhat.com>
171 * libtool-version: Bump current to 9.
173 2007-01-22 Andrew Haley <aph@redhat.com>
175 * sysdep/alpha/locks.h (write_barrier): New.
177 2007-01-21 Matthias Klose <doko@debian.org>
179 * Makefile.am (install-exec-hook): Use transformed name.
180 * Makefile.in: Regenerate.
182 2007-01-19 Keith Seitz <keiths@redhat.com>
184 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
185 in methods and reformat.
187 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
190 2007-01-18 Keith Seitz <keiths@redhat.com>
192 From Macro Trudel <mtrudel@gmx.ch>:
193 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
196 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
198 * jni.cc (_Jv_JNI_FindClass): Initialize class.
199 * testsuite/libjava.jni/findclass2.jar: New file.
200 * testsuite/libjava.jni/findclass2.h: New file.
201 * testsuite/libjava.jni/findclass2.java: New file
202 * testsuite/libjava.jni/findclass2.c: New file.
203 * testsuite/libjava.jni/findclass2.out: New file.
205 2007-01-18 Tom Tromey <tromey@redhat.com>
207 * configure: Rebuilt.
208 * configure.ac: Use multi_basedir instead of libgcj_basedir.
210 2007-01-18 Gary Benson <gbenson@redhat.com>
212 * gnu/java/nio/natVMPipeEcos.cc:
213 Renamed from gnu/java/nio/natPipeImplEcos.cc.
214 * gnu/java/nio/natVMPipePosix.cc:
215 Renamed from gnu/java/nio/natPipeImplPosix.cc.
216 * gnu/java/nio/natVMPipeWin32.cc:
217 Renamed from gnu/java/nio/natPipeImplWin32.cc.
218 * gnu/java/nio/natVMSelectorEcos.cc:
219 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
220 * gnu/java/nio/natVMSelectorPosix.cc:
221 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
222 * gnu/java/nio/natVMSelectorWin32.cc:
223 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
224 * java/io/natVMObjectInputStream.cc:
225 Renamed from java/io/natObjectInputStream.cc.
226 * java/lang/natVMDouble.cc:
227 Renamed from java/lang/natDouble.cc.
228 * java/lang/natVMFloat.cc:
229 Renamed from java/lang/natFloat.cc.
230 * Makefile.am, configure.ac: Reflect the above.
231 * Makefile.in, configure: Rebuilt.
233 2007-01-17 Andrew Haley <aph@redhat.com>
235 * Makefile.in: Rebuilt.
236 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
238 2007-01-17 Keith Seitz <keiths@redhat.com>
240 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
241 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
243 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
245 * configure.ac: Use multi.m4 from aclocal rather than custom
246 code. Use multi_basedir instead libgcj_basedir. Test for
247 /proc/self/exe when not cross-compiling.
248 * aclocal.m4: Regenerate.
249 * configure: Regenerate.
250 * Makefile.in: Regenerate.
252 2007-01-17 Gary Benson <gbenson@redhat.com>
254 * java/nio/natVMDirectByteBufferImpl.cc:
255 Renamed from java/nio/natDirectByteBufferImpl.cc.
256 * Makefile.am: Reflect the above.
257 * Makefile.in: Rebuilt.
259 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
261 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
262 Fixed indentation. Removed unused variable.
264 2007-01-16 Tom Tromey <tromey@redhat.com>
266 * java/lang/natThread.cc (finalize_native): Remove cast.
267 (_Jv_GetCurrentJNIEnv): Likewise.
268 * include/jvm.h (struct natThread) <jni_env>: Declare as
271 2007-01-16 Keith Seitz <keiths@redhat.com>
273 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
274 %#llx instead of %d for new_value.
275 * testsuite/libjava.jvmti/events.out: Update expected output.
276 * testsuite/libjava.jvmti/events.jar: Regenerate.
278 2007-01-16 Keith Seitz <keiths@redhat.com>
280 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
282 (ENABLE_EVENT): New macro.
283 (initialize): Define and enable JVMTI VM_INIT callback.
284 (jdwpVMInitCB): New function.
286 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
288 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
289 * testsuite/libjava.jvmti/getallthreads.java: New test.
290 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
291 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
292 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
293 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
295 2007-01-15 Keith Seitz <keiths@redhat.com>
297 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
298 java.lang.StringBuilder instead of java.lang.StringBuffer.
299 (resumeThread): Likewise.
301 2007-01-15 Gary Benson <gbenson@redhat.com>
303 * java/nio/MappedByteBuffer.java: Removed.
304 * sources.am, Makefile.in: Rebuilt.
306 2007-01-15 Gary Benson <gbenson@redhat.com>
308 * java/net/URLClassLoader.java: Removed.
309 * gnu/java/net/loader/Load_gcjlib.java: New file.
310 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
311 URL handler is present in static executables.
312 * sources.am, Makefile.in: Rebuilt.
314 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
316 * Makefile.am (libgcj_la_LDFLAGS): Add
317 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
318 (libgcj_tools_la_LDFLAGS): Likewise.
319 (libgcj_bc_la_LDFLAGS): Likewise.
320 * Makefile.in: Regenerated.
322 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
323 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
324 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
325 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
326 * configure: Regenerated.
327 * aclocal.m4: Likewise.
328 * gcj/Makefile.in: Likewise.
329 * include/Makefile.in: Likewise.
330 * testsuite/Makefile.in: Likewise.
332 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
334 * sysdep/sh/locks.h (read_barrier): New.
335 (write_barrier): Likewise.
337 2007-01-12 Andrew Haley <aph@redhat.com>
339 * include/i386-signal.h: Rewrite to use rt_sigaction.
341 2007-01-11 Andrew Haley <aph@redhat.com>
343 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
345 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
348 2007-01-10 Tom Tromey <tromey@redhat.com>
350 * gnu/gcj/xlib/*.h: New files.
351 * gnu/awt/xlib/*.h: Likewise.
352 * classpath/lib/gnu/gcj/xlib: New class files.
353 * classpath/lib/gnu/awt/xlib: Likewise.
355 2007-01-10 Tom Tromey <tromey@redhat.com>
357 * HACKING: Various updates.
359 2007-01-10 Tom Tromey <tromey@redhat.com>
361 * java/lang/natDouble.cc (toString): Added parens.
362 * gnu/gcj/io/shs.h (PROTO): Define.
363 * link.cc (resolve_pool_entry): Added missing braces.
365 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
368 * sysdep/ia64/locks.h (read_barrier): New.
369 (write_barrier): New.
371 2007-01-10 Gary Benson <gbenson@redhat.com>
373 * java/net/URL.java: Removed.
374 * sources.am, Makefile.in: Rebuilt.
376 2007-01-10 Matthias Klose <doko@debian.org>
378 * Makefile.am (install-exec-hook): Support $(DESTDIR).
379 * Makefile.in: Regenerated.
381 2007-01-05 Tom Tromey <tromey@redhat.com>
383 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
384 dummy.class in srcdir.
386 2007-01-03 Tom Tromey <tromey@redhat.com>
388 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
391 2007-01-03 Tom Tromey <tromey@redhat.com>
393 * testsuite/*: Added many .jar and .h files.
394 * testsuite/libjava.special/special.exp
395 (gcj_special_try_compiler): New proc.
396 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
397 bytecompile source. Search for .jar files.
398 (gcj_loader_test_one): Don't look for MyLoader.java.
399 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
400 bytecompile sources or build headers.
401 (gcj_jvmti_run): Look for .jar files.
402 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
404 (gcj_jni_test_one): Don't bytecompile sources or build headers.
405 Set classpath when invoking gij.
406 (gcj_jni_invocation_test_one): Likewise.
407 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
408 headers or bytecompile sources.
409 (gcj_cni_run): Use .jar files, not .java files.
410 * testsuite/libjava.lang/lang.exp: Compile .jar files.
412 2007-01-02 Tom Tromey <tromey@redhat.com>
414 * configure: Rebuilt.
415 * configure.ac: Check for gjar.
417 2007-01-02 Tom Tromey <tromey@redhat.com>
419 * testsuite/libjava.jacks/jacks.exp: Removed.
420 * testsuite/libjava.jacks/jacks.xfail: Removed.