OSDN Git Service

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