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