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