]> gcc.gnu.org Git - gcc.git/blame - libjava/ChangeLog
libjava
[gcc.git] / libjava / ChangeLog
CommitLineData
7969a379
TT
12007-01-26 Tom Tromey <tromey@redhat.com>
2
3 * Updated headers.
4
e8589103
TT
52007-01-25 Tom Tromey <tromey@redhat.com>
6
7 PR libgcj/29594:
8 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
9 input or output encodings. Removed unused local variables.
10
161a649c
KS
112007-01-25 Keith Seitz <keiths@redhat.com>
12
13 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
14 * gnu/classpath/jdwp/natVMVirtualMachine.cc
15 (_Jv_GetJDWP_JVMTIEnv): New function.
16 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
17 (getSignature): Implement.
18 (getModifiers): Implement.
19
9fe94447
AH
202007-01-25 Andrew Haley <aph@redhat.com>
21
22 * configure, Makefile.in, include/config.h.in: Rebuilt.
23 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
24 * configure.ac: Don't check for libmagic.
25 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
26 p_magic_close, p_magic_buffer): New globals.
27 (init): Look up 'magic' functions.
28 (guessContentTypeFromBuffer): Updated.
29
ff393407
KS
302007-01-25 Keith Seitz <keiths@redhat.com>
31
32 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
33 (_Jv_JVMTI_Interface): Define GetMethodName.
34 * testsuite/libjava.jvmti/getmethodname.java: New file.
35 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
36 * testsuite/libjava.jvmti/getmethodname.out: New file.
37
4ca40ac0
KG
382007-01-24 Kyle Galloway <kgallowa@redhat.com>
39
40 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
41 * libjava/testsuite/libjava.jvmti/interp: New folder.
42 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
43
9ea6c4a4
KS
442007-01-24 Keith Seitz <keiths@redhat.com>
45
46 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
47 CLASS_PREPARE notification.
48
c422af91
KS
492007-01-24 Keith Seitz <keiths@redhat.com>
50
51 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
52 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
53 * interpret-run.cc: Implement insn_breakpoint.
54
078b3073
KS
552007-01-24 Keith Seitz <keiths@redhat.com>
56
57 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
58 for VM_INIT and VM_DEATH instead of the JDWP notifications.
59
c65110e4
KS
602007-01-24 Keith Seitz <keiths@redhat.com>
61
62 * gnu/classpath/jdwp/natVMVirtualMachine.cc
63 (getAllClassMethods): Implement.
64
8cda32ad
AH
652007-01-24 Andrew Haley <aph@redhat.com>
66
67 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
68 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
69 from being sibcalled.
70
712007-01-24 Andrew Haley <aph@redhat.com>
72
73 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
74 * sources.am: Rebuild.
75
f767122b
AK
762007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
77
78 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
79 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
80
38fbab2a
L
812007-01-23 H.J. Lu <hongjiu.lu@intel.com>
82
83 PR libgcj/30550
84 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
85 * Makefile.in: Regenerated.
86
c56b658b
KS
872007-01-22 Keith Seitz <keiths@redhat.com>
88
89 * gnu/classpath/jdwp/natVMVirtualMachine.cc
90 (getClassMethod): Implement.
91
2b3c6788
KS
922007-01-22 Keith Seitz <keiths@redhat.com>
93
94 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
95 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
96 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
97 (_Jv_JVMTI_Interface): Define GetClassStatus.
98
d374f567
TT
992007-01-22 Tom Tromey <tromey@redhat.com>
100
101 * configure: Rebuilt.
102 * configure.ac (GCJ): Reverted patch of 2006-12-20.
103
262fa8a4
TT
1042007-01-22 Tom Tromey <tromey@redhat.com>
105
106 PR java/29812:
107 * testsuite/libjava.jni/pr29812.java: New file.
108 * testsuite/libjava.jni/pr29812_injar.java: New file.
109 * testsuite/libjava.jni/pr29812_injar.jar: New file.
110 * testsuite/libjava.jni/pr29812.out: New file.
111 * testsuite/libjava.jni/pr29812_injar.c: New file.
112 * testsuite/libjava.jni/pr29812_injar.h: New file.
113 * testsuite/libjava.jni/pr29812.jar: New file.
114 * testsuite/libjava.jni/pr29812.c: New file.
115 * testsuite/libjava.jni/pr29812.h: New file.
116 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
117 New proc.
118 (gcj_jni_invocation_test_one): Use it.
119 (gcj_jni_pr29812): New proc.
120 (gcj_jni_run): Use it.
121 * java/lang/natRuntime.cc (_load): Push a new system frame before
122 calling JNI_OnLoad.
123 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
124 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
125 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
126 <allocated_p>: Now bool.
127 <loader>: New field.
128 (_Jv_JNI_EnsureLocalCapacity): Updated.
129 (_Jv_JNI_NewLocalRef): Likewise.
130 (_Jv_JNI_NewLocalRef): Likewise.
131 (_Jv_JNI_PopLocalFrame): Likewise.
132 (_Jv_JNI_FindClass): Likewise.
133 (_Jv_GetJNIEnvNewFrame): Likewise.
134 (_Jv_JNI_AttachCurrentThread): Likewise.
135 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
136 (_Jv_GetJNIEnvNewFrame): Use it.
137 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
138
91120956
TT
1392007-01-22 Tom Tromey <tromey@redhat.com>
140
141 * libtool-version: Bump current to 9.
142
4d8f018e
AH
1432007-01-22 Andrew Haley <aph@redhat.com>
144
145 * sysdep/alpha/locks.h (write_barrier): New.
146
52b213f3
MK
1472007-01-21 Matthias Klose <doko@debian.org>
148
149 * Makefile.am (install-exec-hook): Use transformed name.
150 * Makefile.in: Regenerate.
151
80e96038
KS
1522007-01-19 Keith Seitz <keiths@redhat.com>
153
154 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
155 in methods and reformat.
156
6c798f4f
KS
157 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
158 MAYBE_UNUSED.
159
640f8918
KS
1602007-01-18 Keith Seitz <keiths@redhat.com>
161
162 From Macro Trudel <mtrudel@gmx.ch>:
163 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
164 Use JNICALL.
165
7896beb2
MT
1662007-01-18 Marco Trudel <mtrudel@gmx.ch>
167
168 * jni.cc (_Jv_JNI_FindClass): Initialize class.
169 * testsuite/libjava.jni/findclass2.jar: New file.
170 * testsuite/libjava.jni/findclass2.h: New file.
171 * testsuite/libjava.jni/findclass2.java: New file
172 * testsuite/libjava.jni/findclass2.c: New file.
173 * testsuite/libjava.jni/findclass2.out: New file.
174
1b4aced6
TT
1752007-01-18 Tom Tromey <tromey@redhat.com>
176
177 * configure: Rebuilt.
178 * configure.ac: Use multi_basedir instead of libgcj_basedir.
179
463c03f1
GB
1802007-01-18 Gary Benson <gbenson@redhat.com>
181
182 * gnu/java/nio/natVMPipeEcos.cc:
183 Renamed from gnu/java/nio/natPipeImplEcos.cc.
184 * gnu/java/nio/natVMPipePosix.cc:
185 Renamed from gnu/java/nio/natPipeImplPosix.cc.
186 * gnu/java/nio/natVMPipeWin32.cc:
187 Renamed from gnu/java/nio/natPipeImplWin32.cc.
188 * gnu/java/nio/natVMSelectorEcos.cc:
189 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
190 * gnu/java/nio/natVMSelectorPosix.cc:
191 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
192 * gnu/java/nio/natVMSelectorWin32.cc:
193 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
194 * java/io/natVMObjectInputStream.cc:
195 Renamed from java/io/natObjectInputStream.cc.
196 * java/lang/natVMDouble.cc:
197 Renamed from java/lang/natDouble.cc.
198 * java/lang/natVMFloat.cc:
199 Renamed from java/lang/natFloat.cc.
200 * Makefile.am, configure.ac: Reflect the above.
201 * Makefile.in, configure: Rebuilt.
202
125d9388
AH
2032007-01-17 Andrew Haley <aph@redhat.com>
204
205 * Makefile.in: Rebuilt.
206 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
207
6ef43f56
KS
2082007-01-17 Keith Seitz <keiths@redhat.com>
209
210 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
211 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
212
8a489465
JH
2132007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
214
215 * configure.ac: Use multi.m4 from aclocal rather than custom
216 code. Use multi_basedir instead libgcj_basedir. Test for
217 /proc/self/exe when not cross-compiling.
218 * aclocal.m4: Regenerate.
219 * configure: Regenerate.
220 * Makefile.in: Regenerate.
221
8086b65d
GB
2222007-01-17 Gary Benson <gbenson@redhat.com>
223
224 * java/nio/natVMDirectByteBufferImpl.cc:
225 Renamed from java/nio/natDirectByteBufferImpl.cc.
226 * Makefile.am: Reflect the above.
227 * Makefile.in: Rebuilt.
228
70686a71
MT
2292007-01-17 Marco Trudel <mtrudel@gmx.ch>
230
231 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
232 Fixed indentation. Removed unused variable.
233
98685f2b
TT
2342007-01-16 Tom Tromey <tromey@redhat.com>
235
236 * java/lang/natThread.cc (finalize_native): Remove cast.
237 (_Jv_GetCurrentJNIEnv): Likewise.
238 * include/jvm.h (struct natThread) <jni_env>: Declare as
239 _Jv_JNIEnv*.
240
2797f081
KS
2412007-01-16 Keith Seitz <keiths@redhat.com>
242
243 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
244 %#llx instead of %d for new_value.
245 * testsuite/libjava.jvmti/events.out: Update expected output.
246 * testsuite/libjava.jvmti/events.jar: Regenerate.
247
f031b5d7
KS
2482007-01-16 Keith Seitz <keiths@redhat.com>
249
250 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
251 New macro.
252 (ENABLE_EVENT): New macro.
253 (initialize): Define and enable JVMTI VM_INIT callback.
254 (jdwpVMInitCB): New function.
255
05794ce8
KG
2562007-01-16 Kyle Galloway <kgallowa@redhat.com>
257
258 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
259 * testsuite/libjava.jvmti/getallthreads.java: New test.
260 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
261 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
262 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
263 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
264
e9d59899
KS
2652007-01-15 Keith Seitz <keiths@redhat.com>
266
267 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
268 java.lang.StringBuilder instead of java.lang.StringBuffer.
269 (resumeThread): Likewise.
270
0122c9e7
GB
2712007-01-15 Gary Benson <gbenson@redhat.com>
272
273 * java/nio/MappedByteBuffer.java: Removed.
274 * sources.am, Makefile.in: Rebuilt.
275
a5c0f6fe
GB
2762007-01-15 Gary Benson <gbenson@redhat.com>
277
278 * java/net/URLClassLoader.java: Removed.
279 * gnu/java/net/loader/Load_gcjlib.java: New file.
280 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
281 URL handler is present in static executables.
282 * sources.am, Makefile.in: Rebuilt.
283
76b972d6
L
2842007-01-14 H.J. Lu <hongjiu.lu@intel.com>
285
286 * Makefile.am (libgcj_la_LDFLAGS): Add
287 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
288 (libgcj_tools_la_LDFLAGS): Likewise.
289 (libgcj_bc_la_LDFLAGS): Likewise.
290 * Makefile.in: Regenerated.
291
292 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
293 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
294 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
295 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
296 * configure: Regenerated.
297 * aclocal.m4: Likewise.
298 * gcj/Makefile.in: Likewise.
299 * include/Makefile.in: Likewise.
300 * testsuite/Makefile.in: Likewise.
301
228e6ac2
KK
3022007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
303
304 * sysdep/sh/locks.h (read_barrier): New.
305 (write_barrier): Likewise.
306
f005dd79
AH
3072007-01-12 Andrew Haley <aph@redhat.com>
308
309 * include/i386-signal.h: Rewrite to use rt_sigaction.
310
9d5b51ff
AH
3112007-01-11 Andrew Haley <aph@redhat.com>
312
313 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
314 to char*.
315 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
316 aliasing violation.
317
a6ec9397
TT
3182007-01-10 Tom Tromey <tromey@redhat.com>
319
320 * gnu/gcj/xlib/*.h: New files.
321 * gnu/awt/xlib/*.h: Likewise.
322 * classpath/lib/gnu/gcj/xlib: New class files.
323 * classpath/lib/gnu/awt/xlib: Likewise.
324
10f1f9f7
TT
3252007-01-10 Tom Tromey <tromey@redhat.com>
326
327 * HACKING: Various updates.
328
ea517ca5
TT
3292007-01-10 Tom Tromey <tromey@redhat.com>
330
331 * java/lang/natDouble.cc (toString): Added parens.
332 * gnu/gcj/io/shs.h (PROTO): Define.
333 * link.cc (resolve_pool_entry): Added missing braces.
334
e0ae1389
L
3352007-01-10 H.J. Lu <hongjiu.lu@intel.com>
336
337 PR libgcj/30424
338 * sysdep/ia64/locks.h (read_barrier): New.
339 (write_barrier): New.
340
143f796e
GB
3412007-01-10 Gary Benson <gbenson@redhat.com>
342
343 * java/net/URL.java: Removed.
344 * sources.am, Makefile.in: Rebuilt.
345
02b8fc06
MK
3462007-01-10 Matthias Klose <doko@debian.org>
347
348 * Makefile.am (install-exec-hook): Support $(DESTDIR).
349 * Makefile.in: Regenerated.
350
97b8365c
TT
3512007-01-05 Tom Tromey <tromey@redhat.com>
352
353 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
354 dummy.class in srcdir.
355
3562007-01-03 Tom Tromey <tromey@redhat.com>
357
358 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
359 for srcdir.
360
3612007-01-03 Tom Tromey <tromey@redhat.com>
362
363 * testsuite/*: Added many .jar and .h files.
364 * testsuite/libjava.special/special.exp
365 (gcj_special_try_compiler): New proc.
366 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
367 bytecompile source. Search for .jar files.
368 (gcj_loader_test_one): Don't look for MyLoader.java.
369 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
370 bytecompile sources or build headers.
371 (gcj_jvmti_run): Look for .jar files.
372 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
373 files.
374 (gcj_jni_test_one): Don't bytecompile sources or build headers.
375 Set classpath when invoking gij.
376 (gcj_jni_invocation_test_one): Likewise.
377 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
378 headers or bytecompile sources.
379 (gcj_cni_run): Use .jar files, not .java files.
380 * testsuite/libjava.lang/lang.exp: Compile .jar files.
381
3822007-01-02 Tom Tromey <tromey@redhat.com>
383
384 * configure: Rebuilt.
385 * configure.ac: Check for gjar.
386
3872007-01-02 Tom Tromey <tromey@redhat.com>
388
389 * testsuite/libjava.jacks/jacks.exp: Removed.
390 * testsuite/libjava.jacks/jacks.xfail: Removed.
391
This page took 0.102774 seconds and 5 git commands to generate.