OSDN Git Service

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