OSDN Git Service

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