OSDN Git Service

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