OSDN Git Service

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