natVMVirtualMachine (getFrames): Implement.
[gcc.git] / libjava / ChangeLog
1 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
2
3 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
4
5 2007-02-13 Keith Seitz <keiths@redhat.com>
6
7 * gnu/classpath/jdwp/natVMVirtualMachine.cc
8 (jdwpBreakpointCB): New function.
9 (jdwpVMInitCB): Define and enable the breakpoint
10 callback.
11
12 2007-02-13 Andrew Haley <aph@redhat.com>
13
14 * testsuite/libjava.lang/Divide_2.out
15 * testsuite/libjava.lang/Divide_2.java: New test.
16
17 2007-02-12 Keith Seitz <keiths@redhat.com>
18
19 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
20 from jthread to Thread *; it is no longer needed.
21 (_Jv_JVMTI_GetFrameCount): Likewise.
22 Fix small formatting typo.
23
24 2007-02-12 Tom Tromey <tromey@redhat.com>
25
26 * sources.am, Makefile.in: Rebuilt.
27 * java/lang/Socket.java: Removed override.
28 * java/lang/DatagramSocket.java: Removed override.
29 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
30 field.
31 (getLocalAddress): New method.
32 * gnu/java/net/PlainDatagramSocketImpl.java
33 (PlainDatagramSocketImpl): Throws IOException.
34 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
35 'sizeof'.
36 (read): Likewise.
37
38 2007-02-09 Jakub Jelinek <jakub@redhat.com>
39
40 * java/util/VMTimeZone.java: Rewrite to handle both the old
41 'TZif\0' format and the new one.
42
43 2007-02-10 Andrew Haley <aph@redhat.com>
44
45 PR java/30742
46 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
47 (getCallingClass): Call GET_CALLING_CLASS.
48 (getCallingClassLoader): Likewise.
49
50 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
51
52 * configure: Rebuilt.
53 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
54
55 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
56
57 * Makefile.in: Rebuilt.
58 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
59 the host's ecj1 executable.
60
61 2007-02-09 Richard Henderson <rth@redhat.com>
62
63 * sysdep/alpha/locks.h (read_barrier): New.
64
65 2007-02-09 Keith Seitz <keiths@redhat.com>
66
67 * gnu/classpath/jdwp/VMVirtualMachine.java
68 (_stepping_threads): New member.
69 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
70 Regenerated.
71 * gnu/classpath/jdwp/VMVirtualMachine.h:
72 Regenerated.
73 * gnu/claspath/jdwp/natVMVirtualMachine.cc
74 (get_request_step_filter): New function.
75 (DISABLE_EVENT): New macro.
76 (initialize): Initialize _stepping_threads.
77 (registerEvent): Implement EVENT_SINGLE_STEP.
78 (unregisterEvent): Likewise.
79
80 2007-02-08 Keith Seitz <keiths@redhat.com>
81
82 * sources.am: Regenerate.
83 * Makefile.in: Regenerate.
84 * testsuite/Makefile.in: Regenerate.
85 * gcj/Makefile.in: Regenerate.
86 * include/Makefile.in: Regenerate.
87
88 * classpath/lib/javax/management/MBeanServerFactory.class:
89 Regenerate.
90
91 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
92
93 * classpath/gnu/classpath/jdwp/processor/
94 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
95 of ByteBuffer.
96 (executeSetValues): Ditto.
97 (executeThisObject): Ditto.
98 * classpath/gnu/classpath/jdwp/processor/
99 StackFrameCommandSet.class: Rebuilt.
100 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
101 Rebuilt.
102 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
103 * classpath/lib/gnu/classpath/jdwp/exception/
104 InvalidFrameException.java: New file.
105 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
106 frame.
107 (Constructor): New method.
108 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
109 * gnu/classpath/jdwp/VMVirtualMachine.java
110 (getFrame): Changed ByteBuffer to jlong.
111 * gnu/classpath/jdwp/natVMVirtualMachine.cc
112 (getFrame): Implement.
113 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
114
115 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
116
117 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
118 to hold "this" pointer for frame.
119 (_Jv_InterpFrame::get_this_ptr): New method.
120 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
121
122 2007-02-07 Keith Seitz <keiths@redhat.com>
123
124 * include/java-interp.h (_Jv_Frame::depth):
125 New function.
126 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
127
128 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
129
130 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
131 (_Jv_JVMTI_GetMaxLocals): New method.
132 * include/java-interp.h
133 (_Jv_InterpMethod::get_max_locals): New method.
134
135 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
136
137 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
138
139 2007-02-07 Tom Tromey <tromey@redhat.com>
140
141 * testsuite/libjava.jni/init.c: New file.
142 * testsuite/libjava.jni/init.java: New file.
143 * testsuite/libjava.jni/init.out: New file.
144 * testsuite/libjava.jni/init.jar: New file.
145 * testsuite/libjava.jni/init.h: New file.
146 * testsuite/libjava.jni/init$NativeClass.h: New file.
147
148 2007-02-07 Jakub Jelinek <jakub@redhat.com>
149
150 PR libgomp/28468
151 * configure: Regenerate.
152
153 2007-02-06 Andrew Haley <aph@redhat.com>
154
155 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
156 * sources.am: Rebuild.
157
158 2007-02-05 Keith Seitz <keiths@redhat.com>
159
160 * jvmti.cc (_envListLock): Change type to
161 ReentrantReadWriteLock.
162 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
163 lock.
164 (check_enabled_event): Likewise.
165 (_Jv_GetJVMTIEnv): Likewise.
166 (_Jv_JVMTI_Init): Likewise.
167 (_Jv_JVMTI_PostEvent): Likewise.
168
169 2007-02-05 Keith Seitz <keiths@redhat.com>
170
171 * gnu/classpath/jdwp/natVMVirtualMachine.cc
172 (registerEvent): Implement EVENT_BREAKPOINT.
173 (unregisterEvent): Likewise.
174 (get_request_location): New function.
175
176 2007-02-05 Matthias Klose <doko@debian.org>
177
178 testsuite/Makefile.am (compile-tests): Fix typo.
179 testsuite/Makefile.in: Regenerate.
180
181 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
182
183 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
184 Implment.
185
186 2007-02-02 Jakub Jelinek <jakub@redhat.com>
187
188 * configure.ac (libjava_cv_anon_version_script): New test.
189 (ANONVERSCRIPT): New AM_CONDITIONAL.
190 * configure: Rebuilt.
191 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
192 if ANONVERSCRIPT.
193 * Makefile.in: Rebuilt.
194 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
195 * libgcj.ver: New file.
196
197 2007-02-01 David Daney <ddaney@avtrex.com>
198
199 * scripts/makemake.tcl: Replace gnu/xml build with build of all
200 its subpackages.
201 * sources.am: Regenerate.
202 * Makefile.in: Regenerate.
203
204 2007-02-01 Tom Tromey <tromey@redhat.com>
205
206 * java/lang/ClassLoader.java (getResources): No longer final.
207
208 2007-02-01 Tom Tromey <tromey@redhat.com>
209
210 * java/util/logging/LogManager.java (loggers): Genericized.
211 (addLogger): Merged.
212 (findAncestor): Likewise.
213 (getLogger): Likewise.
214 (getLoggerNames): Genericized.
215 (reset): Merged.
216 (getLevelProperty): Likewise.
217 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
218 * java/lang/reflect/Constructor.java (getParameterTypes):
219 Genericized.
220 (getExceptionTypes): Likewise.
221 (newInstance): Likewise.
222 * java/lang/reflect/Array.java (newInstance): Genericized.
223 * java/lang/Object.java (getClass): Genericized.
224 * java/nio/charset/spi/CharsetProvider.java (charsets):
225 Genericized.
226 * java/text/Collator.java: Implement Comparable<Object>.
227
228 2007-02-01 Tom Tromey <tromey@redhat.com>
229
230 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
231 comments.
232 (clear): Call complete.
233 (setTimeZone): Call computeTime, computeFields.
234 (compareTo): New method.
235 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
236 (availableCharsets): Genericized.
237 (aliases): Likewise.
238 (compareTo): Changed argument type.
239 * java/lang/ClassLoader.java (loadClass): Genericized.
240 (findClass): Likewise.
241 (defineClass): Likewise.
242 (resolveClass): Likewise.
243 (findSystemClass): Likewise.
244 (setSigners): Likewise.
245 (findLoadedClass): Likewise.
246 (getResources): Likewise.
247 (findResources): Likewise.
248 (getSystemResources): Likewise.
249 (checkInitialized): New method.
250 * java/lang/Class.java (getCanonicalName): New method.
251
252 2007-01-31 Keith Seitz <keiths@redhat.com>
253
254 * include/jvmti-int.h (JVMTI): Declare member "enabled".
255 * jvmti.cc (JVMTI): Add member "enabled".
256 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
257 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
258 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
259 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
260 instead of run to compile the method.
261
262 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
263 notification.
264
265 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
266
267 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
268 -shared-libgcc to the cxxflaglist for Darwin.
269
270 2007-01-31 Tom Tromey <tromey@redhat.com>
271
272 * scripts.am, Makefile.in: Rebuilt.
273 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
274 as 'ordinary'.
275 (emit_ordinary_rule): New proc.
276
277 2007-01-31 Keith Seitz <keiths@redhat.com>
278
279 * testsuite/libjava.jvmti/getmethodname.h: New file.
280 * testsuite/libjava.jvmti/getmethodname.jar: New file.
281
282 2007-01-31 Andrew Haley <aph@redhat.com>
283
284 * prims.cc (_Jv_Abort): fflush (stderr).
285 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
286
287 2007-01-31 Tom Tromey <tromey@redhat.com>
288
289 * configure, Makefile.in: Rebuilt.
290 * configure.ac (JAR): Check for -@ feature.
291 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
292
293 2007-01-31 Tom Tromey <tromey@redhat.com>
294
295 PR libgcj/30606:
296 * configure, include/config.h.in: Rebuilt.
297 * configure.ac: Check for magic_t in magic.h.
298 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
299
300 2007-01-30 Tom Tromey <tromey@redhat.com>
301
302 * Makefile.in: Rebuilt.
303 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
304
305 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
306
307 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
308 cast to print it right.
309
310 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
311
312 PR libgcj/30600:
313 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
314 'limit'.
315
316 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
317
318 * include/java-interp.h: Added _Jv_Frame class and its two
319 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
320 _Jv_FrameType from java-stack.h.
321 * include/java-stack.h: Removed _Jv_FrameType.
322 * java/lang/Thread.java: Added frame member to hold new
323 composite frame stack.
324 * java/lang/Thread.h: Regenerated.
325 * java/lang/Thread.class: Rebuilt.
326 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
327 calling a JNI method.
328 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
329 (_Jv_JVMTI_GetFrameCount): New method.
330 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
331 classes.
332 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
333 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
334 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
335 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
336 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
337 for test.
338
339 2007-01-29 Tom Tromey <tromey@redhat.com>
340
341 * interpret.cc (run_debug): Remove comment.
342 (STOREA): Reformat.
343 (STOREI): Likewise.
344 (STOREF): Likewise.
345 (STOREL): Likewise.
346 (STORED): Likewise.
347 (POKEI): Likewise.
348 (run_normal_debug): Likewise.
349 (run_synch_object_debug): Likewise.
350 (run_class_debug): Likewise.
351 (run_synch_class_debug): Likewise.
352 (get1s): Likewise.
353 (get1u): Likewise.
354 (get2u): Likewise.
355 (get4): Likewise.
356 (NULLARRAYCHECK): Likewise.
357 (ARRAYBOUNDSCHECK): Likewise.
358 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
359
360 2007-01-29 Tom Tromey <tromey@redhat.com>
361
362 * configure, Makefile.in: Rebuilt.
363 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
364 * configure.ac (BASH_JAR): Removed conditional.
365 (JAR): Prefer the jar found by AC_CHECK_PROGS.
366
367 2007-01-29 Tom Tromey <tromey@redhat.com>
368
369 * Makefile.in: Rebuilt.
370 * Makefile.am (interpret.lo): New target. Add -fwrap to
371 AM_CXXFLAGS.
372
373 2007-01-29 Keith Seitz <keiths@redhat.com>
374
375 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
376 Define.
377 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
378 gcj. All jvmti object types now are defined to be their
379 corresponding java classes.
380 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
381 jthread to Thread*.
382 (_Jv_JVMTI_ResumeThread): Likewise.
383 (_Jv_JVMTI_InterruptThread): Likewise.
384 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
385 * gnu/classpath/jdwp/natVMVirtualMachine.cc
386 (jdwpClassPrepareCB): Likewise.
387 (jdwpThreadEndCB): Likewise.
388 (jdwpThreadStartCB): Likewise.
389 (jdwpVMInitCB): Likewise.
390
391 2007-01-28 Michele Sandri <gpointorama@gmail.com>
392
393 * gnu/java/nio/channels/natFileChannelWin32.cc
394 (lock): Implemented.
395 (unlock): Implemented.
396
397 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
398
399 PR libgcj/30513
400 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
401 libgcj_flags to undefine 'sun' at compile time.
402 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
403 Sparc.
404 (write_barrier): Likewise.
405
406 2007-01-27 Keith Seitz <keiths@redhat.com>
407
408 * gnu/classpath/jdwp/natVMVirtualMachine.cc
409 (getAllClassMethods): Move error handling to ...
410 (throw_jvmti_error): ... here.
411 (jdwpClassPrepareCB): New function.
412 (jdwpThreadEndCB): New function.
413 (jdwpThreadStartCB): New function.
414 (jdwpVMDeathCB): New function.
415 (jdwpVMInitCB): Define and enable callbacks for
416 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
417
418 2007-01-27 Jakub Jelinek <jakub@redhat.com>
419
420 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
421 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
422 (MYGCJH): New variable.
423 (compile-tests): New goal.
424 * Makefile.in: Rebuilt.
425 * testsuite/Makefile.in: Rebuilt.
426
427 2007-01-26 Andrew Haley <aph@redhat.com>
428
429 * java/lang/natClass.cc (initializeClass): Re-throw
430 SecurityExceptions.
431 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
432 * java/lang/ClassLoader.java: (loadClass): Likewise.
433
434 2007-01-26 Tom Tromey <tromey@redhat.com>
435
436 * Updated headers.
437
438 2007-01-25 Tom Tromey <tromey@redhat.com>
439
440 PR libgcj/29594:
441 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
442 input or output encodings. Removed unused local variables.
443
444 2007-01-25 Keith Seitz <keiths@redhat.com>
445
446 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
447 * gnu/classpath/jdwp/natVMVirtualMachine.cc
448 (_Jv_GetJDWP_JVMTIEnv): New function.
449 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
450 (getSignature): Implement.
451 (getModifiers): Implement.
452
453 2007-01-25 Andrew Haley <aph@redhat.com>
454
455 * configure, Makefile.in, include/config.h.in: Rebuilt.
456 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
457 * configure.ac: Don't check for libmagic.
458 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
459 p_magic_close, p_magic_buffer): New globals.
460 (init): Look up 'magic' functions.
461 (guessContentTypeFromBuffer): Updated.
462
463 2007-01-25 Keith Seitz <keiths@redhat.com>
464
465 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
466 (_Jv_JVMTI_Interface): Define GetMethodName.
467 * testsuite/libjava.jvmti/getmethodname.java: New file.
468 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
469 * testsuite/libjava.jvmti/getmethodname.out: New file.
470
471 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
472
473 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
474 * libjava/testsuite/libjava.jvmti/interp: New folder.
475 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
476
477 2007-01-24 Keith Seitz <keiths@redhat.com>
478
479 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
480 CLASS_PREPARE notification.
481
482 2007-01-24 Keith Seitz <keiths@redhat.com>
483
484 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
485 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
486 * interpret-run.cc: Implement insn_breakpoint.
487
488 2007-01-24 Keith Seitz <keiths@redhat.com>
489
490 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
491 for VM_INIT and VM_DEATH instead of the JDWP notifications.
492
493 2007-01-24 Keith Seitz <keiths@redhat.com>
494
495 * gnu/classpath/jdwp/natVMVirtualMachine.cc
496 (getAllClassMethods): Implement.
497
498 2007-01-24 Andrew Haley <aph@redhat.com>
499
500 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
501 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
502 from being sibcalled.
503
504 2007-01-24 Andrew Haley <aph@redhat.com>
505
506 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
507 * sources.am: Rebuild.
508
509 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
510
511 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
512 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
513
514 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
515
516 PR libgcj/30550
517 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
518 * Makefile.in: Regenerated.
519
520 2007-01-22 Keith Seitz <keiths@redhat.com>
521
522 * gnu/classpath/jdwp/natVMVirtualMachine.cc
523 (getClassMethod): Implement.
524
525 2007-01-22 Keith Seitz <keiths@redhat.com>
526
527 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
528 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
529 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
530 (_Jv_JVMTI_Interface): Define GetClassStatus.
531
532 2007-01-22 Tom Tromey <tromey@redhat.com>
533
534 * configure: Rebuilt.
535 * configure.ac (GCJ): Reverted patch of 2006-12-20.
536
537 2007-01-22 Tom Tromey <tromey@redhat.com>
538
539 PR java/29812:
540 * testsuite/libjava.jni/pr29812.java: New file.
541 * testsuite/libjava.jni/pr29812_injar.java: New file.
542 * testsuite/libjava.jni/pr29812_injar.jar: New file.
543 * testsuite/libjava.jni/pr29812.out: New file.
544 * testsuite/libjava.jni/pr29812_injar.c: New file.
545 * testsuite/libjava.jni/pr29812_injar.h: New file.
546 * testsuite/libjava.jni/pr29812.jar: New file.
547 * testsuite/libjava.jni/pr29812.c: New file.
548 * testsuite/libjava.jni/pr29812.h: New file.
549 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
550 New proc.
551 (gcj_jni_invocation_test_one): Use it.
552 (gcj_jni_pr29812): New proc.
553 (gcj_jni_run): Use it.
554 * java/lang/natRuntime.cc (_load): Push a new system frame before
555 calling JNI_OnLoad.
556 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
557 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
558 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
559 <allocated_p>: Now bool.
560 <loader>: New field.
561 (_Jv_JNI_EnsureLocalCapacity): Updated.
562 (_Jv_JNI_NewLocalRef): Likewise.
563 (_Jv_JNI_NewLocalRef): Likewise.
564 (_Jv_JNI_PopLocalFrame): Likewise.
565 (_Jv_JNI_FindClass): Likewise.
566 (_Jv_GetJNIEnvNewFrame): Likewise.
567 (_Jv_JNI_AttachCurrentThread): Likewise.
568 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
569 (_Jv_GetJNIEnvNewFrame): Use it.
570 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
571
572 2007-01-22 Tom Tromey <tromey@redhat.com>
573
574 * libtool-version: Bump current to 9.
575
576 2007-01-22 Andrew Haley <aph@redhat.com>
577
578 * sysdep/alpha/locks.h (write_barrier): New.
579
580 2007-01-21 Matthias Klose <doko@debian.org>
581
582 * Makefile.am (install-exec-hook): Use transformed name.
583 * Makefile.in: Regenerate.
584
585 2007-01-19 Keith Seitz <keiths@redhat.com>
586
587 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
588 in methods and reformat.
589
590 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
591 MAYBE_UNUSED.
592
593 2007-01-18 Keith Seitz <keiths@redhat.com>
594
595 From Macro Trudel <mtrudel@gmx.ch>:
596 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
597 Use JNICALL.
598
599 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
600
601 * jni.cc (_Jv_JNI_FindClass): Initialize class.
602 * testsuite/libjava.jni/findclass2.jar: New file.
603 * testsuite/libjava.jni/findclass2.h: New file.
604 * testsuite/libjava.jni/findclass2.java: New file
605 * testsuite/libjava.jni/findclass2.c: New file.
606 * testsuite/libjava.jni/findclass2.out: New file.
607
608 2007-01-18 Tom Tromey <tromey@redhat.com>
609
610 * configure: Rebuilt.
611 * configure.ac: Use multi_basedir instead of libgcj_basedir.
612
613 2007-01-18 Gary Benson <gbenson@redhat.com>
614
615 * gnu/java/nio/natVMPipeEcos.cc:
616 Renamed from gnu/java/nio/natPipeImplEcos.cc.
617 * gnu/java/nio/natVMPipePosix.cc:
618 Renamed from gnu/java/nio/natPipeImplPosix.cc.
619 * gnu/java/nio/natVMPipeWin32.cc:
620 Renamed from gnu/java/nio/natPipeImplWin32.cc.
621 * gnu/java/nio/natVMSelectorEcos.cc:
622 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
623 * gnu/java/nio/natVMSelectorPosix.cc:
624 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
625 * gnu/java/nio/natVMSelectorWin32.cc:
626 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
627 * java/io/natVMObjectInputStream.cc:
628 Renamed from java/io/natObjectInputStream.cc.
629 * java/lang/natVMDouble.cc:
630 Renamed from java/lang/natDouble.cc.
631 * java/lang/natVMFloat.cc:
632 Renamed from java/lang/natFloat.cc.
633 * Makefile.am, configure.ac: Reflect the above.
634 * Makefile.in, configure: Rebuilt.
635
636 2007-01-17 Andrew Haley <aph@redhat.com>
637
638 * Makefile.in: Rebuilt.
639 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
640
641 2007-01-17 Keith Seitz <keiths@redhat.com>
642
643 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
644 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
645
646 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
647
648 * configure.ac: Use multi.m4 from aclocal rather than custom
649 code. Use multi_basedir instead libgcj_basedir. Test for
650 /proc/self/exe when not cross-compiling.
651 * aclocal.m4: Regenerate.
652 * configure: Regenerate.
653 * Makefile.in: Regenerate.
654
655 2007-01-17 Gary Benson <gbenson@redhat.com>
656
657 * java/nio/natVMDirectByteBufferImpl.cc:
658 Renamed from java/nio/natDirectByteBufferImpl.cc.
659 * Makefile.am: Reflect the above.
660 * Makefile.in: Rebuilt.
661
662 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
663
664 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
665 Fixed indentation. Removed unused variable.
666
667 2007-01-16 Tom Tromey <tromey@redhat.com>
668
669 * java/lang/natThread.cc (finalize_native): Remove cast.
670 (_Jv_GetCurrentJNIEnv): Likewise.
671 * include/jvm.h (struct natThread) <jni_env>: Declare as
672 _Jv_JNIEnv*.
673
674 2007-01-16 Keith Seitz <keiths@redhat.com>
675
676 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
677 %#llx instead of %d for new_value.
678 * testsuite/libjava.jvmti/events.out: Update expected output.
679 * testsuite/libjava.jvmti/events.jar: Regenerate.
680
681 2007-01-16 Keith Seitz <keiths@redhat.com>
682
683 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
684 New macro.
685 (ENABLE_EVENT): New macro.
686 (initialize): Define and enable JVMTI VM_INIT callback.
687 (jdwpVMInitCB): New function.
688
689 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
690
691 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
692 * testsuite/libjava.jvmti/getallthreads.java: New test.
693 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
694 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
695 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
696 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
697
698 2007-01-15 Keith Seitz <keiths@redhat.com>
699
700 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
701 java.lang.StringBuilder instead of java.lang.StringBuffer.
702 (resumeThread): Likewise.
703
704 2007-01-15 Gary Benson <gbenson@redhat.com>
705
706 * java/nio/MappedByteBuffer.java: Removed.
707 * sources.am, Makefile.in: Rebuilt.
708
709 2007-01-15 Gary Benson <gbenson@redhat.com>
710
711 * java/net/URLClassLoader.java: Removed.
712 * gnu/java/net/loader/Load_gcjlib.java: New file.
713 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
714 URL handler is present in static executables.
715 * sources.am, Makefile.in: Rebuilt.
716
717 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
718
719 * Makefile.am (libgcj_la_LDFLAGS): Add
720 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
721 (libgcj_tools_la_LDFLAGS): Likewise.
722 (libgcj_bc_la_LDFLAGS): Likewise.
723 * Makefile.in: Regenerated.
724
725 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
726 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
727 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
728 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
729 * configure: Regenerated.
730 * aclocal.m4: Likewise.
731 * gcj/Makefile.in: Likewise.
732 * include/Makefile.in: Likewise.
733 * testsuite/Makefile.in: Likewise.
734
735 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
736
737 * sysdep/sh/locks.h (read_barrier): New.
738 (write_barrier): Likewise.
739
740 2007-01-12 Andrew Haley <aph@redhat.com>
741
742 * include/i386-signal.h: Rewrite to use rt_sigaction.
743
744 2007-01-11 Andrew Haley <aph@redhat.com>
745
746 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
747 to char*.
748 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
749 aliasing violation.
750
751 2007-01-10 Tom Tromey <tromey@redhat.com>
752
753 * gnu/gcj/xlib/*.h: New files.
754 * gnu/awt/xlib/*.h: Likewise.
755 * classpath/lib/gnu/gcj/xlib: New class files.
756 * classpath/lib/gnu/awt/xlib: Likewise.
757
758 2007-01-10 Tom Tromey <tromey@redhat.com>
759
760 * HACKING: Various updates.
761
762 2007-01-10 Tom Tromey <tromey@redhat.com>
763
764 * java/lang/natDouble.cc (toString): Added parens.
765 * gnu/gcj/io/shs.h (PROTO): Define.
766 * link.cc (resolve_pool_entry): Added missing braces.
767
768 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
769
770 PR libgcj/30424
771 * sysdep/ia64/locks.h (read_barrier): New.
772 (write_barrier): New.
773
774 2007-01-10 Gary Benson <gbenson@redhat.com>
775
776 * java/net/URL.java: Removed.
777 * sources.am, Makefile.in: Rebuilt.
778
779 2007-01-10 Matthias Klose <doko@debian.org>
780
781 * Makefile.am (install-exec-hook): Support $(DESTDIR).
782 * Makefile.in: Regenerated.
783
784 2007-01-05 Tom Tromey <tromey@redhat.com>
785
786 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
787 dummy.class in srcdir.
788
789 2007-01-03 Tom Tromey <tromey@redhat.com>
790
791 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
792 for srcdir.
793
794 2007-01-03 Tom Tromey <tromey@redhat.com>
795
796 * testsuite/*: Added many .jar and .h files.
797 * testsuite/libjava.special/special.exp
798 (gcj_special_try_compiler): New proc.
799 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
800 bytecompile source. Search for .jar files.
801 (gcj_loader_test_one): Don't look for MyLoader.java.
802 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
803 bytecompile sources or build headers.
804 (gcj_jvmti_run): Look for .jar files.
805 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
806 files.
807 (gcj_jni_test_one): Don't bytecompile sources or build headers.
808 Set classpath when invoking gij.
809 (gcj_jni_invocation_test_one): Likewise.
810 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
811 headers or bytecompile sources.
812 (gcj_cni_run): Use .jar files, not .java files.
813 * testsuite/libjava.lang/lang.exp: Compile .jar files.
814
815 2007-01-02 Tom Tromey <tromey@redhat.com>
816
817 * configure: Rebuilt.
818 * configure.ac: Check for gjar.
819
820 2007-01-02 Tom Tromey <tromey@redhat.com>
821
822 * testsuite/libjava.jacks/jacks.exp: Removed.
823 * testsuite/libjava.jacks/jacks.xfail: Removed.
824