OSDN Git Service

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