1 2007-01-24 Keith Seitz <keiths@redhat.com>
3 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
4 CLASS_PREPARE notification.
6 2007-01-24 Keith Seitz <keiths@redhat.com>
8 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
9 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
10 * interpret-run.cc: Implement insn_breakpoint.
12 2007-01-24 Keith Seitz <keiths@redhat.com>
14 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
15 for VM_INIT and VM_DEATH instead of the JDWP notifications.
17 2007-01-24 Keith Seitz <keiths@redhat.com>
19 * gnu/classpath/jdwp/natVMVirtualMachine.cc
20 (getAllClassMethods): Implement.
22 2007-01-24 Andrew Haley <aph@redhat.com>
24 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
25 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
28 2007-01-24 Andrew Haley <aph@redhat.com>
30 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
31 * sources.am: Rebuild.
33 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
35 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
36 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
38 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
41 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
42 * Makefile.in: Regenerated.
44 2007-01-22 Keith Seitz <keiths@redhat.com>
46 * gnu/classpath/jdwp/natVMVirtualMachine.cc
47 (getClassMethod): Implement.
49 2007-01-22 Keith Seitz <keiths@redhat.com>
51 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
52 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
53 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
54 (_Jv_JVMTI_Interface): Define GetClassStatus.
56 2007-01-22 Tom Tromey <tromey@redhat.com>
59 * configure.ac (GCJ): Reverted patch of 2006-12-20.
61 2007-01-22 Tom Tromey <tromey@redhat.com>
64 * testsuite/libjava.jni/pr29812.java: New file.
65 * testsuite/libjava.jni/pr29812_injar.java: New file.
66 * testsuite/libjava.jni/pr29812_injar.jar: New file.
67 * testsuite/libjava.jni/pr29812.out: New file.
68 * testsuite/libjava.jni/pr29812_injar.c: New file.
69 * testsuite/libjava.jni/pr29812_injar.h: New file.
70 * testsuite/libjava.jni/pr29812.jar: New file.
71 * testsuite/libjava.jni/pr29812.c: New file.
72 * testsuite/libjava.jni/pr29812.h: New file.
73 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
75 (gcj_jni_invocation_test_one): Use it.
76 (gcj_jni_pr29812): New proc.
77 (gcj_jni_run): Use it.
78 * java/lang/natRuntime.cc (_load): Push a new system frame before
80 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
81 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
82 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
83 <allocated_p>: Now bool.
85 (_Jv_JNI_EnsureLocalCapacity): Updated.
86 (_Jv_JNI_NewLocalRef): Likewise.
87 (_Jv_JNI_NewLocalRef): Likewise.
88 (_Jv_JNI_PopLocalFrame): Likewise.
89 (_Jv_JNI_FindClass): Likewise.
90 (_Jv_GetJNIEnvNewFrame): Likewise.
91 (_Jv_JNI_AttachCurrentThread): Likewise.
92 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
93 (_Jv_GetJNIEnvNewFrame): Use it.
94 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
96 2007-01-22 Tom Tromey <tromey@redhat.com>
98 * libtool-version: Bump current to 9.
100 2007-01-22 Andrew Haley <aph@redhat.com>
102 * sysdep/alpha/locks.h (write_barrier): New.
104 2007-01-21 Matthias Klose <doko@debian.org>
106 * Makefile.am (install-exec-hook): Use transformed name.
107 * Makefile.in: Regenerate.
109 2007-01-19 Keith Seitz <keiths@redhat.com>
111 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
112 in methods and reformat.
114 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
117 2007-01-18 Keith Seitz <keiths@redhat.com>
119 From Macro Trudel <mtrudel@gmx.ch>:
120 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
123 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
125 * jni.cc (_Jv_JNI_FindClass): Initialize class.
126 * testsuite/libjava.jni/findclass2.jar: New file.
127 * testsuite/libjava.jni/findclass2.h: New file.
128 * testsuite/libjava.jni/findclass2.java: New file
129 * testsuite/libjava.jni/findclass2.c: New file.
130 * testsuite/libjava.jni/findclass2.out: New file.
132 2007-01-18 Tom Tromey <tromey@redhat.com>
134 * configure: Rebuilt.
135 * configure.ac: Use multi_basedir instead of libgcj_basedir.
137 2007-01-18 Gary Benson <gbenson@redhat.com>
139 * gnu/java/nio/natVMPipeEcos.cc:
140 Renamed from gnu/java/nio/natPipeImplEcos.cc.
141 * gnu/java/nio/natVMPipePosix.cc:
142 Renamed from gnu/java/nio/natPipeImplPosix.cc.
143 * gnu/java/nio/natVMPipeWin32.cc:
144 Renamed from gnu/java/nio/natPipeImplWin32.cc.
145 * gnu/java/nio/natVMSelectorEcos.cc:
146 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
147 * gnu/java/nio/natVMSelectorPosix.cc:
148 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
149 * gnu/java/nio/natVMSelectorWin32.cc:
150 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
151 * java/io/natVMObjectInputStream.cc:
152 Renamed from java/io/natObjectInputStream.cc.
153 * java/lang/natVMDouble.cc:
154 Renamed from java/lang/natDouble.cc.
155 * java/lang/natVMFloat.cc:
156 Renamed from java/lang/natFloat.cc.
157 * Makefile.am, configure.ac: Reflect the above.
158 * Makefile.in, configure: Rebuilt.
160 2007-01-17 Andrew Haley <aph@redhat.com>
162 * Makefile.in: Rebuilt.
163 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
165 2007-01-17 Keith Seitz <keiths@redhat.com>
167 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
168 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
170 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
172 * configure.ac: Use multi.m4 from aclocal rather than custom
173 code. Use multi_basedir instead libgcj_basedir. Test for
174 /proc/self/exe when not cross-compiling.
175 * aclocal.m4: Regenerate.
176 * configure: Regenerate.
177 * Makefile.in: Regenerate.
179 2007-01-17 Gary Benson <gbenson@redhat.com>
181 * java/nio/natVMDirectByteBufferImpl.cc:
182 Renamed from java/nio/natDirectByteBufferImpl.cc.
183 * Makefile.am: Reflect the above.
184 * Makefile.in: Rebuilt.
186 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
188 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
189 Fixed indentation. Removed unused variable.
191 2007-01-16 Tom Tromey <tromey@redhat.com>
193 * java/lang/natThread.cc (finalize_native): Remove cast.
194 (_Jv_GetCurrentJNIEnv): Likewise.
195 * include/jvm.h (struct natThread) <jni_env>: Declare as
198 2007-01-16 Keith Seitz <keiths@redhat.com>
200 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
201 %#llx instead of %d for new_value.
202 * testsuite/libjava.jvmti/events.out: Update expected output.
203 * testsuite/libjava.jvmti/events.jar: Regenerate.
205 2007-01-16 Keith Seitz <keiths@redhat.com>
207 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
209 (ENABLE_EVENT): New macro.
210 (initialize): Define and enable JVMTI VM_INIT callback.
211 (jdwpVMInitCB): New function.
213 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
215 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
216 * testsuite/libjava.jvmti/getallthreads.java: New test.
217 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
218 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
219 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
220 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
222 2007-01-15 Keith Seitz <keiths@redhat.com>
224 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
225 java.lang.StringBuilder instead of java.lang.StringBuffer.
226 (resumeThread): Likewise.
228 2007-01-15 Gary Benson <gbenson@redhat.com>
230 * java/nio/MappedByteBuffer.java: Removed.
231 * sources.am, Makefile.in: Rebuilt.
233 2007-01-15 Gary Benson <gbenson@redhat.com>
235 * java/net/URLClassLoader.java: Removed.
236 * gnu/java/net/loader/Load_gcjlib.java: New file.
237 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
238 URL handler is present in static executables.
239 * sources.am, Makefile.in: Rebuilt.
241 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
243 * Makefile.am (libgcj_la_LDFLAGS): Add
244 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
245 (libgcj_tools_la_LDFLAGS): Likewise.
246 (libgcj_bc_la_LDFLAGS): Likewise.
247 * Makefile.in: Regenerated.
249 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
250 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
251 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
252 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
253 * configure: Regenerated.
254 * aclocal.m4: Likewise.
255 * gcj/Makefile.in: Likewise.
256 * include/Makefile.in: Likewise.
257 * testsuite/Makefile.in: Likewise.
259 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
261 * sysdep/sh/locks.h (read_barrier): New.
262 (write_barrier): Likewise.
264 2007-01-12 Andrew Haley <aph@redhat.com>
266 * include/i386-signal.h: Rewrite to use rt_sigaction.
268 2007-01-11 Andrew Haley <aph@redhat.com>
270 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
272 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
275 2007-01-10 Tom Tromey <tromey@redhat.com>
277 * gnu/gcj/xlib/*.h: New files.
278 * gnu/awt/xlib/*.h: Likewise.
279 * classpath/lib/gnu/gcj/xlib: New class files.
280 * classpath/lib/gnu/awt/xlib: Likewise.
282 2007-01-10 Tom Tromey <tromey@redhat.com>
284 * HACKING: Various updates.
286 2007-01-10 Tom Tromey <tromey@redhat.com>
288 * java/lang/natDouble.cc (toString): Added parens.
289 * gnu/gcj/io/shs.h (PROTO): Define.
290 * link.cc (resolve_pool_entry): Added missing braces.
292 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
295 * sysdep/ia64/locks.h (read_barrier): New.
296 (write_barrier): New.
298 2007-01-10 Gary Benson <gbenson@redhat.com>
300 * java/net/URL.java: Removed.
301 * sources.am, Makefile.in: Rebuilt.
303 2007-01-10 Matthias Klose <doko@debian.org>
305 * Makefile.am (install-exec-hook): Support $(DESTDIR).
306 * Makefile.in: Regenerated.
308 2007-01-05 Tom Tromey <tromey@redhat.com>
310 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
311 dummy.class in srcdir.
313 2007-01-03 Tom Tromey <tromey@redhat.com>
315 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
318 2007-01-03 Tom Tromey <tromey@redhat.com>
320 * testsuite/*: Added many .jar and .h files.
321 * testsuite/libjava.special/special.exp
322 (gcj_special_try_compiler): New proc.
323 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
324 bytecompile source. Search for .jar files.
325 (gcj_loader_test_one): Don't look for MyLoader.java.
326 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
327 bytecompile sources or build headers.
328 (gcj_jvmti_run): Look for .jar files.
329 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
331 (gcj_jni_test_one): Don't bytecompile sources or build headers.
332 Set classpath when invoking gij.
333 (gcj_jni_invocation_test_one): Likewise.
334 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
335 headers or bytecompile sources.
336 (gcj_cni_run): Use .jar files, not .java files.
337 * testsuite/libjava.lang/lang.exp: Compile .jar files.
339 2007-01-02 Tom Tromey <tromey@redhat.com>
341 * configure: Rebuilt.
342 * configure.ac: Check for gjar.
344 2007-01-02 Tom Tromey <tromey@redhat.com>
346 * testsuite/libjava.jacks/jacks.exp: Removed.
347 * testsuite/libjava.jacks/jacks.xfail: Removed.