OSDN Git Service

e31a214d4624e192dcebd7fc3db86a9f23e68d1d
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2007-01-22  Tom Tromey  <tromey@redhat.com>
2
3         PR java/29812:
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):
14         New proc.
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
19         calling JNI_OnLoad.
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.
24         <loader>: New field.
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'.
35
36 2007-01-22  Tom Tromey  <tromey@redhat.com>
37
38         * libtool-version: Bump current to 9.
39
40 2007-01-22  Andrew Haley  <aph@redhat.com>
41
42         * sysdep/alpha/locks.h (write_barrier): New.
43
44 2007-01-21  Matthias Klose  <doko@debian.org>
45
46         * Makefile.am (install-exec-hook): Use transformed name.
47         * Makefile.in: Regenerate.
48
49 2007-01-19  Keith Seitz  <keiths@redhat.com>
50
51         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
52         in methods and reformat.
53
54         * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
55         MAYBE_UNUSED.
56
57 2007-01-18  Keith Seitz  <keiths@redhat.com>
58
59         From Macro Trudel <mtrudel@gmx.ch>:
60         * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
61         Use JNICALL.
62
63 2007-01-18  Marco Trudel  <mtrudel@gmx.ch>
64
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.
71
72 2007-01-18  Tom Tromey  <tromey@redhat.com>
73
74         * configure: Rebuilt.
75         * configure.ac: Use multi_basedir instead of libgcj_basedir.
76
77 2007-01-18  Gary Benson  <gbenson@redhat.com>
78
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.
99
100 2007-01-17  Andrew Haley  <aph@redhat.com>
101
102         * Makefile.in: Rebuilt.
103         * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
104
105 2007-01-17  Keith Seitz  <keiths@redhat.com>
106
107         * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
108         (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
109
110 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
111
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.
118
119 2007-01-17  Gary Benson  <gbenson@redhat.com>
120
121         * java/nio/natVMDirectByteBufferImpl.cc:
122         Renamed from java/nio/natDirectByteBufferImpl.cc.
123         * Makefile.am: Reflect the above.
124         * Makefile.in: Rebuilt.
125         
126 2007-01-17  Marco Trudel  <mtrudel@gmx.ch>
127
128         * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static.  Use JNICALL.
129         Fixed indentation.  Removed unused variable.
130
131 2007-01-16  Tom Tromey  <tromey@redhat.com>
132
133         * java/lang/natThread.cc (finalize_native): Remove cast.
134         (_Jv_GetCurrentJNIEnv): Likewise.
135         * include/jvm.h (struct natThread) <jni_env>: Declare as
136         _Jv_JNIEnv*.
137
138 2007-01-16  Keith Seitz  <keiths@redhat.com>
139
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.
144
145 2007-01-16  Keith Seitz  <keiths@redhat.com>
146
147         * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
148         New macro.
149         (ENABLE_EVENT): New macro.
150         (initialize): Define and enable JVMTI VM_INIT callback.
151         (jdwpVMInitCB): New function.
152
153 2007-01-16  Kyle Galloway  <kgallowa@redhat.com>
154
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. 
161
162 2007-01-15  Keith Seitz  <keiths@redhat.com>
163
164         * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
165         java.lang.StringBuilder instead of java.lang.StringBuffer.
166         (resumeThread): Likewise.
167
168 2007-01-15  Gary Benson  <gbenson@redhat.com>
169
170         * java/nio/MappedByteBuffer.java: Removed.
171         * sources.am, Makefile.in: Rebuilt.
172
173 2007-01-15  Gary Benson  <gbenson@redhat.com>
174
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.
180
181 2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>
182
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.
188
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.
198
199 2007-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
200
201         * sysdep/sh/locks.h (read_barrier): New.
202         (write_barrier): Likewise.
203
204 2007-01-12  Andrew Haley  <aph@redhat.com>
205
206         * include/i386-signal.h: Rewrite to use rt_sigaction.
207
208 2007-01-11  Andrew Haley  <aph@redhat.com>
209
210         * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
211         to char*.
212         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
213         aliasing violation.
214
215 2007-01-10  Tom Tromey  <tromey@redhat.com>
216
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.
221
222 2007-01-10  Tom Tromey  <tromey@redhat.com>
223
224         * HACKING: Various updates.
225
226 2007-01-10  Tom Tromey  <tromey@redhat.com>
227
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.
231
232 2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>
233
234         PR libgcj/30424
235         * sysdep/ia64/locks.h (read_barrier): New.
236         (write_barrier): New.
237
238 2007-01-10  Gary Benson  <gbenson@redhat.com>
239
240         * java/net/URL.java: Removed.
241         * sources.am, Makefile.in: Rebuilt.
242
243 2007-01-10  Matthias Klose  <doko@debian.org>
244
245         * Makefile.am (install-exec-hook): Support $(DESTDIR).
246         * Makefile.in: Regenerated.
247
248 2007-01-05  Tom Tromey  <tromey@redhat.com>
249
250         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
251         dummy.class in srcdir.
252
253 2007-01-03  Tom Tromey  <tromey@redhat.com>
254
255         * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
256         for srcdir.
257
258 2007-01-03  Tom Tromey  <tromey@redhat.com>
259
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
270         files.
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.
278
279 2007-01-02  Tom Tromey  <tromey@redhat.com>
280
281         * configure: Rebuilt.
282         * configure.ac: Check for gjar.
283
284 2007-01-02  Tom Tromey  <tromey@redhat.com>
285
286         * testsuite/libjava.jacks/jacks.exp: Removed.
287         * testsuite/libjava.jacks/jacks.xfail: Removed.
288