OSDN Git Service

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