OSDN Git Service

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