OSDN Git Service

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