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