configure, [...]: Rebuilt.
[official-gcc.git] / libjava / ChangeLog
blobeb99fdf10601fb3114e44f043a21f4f90ced6467
1 2007-01-25  Andrew Haley  <aph@redhat.com>
3         * configure, Makefile.in, include/config.h.in: Rebuilt.
4         * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
5         * configure.ac: Don't check for libmagic.
6         * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
7         p_magic_close, p_magic_buffer): New globals.
8         (init): Look up 'magic' functions.
9         (guessContentTypeFromBuffer): Updated.
11 2007-01-25  Keith Seitz  <keiths@redhat.com>
13         * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
14         (_Jv_JVMTI_Interface): Define GetMethodName.
15         * testsuite/libjava.jvmti/getmethodname.java: New file.
16         * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
17         * testsuite/libjava.jvmti/getmethodname.out: New file. 
19 2007-01-24  Kyle Galloway  <kgallowa@redhat.com>
21     * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
22     * libjava/testsuite/libjava.jvmti/interp: New folder.
23     * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
24         
25 2007-01-24  Keith Seitz  <keiths@redhat.com>
27         * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
28         CLASS_PREPARE notification.
30 2007-01-24  Keith Seitz  <keiths@redhat.com>
32         * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
33         gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
34         * interpret-run.cc: Implement insn_breakpoint.
36 2007-01-24  Keith Seitz  <keiths@redhat.com>
38         * prims.cc (_Jv_RunMain): Send JVMTI event notifications
39         for VM_INIT and VM_DEATH instead of the JDWP notifications.
41 2007-01-24  Keith Seitz  <keiths@redhat.com>
43         * gnu/classpath/jdwp/natVMVirtualMachine.cc
44         (getAllClassMethods): Implement.
46 2007-01-24  Andrew Haley  <aph@redhat.com>
48         * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
49         (getClassContext) Add a barrier to prevent GetStackWalkerStack()
50         from being sibcalled.
52 2007-01-24  Andrew Haley  <aph@redhat.com>
54         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
55         * sources.am: Rebuild.
57 2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>
59         * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
60         _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
62 2007-01-23  H.J. Lu  <hongjiu.lu@intel.com>
64         PR libgcj/30550
65         * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
66         * Makefile.in: Regenerated.
68 2007-01-22  Keith Seitz  <keiths@redhat.com>
70         * gnu/classpath/jdwp/natVMVirtualMachine.cc
71         (getClassMethod): Implement.
73 2007-01-22  Keith  Seitz  <keiths@redhat.com>
75         * java/lang/Class.h (_Jv_GetClassStatus): Declare.
76         * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
77         * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
78         (_Jv_JVMTI_Interface): Define GetClassStatus.
80 2007-01-22  Tom Tromey  <tromey@redhat.com>
82         * configure: Rebuilt.
83         * configure.ac (GCJ): Reverted patch of 2006-12-20.
85 2007-01-22  Tom Tromey  <tromey@redhat.com>
87         PR java/29812:
88         * testsuite/libjava.jni/pr29812.java: New file.
89         * testsuite/libjava.jni/pr29812_injar.java: New file.
90         * testsuite/libjava.jni/pr29812_injar.jar: New file.
91         * testsuite/libjava.jni/pr29812.out: New file.
92         * testsuite/libjava.jni/pr29812_injar.c: New file.
93         * testsuite/libjava.jni/pr29812_injar.h: New file.
94         * testsuite/libjava.jni/pr29812.jar: New file.
95         * testsuite/libjava.jni/pr29812.c: New file.
96         * testsuite/libjava.jni/pr29812.h: New file.
97         * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
98         New proc.
99         (gcj_jni_invocation_test_one): Use it.
100         (gcj_jni_pr29812): New proc.
101         (gcj_jni_run): Use it.
102         * java/lang/natRuntime.cc (_load): Push a new system frame before
103         calling JNI_OnLoad.
104         * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
105         (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
106         * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
107         <allocated_p>: Now bool.
108         <loader>: New field.
109         (_Jv_JNI_EnsureLocalCapacity): Updated.
110         (_Jv_JNI_NewLocalRef): Likewise.
111         (_Jv_JNI_NewLocalRef): Likewise.
112         (_Jv_JNI_PopLocalFrame): Likewise.
113         (_Jv_JNI_FindClass): Likewise.
114         (_Jv_GetJNIEnvNewFrame): Likewise.
115         (_Jv_JNI_AttachCurrentThread): Likewise.
116         (_Jv_GetJNIEnvNewFrameWithLoader): New function.
117         (_Jv_GetJNIEnvNewFrame): Use it.
118         * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
120 2007-01-22  Tom Tromey  <tromey@redhat.com>
122         * libtool-version: Bump current to 9.
124 2007-01-22  Andrew Haley  <aph@redhat.com>
126         * sysdep/alpha/locks.h (write_barrier): New.
128 2007-01-21  Matthias Klose  <doko@debian.org>
130         * Makefile.am (install-exec-hook): Use transformed name.
131         * Makefile.in: Regenerate.
133 2007-01-19  Keith Seitz  <keiths@redhat.com>
135         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
136         in methods and reformat.
138         * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
139         MAYBE_UNUSED.
141 2007-01-18  Keith Seitz  <keiths@redhat.com>
143         From Macro Trudel <mtrudel@gmx.ch>:
144         * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
145         Use JNICALL.
147 2007-01-18  Marco Trudel  <mtrudel@gmx.ch>
149         * jni.cc (_Jv_JNI_FindClass): Initialize class.
150         * testsuite/libjava.jni/findclass2.jar: New file.
151         * testsuite/libjava.jni/findclass2.h: New file.
152         * testsuite/libjava.jni/findclass2.java: New file
153         * testsuite/libjava.jni/findclass2.c: New file.
154         * testsuite/libjava.jni/findclass2.out: New file.
156 2007-01-18  Tom Tromey  <tromey@redhat.com>
158         * configure: Rebuilt.
159         * configure.ac: Use multi_basedir instead of libgcj_basedir.
161 2007-01-18  Gary Benson  <gbenson@redhat.com>
163         * gnu/java/nio/natVMPipeEcos.cc:
164         Renamed from gnu/java/nio/natPipeImplEcos.cc.
165         * gnu/java/nio/natVMPipePosix.cc:
166         Renamed from gnu/java/nio/natPipeImplPosix.cc.
167         * gnu/java/nio/natVMPipeWin32.cc:
168         Renamed from gnu/java/nio/natPipeImplWin32.cc.
169         * gnu/java/nio/natVMSelectorEcos.cc:
170         Renamed from gnu/java/nio/natSelectorImplEcos.cc.
171         * gnu/java/nio/natVMSelectorPosix.cc:
172         Renamed from gnu/java/nio/natSelectorImplPosix.cc.
173         * gnu/java/nio/natVMSelectorWin32.cc:
174         Renamed from gnu/java/nio/natSelectorImplWin32.cc.
175         * java/io/natVMObjectInputStream.cc:
176         Renamed from java/io/natObjectInputStream.cc.
177         * java/lang/natVMDouble.cc:
178         Renamed from java/lang/natDouble.cc.
179         * java/lang/natVMFloat.cc:
180         Renamed from java/lang/natFloat.cc.     
181         * Makefile.am, configure.ac: Reflect the above.
182         * Makefile.in, configure: Rebuilt.
184 2007-01-17  Andrew Haley  <aph@redhat.com>
186         * Makefile.in: Rebuilt.
187         * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
189 2007-01-17  Keith Seitz  <keiths@redhat.com>
191         * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
192         (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
194 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
196         * configure.ac: Use multi.m4 from aclocal rather than custom
197         code.  Use multi_basedir instead libgcj_basedir.  Test for
198         /proc/self/exe when not cross-compiling.
199         * aclocal.m4: Regenerate.
200         * configure: Regenerate.
201         * Makefile.in: Regenerate.
203 2007-01-17  Gary Benson  <gbenson@redhat.com>
205         * java/nio/natVMDirectByteBufferImpl.cc:
206         Renamed from java/nio/natDirectByteBufferImpl.cc.
207         * Makefile.am: Reflect the above.
208         * Makefile.in: Rebuilt.
209         
210 2007-01-17  Marco Trudel  <mtrudel@gmx.ch>
212         * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static.  Use JNICALL.
213         Fixed indentation.  Removed unused variable.
215 2007-01-16  Tom Tromey  <tromey@redhat.com>
217         * java/lang/natThread.cc (finalize_native): Remove cast.
218         (_Jv_GetCurrentJNIEnv): Likewise.
219         * include/jvm.h (struct natThread) <jni_env>: Declare as
220         _Jv_JNIEnv*.
222 2007-01-16  Keith Seitz  <keiths@redhat.com>
224         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
225         %#llx instead of %d for new_value.
226         * testsuite/libjava.jvmti/events.out: Update expected output.
227         * testsuite/libjava.jvmti/events.jar: Regenerate.
229 2007-01-16  Keith Seitz  <keiths@redhat.com>
231         * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
232         New macro.
233         (ENABLE_EVENT): New macro.
234         (initialize): Define and enable JVMTI VM_INIT callback.
235         (jdwpVMInitCB): New function.
237 2007-01-16  Kyle Galloway  <kgallowa@redhat.com>
239         * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
240         * testsuite/libjava.jvmti/getallthreads.java: New test.
241         * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
242         * testsuite/libjava.jvmti/getallthreads.out: Ditto.
243         * testsuite/libjava.jvmti/getallthreads.h: Ditto.
244         * testsuite/libjava.jvmti/getallthreads.jar: Ditto. 
246 2007-01-15  Keith Seitz  <keiths@redhat.com>
248         * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
249         java.lang.StringBuilder instead of java.lang.StringBuffer.
250         (resumeThread): Likewise.
252 2007-01-15  Gary Benson  <gbenson@redhat.com>
254         * java/nio/MappedByteBuffer.java: Removed.
255         * sources.am, Makefile.in: Rebuilt.
257 2007-01-15  Gary Benson  <gbenson@redhat.com>
259         * java/net/URLClassLoader.java: Removed.
260         * gnu/java/net/loader/Load_gcjlib.java: New file.
261         * gnu/gcj/runtime/BootClassLoader.java: Ensure core
262         URL handler is present in static executables.
263         * sources.am, Makefile.in: Rebuilt.
265 2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>
267         * Makefile.am (libgcj_la_LDFLAGS): Add
268         $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
269         (libgcj_tools_la_LDFLAGS): Likewise.
270         (libgcj_bc_la_LDFLAGS): Likewise.
271         * Makefile.in: Regenerated.
273         * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC.  Set
274         LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS.  Set
275         libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
276         Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
277         * configure: Regenerated.
278         * aclocal.m4: Likewise.
279         * gcj/Makefile.in: Likewise.
280         * include/Makefile.in: Likewise.
281         * testsuite/Makefile.in: Likewise.
283 2007-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
285         * sysdep/sh/locks.h (read_barrier): New.
286         (write_barrier): Likewise.
288 2007-01-12  Andrew Haley  <aph@redhat.com>
290         * include/i386-signal.h: Rewrite to use rt_sigaction.
292 2007-01-11  Andrew Haley  <aph@redhat.com>
294         * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
295         to char*.
296         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
297         aliasing violation.
299 2007-01-10  Tom Tromey  <tromey@redhat.com>
301         * gnu/gcj/xlib/*.h: New files.
302         * gnu/awt/xlib/*.h: Likewise.
303         * classpath/lib/gnu/gcj/xlib: New class files.
304         * classpath/lib/gnu/awt/xlib: Likewise.
306 2007-01-10  Tom Tromey  <tromey@redhat.com>
308         * HACKING: Various updates.
310 2007-01-10  Tom Tromey  <tromey@redhat.com>
312         * java/lang/natDouble.cc (toString): Added parens.
313         * gnu/gcj/io/shs.h (PROTO): Define.
314         * link.cc (resolve_pool_entry): Added missing braces.
316 2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>
318         PR libgcj/30424
319         * sysdep/ia64/locks.h (read_barrier): New.
320         (write_barrier): New.
322 2007-01-10  Gary Benson  <gbenson@redhat.com>
324         * java/net/URL.java: Removed.
325         * sources.am, Makefile.in: Rebuilt.
327 2007-01-10  Matthias Klose  <doko@debian.org>
329         * Makefile.am (install-exec-hook): Support $(DESTDIR).
330         * Makefile.in: Regenerated.
332 2007-01-05  Tom Tromey  <tromey@redhat.com>
334         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
335         dummy.class in srcdir.
337 2007-01-03  Tom Tromey  <tromey@redhat.com>
339         * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
340         for srcdir.
342 2007-01-03  Tom Tromey  <tromey@redhat.com>
344         * testsuite/*: Added many .jar and .h files.
345         * testsuite/libjava.special/special.exp
346         (gcj_special_try_compiler): New proc.
347         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
348         bytecompile source.  Search for .jar files.
349         (gcj_loader_test_one): Don't look for MyLoader.java.
350         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
351         bytecompile sources or build headers.
352         (gcj_jvmti_run): Look for .jar files.
353         * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
354         files.
355         (gcj_jni_test_one): Don't bytecompile sources or build headers.
356         Set classpath when invoking gij.
357         (gcj_jni_invocation_test_one): Likewise.
358         * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
359         headers or bytecompile sources.
360         (gcj_cni_run): Use .jar files, not .java files.
361         * testsuite/libjava.lang/lang.exp: Compile .jar files.
363 2007-01-02  Tom Tromey  <tromey@redhat.com>
365         * configure: Rebuilt.
366         * configure.ac: Check for gjar.
368 2007-01-02  Tom Tromey  <tromey@redhat.com>
370         * testsuite/libjava.jacks/jacks.exp: Removed.
371         * testsuite/libjava.jacks/jacks.xfail: Removed.