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