OSDN Git Service

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