OSDN Git Service

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