OSDN Git Service

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