OSDN Git Service

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