natClass.cc (parseAnnotationElement): Correct long annotations to read JV_CONSTANT_Lo...
[official-gcc.git] / libjava / ChangeLog
blobc595a229d71031e7f0bcb8b60f7f5e1145fe6801
1 2007-03-03  Andrew Haley  <aph@redhat.com>
3         * java/lang/natClass.cc (parseAnnotationElement): Correct long
4         annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
6 2007-03-02  Andrew Haley  <aph@redhat.com>
8         * sun/reflect/annotation/AnnotationInvocationHandler.java:
9         Generify in a few places.
10         (equals): Rewrite to use invoke on local proxy.
11         (deepToString): Remove most of it.
12         (toString): Make nonstatic.
13         (arrayClone): Delete.
14         (coerce): New method.
15         (invoke): Rewrite to handle gcj's structures correctly.
16         * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
17         null loader.
18         * sources.am: Regenerate.
19         * Makefile.am: Likewise.        
21 2007-03-02  Andrew Haley  <aph@redhat.com>
23         * sun/reflect/annotation/AnnotationInvocationHandler.java:
24         Whitespace only changes.
26 2007-03-02  Andrew Haley  <aph@redhat.com>
28         * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
29         from Classpath to libgcj local.
31 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
33         * Makefile.am: Add dummy install-pdf target.
34         * Makefile.in: Regenerate
35         * include/Makefile.in: Regenerate
36         * testsuite/Makefile.in: Regenerate
37         * gcj/Makefile.in: Regenerate
39 2007-02-23  Gary Benson  <gbenson@redhat.com>
41         * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
43 2007-02-23  Gary Benson  <gbenson@redhat.com>
45         * java/lang/VMCompiler.java
46         (compileClass): Don't lose zeros from within the digest.
48 2007-02-22  Jakub Jelinek  <jakub@redhat.com>
50         PR libgcj/17002
51         PR classpath/28550
52         * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
53         /etc/localtime, use ZoneInfo.readTZFile instead of
54         VMTimeZone.readtzFile.  Get better timezone name for /etc/localtime,
55         either if it is a symlink or through /etc/sysconfig/clock.
56         (readSysconfigClockFile): New static method.
57         (readtzFile): Removed.
58         * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
59         * posix.cc (_Jv_platform_initProperties): Set
60         gnu.java.util.zoneinfo.dir.
61         * sources.am (gnu_java_util_source_files): Add
62         classpath/gnu/java/util/ZoneInfo.java.
63         * Makefile.in: Regenerated.
64         * java/util/VMTimeZone.h: Regenerated.
65         * java/util/TimeZone.h: Regenerated.
66         * gnu/java/util/ZoneInfo.h: Generated.
68 2007-02-22  Mohan Embar  <gnustuff@thisiscool.com>
70         * include/win32-threads.h: Added #undef OUT.
72 2007-02-21  Kyle Galloway  <kgallowa@redhat.com>
74         * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
75         * testsuite/libjava.jvmti/interp/getargssize.java: New test.
76         * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
77         * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
78         * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
79         * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
81 2007-02-21  Gary Benson  <gbenson@redhat.com>
83         * java/util/GregorianCalendar.java: Removed.
84         * sources.am, Makefile.in: Rebuilt.
86 2007-02-20  Keith Seitz  <keiths@redhat.com>
88         * gnu/classpath/jdwp/natVMVirtualMachine.cc
89         (jdwpClassPrepareCB): Move class status stuff to ...
90         (getClassStatus): ... here.
92 2007-02-20  Gary Benson  <gbenson@redhat.com>
94         * gnu/awt/xlib/XEventLoop.h: Regenerated.
95         * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
96         * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
97         Likewise.
98         * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
99         * java/lang/SecurityManager.h: Likewise.
100         * java/lang/Thread.h: Likewise.
101         * java/security/VMSecureRandom$Spinner.h: Likewise.
102         * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
103         * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
104         * java/util/concurrent/atomic/AtomicLong.h: Likewise.
105         * java/util/concurrent/atomic/AtomicReference.h: Likewise.
106         * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
107         * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
108         * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
109         * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
110         * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
111         * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
112         * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
113         * java/util/concurrent/Exchanger.h: Likewise.
114         * java/util/concurrent/Exchanger$Node.h: Likewise.
115         * java/util/concurrent/FutureTask$Sync.h: Likewise.
116         * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
117         * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
118         Likewise.
119         * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h: 
120         Likewise.
121         * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
122         * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
123         Likewise.
124         * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
125         * java/util/concurrent/SynchronousQueue.h: Likewise.
126         * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
127         * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
128         Likewise.
129         * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
130         * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
131         Likewise.
132         * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
133         * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
134         * java/util/logging/ErrorManager.h: Likewise.
135         * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
136         * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
138 2007-02-16  Keith Seitz  <keiths@redhat.com>
140         * gnu/classpath/jdwp/natVMVirtualMachine.cc
141         (get_line_table): New function.
142         (handle_single_step): New function.
143         (jdwpSingleStepCB): New function.
144         (jdwpVMInitCB): Define a JVMTI single step
145         callback, but don't enable it until needed.
147 2007-02-16  David Daney  <ddaney@avtrex.com>
149         * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
150         new parameter constructor.
151         (Thread(ThreadGroup, Runnable, String, long)): Same.
152         (Thread(String, boolean)): New constructor.
153         (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
154         noInheritableThreadLocal, don't call
155         InheritableThreadLocal.newChildThread if set.
156         * java/lang/PosixProcess.java(ProcessManager()): Set
157         noInheritableThreadLocal in super.
158         * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
159         parameter to Thread constructor.
160         (_Jv_AttachCurrentThreadAsDaemon): Same.
161         * java/lang/Thread.h: Regenerate.
162         * classpath/lib/java/lang/Thread.class: Same.
163         * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
164         * classpath/lib/java/lang/PosixProcess.class: Same.
165         * classpath/lib/java/lang/Thread$State.class: Same.
166         * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
168 2007-02-16  Kyle Galloway  <kgallowa@redhat.com>
170         * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
171         variables to maintain type info.
172         * interpret-run.cc: Add local variable info to frame in the debug
173         interpreter.
174         * jvmti.cc (getLocalFrame): New method.
175         (_Jv_JVMTI_GetLocalObject): New method.
176         (_Jv_JVMTI_GetLocallInt): New method.
177         (_Jv_JVMTI_GetLocalFloat): New method.
178         (_Jv_JVMTI_GetLocalLong): New method.
179         (_Jv_JVMTI_GetLocalDouble): New method.
180         (_Jv_JVMTI_SetLocalObject): New method.
181         (_Jv_JVMTI_SetLocalInt): New method.
182         (_Jv_JVMTI_SetLocalFloat): New method.
183         (_Jv_JVMTI_SetLocalLong): New method.
184         (_Jv_JVMTI_SetLocalDouble): New method.
186 2007-02-16  Gary Benson  <gbenson@redhat.com>
188         * gnu/gcj/tools/gcj_dbtool/Main.java
189         (bytesToString): Don't lose zeros from within the digest.
191 2007-02-15  Andrew Haley  <aph@redhat.com>
193         * Makefile.am (nat_source_files): Remove
194         java/lang/management/natVMManagementFactory.cc.
195         * java/lang/Thread.java (getStackTrace): Use reflection to call
196         the ManagementFactory.
197         * java/lang/management/VMManagementFactory.java: Remove native
198         methods.
199         * java/lang/management/natVMManagementFactory.cc: Deleted.
200         * sources.am: Regnerate.
201         * scripts/makemake.tcl: Add new "bcheaders" type.
202         Move java/lang/management and gnu/classpath/management to "bc".
203         Move gnu/java/lang/management to "bcheaders".
204         
205 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
206         
207         * interpret.cc (_Jv_InterpMethod::check_handler): New method.
208         * interpret-run.cc: Change the catch section to report exception
209         events and to use the new check_handler method.
210         * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
211         * gnu/gcj/jvmti/ExceptionEvent.java: New file.
212         * gnu/gcj/jvmti/ExceptionEvent.h: New file.
213         * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
214         * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
215         file.
216         * sources.am: Added ExceptionEvent.java.
217         * Makefile.am: Added natExceptionEvent.cc
218         * Makefile.in: Regenerated.
219         * include/Makefile.in: Regenerated.
220         * gcj/Makefile.in: Regenerated.
222 2007-02-15  Johannes Schmidt  <jschmidt@avtrex.com>
223         David Daney  <ddaney@avtrex.com>
225         * configure.ac: Create vm-tools-packages file.  Add 
226         gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
227         Check for /proc/self/maps.
228         * Makefile.am (bin_PROGRAMS): Added gc-analyze.
229         (gc_analyze_SOURCES): New.
230         (gc_analyze_LDFLAGS): New.
231         (gc_analyze_LINK): New.
232         (gc_analyze_LDADD): New.
233         (gc_analyze_DEPENDENCIES): New.
234         (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
235         * Makefile.in: Regenerated.
236         * configure: Regenerated.
237         * include/config.h.in: Regenerated.
238         * sources.am: Regenerated.
239         * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
240         * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
241         * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
242         * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
243         * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
244         * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
245         * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
246         * gnu/gcj/tools/gc_analyze/ItemList.java: New.
247         * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
248         * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
249         * gnu/gcj/util/GCInfo.java: New.
250         * gnu/gcj/util/GCInfo.h: New.
251         * gnu/gcj/util/natGCInfo.cc: New.
252         * gnu/gcj/util/UtilPermission.java: New.
253         * gnu/gcj/util/UtilPermission.h: New.
254         * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
255         * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
256         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
257         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
258         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
259         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
260         * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
261         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
262         * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
263         * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
264         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
265         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
266         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
267         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
268         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
269         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
270         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
271         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
272         * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
273         * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
274         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
275         * classpath/lib/gnu/gcj/util/GCInfo.class: New.
276         * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
278 2007-02-15  David Daney  <ddaney@avtrex.com>
280         * gnu/java/net/PlainSocketImpl.h: Regenerate.
281         * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
282         * gnu/classpath/jdwp/VMFrame.h: Same.
283         * java/net/Socket.h: Same.
284         * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
286 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
288         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
289         Added LocalVariableTable attribute handling.
290         (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
291         * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
292         * include/java-interp.h: Added local_var_table and 
293         local_var_table_len fields to _Jv_InterpMethod.
294         (_Jv_InterpMethod::get_local_var_table): New method.
295         * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
296         * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
297         * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
298         for new test.
299         * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
300         * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
302 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
304         * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
306 2007-02-13  Keith Seitz  <keiths@redhat.com>
308         * gnu/classpath/jdwp/natVMVirtualMachine.cc
309         (jdwpBreakpointCB): New function.
310         (jdwpVMInitCB): Define and enable the breakpoint
311         callback.
313 2007-02-13  Andrew Haley  <aph@redhat.com>
315         * testsuite/libjava.lang/Divide_2.out
316         * testsuite/libjava.lang/Divide_2.java: New test.
318 2007-02-12  Keith Seitz  <keiths@redhat.com>
320         * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
321         from jthread to Thread *; it is no longer needed.
322         (_Jv_JVMTI_GetFrameCount): Likewise.
323         Fix small formatting typo.
325 2007-02-12  Tom Tromey  <tromey@redhat.com>
327         * sources.am, Makefile.in: Rebuilt.
328         * java/lang/Socket.java: Removed override.
329         * java/lang/DatagramSocket.java: Removed override.
330         * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
331         field.
332         (getLocalAddress): New method.
333         * gnu/java/net/PlainDatagramSocketImpl.java
334         (PlainDatagramSocketImpl): Throws IOException.
335         * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
336         'sizeof'.
337         (read): Likewise.
339 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
341         * java/util/VMTimeZone.java: Rewrite to handle both the old
342         'TZif\0' format and the new one.
343         
344 2007-02-10  Andrew Haley  <aph@redhat.com>
346         PR java/30742
347         * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
348         (getCallingClass): Call GET_CALLING_CLASS.
349         (getCallingClassLoader): Likewise.
351 2007-02-10  Mohan Embar  <gnustuff@thisiscool.com>
353         * configure: Rebuilt.
354         * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
356 2007-02-10  Mohan Embar  <gnustuff@thisiscool.com>
358         * Makefile.in: Rebuilt.
359         * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
360         the host's ecj1 executable.
362 2007-02-09  Richard Henderson  <rth@redhat.com>
364         * sysdep/alpha/locks.h (read_barrier): New.
366 2007-02-09  Keith Seitz  <keiths@redhat.com>
368         * gnu/classpath/jdwp/VMVirtualMachine.java
369         (_stepping_threads): New member.
370         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
371         Regenerated.
372         * gnu/classpath/jdwp/VMVirtualMachine.h:
373         Regenerated.
374         * gnu/claspath/jdwp/natVMVirtualMachine.cc
375         (get_request_step_filter): New function.
376         (DISABLE_EVENT): New macro.
377         (initialize): Initialize _stepping_threads.
378         (registerEvent): Implement EVENT_SINGLE_STEP.
379         (unregisterEvent): Likewise.
381 2007-02-08  Keith Seitz  <keiths@redhat.com>
383         * sources.am: Regenerate.
384         * Makefile.in: Regenerate.
385         * testsuite/Makefile.in: Regenerate.
386         * gcj/Makefile.in: Regenerate.
387         * include/Makefile.in: Regenerate.
389         * classpath/lib/javax/management/MBeanServerFactory.class:
390         Regenerate.
392 2007-02-08  Kyle Galloway  <kgallowa@redhat.com>
394         * classpath/gnu/classpath/jdwp/processor/
395         StackFrameCommandSet.java (executeGetValues): Pass jlong instead
396         of ByteBuffer.
397         (executeSetValues): Ditto.
398         (executeThisObject): Ditto.
399         * classpath/gnu/classpath/jdwp/processor/
400         StackFrameCommandSet.class: Rebuilt.
401         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
402         Rebuilt.
403         * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
404         * classpath/lib/gnu/classpath/jdwp/exception/
405         InvalidFrameException.java: New file.
406         * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
407         frame.
408         (Constructor): New method.
409         * gnu/classpath/jdwp/VMFrame.h: Regenerated.
410         * gnu/classpath/jdwp/VMVirtualMachine.java
411         (getFrame): Changed ByteBuffer to jlong.
412         * gnu/classpath/jdwp/natVMVirtualMachine.cc
413         (getFrame): Implement.
414         * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
416 2007-02-08  Kyle Galloway  <kgallowa@redhat.com>
418         * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
419         to hold "this" pointer for frame.
420         (_Jv_InterpFrame::get_this_ptr): New method.
421         * interpret-run.cc: Copy the "this" pointer into obj_ptr.
423 2007-02-07  Keith Seitz  <keiths@redhat.com>
425         * include/java-interp.h (_Jv_Frame::depth):
426         New function.
427         * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
429 2007-02-07  Kyle Galloway  <kgallowa@redhat.com>
431         * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
432         (_Jv_JVMTI_GetMaxLocals): New method.
433         * include/java-interp.h
434         (_Jv_InterpMethod::get_max_locals): New method.
436 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
438         * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
440 2007-02-07  Tom Tromey  <tromey@redhat.com>
442         * testsuite/libjava.jni/init.c: New file.
443         * testsuite/libjava.jni/init.java: New file.
444         * testsuite/libjava.jni/init.out: New file.
445         * testsuite/libjava.jni/init.jar: New file.
446         * testsuite/libjava.jni/init.h: New file.
447         * testsuite/libjava.jni/init$NativeClass.h: New file.
449 2007-02-07  Jakub Jelinek  <jakub@redhat.com>
451         PR libgomp/28468
452         * configure: Regenerate.
454 2007-02-06  Andrew Haley  <aph@redhat.com>
456         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
457         * sources.am: Rebuild.
459 2007-02-05  Keith Seitz  <keiths@redhat.com>
461         * jvmti.cc (_envListLock): Change type to
462         ReentrantReadWriteLock.
463         (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
464         lock.
465         (check_enabled_event): Likewise.
466         (_Jv_GetJVMTIEnv): Likewise.
467         (_Jv_JVMTI_Init): Likewise.
468         (_Jv_JVMTI_PostEvent): Likewise. 
470 2007-02-05  Keith Seitz  <keiths@redhat.com>
472         * gnu/classpath/jdwp/natVMVirtualMachine.cc
473         (registerEvent): Implement EVENT_BREAKPOINT.
474         (unregisterEvent): Likewise.
475         (get_request_location): New function.
477 2007-02-05  Matthias Klose  <doko@debian.org>
479         testsuite/Makefile.am (compile-tests): Fix typo.
480         testsuite/Makefile.in: Regenerate.
482 2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
484         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
485         Implment.
487 2007-02-02  Jakub Jelinek  <jakub@redhat.com>
489         * configure.ac (libjava_cv_anon_version_script): New test.
490         (ANONVERSCRIPT): New AM_CONDITIONAL.
491         * configure: Rebuilt.
492         * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
493         if ANONVERSCRIPT.
494         * Makefile.in: Rebuilt.
495         (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
496         * libgcj.ver: New file.
498 2007-02-01  David Daney  <ddaney@avtrex.com>
500         * scripts/makemake.tcl: Replace gnu/xml build with build of all
501         its subpackages.
502         * sources.am: Regenerate.
503         * Makefile.in: Regenerate.
505 2007-02-01  Tom Tromey  <tromey@redhat.com>
507         * java/lang/ClassLoader.java (getResources): No longer final.
509 2007-02-01  Tom Tromey  <tromey@redhat.com>
511         * java/util/logging/LogManager.java (loggers): Genericized.
512         (addLogger): Merged.
513         (findAncestor): Likewise.
514         (getLogger): Likewise.
515         (getLoggerNames): Genericized.
516         (reset): Merged.
517         (getLevelProperty): Likewise.
518         * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
519         * java/lang/reflect/Constructor.java (getParameterTypes):
520         Genericized.
521         (getExceptionTypes): Likewise.
522         (newInstance): Likewise.
523         * java/lang/reflect/Array.java (newInstance): Genericized.
524         * java/lang/Object.java (getClass): Genericized.
525         * java/nio/charset/spi/CharsetProvider.java (charsets):
526         Genericized.
527         * java/text/Collator.java: Implement Comparable<Object>.
529 2007-02-01  Tom Tromey  <tromey@redhat.com>
531         * java/util/Calendar.java: Implement Comparable<Calendar>.  Update
532         comments.
533         (clear): Call complete.
534         (setTimeZone): Call computeTime, computeFields.
535         (compareTo): New method.
536         * java/nio/charset/Charset.java: Implement Comparable<Charset>.
537         (availableCharsets): Genericized.
538         (aliases): Likewise.
539         (compareTo): Changed argument type.
540         * java/lang/ClassLoader.java (loadClass): Genericized.
541         (findClass): Likewise.
542         (defineClass): Likewise.
543         (resolveClass): Likewise.
544         (findSystemClass): Likewise.
545         (setSigners): Likewise.
546         (findLoadedClass): Likewise.
547         (getResources): Likewise.
548         (findResources): Likewise.
549         (getSystemResources): Likewise.
550         (checkInitialized): New method.
551         * java/lang/Class.java (getCanonicalName): New method.
553 2007-01-31  Keith Seitz  <keiths@redhat.com>
555         * include/jvmti-int.h (JVMTI): Declare member "enabled".
556         * jvmti.cc (JVMTI): Add member "enabled".
557         (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
558         * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
559         instead of gnu::classpath::jdwp::Jdwp::isDebugging.
560         (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
561         instead of run to compile the method.
563         * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
564         notification.
566 2007-01-31  Andreas Tobler  <a.tobler@schweiz.org>
568         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
569         -shared-libgcc to the cxxflaglist for Darwin.
571 2007-01-31  Tom Tromey  <tromey@redhat.com>
573         * scripts.am, Makefile.in: Rebuilt.
574         * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
575         as 'ordinary'.
576         (emit_ordinary_rule): New proc.
578 2007-01-31  Keith Seitz  <keiths@redhat.com>
580         * testsuite/libjava.jvmti/getmethodname.h: New file.
581         * testsuite/libjava.jvmti/getmethodname.jar: New file.
583 2007-01-31  Andrew Haley  <aph@redhat.com>
585         * prims.cc (_Jv_Abort): fflush (stderr).
586         * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
588 2007-01-31  Tom Tromey  <tromey@redhat.com>
590         * configure, Makefile.in: Rebuilt.
591         * configure.ac (JAR): Check for -@ feature.
592         * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
594 2007-01-31  Tom Tromey  <tromey@redhat.com>
596         PR libgcj/30606:
597         * configure, include/config.h.in: Rebuilt.
598         * configure.ac: Check for magic_t in magic.h.
599         * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
601 2007-01-30  Tom Tromey  <tromey@redhat.com>
603         * Makefile.in: Rebuilt.
604         * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
606 2007-01-30  Andreas Tobler  <a.tobler@schweiz.org>
608         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
609         cast to print it right.
611 2007-01-29  Kaloian Doganov  <kaloian@doganov.org>
613         PR libgcj/30600:
614         * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
615         'limit'.
617 2007-01-29  Kyle Galloway  <kgallowa@redhat.com>
619         * include/java-interp.h:  Added _Jv_Frame class and its two
620         subclasses _Jv_InterpFrame and _Jv_NativeFrame.  Also moved
621         _Jv_FrameType from java-stack.h.
622         * include/java-stack.h: Removed _Jv_FrameType.
623         * java/lang/Thread.java: Added frame member to hold new
624         composite frame stack.
625         * java/lang/Thread.h: Regenerated.
626         * java/lang/Thread.class: Rebuilt.
627         * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
628         calling a JNI method.
629         * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
630         (_Jv_JVMTI_GetFrameCount): New method.
631         * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
632         classes.
633         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
634         * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
635         * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
636         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
637         * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
638         for test. 
640 2007-01-29  Tom Tromey  <tromey@redhat.com>
642         * interpret.cc (run_debug): Remove comment.
643         (STOREA): Reformat.
644         (STOREI): Likewise.
645         (STOREF): Likewise.
646         (STOREL): Likewise.
647         (STORED): Likewise.
648         (POKEI): Likewise.
649         (run_normal_debug): Likewise.
650         (run_synch_object_debug): Likewise.
651         (run_class_debug): Likewise.
652         (run_synch_class_debug): Likewise.
653         (get1s): Likewise.
654         (get1u): Likewise.
655         (get2u): Likewise.
656         (get4): Likewise.
657         (NULLARRAYCHECK): Likewise.
658         (ARRAYBOUNDSCHECK): Likewise.
659         * interpret-run.cc (insn_target) <breakpoint>: Tidy.
661 2007-01-29  Tom Tromey  <tromey@redhat.com>
663         * configure, Makefile.in: Rebuilt.
664         * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
665         * configure.ac (BASH_JAR): Removed conditional.
666         (JAR): Prefer the jar found by AC_CHECK_PROGS.
668 2007-01-29  Tom Tromey  <tromey@redhat.com>
670         * Makefile.in: Rebuilt.
671         * Makefile.am (interpret.lo): New target.  Add -fwrap to
672         AM_CXXFLAGS.
674 2007-01-29  Keith Seitz  <keiths@redhat.com>
676         * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
677         Define.
678         [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
679         gcj. All jvmti object types now are defined to be their
680         corresponding java classes.
681         * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
682         jthread to Thread*.
683         (_Jv_JVMTI_ResumeThread): Likewise.
684         (_Jv_JVMTI_InterruptThread): Likewise.
685         (_Jv_JVMTI_SetEventNotificationMode): Likewise.
686         * gnu/classpath/jdwp/natVMVirtualMachine.cc
687         (jdwpClassPrepareCB): Likewise.
688         (jdwpThreadEndCB): Likewise.
689         (jdwpThreadStartCB): Likewise.
690         (jdwpVMInitCB): Likewise.
692 2007-01-28  Michele Sandri  <gpointorama@gmail.com>
694         * gnu/java/nio/channels/natFileChannelWin32.cc
695         (lock): Implemented.
696         (unlock): Implemented.
698 2007-01-27  Andreas Tobler  <a.tobler@schweiz.org>
700         PR libgcj/30513
701         * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
702         libgcj_flags to undefine 'sun' at compile time.
703         * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
704         Sparc.
705         (write_barrier): Likewise.
707 2007-01-27  Keith Seitz  <keiths@redhat.com>
709         * gnu/classpath/jdwp/natVMVirtualMachine.cc
710         (getAllClassMethods): Move error handling to ...
711         (throw_jvmti_error): ... here.
712         (jdwpClassPrepareCB): New function.
713         (jdwpThreadEndCB): New function.
714         (jdwpThreadStartCB): New function.
715         (jdwpVMDeathCB): New function.
716         (jdwpVMInitCB): Define and enable callbacks for
717         ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
719 2007-01-27  Jakub Jelinek  <jakub@redhat.com>
721         * Makefile.am (generic_header_files): Add $(inner_nat_headers).
722         * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
723         (MYGCJH): New variable.
724         (compile-tests): New goal.
725         * Makefile.in: Rebuilt.
726         * testsuite/Makefile.in: Rebuilt.
728 2007-01-26  Andrew Haley  <aph@redhat.com>
730         * java/lang/natClass.cc (initializeClass): Re-throw
731         SecurityExceptions.
732         * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
733         * java/lang/ClassLoader.java: (loadClass): Likewise.
735 2007-01-26  Tom Tromey  <tromey@redhat.com>
737         * Updated headers.
739 2007-01-25  Tom Tromey  <tromey@redhat.com>
741         PR libgcj/29594:
742         * gnu/gcj/convert/Convert.java (main): Correctly handle missing
743         input or output encodings.  Removed unused local variables.
745 2007-01-25  Keith Seitz  <keiths@redhat.com>
747         * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
748         * gnu/classpath/jdwp/natVMVirtualMachine.cc
749         (_Jv_GetJDWP_JVMTIEnv): New function.
750         * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
751         (getSignature): Implement.
752         (getModifiers): Implement.
754 2007-01-25  Andrew Haley  <aph@redhat.com>
756         * configure, Makefile.in, include/config.h.in: Rebuilt.
757         * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
758         * configure.ac: Don't check for libmagic.
759         * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
760         p_magic_close, p_magic_buffer): New globals.
761         (init): Look up 'magic' functions.
762         (guessContentTypeFromBuffer): Updated.
764 2007-01-25  Keith Seitz  <keiths@redhat.com>
766         * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
767         (_Jv_JVMTI_Interface): Define GetMethodName.
768         * testsuite/libjava.jvmti/getmethodname.java: New file.
769         * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
770         * testsuite/libjava.jvmti/getmethodname.out: New file. 
772 2007-01-24  Kyle Galloway  <kgallowa@redhat.com>
774         * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
775         * libjava/testsuite/libjava.jvmti/interp: New folder.
776         * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
778 2007-01-24  Keith Seitz  <keiths@redhat.com>
780         * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
781         CLASS_PREPARE notification.
783 2007-01-24  Keith Seitz  <keiths@redhat.com>
785         * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
786         gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
787         * interpret-run.cc: Implement insn_breakpoint.
789 2007-01-24  Keith Seitz  <keiths@redhat.com>
791         * prims.cc (_Jv_RunMain): Send JVMTI event notifications
792         for VM_INIT and VM_DEATH instead of the JDWP notifications.
794 2007-01-24  Keith Seitz  <keiths@redhat.com>
796         * gnu/classpath/jdwp/natVMVirtualMachine.cc
797         (getAllClassMethods): Implement.
799 2007-01-24  Andrew Haley  <aph@redhat.com>
801         * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
802         (getClassContext) Add a barrier to prevent GetStackWalkerStack()
803         from being sibcalled.
805 2007-01-24  Andrew Haley  <aph@redhat.com>
807         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
808         * sources.am: Rebuild.
810 2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>
812         * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
813         _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
815 2007-01-23  H.J. Lu  <hongjiu.lu@intel.com>
817         PR libgcj/30550
818         * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
819         * Makefile.in: Regenerated.
821 2007-01-22  Keith Seitz  <keiths@redhat.com>
823         * gnu/classpath/jdwp/natVMVirtualMachine.cc
824         (getClassMethod): Implement.
826 2007-01-22  Keith  Seitz  <keiths@redhat.com>
828         * java/lang/Class.h (_Jv_GetClassStatus): Declare.
829         * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
830         * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
831         (_Jv_JVMTI_Interface): Define GetClassStatus.
833 2007-01-22  Tom Tromey  <tromey@redhat.com>
835         * configure: Rebuilt.
836         * configure.ac (GCJ): Reverted patch of 2006-12-20.
838 2007-01-22  Tom Tromey  <tromey@redhat.com>
840         PR java/29812:
841         * testsuite/libjava.jni/pr29812.java: New file.
842         * testsuite/libjava.jni/pr29812_injar.java: New file.
843         * testsuite/libjava.jni/pr29812_injar.jar: New file.
844         * testsuite/libjava.jni/pr29812.out: New file.
845         * testsuite/libjava.jni/pr29812_injar.c: New file.
846         * testsuite/libjava.jni/pr29812_injar.h: New file.
847         * testsuite/libjava.jni/pr29812.jar: New file.
848         * testsuite/libjava.jni/pr29812.c: New file.
849         * testsuite/libjava.jni/pr29812.h: New file.
850         * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
851         New proc.
852         (gcj_jni_invocation_test_one): Use it.
853         (gcj_jni_pr29812): New proc.
854         (gcj_jni_run): Use it.
855         * java/lang/natRuntime.cc (_load): Push a new system frame before
856         calling JNI_OnLoad.
857         * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
858         (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
859         * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
860         <allocated_p>: Now bool.
861         <loader>: New field.
862         (_Jv_JNI_EnsureLocalCapacity): Updated.
863         (_Jv_JNI_NewLocalRef): Likewise.
864         (_Jv_JNI_NewLocalRef): Likewise.
865         (_Jv_JNI_PopLocalFrame): Likewise.
866         (_Jv_JNI_FindClass): Likewise.
867         (_Jv_GetJNIEnvNewFrame): Likewise.
868         (_Jv_JNI_AttachCurrentThread): Likewise.
869         (_Jv_GetJNIEnvNewFrameWithLoader): New function.
870         (_Jv_GetJNIEnvNewFrame): Use it.
871         * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
873 2007-01-22  Tom Tromey  <tromey@redhat.com>
875         * libtool-version: Bump current to 9.
877 2007-01-22  Andrew Haley  <aph@redhat.com>
879         * sysdep/alpha/locks.h (write_barrier): New.
881 2007-01-21  Matthias Klose  <doko@debian.org>
883         * Makefile.am (install-exec-hook): Use transformed name.
884         * Makefile.in: Regenerate.
886 2007-01-19  Keith Seitz  <keiths@redhat.com>
888         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
889         in methods and reformat.
891         * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
892         MAYBE_UNUSED.
894 2007-01-18  Keith Seitz  <keiths@redhat.com>
896         From Macro Trudel <mtrudel@gmx.ch>:
897         * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
898         Use JNICALL.
900 2007-01-18  Marco Trudel  <mtrudel@gmx.ch>
902         * jni.cc (_Jv_JNI_FindClass): Initialize class.
903         * testsuite/libjava.jni/findclass2.jar: New file.
904         * testsuite/libjava.jni/findclass2.h: New file.
905         * testsuite/libjava.jni/findclass2.java: New file
906         * testsuite/libjava.jni/findclass2.c: New file.
907         * testsuite/libjava.jni/findclass2.out: New file.
909 2007-01-18  Tom Tromey  <tromey@redhat.com>
911         * configure: Rebuilt.
912         * configure.ac: Use multi_basedir instead of libgcj_basedir.
914 2007-01-18  Gary Benson  <gbenson@redhat.com>
916         * gnu/java/nio/natVMPipeEcos.cc:
917         Renamed from gnu/java/nio/natPipeImplEcos.cc.
918         * gnu/java/nio/natVMPipePosix.cc:
919         Renamed from gnu/java/nio/natPipeImplPosix.cc.
920         * gnu/java/nio/natVMPipeWin32.cc:
921         Renamed from gnu/java/nio/natPipeImplWin32.cc.
922         * gnu/java/nio/natVMSelectorEcos.cc:
923         Renamed from gnu/java/nio/natSelectorImplEcos.cc.
924         * gnu/java/nio/natVMSelectorPosix.cc:
925         Renamed from gnu/java/nio/natSelectorImplPosix.cc.
926         * gnu/java/nio/natVMSelectorWin32.cc:
927         Renamed from gnu/java/nio/natSelectorImplWin32.cc.
928         * java/io/natVMObjectInputStream.cc:
929         Renamed from java/io/natObjectInputStream.cc.
930         * java/lang/natVMDouble.cc:
931         Renamed from java/lang/natDouble.cc.
932         * java/lang/natVMFloat.cc:
933         Renamed from java/lang/natFloat.cc.     
934         * Makefile.am, configure.ac: Reflect the above.
935         * Makefile.in, configure: Rebuilt.
937 2007-01-17  Andrew Haley  <aph@redhat.com>
939         * Makefile.in: Rebuilt.
940         * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
942 2007-01-17  Keith Seitz  <keiths@redhat.com>
944         * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
945         (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
947 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
949         * configure.ac: Use multi.m4 from aclocal rather than custom
950         code.  Use multi_basedir instead libgcj_basedir.  Test for
951         /proc/self/exe when not cross-compiling.
952         * aclocal.m4: Regenerate.
953         * configure: Regenerate.
954         * Makefile.in: Regenerate.
956 2007-01-17  Gary Benson  <gbenson@redhat.com>
958         * java/nio/natVMDirectByteBufferImpl.cc:
959         Renamed from java/nio/natDirectByteBufferImpl.cc.
960         * Makefile.am: Reflect the above.
961         * Makefile.in: Rebuilt.
962         
963 2007-01-17  Marco Trudel  <mtrudel@gmx.ch>
965         * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static.  Use JNICALL.
966         Fixed indentation.  Removed unused variable.
968 2007-01-16  Tom Tromey  <tromey@redhat.com>
970         * java/lang/natThread.cc (finalize_native): Remove cast.
971         (_Jv_GetCurrentJNIEnv): Likewise.
972         * include/jvm.h (struct natThread) <jni_env>: Declare as
973         _Jv_JNIEnv*.
975 2007-01-16  Keith Seitz  <keiths@redhat.com>
977         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
978         %#llx instead of %d for new_value.
979         * testsuite/libjava.jvmti/events.out: Update expected output.
980         * testsuite/libjava.jvmti/events.jar: Regenerate.
982 2007-01-16  Keith Seitz  <keiths@redhat.com>
984         * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
985         New macro.
986         (ENABLE_EVENT): New macro.
987         (initialize): Define and enable JVMTI VM_INIT callback.
988         (jdwpVMInitCB): New function.
990 2007-01-16  Kyle Galloway  <kgallowa@redhat.com>
992         * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
993         * testsuite/libjava.jvmti/getallthreads.java: New test.
994         * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
995         * testsuite/libjava.jvmti/getallthreads.out: Ditto.
996         * testsuite/libjava.jvmti/getallthreads.h: Ditto.
997         * testsuite/libjava.jvmti/getallthreads.jar: Ditto. 
999 2007-01-15  Keith Seitz  <keiths@redhat.com>
1001         * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
1002         java.lang.StringBuilder instead of java.lang.StringBuffer.
1003         (resumeThread): Likewise.
1005 2007-01-15  Gary Benson  <gbenson@redhat.com>
1007         * java/nio/MappedByteBuffer.java: Removed.
1008         * sources.am, Makefile.in: Rebuilt.
1010 2007-01-15  Gary Benson  <gbenson@redhat.com>
1012         * java/net/URLClassLoader.java: Removed.
1013         * gnu/java/net/loader/Load_gcjlib.java: New file.
1014         * gnu/gcj/runtime/BootClassLoader.java: Ensure core
1015         URL handler is present in static executables.
1016         * sources.am, Makefile.in: Rebuilt.
1018 2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1020         * Makefile.am (libgcj_la_LDFLAGS): Add
1021         $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
1022         (libgcj_tools_la_LDFLAGS): Likewise.
1023         (libgcj_bc_la_LDFLAGS): Likewise.
1024         * Makefile.in: Regenerated.
1026         * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC.  Set
1027         LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS.  Set
1028         libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
1029         Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
1030         * configure: Regenerated.
1031         * aclocal.m4: Likewise.
1032         * gcj/Makefile.in: Likewise.
1033         * include/Makefile.in: Likewise.
1034         * testsuite/Makefile.in: Likewise.
1036 2007-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
1038         * sysdep/sh/locks.h (read_barrier): New.
1039         (write_barrier): Likewise.
1041 2007-01-12  Andrew Haley  <aph@redhat.com>
1043         * include/i386-signal.h: Rewrite to use rt_sigaction.
1045 2007-01-11  Andrew Haley  <aph@redhat.com>
1047         * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
1048         to char*.
1049         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
1050         aliasing violation.
1052 2007-01-10  Tom Tromey  <tromey@redhat.com>
1054         * gnu/gcj/xlib/*.h: New files.
1055         * gnu/awt/xlib/*.h: Likewise.
1056         * classpath/lib/gnu/gcj/xlib: New class files.
1057         * classpath/lib/gnu/awt/xlib: Likewise.
1059 2007-01-10  Tom Tromey  <tromey@redhat.com>
1061         * HACKING: Various updates.
1063 2007-01-10  Tom Tromey  <tromey@redhat.com>
1065         * java/lang/natDouble.cc (toString): Added parens.
1066         * gnu/gcj/io/shs.h (PROTO): Define.
1067         * link.cc (resolve_pool_entry): Added missing braces.
1069 2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1071         PR libgcj/30424
1072         * sysdep/ia64/locks.h (read_barrier): New.
1073         (write_barrier): New.
1075 2007-01-10  Gary Benson  <gbenson@redhat.com>
1077         * java/net/URL.java: Removed.
1078         * sources.am, Makefile.in: Rebuilt.
1080 2007-01-10  Matthias Klose  <doko@debian.org>
1082         * Makefile.am (install-exec-hook): Support $(DESTDIR).
1083         * Makefile.in: Regenerated.
1085 2007-01-05  Tom Tromey  <tromey@redhat.com>
1087         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
1088         dummy.class in srcdir.
1090 2007-01-03  Tom Tromey  <tromey@redhat.com>
1092         * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
1093         for srcdir.
1095 2007-01-03  Tom Tromey  <tromey@redhat.com>
1097         * testsuite/*: Added many .jar and .h files.
1098         * testsuite/libjava.special/special.exp
1099         (gcj_special_try_compiler): New proc.
1100         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
1101         bytecompile source.  Search for .jar files.
1102         (gcj_loader_test_one): Don't look for MyLoader.java.
1103         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
1104         bytecompile sources or build headers.
1105         (gcj_jvmti_run): Look for .jar files.
1106         * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
1107         files.
1108         (gcj_jni_test_one): Don't bytecompile sources or build headers.
1109         Set classpath when invoking gij.
1110         (gcj_jni_invocation_test_one): Likewise.
1111         * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
1112         headers or bytecompile sources.
1113         (gcj_cni_run): Use .jar files, not .java files.
1114         * testsuite/libjava.lang/lang.exp: Compile .jar files.
1116 2007-01-02  Tom Tromey  <tromey@redhat.com>
1118         * configure: Rebuilt.
1119         * configure.ac: Check for gjar.
1121 2007-01-02  Tom Tromey  <tromey@redhat.com>
1123         * testsuite/libjava.jacks/jacks.exp: Removed.
1124         * testsuite/libjava.jacks/jacks.xfail: Removed.