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