OSDN Git Service

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