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