OSDN Git Service

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