OSDN Git Service

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