OSDN Git Service

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