OSDN Git Service

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