OSDN Git Service

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