OSDN Git Service

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