1 2007-01-22 Tom Tromey <tromey@redhat.com>
4 * testsuite/libjava.jni/pr29812.java: New file.
5 * testsuite/libjava.jni/pr29812_injar.java: New file.
6 * testsuite/libjava.jni/pr29812_injar.jar: New file.
7 * testsuite/libjava.jni/pr29812.out: New file.
8 * testsuite/libjava.jni/pr29812_injar.c: New file.
9 * testsuite/libjava.jni/pr29812_injar.h: New file.
10 * testsuite/libjava.jni/pr29812.jar: New file.
11 * testsuite/libjava.jni/pr29812.c: New file.
12 * testsuite/libjava.jni/pr29812.h: New file.
13 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
15 (gcj_jni_invocation_test_one): Use it.
16 (gcj_jni_pr29812): New proc.
17 (gcj_jni_run): Use it.
18 * java/lang/natRuntime.cc (_load): Push a new system frame before
20 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
21 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
22 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
23 <allocated_p>: Now bool.
25 (_Jv_JNI_EnsureLocalCapacity): Updated.
26 (_Jv_JNI_NewLocalRef): Likewise.
27 (_Jv_JNI_NewLocalRef): Likewise.
28 (_Jv_JNI_PopLocalFrame): Likewise.
29 (_Jv_JNI_FindClass): Likewise.
30 (_Jv_GetJNIEnvNewFrame): Likewise.
31 (_Jv_JNI_AttachCurrentThread): Likewise.
32 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
33 (_Jv_GetJNIEnvNewFrame): Use it.
34 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
36 2007-01-22 Tom Tromey <tromey@redhat.com>
38 * libtool-version: Bump current to 9.
40 2007-01-22 Andrew Haley <aph@redhat.com>
42 * sysdep/alpha/locks.h (write_barrier): New.
44 2007-01-21 Matthias Klose <doko@debian.org>
46 * Makefile.am (install-exec-hook): Use transformed name.
47 * Makefile.in: Regenerate.
49 2007-01-19 Keith Seitz <keiths@redhat.com>
51 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
52 in methods and reformat.
54 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
57 2007-01-18 Keith Seitz <keiths@redhat.com>
59 From Macro Trudel <mtrudel@gmx.ch>:
60 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
63 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
65 * jni.cc (_Jv_JNI_FindClass): Initialize class.
66 * testsuite/libjava.jni/findclass2.jar: New file.
67 * testsuite/libjava.jni/findclass2.h: New file.
68 * testsuite/libjava.jni/findclass2.java: New file
69 * testsuite/libjava.jni/findclass2.c: New file.
70 * testsuite/libjava.jni/findclass2.out: New file.
72 2007-01-18 Tom Tromey <tromey@redhat.com>
75 * configure.ac: Use multi_basedir instead of libgcj_basedir.
77 2007-01-18 Gary Benson <gbenson@redhat.com>
79 * gnu/java/nio/natVMPipeEcos.cc:
80 Renamed from gnu/java/nio/natPipeImplEcos.cc.
81 * gnu/java/nio/natVMPipePosix.cc:
82 Renamed from gnu/java/nio/natPipeImplPosix.cc.
83 * gnu/java/nio/natVMPipeWin32.cc:
84 Renamed from gnu/java/nio/natPipeImplWin32.cc.
85 * gnu/java/nio/natVMSelectorEcos.cc:
86 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
87 * gnu/java/nio/natVMSelectorPosix.cc:
88 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
89 * gnu/java/nio/natVMSelectorWin32.cc:
90 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
91 * java/io/natVMObjectInputStream.cc:
92 Renamed from java/io/natObjectInputStream.cc.
93 * java/lang/natVMDouble.cc:
94 Renamed from java/lang/natDouble.cc.
95 * java/lang/natVMFloat.cc:
96 Renamed from java/lang/natFloat.cc.
97 * Makefile.am, configure.ac: Reflect the above.
98 * Makefile.in, configure: Rebuilt.
100 2007-01-17 Andrew Haley <aph@redhat.com>
102 * Makefile.in: Rebuilt.
103 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
105 2007-01-17 Keith Seitz <keiths@redhat.com>
107 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
108 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
110 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
112 * configure.ac: Use multi.m4 from aclocal rather than custom
113 code. Use multi_basedir instead libgcj_basedir. Test for
114 /proc/self/exe when not cross-compiling.
115 * aclocal.m4: Regenerate.
116 * configure: Regenerate.
117 * Makefile.in: Regenerate.
119 2007-01-17 Gary Benson <gbenson@redhat.com>
121 * java/nio/natVMDirectByteBufferImpl.cc:
122 Renamed from java/nio/natDirectByteBufferImpl.cc.
123 * Makefile.am: Reflect the above.
124 * Makefile.in: Rebuilt.
126 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
128 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
129 Fixed indentation. Removed unused variable.
131 2007-01-16 Tom Tromey <tromey@redhat.com>
133 * java/lang/natThread.cc (finalize_native): Remove cast.
134 (_Jv_GetCurrentJNIEnv): Likewise.
135 * include/jvm.h (struct natThread) <jni_env>: Declare as
138 2007-01-16 Keith Seitz <keiths@redhat.com>
140 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
141 %#llx instead of %d for new_value.
142 * testsuite/libjava.jvmti/events.out: Update expected output.
143 * testsuite/libjava.jvmti/events.jar: Regenerate.
145 2007-01-16 Keith Seitz <keiths@redhat.com>
147 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
149 (ENABLE_EVENT): New macro.
150 (initialize): Define and enable JVMTI VM_INIT callback.
151 (jdwpVMInitCB): New function.
153 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
155 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
156 * testsuite/libjava.jvmti/getallthreads.java: New test.
157 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
158 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
159 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
160 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
162 2007-01-15 Keith Seitz <keiths@redhat.com>
164 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
165 java.lang.StringBuilder instead of java.lang.StringBuffer.
166 (resumeThread): Likewise.
168 2007-01-15 Gary Benson <gbenson@redhat.com>
170 * java/nio/MappedByteBuffer.java: Removed.
171 * sources.am, Makefile.in: Rebuilt.
173 2007-01-15 Gary Benson <gbenson@redhat.com>
175 * java/net/URLClassLoader.java: Removed.
176 * gnu/java/net/loader/Load_gcjlib.java: New file.
177 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
178 URL handler is present in static executables.
179 * sources.am, Makefile.in: Rebuilt.
181 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
183 * Makefile.am (libgcj_la_LDFLAGS): Add
184 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
185 (libgcj_tools_la_LDFLAGS): Likewise.
186 (libgcj_bc_la_LDFLAGS): Likewise.
187 * Makefile.in: Regenerated.
189 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
190 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
191 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
192 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
193 * configure: Regenerated.
194 * aclocal.m4: Likewise.
195 * gcj/Makefile.in: Likewise.
196 * include/Makefile.in: Likewise.
197 * testsuite/Makefile.in: Likewise.
199 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
201 * sysdep/sh/locks.h (read_barrier): New.
202 (write_barrier): Likewise.
204 2007-01-12 Andrew Haley <aph@redhat.com>
206 * include/i386-signal.h: Rewrite to use rt_sigaction.
208 2007-01-11 Andrew Haley <aph@redhat.com>
210 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
212 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
215 2007-01-10 Tom Tromey <tromey@redhat.com>
217 * gnu/gcj/xlib/*.h: New files.
218 * gnu/awt/xlib/*.h: Likewise.
219 * classpath/lib/gnu/gcj/xlib: New class files.
220 * classpath/lib/gnu/awt/xlib: Likewise.
222 2007-01-10 Tom Tromey <tromey@redhat.com>
224 * HACKING: Various updates.
226 2007-01-10 Tom Tromey <tromey@redhat.com>
228 * java/lang/natDouble.cc (toString): Added parens.
229 * gnu/gcj/io/shs.h (PROTO): Define.
230 * link.cc (resolve_pool_entry): Added missing braces.
232 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
235 * sysdep/ia64/locks.h (read_barrier): New.
236 (write_barrier): New.
238 2007-01-10 Gary Benson <gbenson@redhat.com>
240 * java/net/URL.java: Removed.
241 * sources.am, Makefile.in: Rebuilt.
243 2007-01-10 Matthias Klose <doko@debian.org>
245 * Makefile.am (install-exec-hook): Support $(DESTDIR).
246 * Makefile.in: Regenerated.
248 2007-01-05 Tom Tromey <tromey@redhat.com>
250 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
251 dummy.class in srcdir.
253 2007-01-03 Tom Tromey <tromey@redhat.com>
255 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
258 2007-01-03 Tom Tromey <tromey@redhat.com>
260 * testsuite/*: Added many .jar and .h files.
261 * testsuite/libjava.special/special.exp
262 (gcj_special_try_compiler): New proc.
263 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
264 bytecompile source. Search for .jar files.
265 (gcj_loader_test_one): Don't look for MyLoader.java.
266 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
267 bytecompile sources or build headers.
268 (gcj_jvmti_run): Look for .jar files.
269 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
271 (gcj_jni_test_one): Don't bytecompile sources or build headers.
272 Set classpath when invoking gij.
273 (gcj_jni_invocation_test_one): Likewise.
274 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
275 headers or bytecompile sources.
276 (gcj_cni_run): Use .jar files, not .java files.
277 * testsuite/libjava.lang/lang.exp: Compile .jar files.
279 2007-01-02 Tom Tromey <tromey@redhat.com>
281 * configure: Rebuilt.
282 * configure.ac: Check for gjar.
284 2007-01-02 Tom Tromey <tromey@redhat.com>
286 * testsuite/libjava.jacks/jacks.exp: Removed.
287 * testsuite/libjava.jacks/jacks.xfail: Removed.