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