OSDN Git Service

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