OSDN Git Service

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