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