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