1 2007-01-25 Keith Seitz <keiths@redhat.com>
3 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
4 * gnu/classpath/jdwp/natVMVirtualMachine.cc
5 (_Jv_GetJDWP_JVMTIEnv): New function.
6 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
7 (getSignature): Implement.
8 (getModifiers): Implement.
10 2007-01-25 Andrew Haley <aph@redhat.com>
12 * configure, Makefile.in, include/config.h.in: Rebuilt.
13 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
14 * configure.ac: Don't check for libmagic.
15 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
16 p_magic_close, p_magic_buffer): New globals.
17 (init): Look up 'magic' functions.
18 (guessContentTypeFromBuffer): Updated.
20 2007-01-25 Keith Seitz <keiths@redhat.com>
22 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
23 (_Jv_JVMTI_Interface): Define GetMethodName.
24 * testsuite/libjava.jvmti/getmethodname.java: New file.
25 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
26 * testsuite/libjava.jvmti/getmethodname.out: New file.
28 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
30 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
31 * libjava/testsuite/libjava.jvmti/interp: New folder.
32 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
34 2007-01-24 Keith Seitz <keiths@redhat.com>
36 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
37 CLASS_PREPARE notification.
39 2007-01-24 Keith Seitz <keiths@redhat.com>
41 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
42 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
43 * interpret-run.cc: Implement insn_breakpoint.
45 2007-01-24 Keith Seitz <keiths@redhat.com>
47 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
48 for VM_INIT and VM_DEATH instead of the JDWP notifications.
50 2007-01-24 Keith Seitz <keiths@redhat.com>
52 * gnu/classpath/jdwp/natVMVirtualMachine.cc
53 (getAllClassMethods): Implement.
55 2007-01-24 Andrew Haley <aph@redhat.com>
57 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
58 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
61 2007-01-24 Andrew Haley <aph@redhat.com>
63 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
64 * sources.am: Rebuild.
66 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
68 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
69 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
71 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
74 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
75 * Makefile.in: Regenerated.
77 2007-01-22 Keith Seitz <keiths@redhat.com>
79 * gnu/classpath/jdwp/natVMVirtualMachine.cc
80 (getClassMethod): Implement.
82 2007-01-22 Keith Seitz <keiths@redhat.com>
84 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
85 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
86 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
87 (_Jv_JVMTI_Interface): Define GetClassStatus.
89 2007-01-22 Tom Tromey <tromey@redhat.com>
92 * configure.ac (GCJ): Reverted patch of 2006-12-20.
94 2007-01-22 Tom Tromey <tromey@redhat.com>
97 * testsuite/libjava.jni/pr29812.java: New file.
98 * testsuite/libjava.jni/pr29812_injar.java: New file.
99 * testsuite/libjava.jni/pr29812_injar.jar: New file.
100 * testsuite/libjava.jni/pr29812.out: New file.
101 * testsuite/libjava.jni/pr29812_injar.c: New file.
102 * testsuite/libjava.jni/pr29812_injar.h: New file.
103 * testsuite/libjava.jni/pr29812.jar: New file.
104 * testsuite/libjava.jni/pr29812.c: New file.
105 * testsuite/libjava.jni/pr29812.h: New file.
106 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
108 (gcj_jni_invocation_test_one): Use it.
109 (gcj_jni_pr29812): New proc.
110 (gcj_jni_run): Use it.
111 * java/lang/natRuntime.cc (_load): Push a new system frame before
113 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
114 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
115 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
116 <allocated_p>: Now bool.
118 (_Jv_JNI_EnsureLocalCapacity): Updated.
119 (_Jv_JNI_NewLocalRef): Likewise.
120 (_Jv_JNI_NewLocalRef): Likewise.
121 (_Jv_JNI_PopLocalFrame): Likewise.
122 (_Jv_JNI_FindClass): Likewise.
123 (_Jv_GetJNIEnvNewFrame): Likewise.
124 (_Jv_JNI_AttachCurrentThread): Likewise.
125 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
126 (_Jv_GetJNIEnvNewFrame): Use it.
127 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
129 2007-01-22 Tom Tromey <tromey@redhat.com>
131 * libtool-version: Bump current to 9.
133 2007-01-22 Andrew Haley <aph@redhat.com>
135 * sysdep/alpha/locks.h (write_barrier): New.
137 2007-01-21 Matthias Klose <doko@debian.org>
139 * Makefile.am (install-exec-hook): Use transformed name.
140 * Makefile.in: Regenerate.
142 2007-01-19 Keith Seitz <keiths@redhat.com>
144 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
145 in methods and reformat.
147 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
150 2007-01-18 Keith Seitz <keiths@redhat.com>
152 From Macro Trudel <mtrudel@gmx.ch>:
153 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
156 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
158 * jni.cc (_Jv_JNI_FindClass): Initialize class.
159 * testsuite/libjava.jni/findclass2.jar: New file.
160 * testsuite/libjava.jni/findclass2.h: New file.
161 * testsuite/libjava.jni/findclass2.java: New file
162 * testsuite/libjava.jni/findclass2.c: New file.
163 * testsuite/libjava.jni/findclass2.out: New file.
165 2007-01-18 Tom Tromey <tromey@redhat.com>
167 * configure: Rebuilt.
168 * configure.ac: Use multi_basedir instead of libgcj_basedir.
170 2007-01-18 Gary Benson <gbenson@redhat.com>
172 * gnu/java/nio/natVMPipeEcos.cc:
173 Renamed from gnu/java/nio/natPipeImplEcos.cc.
174 * gnu/java/nio/natVMPipePosix.cc:
175 Renamed from gnu/java/nio/natPipeImplPosix.cc.
176 * gnu/java/nio/natVMPipeWin32.cc:
177 Renamed from gnu/java/nio/natPipeImplWin32.cc.
178 * gnu/java/nio/natVMSelectorEcos.cc:
179 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
180 * gnu/java/nio/natVMSelectorPosix.cc:
181 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
182 * gnu/java/nio/natVMSelectorWin32.cc:
183 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
184 * java/io/natVMObjectInputStream.cc:
185 Renamed from java/io/natObjectInputStream.cc.
186 * java/lang/natVMDouble.cc:
187 Renamed from java/lang/natDouble.cc.
188 * java/lang/natVMFloat.cc:
189 Renamed from java/lang/natFloat.cc.
190 * Makefile.am, configure.ac: Reflect the above.
191 * Makefile.in, configure: Rebuilt.
193 2007-01-17 Andrew Haley <aph@redhat.com>
195 * Makefile.in: Rebuilt.
196 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
198 2007-01-17 Keith Seitz <keiths@redhat.com>
200 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
201 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
203 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
205 * configure.ac: Use multi.m4 from aclocal rather than custom
206 code. Use multi_basedir instead libgcj_basedir. Test for
207 /proc/self/exe when not cross-compiling.
208 * aclocal.m4: Regenerate.
209 * configure: Regenerate.
210 * Makefile.in: Regenerate.
212 2007-01-17 Gary Benson <gbenson@redhat.com>
214 * java/nio/natVMDirectByteBufferImpl.cc:
215 Renamed from java/nio/natDirectByteBufferImpl.cc.
216 * Makefile.am: Reflect the above.
217 * Makefile.in: Rebuilt.
219 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
221 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
222 Fixed indentation. Removed unused variable.
224 2007-01-16 Tom Tromey <tromey@redhat.com>
226 * java/lang/natThread.cc (finalize_native): Remove cast.
227 (_Jv_GetCurrentJNIEnv): Likewise.
228 * include/jvm.h (struct natThread) <jni_env>: Declare as
231 2007-01-16 Keith Seitz <keiths@redhat.com>
233 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
234 %#llx instead of %d for new_value.
235 * testsuite/libjava.jvmti/events.out: Update expected output.
236 * testsuite/libjava.jvmti/events.jar: Regenerate.
238 2007-01-16 Keith Seitz <keiths@redhat.com>
240 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
242 (ENABLE_EVENT): New macro.
243 (initialize): Define and enable JVMTI VM_INIT callback.
244 (jdwpVMInitCB): New function.
246 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
248 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
249 * testsuite/libjava.jvmti/getallthreads.java: New test.
250 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
251 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
252 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
253 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
255 2007-01-15 Keith Seitz <keiths@redhat.com>
257 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
258 java.lang.StringBuilder instead of java.lang.StringBuffer.
259 (resumeThread): Likewise.
261 2007-01-15 Gary Benson <gbenson@redhat.com>
263 * java/nio/MappedByteBuffer.java: Removed.
264 * sources.am, Makefile.in: Rebuilt.
266 2007-01-15 Gary Benson <gbenson@redhat.com>
268 * java/net/URLClassLoader.java: Removed.
269 * gnu/java/net/loader/Load_gcjlib.java: New file.
270 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
271 URL handler is present in static executables.
272 * sources.am, Makefile.in: Rebuilt.
274 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
276 * Makefile.am (libgcj_la_LDFLAGS): Add
277 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
278 (libgcj_tools_la_LDFLAGS): Likewise.
279 (libgcj_bc_la_LDFLAGS): Likewise.
280 * Makefile.in: Regenerated.
282 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
283 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
284 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
285 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
286 * configure: Regenerated.
287 * aclocal.m4: Likewise.
288 * gcj/Makefile.in: Likewise.
289 * include/Makefile.in: Likewise.
290 * testsuite/Makefile.in: Likewise.
292 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
294 * sysdep/sh/locks.h (read_barrier): New.
295 (write_barrier): Likewise.
297 2007-01-12 Andrew Haley <aph@redhat.com>
299 * include/i386-signal.h: Rewrite to use rt_sigaction.
301 2007-01-11 Andrew Haley <aph@redhat.com>
303 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
305 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
308 2007-01-10 Tom Tromey <tromey@redhat.com>
310 * gnu/gcj/xlib/*.h: New files.
311 * gnu/awt/xlib/*.h: Likewise.
312 * classpath/lib/gnu/gcj/xlib: New class files.
313 * classpath/lib/gnu/awt/xlib: Likewise.
315 2007-01-10 Tom Tromey <tromey@redhat.com>
317 * HACKING: Various updates.
319 2007-01-10 Tom Tromey <tromey@redhat.com>
321 * java/lang/natDouble.cc (toString): Added parens.
322 * gnu/gcj/io/shs.h (PROTO): Define.
323 * link.cc (resolve_pool_entry): Added missing braces.
325 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
328 * sysdep/ia64/locks.h (read_barrier): New.
329 (write_barrier): New.
331 2007-01-10 Gary Benson <gbenson@redhat.com>
333 * java/net/URL.java: Removed.
334 * sources.am, Makefile.in: Rebuilt.
336 2007-01-10 Matthias Klose <doko@debian.org>
338 * Makefile.am (install-exec-hook): Support $(DESTDIR).
339 * Makefile.in: Regenerated.
341 2007-01-05 Tom Tromey <tromey@redhat.com>
343 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
344 dummy.class in srcdir.
346 2007-01-03 Tom Tromey <tromey@redhat.com>
348 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
351 2007-01-03 Tom Tromey <tromey@redhat.com>
353 * testsuite/*: Added many .jar and .h files.
354 * testsuite/libjava.special/special.exp
355 (gcj_special_try_compiler): New proc.
356 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
357 bytecompile source. Search for .jar files.
358 (gcj_loader_test_one): Don't look for MyLoader.java.
359 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
360 bytecompile sources or build headers.
361 (gcj_jvmti_run): Look for .jar files.
362 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
364 (gcj_jni_test_one): Don't bytecompile sources or build headers.
365 Set classpath when invoking gij.
366 (gcj_jni_invocation_test_one): Likewise.
367 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
368 headers or bytecompile sources.
369 (gcj_cni_run): Use .jar files, not .java files.
370 * testsuite/libjava.lang/lang.exp: Compile .jar files.
372 2007-01-02 Tom Tromey <tromey@redhat.com>
374 * configure: Rebuilt.
375 * configure.ac: Check for gjar.
377 2007-01-02 Tom Tromey <tromey@redhat.com>
379 * testsuite/libjava.jacks/jacks.exp: Removed.
380 * testsuite/libjava.jacks/jacks.xfail: Removed.