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