OSDN Git Service

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