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