OSDN Git Service

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