OSDN Git Service

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