OSDN Git Service

* configure: Rebuilt.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2007-01-22  Tom Tromey  <tromey@redhat.com>
2
3         * configure: Rebuilt.
4         * configure.ac (GCJ): Reverted patch of 2006-12-20.
5
6 2007-01-22  Tom Tromey  <tromey@redhat.com>
7
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'.
40
41 2007-01-22  Tom Tromey  <tromey@redhat.com>
42
43         * libtool-version: Bump current to 9.
44
45 2007-01-22  Andrew Haley  <aph@redhat.com>
46
47         * sysdep/alpha/locks.h (write_barrier): New.
48
49 2007-01-21  Matthias Klose  <doko@debian.org>
50
51         * Makefile.am (install-exec-hook): Use transformed name.
52         * Makefile.in: Regenerate.
53
54 2007-01-19  Keith Seitz  <keiths@redhat.com>
55
56         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
57         in methods and reformat.
58
59         * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
60         MAYBE_UNUSED.
61
62 2007-01-18  Keith Seitz  <keiths@redhat.com>
63
64         From Macro Trudel <mtrudel@gmx.ch>:
65         * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
66         Use JNICALL.
67
68 2007-01-18  Marco Trudel  <mtrudel@gmx.ch>
69
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.
76
77 2007-01-18  Tom Tromey  <tromey@redhat.com>
78
79         * configure: Rebuilt.
80         * configure.ac: Use multi_basedir instead of libgcj_basedir.
81
82 2007-01-18  Gary Benson  <gbenson@redhat.com>
83
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.
104
105 2007-01-17  Andrew Haley  <aph@redhat.com>
106
107         * Makefile.in: Rebuilt.
108         * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
109
110 2007-01-17  Keith Seitz  <keiths@redhat.com>
111
112         * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
113         (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
114
115 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
116
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.
123
124 2007-01-17  Gary Benson  <gbenson@redhat.com>
125
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>
132
133         * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static.  Use JNICALL.
134         Fixed indentation.  Removed unused variable.
135
136 2007-01-16  Tom Tromey  <tromey@redhat.com>
137
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*.
142
143 2007-01-16  Keith Seitz  <keiths@redhat.com>
144
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.
149
150 2007-01-16  Keith Seitz  <keiths@redhat.com>
151
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.
157
158 2007-01-16  Kyle Galloway  <kgallowa@redhat.com>
159
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. 
166
167 2007-01-15  Keith Seitz  <keiths@redhat.com>
168
169         * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
170         java.lang.StringBuilder instead of java.lang.StringBuffer.
171         (resumeThread): Likewise.
172
173 2007-01-15  Gary Benson  <gbenson@redhat.com>
174
175         * java/nio/MappedByteBuffer.java: Removed.
176         * sources.am, Makefile.in: Rebuilt.
177
178 2007-01-15  Gary Benson  <gbenson@redhat.com>
179
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.
185
186 2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>
187
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.
193
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.
203
204 2007-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
205
206         * sysdep/sh/locks.h (read_barrier): New.
207         (write_barrier): Likewise.
208
209 2007-01-12  Andrew Haley  <aph@redhat.com>
210
211         * include/i386-signal.h: Rewrite to use rt_sigaction.
212
213 2007-01-11  Andrew Haley  <aph@redhat.com>
214
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.
219
220 2007-01-10  Tom Tromey  <tromey@redhat.com>
221
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.
226
227 2007-01-10  Tom Tromey  <tromey@redhat.com>
228
229         * HACKING: Various updates.
230
231 2007-01-10  Tom Tromey  <tromey@redhat.com>
232
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.
236
237 2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>
238
239         PR libgcj/30424
240         * sysdep/ia64/locks.h (read_barrier): New.
241         (write_barrier): New.
242
243 2007-01-10  Gary Benson  <gbenson@redhat.com>
244
245         * java/net/URL.java: Removed.
246         * sources.am, Makefile.in: Rebuilt.
247
248 2007-01-10  Matthias Klose  <doko@debian.org>
249
250         * Makefile.am (install-exec-hook): Support $(DESTDIR).
251         * Makefile.in: Regenerated.
252
253 2007-01-05  Tom Tromey  <tromey@redhat.com>
254
255         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
256         dummy.class in srcdir.
257
258 2007-01-03  Tom Tromey  <tromey@redhat.com>
259
260         * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
261         for srcdir.
262
263 2007-01-03  Tom Tromey  <tromey@redhat.com>
264
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.
283
284 2007-01-02  Tom Tromey  <tromey@redhat.com>
285
286         * configure: Rebuilt.
287         * configure.ac: Check for gjar.
288
289 2007-01-02  Tom Tromey  <tromey@redhat.com>
290
291         * testsuite/libjava.jacks/jacks.exp: Removed.
292         * testsuite/libjava.jacks/jacks.xfail: Removed.
293