1 2007-01-22 Keith Seitz <keiths@redhat.com>
3 * gnu/classpath/jdwp/natVMVirtualMachine.cc
4 (getClassMethod): Implement.
6 2007-01-22 Keith Seitz <keiths@redhat.com>
8 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
9 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
10 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
11 (_Jv_JVMTI_Interface): Define GetClassStatus.
13 2007-01-22 Tom Tromey <tromey@redhat.com>
16 * configure.ac (GCJ): Reverted patch of 2006-12-20.
18 2007-01-22 Tom Tromey <tromey@redhat.com>
21 * testsuite/libjava.jni/pr29812.java: New file.
22 * testsuite/libjava.jni/pr29812_injar.java: New file.
23 * testsuite/libjava.jni/pr29812_injar.jar: New file.
24 * testsuite/libjava.jni/pr29812.out: New file.
25 * testsuite/libjava.jni/pr29812_injar.c: New file.
26 * testsuite/libjava.jni/pr29812_injar.h: New file.
27 * testsuite/libjava.jni/pr29812.jar: New file.
28 * testsuite/libjava.jni/pr29812.c: New file.
29 * testsuite/libjava.jni/pr29812.h: New file.
30 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
32 (gcj_jni_invocation_test_one): Use it.
33 (gcj_jni_pr29812): New proc.
34 (gcj_jni_run): Use it.
35 * java/lang/natRuntime.cc (_load): Push a new system frame before
37 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
38 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
39 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
40 <allocated_p>: Now bool.
42 (_Jv_JNI_EnsureLocalCapacity): Updated.
43 (_Jv_JNI_NewLocalRef): Likewise.
44 (_Jv_JNI_NewLocalRef): Likewise.
45 (_Jv_JNI_PopLocalFrame): Likewise.
46 (_Jv_JNI_FindClass): Likewise.
47 (_Jv_GetJNIEnvNewFrame): Likewise.
48 (_Jv_JNI_AttachCurrentThread): Likewise.
49 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
50 (_Jv_GetJNIEnvNewFrame): Use it.
51 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
53 2007-01-22 Tom Tromey <tromey@redhat.com>
55 * libtool-version: Bump current to 9.
57 2007-01-22 Andrew Haley <aph@redhat.com>
59 * sysdep/alpha/locks.h (write_barrier): New.
61 2007-01-21 Matthias Klose <doko@debian.org>
63 * Makefile.am (install-exec-hook): Use transformed name.
64 * Makefile.in: Regenerate.
66 2007-01-19 Keith Seitz <keiths@redhat.com>
68 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
69 in methods and reformat.
71 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
74 2007-01-18 Keith Seitz <keiths@redhat.com>
76 From Macro Trudel <mtrudel@gmx.ch>:
77 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
80 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
82 * jni.cc (_Jv_JNI_FindClass): Initialize class.
83 * testsuite/libjava.jni/findclass2.jar: New file.
84 * testsuite/libjava.jni/findclass2.h: New file.
85 * testsuite/libjava.jni/findclass2.java: New file
86 * testsuite/libjava.jni/findclass2.c: New file.
87 * testsuite/libjava.jni/findclass2.out: New file.
89 2007-01-18 Tom Tromey <tromey@redhat.com>
92 * configure.ac: Use multi_basedir instead of libgcj_basedir.
94 2007-01-18 Gary Benson <gbenson@redhat.com>
96 * gnu/java/nio/natVMPipeEcos.cc:
97 Renamed from gnu/java/nio/natPipeImplEcos.cc.
98 * gnu/java/nio/natVMPipePosix.cc:
99 Renamed from gnu/java/nio/natPipeImplPosix.cc.
100 * gnu/java/nio/natVMPipeWin32.cc:
101 Renamed from gnu/java/nio/natPipeImplWin32.cc.
102 * gnu/java/nio/natVMSelectorEcos.cc:
103 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
104 * gnu/java/nio/natVMSelectorPosix.cc:
105 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
106 * gnu/java/nio/natVMSelectorWin32.cc:
107 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
108 * java/io/natVMObjectInputStream.cc:
109 Renamed from java/io/natObjectInputStream.cc.
110 * java/lang/natVMDouble.cc:
111 Renamed from java/lang/natDouble.cc.
112 * java/lang/natVMFloat.cc:
113 Renamed from java/lang/natFloat.cc.
114 * Makefile.am, configure.ac: Reflect the above.
115 * Makefile.in, configure: Rebuilt.
117 2007-01-17 Andrew Haley <aph@redhat.com>
119 * Makefile.in: Rebuilt.
120 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
122 2007-01-17 Keith Seitz <keiths@redhat.com>
124 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
125 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
127 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
129 * configure.ac: Use multi.m4 from aclocal rather than custom
130 code. Use multi_basedir instead libgcj_basedir. Test for
131 /proc/self/exe when not cross-compiling.
132 * aclocal.m4: Regenerate.
133 * configure: Regenerate.
134 * Makefile.in: Regenerate.
136 2007-01-17 Gary Benson <gbenson@redhat.com>
138 * java/nio/natVMDirectByteBufferImpl.cc:
139 Renamed from java/nio/natDirectByteBufferImpl.cc.
140 * Makefile.am: Reflect the above.
141 * Makefile.in: Rebuilt.
143 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
145 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
146 Fixed indentation. Removed unused variable.
148 2007-01-16 Tom Tromey <tromey@redhat.com>
150 * java/lang/natThread.cc (finalize_native): Remove cast.
151 (_Jv_GetCurrentJNIEnv): Likewise.
152 * include/jvm.h (struct natThread) <jni_env>: Declare as
155 2007-01-16 Keith Seitz <keiths@redhat.com>
157 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
158 %#llx instead of %d for new_value.
159 * testsuite/libjava.jvmti/events.out: Update expected output.
160 * testsuite/libjava.jvmti/events.jar: Regenerate.
162 2007-01-16 Keith Seitz <keiths@redhat.com>
164 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
166 (ENABLE_EVENT): New macro.
167 (initialize): Define and enable JVMTI VM_INIT callback.
168 (jdwpVMInitCB): New function.
170 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
172 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
173 * testsuite/libjava.jvmti/getallthreads.java: New test.
174 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
175 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
176 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
177 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
179 2007-01-15 Keith Seitz <keiths@redhat.com>
181 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
182 java.lang.StringBuilder instead of java.lang.StringBuffer.
183 (resumeThread): Likewise.
185 2007-01-15 Gary Benson <gbenson@redhat.com>
187 * java/nio/MappedByteBuffer.java: Removed.
188 * sources.am, Makefile.in: Rebuilt.
190 2007-01-15 Gary Benson <gbenson@redhat.com>
192 * java/net/URLClassLoader.java: Removed.
193 * gnu/java/net/loader/Load_gcjlib.java: New file.
194 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
195 URL handler is present in static executables.
196 * sources.am, Makefile.in: Rebuilt.
198 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
200 * Makefile.am (libgcj_la_LDFLAGS): Add
201 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
202 (libgcj_tools_la_LDFLAGS): Likewise.
203 (libgcj_bc_la_LDFLAGS): Likewise.
204 * Makefile.in: Regenerated.
206 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
207 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
208 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
209 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
210 * configure: Regenerated.
211 * aclocal.m4: Likewise.
212 * gcj/Makefile.in: Likewise.
213 * include/Makefile.in: Likewise.
214 * testsuite/Makefile.in: Likewise.
216 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
218 * sysdep/sh/locks.h (read_barrier): New.
219 (write_barrier): Likewise.
221 2007-01-12 Andrew Haley <aph@redhat.com>
223 * include/i386-signal.h: Rewrite to use rt_sigaction.
225 2007-01-11 Andrew Haley <aph@redhat.com>
227 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
229 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
232 2007-01-10 Tom Tromey <tromey@redhat.com>
234 * gnu/gcj/xlib/*.h: New files.
235 * gnu/awt/xlib/*.h: Likewise.
236 * classpath/lib/gnu/gcj/xlib: New class files.
237 * classpath/lib/gnu/awt/xlib: Likewise.
239 2007-01-10 Tom Tromey <tromey@redhat.com>
241 * HACKING: Various updates.
243 2007-01-10 Tom Tromey <tromey@redhat.com>
245 * java/lang/natDouble.cc (toString): Added parens.
246 * gnu/gcj/io/shs.h (PROTO): Define.
247 * link.cc (resolve_pool_entry): Added missing braces.
249 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
252 * sysdep/ia64/locks.h (read_barrier): New.
253 (write_barrier): New.
255 2007-01-10 Gary Benson <gbenson@redhat.com>
257 * java/net/URL.java: Removed.
258 * sources.am, Makefile.in: Rebuilt.
260 2007-01-10 Matthias Klose <doko@debian.org>
262 * Makefile.am (install-exec-hook): Support $(DESTDIR).
263 * Makefile.in: Regenerated.
265 2007-01-05 Tom Tromey <tromey@redhat.com>
267 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
268 dummy.class in srcdir.
270 2007-01-03 Tom Tromey <tromey@redhat.com>
272 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
275 2007-01-03 Tom Tromey <tromey@redhat.com>
277 * testsuite/*: Added many .jar and .h files.
278 * testsuite/libjava.special/special.exp
279 (gcj_special_try_compiler): New proc.
280 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
281 bytecompile source. Search for .jar files.
282 (gcj_loader_test_one): Don't look for MyLoader.java.
283 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
284 bytecompile sources or build headers.
285 (gcj_jvmti_run): Look for .jar files.
286 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
288 (gcj_jni_test_one): Don't bytecompile sources or build headers.
289 Set classpath when invoking gij.
290 (gcj_jni_invocation_test_one): Likewise.
291 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
292 headers or bytecompile sources.
293 (gcj_cni_run): Use .jar files, not .java files.
294 * testsuite/libjava.lang/lang.exp: Compile .jar files.
296 2007-01-02 Tom Tromey <tromey@redhat.com>
298 * configure: Rebuilt.
299 * configure.ac: Check for gjar.
301 2007-01-02 Tom Tromey <tromey@redhat.com>
303 * testsuite/libjava.jacks/jacks.exp: Removed.
304 * testsuite/libjava.jacks/jacks.xfail: Removed.