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