1 2007-01-25 Keith Seitz <keiths@redhat.com>
3 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
4 (_Jv_JVMTI_Interface): Define GetMethodName.
5 * testsuite/libjava.jvmti/getmethodname.java: New file.
6 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
7 * testsuite/libjava.jvmti/getmethodname.out: New file.
9 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
11 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
12 * libjava/testsuite/libjava.jvmti/interp: New folder.
13 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
15 2007-01-24 Keith Seitz <keiths@redhat.com>
17 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
18 CLASS_PREPARE notification.
20 2007-01-24 Keith Seitz <keiths@redhat.com>
22 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
23 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
24 * interpret-run.cc: Implement insn_breakpoint.
26 2007-01-24 Keith Seitz <keiths@redhat.com>
28 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
29 for VM_INIT and VM_DEATH instead of the JDWP notifications.
31 2007-01-24 Keith Seitz <keiths@redhat.com>
33 * gnu/classpath/jdwp/natVMVirtualMachine.cc
34 (getAllClassMethods): Implement.
36 2007-01-24 Andrew Haley <aph@redhat.com>
38 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
39 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
42 2007-01-24 Andrew Haley <aph@redhat.com>
44 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
45 * sources.am: Rebuild.
47 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
49 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
50 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
52 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
55 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
56 * Makefile.in: Regenerated.
58 2007-01-22 Keith Seitz <keiths@redhat.com>
60 * gnu/classpath/jdwp/natVMVirtualMachine.cc
61 (getClassMethod): Implement.
63 2007-01-22 Keith Seitz <keiths@redhat.com>
65 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
66 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
67 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
68 (_Jv_JVMTI_Interface): Define GetClassStatus.
70 2007-01-22 Tom Tromey <tromey@redhat.com>
73 * configure.ac (GCJ): Reverted patch of 2006-12-20.
75 2007-01-22 Tom Tromey <tromey@redhat.com>
78 * testsuite/libjava.jni/pr29812.java: New file.
79 * testsuite/libjava.jni/pr29812_injar.java: New file.
80 * testsuite/libjava.jni/pr29812_injar.jar: New file.
81 * testsuite/libjava.jni/pr29812.out: New file.
82 * testsuite/libjava.jni/pr29812_injar.c: New file.
83 * testsuite/libjava.jni/pr29812_injar.h: New file.
84 * testsuite/libjava.jni/pr29812.jar: New file.
85 * testsuite/libjava.jni/pr29812.c: New file.
86 * testsuite/libjava.jni/pr29812.h: New file.
87 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
89 (gcj_jni_invocation_test_one): Use it.
90 (gcj_jni_pr29812): New proc.
91 (gcj_jni_run): Use it.
92 * java/lang/natRuntime.cc (_load): Push a new system frame before
94 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
95 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
96 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
97 <allocated_p>: Now bool.
99 (_Jv_JNI_EnsureLocalCapacity): Updated.
100 (_Jv_JNI_NewLocalRef): Likewise.
101 (_Jv_JNI_NewLocalRef): Likewise.
102 (_Jv_JNI_PopLocalFrame): Likewise.
103 (_Jv_JNI_FindClass): Likewise.
104 (_Jv_GetJNIEnvNewFrame): Likewise.
105 (_Jv_JNI_AttachCurrentThread): Likewise.
106 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
107 (_Jv_GetJNIEnvNewFrame): Use it.
108 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
110 2007-01-22 Tom Tromey <tromey@redhat.com>
112 * libtool-version: Bump current to 9.
114 2007-01-22 Andrew Haley <aph@redhat.com>
116 * sysdep/alpha/locks.h (write_barrier): New.
118 2007-01-21 Matthias Klose <doko@debian.org>
120 * Makefile.am (install-exec-hook): Use transformed name.
121 * Makefile.in: Regenerate.
123 2007-01-19 Keith Seitz <keiths@redhat.com>
125 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
126 in methods and reformat.
128 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
131 2007-01-18 Keith Seitz <keiths@redhat.com>
133 From Macro Trudel <mtrudel@gmx.ch>:
134 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
137 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
139 * jni.cc (_Jv_JNI_FindClass): Initialize class.
140 * testsuite/libjava.jni/findclass2.jar: New file.
141 * testsuite/libjava.jni/findclass2.h: New file.
142 * testsuite/libjava.jni/findclass2.java: New file
143 * testsuite/libjava.jni/findclass2.c: New file.
144 * testsuite/libjava.jni/findclass2.out: New file.
146 2007-01-18 Tom Tromey <tromey@redhat.com>
148 * configure: Rebuilt.
149 * configure.ac: Use multi_basedir instead of libgcj_basedir.
151 2007-01-18 Gary Benson <gbenson@redhat.com>
153 * gnu/java/nio/natVMPipeEcos.cc:
154 Renamed from gnu/java/nio/natPipeImplEcos.cc.
155 * gnu/java/nio/natVMPipePosix.cc:
156 Renamed from gnu/java/nio/natPipeImplPosix.cc.
157 * gnu/java/nio/natVMPipeWin32.cc:
158 Renamed from gnu/java/nio/natPipeImplWin32.cc.
159 * gnu/java/nio/natVMSelectorEcos.cc:
160 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
161 * gnu/java/nio/natVMSelectorPosix.cc:
162 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
163 * gnu/java/nio/natVMSelectorWin32.cc:
164 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
165 * java/io/natVMObjectInputStream.cc:
166 Renamed from java/io/natObjectInputStream.cc.
167 * java/lang/natVMDouble.cc:
168 Renamed from java/lang/natDouble.cc.
169 * java/lang/natVMFloat.cc:
170 Renamed from java/lang/natFloat.cc.
171 * Makefile.am, configure.ac: Reflect the above.
172 * Makefile.in, configure: Rebuilt.
174 2007-01-17 Andrew Haley <aph@redhat.com>
176 * Makefile.in: Rebuilt.
177 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
179 2007-01-17 Keith Seitz <keiths@redhat.com>
181 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
182 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
184 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
186 * configure.ac: Use multi.m4 from aclocal rather than custom
187 code. Use multi_basedir instead libgcj_basedir. Test for
188 /proc/self/exe when not cross-compiling.
189 * aclocal.m4: Regenerate.
190 * configure: Regenerate.
191 * Makefile.in: Regenerate.
193 2007-01-17 Gary Benson <gbenson@redhat.com>
195 * java/nio/natVMDirectByteBufferImpl.cc:
196 Renamed from java/nio/natDirectByteBufferImpl.cc.
197 * Makefile.am: Reflect the above.
198 * Makefile.in: Rebuilt.
200 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
202 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
203 Fixed indentation. Removed unused variable.
205 2007-01-16 Tom Tromey <tromey@redhat.com>
207 * java/lang/natThread.cc (finalize_native): Remove cast.
208 (_Jv_GetCurrentJNIEnv): Likewise.
209 * include/jvm.h (struct natThread) <jni_env>: Declare as
212 2007-01-16 Keith Seitz <keiths@redhat.com>
214 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
215 %#llx instead of %d for new_value.
216 * testsuite/libjava.jvmti/events.out: Update expected output.
217 * testsuite/libjava.jvmti/events.jar: Regenerate.
219 2007-01-16 Keith Seitz <keiths@redhat.com>
221 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
223 (ENABLE_EVENT): New macro.
224 (initialize): Define and enable JVMTI VM_INIT callback.
225 (jdwpVMInitCB): New function.
227 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
229 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
230 * testsuite/libjava.jvmti/getallthreads.java: New test.
231 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
232 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
233 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
234 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
236 2007-01-15 Keith Seitz <keiths@redhat.com>
238 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
239 java.lang.StringBuilder instead of java.lang.StringBuffer.
240 (resumeThread): Likewise.
242 2007-01-15 Gary Benson <gbenson@redhat.com>
244 * java/nio/MappedByteBuffer.java: Removed.
245 * sources.am, Makefile.in: Rebuilt.
247 2007-01-15 Gary Benson <gbenson@redhat.com>
249 * java/net/URLClassLoader.java: Removed.
250 * gnu/java/net/loader/Load_gcjlib.java: New file.
251 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
252 URL handler is present in static executables.
253 * sources.am, Makefile.in: Rebuilt.
255 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
257 * Makefile.am (libgcj_la_LDFLAGS): Add
258 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
259 (libgcj_tools_la_LDFLAGS): Likewise.
260 (libgcj_bc_la_LDFLAGS): Likewise.
261 * Makefile.in: Regenerated.
263 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
264 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
265 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
266 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
267 * configure: Regenerated.
268 * aclocal.m4: Likewise.
269 * gcj/Makefile.in: Likewise.
270 * include/Makefile.in: Likewise.
271 * testsuite/Makefile.in: Likewise.
273 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
275 * sysdep/sh/locks.h (read_barrier): New.
276 (write_barrier): Likewise.
278 2007-01-12 Andrew Haley <aph@redhat.com>
280 * include/i386-signal.h: Rewrite to use rt_sigaction.
282 2007-01-11 Andrew Haley <aph@redhat.com>
284 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
286 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
289 2007-01-10 Tom Tromey <tromey@redhat.com>
291 * gnu/gcj/xlib/*.h: New files.
292 * gnu/awt/xlib/*.h: Likewise.
293 * classpath/lib/gnu/gcj/xlib: New class files.
294 * classpath/lib/gnu/awt/xlib: Likewise.
296 2007-01-10 Tom Tromey <tromey@redhat.com>
298 * HACKING: Various updates.
300 2007-01-10 Tom Tromey <tromey@redhat.com>
302 * java/lang/natDouble.cc (toString): Added parens.
303 * gnu/gcj/io/shs.h (PROTO): Define.
304 * link.cc (resolve_pool_entry): Added missing braces.
306 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
309 * sysdep/ia64/locks.h (read_barrier): New.
310 (write_barrier): New.
312 2007-01-10 Gary Benson <gbenson@redhat.com>
314 * java/net/URL.java: Removed.
315 * sources.am, Makefile.in: Rebuilt.
317 2007-01-10 Matthias Klose <doko@debian.org>
319 * Makefile.am (install-exec-hook): Support $(DESTDIR).
320 * Makefile.in: Regenerated.
322 2007-01-05 Tom Tromey <tromey@redhat.com>
324 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
325 dummy.class in srcdir.
327 2007-01-03 Tom Tromey <tromey@redhat.com>
329 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
332 2007-01-03 Tom Tromey <tromey@redhat.com>
334 * testsuite/*: Added many .jar and .h files.
335 * testsuite/libjava.special/special.exp
336 (gcj_special_try_compiler): New proc.
337 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
338 bytecompile source. Search for .jar files.
339 (gcj_loader_test_one): Don't look for MyLoader.java.
340 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
341 bytecompile sources or build headers.
342 (gcj_jvmti_run): Look for .jar files.
343 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
345 (gcj_jni_test_one): Don't bytecompile sources or build headers.
346 Set classpath when invoking gij.
347 (gcj_jni_invocation_test_one): Likewise.
348 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
349 headers or bytecompile sources.
350 (gcj_cni_run): Use .jar files, not .java files.
351 * testsuite/libjava.lang/lang.exp: Compile .jar files.
353 2007-01-02 Tom Tromey <tromey@redhat.com>
355 * configure: Rebuilt.
356 * configure.ac: Check for gjar.
358 2007-01-02 Tom Tromey <tromey@redhat.com>
360 * testsuite/libjava.jacks/jacks.exp: Removed.
361 * testsuite/libjava.jacks/jacks.xfail: Removed.