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