OSDN Git Service

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