OSDN Git Service

2006-10-25 Andreas Tobler <a.tobler@schweiz.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2006-10-25  Andreas Tobler  <a.tobler@schweiz.org>
2
3         * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests): Replace
4         formatting modifiers %p with %#llx and cast the arguments.
5
6 2006-10-20  Tom Tromey  <tromey@redhat.com>
7
8         * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests):
9         Correctly pass jvalues.
10
11 2006-10-18  Tom Tromey  <tromey@redhat.com>
12             Bryce McKinlay  <mckinlay@redhat.com>
13
14         * testsuite/libjava.jni/register2.java: New file.
15         * testsuite/libjava.jni/register2.out: New file.
16         * testsuite/libjava.jni/register2.c: New file.
17         * java/lang/natClass.cc (_Jv_GetClassNameUtf8): New function.
18         * java/lang/Class.h (_Jv_GetClassNameUtf8): Declare.
19         * jni.cc (struct NativeMethodCacheEntry): New struct.
20         (nathash): Changed type.
21         (hash): Updated.
22         (nathash_find_slot): Likewise.
23         (nathash_find): Likewise.
24         (natrehash): Likewise.
25         (nathash_add): Likewise.
26         (_Jv_JNI_RegisterNatives): Likewise.
27         (_Jv_LookupJNIMethod): Likewise.
28         Idea from Juerg Lehni <juerg@scratchdisk.com>
29
30 2006-10-16  Geoffrey Keating  <geoffk@apple.com>
31
32         * testsuite/libjava.jvmti/natevents.cc (env): Delete.
33         (ExceptionCB): Fix types for printf arguments.
34         (ExceptionCatchCB): Likewise.
35         (SingleStepCB): Likewise.
36         (BreakpointCB): Likewise.
37         (FieldAccessCB): Likewise.
38         (FieldModificationCB): Likewise.
39         (CompiledMethodLoadCB): Likewise.
40
41 2006-10-14  Keith Seitz  <keiths@redhat.com>
42
43         * include/java-insns.h (enum java_code): Add op_breakpoint.
44         * include/java-interp.h (_Jv_InterpMethod): Declare breakpoint_insn.
45         [INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot.
46         [!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode.
47         (install_break): Declare.
48         * interpret.cc (breakpoint_insn): Define breakpoint insn.
49         (compile): Add op_breakpoint to "can't happen" cases.
50         [INTERPRETER] Initialize breakpoint insn if necessary.
51         (install_break): New method.
52         * interpret-run.cc: Add op_breakpoint to insn_targets.
53         Add insn_breakpoint label.
54         * verify.cc (branch_prepass): Add op_breakpoint to unrecognized
55         opcodes section of switch statement.
56         (verify_instructions_0): Likewise.
57
58 2006-10-12  Keith Seitz  <keiths@redhat.com>
59
60         * include/jvmti-int.h (JVMTI): Declare all members "extern".
61         * jvmti.cc (JVMTI): Define.
62
63 2006-10-11  Tom Tromey  <tromey@redhat.com>
64
65         * Makefile.in: Rebuilt.
66         * Makefile.am (install-data-local): Use mkinstalldirs.
67
68 2006-10-10  Tom Tromey  <tromey@redhat.com>
69
70         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
71         Removed obsolete comment.
72
73 2006-10-10  Keith Seitz  <keiths@redhat.com>
74
75         * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
76         (_Jv_InterpMethod::set_insn): Declare.
77         * interpret.cc (_Jv_InterpMethod::get_insn): New method.
78         (_Jv_InterpMethod::get_insn): New method.
79
80 2006-10-10  Tom Tromey  <tromey@redhat.com>
81
82         * prims.cc (_Jv_PrependVersionedLibdir): Use
83         _Jv_platform_path_separator.
84
85 2006-10-10  Tom Tromey  <tromey@redhat.com>
86
87         PR libgcj/29205:
88         * Makefile.in: Rebuilt.
89         * Makefile.am (install-data-local): Install the .pc file.
90         (pkgconfig_DATA): Removed.
91
92 2006-10-03  Gary Benson  <gbenson@redhat.com>
93
94         * java/net/InetAddress.java
95         (<clinit>): Reorder the static initializers.
96
97 2006-10-02  Gary Benson  <gbenson@redhat.com>
98
99         * java/net/InetAddress.java
100         (checkConnect): Reinstated.
101         (loopbackAddress): Ensure initialized from non-null object.
102
103 2006-09-30  Keith Seitz  <keiths@redhat.com>
104
105         * include/java-interp.h (prepared): Change type to pc_t.
106         (insn_index): Define for both DIRECT_THREADED and bytecode interpreters.
107         * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo.
108         (insn_index): Implement for bytecode interpreter.
109         * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class
110         qualifier to resolve_pool_entry.
111         [!DIRECT_THREADED] (AVAL2U): Likewise.
112         [!DIRECT_THREADED] bytecode() cannot be called without an object.
113         Changed all typos.
114         [!DIRECT_THREADED] Likewise for defining_class.
115
116 2006-09-26  Jack Howarth  <howarth@bromo.med.uc.edu>
117
118         PR target/26792:
119         * exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP
120         if HAVE_GETIPINFO not defined.
121         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Likewise.
122         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
123         * configure.ac: use GCC_CHECK_UNWIND_GETIPINFO.
124         * aclocal.m4, configure, include/config.h.in, Makefile.in:
125         Rebuilt.
126
127 2006-09-27  Tom Tromey  <tromey@redhat.com>
128
129         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712
130         * java/util/Locale.java (hashcode): No longer transient.
131         (writeObject): Use ObjectOutputStream.PutField and
132         defaultWriteObject.
133         (readObject): Use defaultReadObject.
134
135 2006-09-25  Keith Seitz  <keiths@redhat.com>
136
137         * gnu/classpath/jdwp/VMVirtualMachine.java
138         (_jdwp_suspend_counts): New private variable.
139         * gnu/classpath/jdwp/natVMVirtualMachine.cc
140         (initialize): Initialize _jdwp_suspend_counts.
141         (suspendThread): Implement.
142         (resumeThread): Implement.
143         (getSuspendCount): Implement.
144
145 2006-09-22  Marco Trudel  <mtrudel@gmx.ch>
146
147         * jvmti.cc (_Jv_JVMTI_GetErrorName): Now static.  Marked JNICALL.
148
149 2006-09-21  Keith Seitz  <keiths@redhat.com>
150
151         * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
152         events.
153         (check_enabled_event): New function.
154         (check_enabled_events): New function.
155         (post_event): New function.
156         (_Jv_JVMTI_SetEventNotificationMode): New function.
157         (_Jv_JVMTI_SetEventCallbacks): New function.
158         (_Jv_JVMTI_Interface): Define SetEventNotificationMode and
159         SetEventCallbacks members.
160         * include/jvmti-int.h: New file.
161         * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define.
162         (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define.
163         * testsuite/libjava.jvmti/events.java: New file.
164         * testsuite/libjava.jvmti/events.out: New file.
165         * testsuite/libjava.jvmti/natevents.cc: New file. 
166
167 2006-09-21  Sandro Tolaini  <tolaini@libero.it>
168
169         * configure.ac: Don't use darwin-signal.h as signal handler for
170         Darwin/i386.
171         * configure.host: Enable Darwin/i386 as a supported host, with no
172         signal unwinding.
173
174 2006-09-20  Keith Seitz  <keiths@redhat.com>
175
176         * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked
177         and return JVMTI_ERROR_OUT_OF_MEMORY if necessary.
178         (_Jv_JVMTI_GetClassMethods): Likewise.
179         (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
180         (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
181         (_Jv_JVMTI_GetSystemProperty): Likewise.
182
183 2006-09-20  Keith Seitz  <keiths@redhat.com>
184
185         * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
186         (_Jv_JVMTI_Interface): Define GetErrorName member.
187         * testsuite/libjava.jvmti/geterrorname.java: New file.
188         * testsuite/libjava.jvmti/geterrorname.out: New file.
189         * testsuite/libjava.jvmti/natgeterrorname.cc: New file.
190
191 2006-09-20  Gary Benson  <gbenson@redhat.com>
192
193         * java/net/InetAddress.java: Mostly merged with Classpath.
194         * java/net/VMInetAddress.java: New file.
195         * sources.am, Makefile.in: Rebuilt.
196
197         * java/net/natVMNetworkInterfacePosix.cc
198         (getInterfaces): Create InetAddress objects using
199         InetAddress.getByAddress.
200         * gnu/java/net/natPlainSocketImplPosix.cc
201         (accept, getOption): Likewise.
202         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
203         (peekData, receive, getLocalAddress): Likewise.
204
205 2006-09-19  Keith Seitz  <keiths@redhat.com>
206
207         * testsuite/libjava.jvmti/jvmti.exp: New file.
208
209 2006-09-19  Keith Seitz  <keiths@redhat.com>
210
211         * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
212         (THREAD_CHECK_VALID): Likewise.
213         (THREAD_CHECK_ALIVE): Likewise.
214         (_Jv_JVMTI_SuspendThread): Call THREAD_CHECK_VALID on a Thread not
215         jthread.
216         (_Jv_JVMTI_ResumeThread): Likewise.
217         (_Jv_JVMTI_InterruptThread): Likewise.
218
219         (_Jv_JVMTI_DisposeEnvironment): Probably unwise to dereference an object
220         that was just freed.
221
222 2006-09-19  Mark Wielaard  <mark@klomp.org>
223
224         Fixes bug #29137
225         * java/util/logging/LogManager.java (addLogger): Always check for
226         existing children of a new Logger.
227
228 2006-09-19  Tom Tromey  <tromey@redhat.com>
229
230         * java/util/logging/LogManager.java: Re-merged with Classpath.
231
232 2006-09-18  Tom Tromey  <tromey@redhat.com>
233
234         * configure: Rebuilt.
235
236 2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>
237
238         * configure.host: Handle kfreebsd.
239
240 2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>
241
242         * configure: Rebuilt.
243         * shlibpath.m4: Handle GNU/kFreeBSD.
244
245 2006-09-14  Tom Tromey  <tromey@redhat.com>
246
247         PR boehm-gc/29068:
248         * boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
249         (_Jv_GCDetachThread): Likewise.
250
251 2006-09-14  Andreas Schwab  <schwab@suse.de>
252
253         * posix-threads.cc: Include "posix.h".
254
255 2006-09-13  Geoffrey Keating  <geoffk@apple.com>
256
257         * posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
258         microseconds; use gettimeofday when available.
259         * posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
260         timeout calculation.
261         * testsuite/libjava.lang/Thread_Sleep_2.java: New.
262         * testsuite/libjava.lang/Thread_Sleep_2.out: New.
263         * testsuite/libjava.lang/Thread_Sleep_2.xfail: New.
264
265 2006-09-12  Tom Tromey  <tromey@redhat.com>
266
267         PR java/29013:
268         * testsuite/libjava.lang/PR29013.out: Likewise.
269         * testsuite/libjava.lang/PR29013.java: New file.
270
271 2006-09-12  Tom Tromey  <tromey@redhat.com>
272
273         * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
274
275 2006-09-07  Matthias Klose  <doko@debian.org>
276
277         * Makefile.am (AM_CXXFLAGS): Remove duplicate define.
278         * Makefile.in: Regenerate.
279
280 2006-09-06  Keith Seitz  <keiths@redhat.com>
281
282         * java/lang/Class.h (_Jv_FindInterpreterMethod): Change return type
283         to _Jv_MethodBase instead of _Jv_InterpMethod.
284         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): Likewise.
285         Do not check access flags.
286         Fix some minor style anomalies.
287         
288 2006-09-01  Geoffrey Keating  <geoffk@apple.com>
289
290         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
291         Pass -lgcj to linker for C++ files on Darwin.
292
293 2006-09-01  Keith Seitz  <keiths@redhat.com>
294
295         * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop.
296         (THREAD_CHECK_VALID): Likewise.
297         (THREAD_CHECK_IS_ALIVE): Likewise.
298         (NULL_CHECK): Likewise.
299         (ILLEGAL_ARGUMENT): Likewise.
300
301 2006-09-01  Keith Seitz  <keiths@redhat.com>
302
303         * include/jvm.h (_Jv_JVMTI_Init): Declare.
304         * jvmti.cc (_Jv_JVMTI_Init): New function.
305         * prims.cc (_Jv_CreateJavaVM): Initialize JVMTI.
306
307         * jvmti.cc (ILLEGAL_ARGUMENT): New macro.
308         (_Jv_JVMTI_Allocate): Use ILLEGAL_ARUMENT.
309
310         * jvmti.cc (_jvmtiEnvironments): New linked list of
311         JVMTI environments.
312         (FOREACH_ENVIRONMENT): New macro.
313         (_envListLock): New object to act as synchronization lock
314         for _jvmtiEnvironments.
315         (_Jv_JVMTI_DisposeEnvironment): Check for NULL environment.
316         Remove the environment from the list of known environments.
317         (_Jv_GetJVMTIEnv): Add the new environment to the list
318         of known environments.
319
320 2006-09-01  Gary Benson  <gbenson@redhat.com>
321
322         * java/net/InetAddress.java (getLocalHost): Refactor to avoid
323         security check if getLocalHostname() fails and to provide more
324         meaningful exceptions it the security check fails.
325
326 2006-09-01  Gary Benson  <gbenson@redhat.com>
327
328         * java/net/InetAddress.java (getByAddress): Create Inet4Address
329         objects when passed IPv4-mapped IPv6 addresses.
330         (getByName, getAllByName): Defer to the above to ensure that the
331         correct Inet*Address objects are returned.
332
333 2006-09-01  Gary Benson  <gbenson@redhat.com>
334
335         * java/net/InetAddress.java (getByName, getAllByName):
336         Only perform security check when DNS lookups are required.
337
338 2006-08-31  Keith Seitz  <keiths@redhat.com>
339
340         * include/jvmti_md.h: New file.
341
342         * jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
343         Pass millis to _Jv_CondWait.
344
345 2006-08-31  Tom Tromey  <tromey@redhat.com>
346
347         PR libgcj/28698:
348         * libgcj_bc.c (DECLARE_PRIM_TYPE): New macro.  Declare primitive
349         classes.
350
351 2006-08-24  Keith Seitz  <keiths@redhat.com>
352
353         * prims.cc (remoteDebug): New global.
354         (jdwpOptions): New global.
355         (parse_x_arg): Add processing for "X" options "debug" and
356         "runjdwp:"
357         (_Jv_RunMain): If debugging, start up JDWP backend.
358         Send VM_INIT and VM_DEATH when appropriate.
359
360 2006-08-23  Keith Seitz  <keiths@redhat.com>
361
362         * gnu/classpath/jdwp/VMVirtualMachine.java
363         (initialize): Declare.
364         * gnu/classpath/jdwp/natVMVirtualMachine.cc
365         (initialize): Get and save JVMTI environment.
366
367 2006-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
368
369         PR libgcj/27890
370         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
371         Set gnu.classpath.home.url to TOOLEXECLIBDIR.
372         * configure.ac: Do not add --with-native-libdir to
373         ac_configure_args.
374         * java/security/libgcj.security: Remove file.
375         * java/util/logging/logging.properties: Likewise.
376         * classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
377         * classpath/resource/Makefile.am (loggingdir): Define to
378         toolexeclibdir.
379         (securitydir): Likewise.
380         * classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
381         Set default nativeexeclibdir using toolexeclibdir.
382         * HACKING: Fix classpath aclocal arguments.
383         * Makefile.am (secdir): Remove variable.
384         (propdir): Likewise.
385         (AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
386         definition.
387         (all_property_files): Remove variable.
388         (install-data-local): Do not install libgcj.security or
389         logging.properties.
390         * configure, Makefile.in, classpath/configure,
391         classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
392         classpath/native/jni/midi-alsa/Makefile.in,
393         classpath/native/jni/classpath/Makefile.in,
394         classpath/native/jni/midi-dssi/Makefile.in,
395         classpath/native/jni/Makefile.in,
396         classpath/native/jni/java-nio/Makefile.in,
397         classpath/native/jni/java-net/Makefile.in,
398         classpath/native/jni/gconf-peer/Makefile.in,
399         classpath/native/jni/java-io/Makefile.in,
400         classpath/native/jni/xmlj/Makefile.in,
401         classpath/native/jni/java-util/Makefile.in,
402         classpath/native/jni/qt-peer/Makefile.in,
403         classpath/native/jni/gtk-peer/Makefile.in,
404         classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
405         classpath/native/target/Linux/Makefile.in,
406         classpath/native/target/Makefile.in,
407         classpath/native/target/generic/Makefile.in,
408         classpath/native/fdlibm/Makefile.in,
409         classpath/native/plugin/Makefile.in,
410         classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
411         classpath/tools/Makefile.in, classpath/doc/Makefile.in,
412         classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
413         classpath/external/Makefile.in,
414         classpath/external/sax/Makefile.in,
415         classpath/external/w3c_dom/Makefile.in,
416         classpath/external/relaxngDatatype/Makefile.in,
417         classpath/include/Makefile.in, classpath/aclocal.m4,
418         classpath/examples/Makefile.in, aclocal.m4: Regenerate.
419
420 2006-08-21  Bryce McKinlay  <mckinlay@redhat.com>
421
422         * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
423         to GC.
424         (_Jv_DetachCurrentThread): Detach thread from GC.
425         * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
426         Declare.
427         * boehm.cc (_Jv_GCAttachThread): New function.
428         (_Jv_GCDetachThread): Likewise.
429
430 2006-08-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
431
432         * sysdep/i386/backtrace.h (fallback_backtrace): Add "0x55 0x8B 0xEC"
433         as another sequence that can indicate a "pushl %ebp; movl %esp, %ebp"
434         function prologue.
435
436 2006-08-17  H.J. Lu  <hongjiu.lu@intel.com>
437
438         * Makefile.am (install-exec-hook): Support $(DESTDIR).
439         * Makefile.in: Regenerated.
440
441 2006-08-16  Tom Tromey  <tromey@redhat.com>
442
443         * libtool-version: Updated.
444
445 2006-08-16  Jakub Jelinek  <jakub@redhat.com>
446             Bryce McKinlay  <bryce@mckinlay.net.nz>
447
448         * configure, Makefile.in: Rebuilt.
449         * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
450         (libgcj_bc_la_SOURCES): New variable.
451         (libgcj_bc_la_LDFLAGS): Likewise.
452         (libgcj_bc_la_LIBADD): Likewise.
453         (libgcj_bc_la_DEPENDENCIES): Likewise.
454         (libgcj_bc_la_LINK): Likewise.
455         (libgcj_bc_dummy_LINK): Likewise.
456         (libgcj_bc.la): New target.
457         (install-exec-hook): Likewise.
458         * libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
459         * libgcj_bc.c: New file.
460         * configure.ac (LIBGCJ_SPEC): New subst.
461         * configure.host (use_libgcj_bc): New variable.
462
463 2006-08-15  Kyle Galloway  <kgallowa@redhat.com>
464
465         * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
466         * interpret.cc: Added placeholder for debug variable type info to STORE*
467         macros.
468         (_Jv_InterpMethod::run_debug): New method.
469         (_Jv_InterpMethod::run_sync_object_debug): New method.
470         (_Jv_InterpMethod::run_sync_class_debug): New method.
471         (_Jv_InterpMethod::run_normal_debug): New method.
472         (_Jv_InterpMethod::run_class_debug): New method.
473         (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
474         versions of these functions.
475         * interpret-run.cc: New file, holds contents of old     
476         _Jv_InterpMethod::run method.
477         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
478         appropriate function for debug or normal mode.
479
480 2006-08-14  Mark Wielaard  <mark@klomp.org>
481
482         Imported GNU Classpath 0.92
483         * HACKING: Add more importing hints. Update automake version
484         requirement.
485
486         * configure.ac (gconf-peer): New enable AC argument.
487         Add --disable-gconf-peer and --enable-default-preferences-peer
488         to classpath configure when gconf is disabled.
489         * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
490         gnu/java/awt/dnd/peer/gtk to bc. Classify
491         gnu/java/security/Configuration.java as generated source file.
492
493         * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
494         gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
495         gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
496         gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
497         gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
498         gnu/java/lang/management/VMThreadMXBeanImpl.java,
499         gnu/java/lang/management/VMMemoryMXBeanImpl.java,
500         gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
501         classes.
502         * java/lang/management/VMManagementFactory.java: Likewise.
503         * java/net/VMURLConnection.java: Likewise.
504         * gnu/java/nio/VMChannel.java: Likewise.
505
506         * java/lang/Thread.java (getState): Add stub implementation.
507         * java/lang/Class.java (isEnum): Likewise.
508         * java/lang/Class.h (isEnum): Likewise.
509
510         * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.
511
512         * javax/naming/spi/NamingManager.java: New override for StackWalker
513         functionality.
514
515         * configure, sources.am, Makefile.in, gcj/Makefile.in,
516         include/Makefile.in, testsuite/Makefile.in: Regenerated.
517
518 2006-08-14  Gary Benson  <gbenson@redhat.com>
519
520         * java/lang/Thread.java (accessControlState): New field.
521         * java/security/VMAccessControlState.java: New file.
522         * java/security/natVMAccessControlState.cc: Likewise.
523         * java/security/VMAccessController.java
524         (contexts, inGetContext): Removed.
525         (pushContext, popContext, getContext): Use VMAccessControlState.
526         * Makefile.am (nat_source_files): Updated.
527         * sources.am, Makefile.in: Rebuilt.
528
529 2006-08-10  Gary Benson  <gbenson@redhat.com>
530
531         * include/java-stack.h (GetAccessControlStack): Change return
532         type.
533         * stacktrace.cc (accesscontrol_trace_fn): Record the number of
534         Java frames encountered.
535         (GetAccessControlStack): Return a flag indicating whether a call to
536         doPrivileged was encountered rather than an array of method names.
537         * java/security/natVMAccessController.cc (getStack): Change return
538         type.
539         * java/security/VMAccessController.java (getStack): Likewise.
540         (getContext): Change to reflect the above.
541
542 2006-08-09  Gary Benson  <gbenson@redhat.com>
543
544         * stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames.
545
546 2006-08-09  Gary Benson  <gbenson@redhat.com>
547
548         * java/lang/System.java (setSecurityManager): Javadoc fix.
549         * java/security/VMAccessController.java (getContext): Comment fix.
550
551 2006-08-09  Gary Benson  <gbenson@redhat.com>
552
553         * include/java-stack.h (accesscontrol_trace_fn): Declare.
554         (GetAccessControlStack): Likewise.
555         (GetClassMethodStack): Remove.
556         * stacktrace.cc (accesscontrol_trace_fn): New method.
557         (GetAccessControlStack): Likewise.
558         (GetClassMethodStack): Remove.
559         * java/security/natVMAccessController.cc (getStack): Use
560         GetAccessControlStack.
561
562 2006-08-07  Gary Benson  <gbenson@redhat.com>
563
564         PR libgcj/28340:
565         * java/lang/ClassLoader.java (clinit): Install a default
566         security manager if java.security.manager is defined.
567         (getParent, getSystemClassLoader): Use the correct stack
568         frame during security checks.
569         * java/net/URLClassLoader.java (findClass): Avoid calling
570         this.toString() during VM initialization.
571         (runtimeInitialized): New method.
572         * java/net/natURLClassLoader.cc: New file.
573         * Makefile.am (nat_source_files): Added the above.
574         * Makefile.in: Rebuilt.
575
576 2006-08-07  Gary Benson  <gbenson@redhat.com>
577             Casey Marshall <csm@gnu.org>
578
579         * java/lang/SecurityManager.java (getSecurityContext,
580         checkPermission, checkAccess, checkRead, checkConnect,
581         checkPackageAccess, checkPackageDefinition, checkPackageList):
582         Merge with Classpath.
583         (SecurityContext): Remove.
584
585 2006-08-07  Gary Benson  <gbenson@redhat.com>
586
587         * java/security/VMAccessController.java (pushContext, popContext,
588         getContext): Use Thread.currentThread() to determine when we're
589         bootstrapping.
590         (runtimeInitialized): Remove.
591         * java/security/natVMAccessController.cc (runtimeInitialized):
592         Remove.
593
594 2006-08-06  Tom Tromey  <tromey@redhat.com>
595
596         PR libgcj/28491:
597         * configure, include/config.h.in: Rebuilt.
598         * configure.ac: Look for ifaddrs.h, getifaddrs.
599         * java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use
600         getifaddrs if available.
601
602 2006-08-06  Tom Tromey  <tromey@redhat.com>
603
604         PR libgcj/28576:
605         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (connect):
606         Implemented.
607         (disconnect): Likewise.
608         (send): Handle already-connected case.
609
610 2006-08-04  Mark Wielaard  <mark@klomp.org>
611
612         * jvmti.cc: Include gcj/method.h.
613
614 2006-08-04  Tom Tromey  <tromey@redhat.com>
615
616         * jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.
617         (_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType
618         result to _Jv_uintptr_t.
619
620 2006-08-01  Keith Seitz  <keiths@redhat.com>
621
622         * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.
623         * gnu/classpath/jdwp/VMIdManager.java: Likewise.
624         * gnu/classpath/jdwp/VMMethod.java: Likewise.
625         * gnu/classpath/jdwp/VMVirtualMachine: Likewise.
626         * gnu/classpath/jdwp/natVMFrame.java: New file.
627         * gnu/classpath/jdwp/natVMMethod.java: New file.
628         * gnu/classpath/jdwp/natVMVirtualMachine.java: New file.
629         * Makefile.am (nat_source_files): Add new filles.
630         * Makefile.in: Regenerated.
631
632 2006-08-03  Tom Tromey  <tromey@redhat.com>
633
634         * jvmti.cc (REQUIRE_PHASE): New macro.
635         (_Jv_JVMTI_InterruptThread): New function.
636         (_Jv_JVMTI_CreateRawMonitor): Likewise.
637         (_Jv_JVMTI_DestroyRawMonitor): Likewise.
638         (_Jv_JVMTI_RawMonitorEnter): Likewise.
639         (_Jv_JVMTI_RawMonitorExit): Likewise.
640         (_Jv_JVMTI_RawMonitorWait): Likewise.
641         (_Jv_JVMTI_RawMonitorNotify): Likewise.
642         (_Jv_JVMTI_RawMonitorNotifyAll): Likewise.
643         (_Jv_JVMTI_Allocate): Likewise.
644         (_Jv_JVMTI_Deallocate): Likewise.
645         (_Jv_JVMTI_GetClassModifiers): Likewise.
646         (_Jv_JVMTI_GetClassMethods): Likewise.
647         (_Jv_JVMTI_IsInterface): Likewise.
648         (_Jv_JVMTI_IsArrayClass): Likewise.
649         (_Jv_JVMTI_GetClassLoader): Likewise.
650         (_Jv_JVMTI_GetObjectHashCode): Likewise.
651         (_Jv_JVMTI_GetFieldModifiers): Likewise.
652         (_Jv_JVMTI_IsFieldSynthetic): Likewise.
653         (_Jv_JVMTI_GetMethodModifiers): Likewise.
654         (_Jv_JVMTI_IsMethodNative): Likewise.
655         (_Jv_JVMTI_IsMethodSynthetic): Likewise.
656         (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
657         (_Jv_JVMTI_ForceGarbageCollection): Likewise.
658         (_Jv_JVMTI_GetSystemProperty): Likewise.
659         (_Jv_JVMTI_SetSystemProperty): Likewise.
660         (_Jv_JVMTI_GetTime): Likewise.
661         (_Jv_JVMTI_GetAvailableProcessors): Likewise.
662         (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise.
663         (_Jv_JVMTI_SetVerboseFlag): Likewise.
664         (_Jv_JVMTI_GetObjectSize): Likewise.
665         (_Jv_JVMTI_SetJNIFunctionTable): Likewise.
666         (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
667         (_Jv_JVMTI_Interface): Updated.
668         (NULL_CHECK): New macro.
669
670 2006-08-02  Andreas Tobler  <a.tobler@schweiz.ch>
671
672         PR libgcj/28546
673         * include/no-threads.h: Declare _Jv_Thread_t as empty class.
674
675 2006-08-01  Andreas Tobler  <a.tobler@schweiz.ch>
676
677         * gnu/classpath/natSystemProperties.cc: Add additional check for
678         getpwuid_r on _POSIX_PTHREAD_SEMANTICS.
679         (SystemProperties::insertSystemProperties): Likewise.
680         * java/io/natFilePosix.cc (File::performList): Add
681         additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS.
682         * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add
683         additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS.
684
685 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
686
687         PR libgcj/28312
688         * classpath/native/jni/midi-alsa/Makefile.am
689         (libgjsmalsa_la_LDFLAGS): Add -avoid-version.
690         * classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
691         * classpath/native/jni/midi-dssi/Makefile.am
692         (libgjsmdssi_la_LDFLAGS): Add -avoid-version.
693         * classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
694         * classpath/native/jni/qt-peer/Makefile.am: Remove GCJ LOCAL
695         sections.
696         (libqtpeer_la_LDFLAGS): Add -avoid-version.
697         * classpath/native/jni/qt-peer/Makefile.in: Regenerate.
698         * classpath/native/jni/gtk-peer/Makefile.am
699         (libgtkpeer_la_LDFLAGS): Add -avoid-version.
700         * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
701         * classpath/native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
702         -avoid-version.
703         * classpath/native/jawt/Makefile.in: Regenerate.
704         * Makefile.am (libjvm_la_LDFLAGS): Add -avoid-version.
705         * Makefile.in: Regenerate.
706
707 2006-07-28  Andrew Haley  <aph@redhat.com>
708
709         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set
710         curLoader to VMClassLoader::bootLoader.
711
712 2006-07-28  Gary Benson  <gbenson@redhat.com>
713             Casey Marshall <csm@gnu.org>
714
715         PR libgcj/13604:
716         * include/java-stack.h (GetClassMethodStack): Declare.
717         * stacktrace.cc (GetClassMethodStack): New method.
718         * java/security/AccessController.java: Removed.
719         * java/security/VMAccessController.java: New file.
720         * java/security/natVMAccessController.cc: Likewise.
721         * Makefile.am (nat_source_files): Added the above.
722         * sources.am, Makefile.in: Rebuilt.
723
724 2006-07-28  Gary Benson  <gbenson@redhat.com>
725
726         * java/lang/SecurityManager.java (currentClassLoader,
727         currentLoadedClass, classLoaderDepth, checkAccess, checkRead,
728         checkWrite, checkTopLevelWindow, checkPrintJobAccess,
729         checkSystemClipboardAccess, checkAwtEventQueueAccess,
730         checkPackageList): Remerged javadoc.
731
732 2006-07-28  Gary Benson  <gbenson@redhat.com>
733
734         * prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized
735         from the start to the end of the function.  Remove references
736         to VMThrowable.trace_enabled.
737         * java/lang/natVMThrowable.cc (fillInStackTrace): Use
738         runtimeInitialized rather than trace_enabled to decide
739         whether to inhibit stack trace generation.
740         * java/lang/VMThrowable.java (trace_enabled): Removed.
741
742 2006-07-23  Mohan Embar  <gnustuff@thisiscool.com>
743
744         * include/win32-threads.h (_Jv_Thread_t): Explicitly
745         name the struct.
746
747 2006-07-23  Mohan Embar  <gnustuff@thisiscool.com>
748
749         * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL
750         attribute.
751         (_Jv_JVMTI_ResumeThread): Likewise.
752         (_Jv_JVMTI_DisposeEnvironment): Likewise.
753
754 2006-07-21  Mohan Embar  <gnustuff@thisiscool.com>
755
756         * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear
757         SockAddr before using - needed for OS X/PPC.
758
759 2006-07-21  Keith Seitz  <keiths@redhat.com>
760
761         * boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration,
762         just the contents.
763         (_Jv_ResumeThread): Likewise.
764         * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend,
765         _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving
766         to JVMTI instead.
767         * include/posix-threads.h: Likewise.
768         * win32-threads.cc: Likewise.
769         * include/win32-threads.h: Likewise.
770         * jvmti.cc (_Jv_JVMTI_SuspentThread): New function.
771         (_Jv_JVMTI_ResumeThread): New function.
772         (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread.
773
774 2006-07-21  David Daney  <ddaney@avtrex.com>
775
776         PR libgcj/28426
777         * configure: Regenerated.
778
779 2006-07-21  Mark Wielaard  <mark@klomp.org>
780
781         * java/io/OutputStreamWriter.java (flush): Create work if null.
782
783 2006-07-21  Keith Seitz  <keiths@redhat.com>
784
785         * java/lang/natThread.cc (_Jv_ThreadGetData): New function.
786         * Makefile.am (java/lang/Thread.h): Add friend function 
787         _Jv_ThreadGetData.
788         * Makefile.in: Regenerate.
789
790 2006-07-20  Keith Seitz  <keiths@redhat.com>
791
792         * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.
793         (_Jv_JVMTI_Interface): Define DisposeEnvironment method.
794
795 2006-07-20  Keith Seitz  <keiths@redhat.com>
796
797         * include/jvm.h (_Jv_GetJVMTIEnv): Declare.
798         * jni.cc (_Jv_JNI_GetEnv): Handle JVMTI requests.
799         * jvmti.cc: New file.
800         * Makefile.am (libgcj_la_SOURCES): Add jvmti.cc.
801         * Makefile.in: Regenerate. 
802
803 2006-07-20  David Daney  <ddaney@avtrex.com>
804
805         * configure.host: Enable the interpreter for mipsel-* and mips-*.
806
807 2006-07-20  David Daney  <ddaney@avtrex.com>
808
809         * include/mips-signal.h: Update copyright.
810         (struct kernel_sigaction): Removed.
811         (SIGNAL_HANDLER): Changed prototype.
812         (MAKE_THROW_FRAME): Added cast.
813         (INIT_SEGV): Use sigaction instead of syscall.
814         (INIT_FPE): Likewise.
815
816 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
817
818         * configure: Regenerate.
819
820 2006-07-18  Gary Benson  <gbenson@redhat.com>
821
822         * java/io/File.java (deleteOnExit): Fix security check.
823
824 2006-07-14  Anthony Green  <green@redhat.com>
825
826         * java/io/natFilePosix.cc (performSetLastModified): Return true on
827         success, false otherwise.
828
829 2006-07-14  Ranjit Mathew  <rmathew@gcc.gnu.org>
830
831         * stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use
832         _Unwind_Backtrace().
833         (_Jv_StackTrace::GetCallerInfo): Enable even for targets using SJLJ
834         EH.
835         (_Jv_StackTrace::GetClassContext): Unconditionally use
836         _Unwind_Backtrace().
837         (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
838         * sysdep/i386/backtrace.h (HAVE_FALLBACK_BACKTRACE): Do not define.
839         (_Unwind_GetIPInfo): Define macro if SJLJ EH is in use.
840         (_Unwind_GetRegionStart): Likewise.
841         (_Unwind_Backtrace): Likewise.
842         (fallback_backtrace): Accept additional unwind trace function
843         argument.  Call it during unwinding.  Stop when any of _Jv_RunMain(),
844         _Jv_ThreadStart() or main() is seen during unwinding.
845         * sysdep/generic/backtrace.h (fallback_backtrace): Accept an
846         additional unwind trace function argument.
847
848 2006-07-14  Gary Benson  <gbenson@redhat.com>
849
850         * java/io/File.java (internalExists): New method.
851         (exists): Use internalExists.
852         (internalIsDirectory): New method.
853         (isDirectory): Use internalIsDirectory.
854         (createTempFile): Use internalExists and internalIsDirectory.
855
856 2006-07-13  Bryce McKinlay  <mckinlay@redhat.com>
857
858         * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
859
860 2006-07-13  Bryce McKinlay  <mckinlay@redhat.com>
861
862         * interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.
863         (_Jv_InterpMethod::run): SAVE_PC before executing any instruction 
864         using resolve_pool_entry, as it can throw. Likewise for div/rem ops
865         that can throw ArithmeticException.
866
867 2006-07-12  Gary Benson  <gbenson@redhat.com>
868
869         * java/io/File.java (renameTo): Fix security checks.
870
871 2006-07-12  Bryce McKinlay  <mckinlay@redhat.com>
872
873         PR libgcj/28352
874         * stacktrace.cc (getLineNumberForFrame): Roll back PC by 1 when
875         looking up line number for interpreted frame.
876
877 2006-07-07  Bryce McKinlay  <mckinlay@redhat.com>
878             Geoffrey Keating <geoffk@apple.com>
879
880         * testsuite/libjava.lang/StackTrace2.java: Renamed from
881         StackTrace.java. Changed class name.
882         * testsuite/libjava.lang/StackTrace2.out: Renamed from
883         StackTrace.out. Updated for new class name.
884
885 2006-07-07  Ranjit Mathew  <rmathew@gcc.gnu.org>
886
887         * sysdep/i386/backtrace.h (fallback_backtrace): Scan for a function's
888         prologue to determine its beginning.  Stop unwinding when we reach
889         JvRunMain().
890
891 2006-07-07  Gary Benson  <gbenson@redhat.com>
892
893         * Makefile.am (BOOT_CLASS_PATH_DIR): Only contain libgcj.jar.
894         * Makefile.in: Regenerate.
895
896 2006-07-06  Bryce McKinlay <mckinlay@redhat.com>
897
898         * stacktrace.cc (ClassForFrame): Remove commented-out code.
899         (UnwindTraceFn): Use _Unwind_GetIPInfo and adjust IP
900         only when needed.
901         (getLineNumberForFrame): Don't adjust IP here.
902         * testsuite/libjava.lang/StackTrace.java: New test case.
903         * testsuite/libjava.lang/StackTrace.out: Ditto.
904
905 2006-07-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
906
907         * Makefile.am (libgcj_tools_la_GCJFLAGS): Add
908         -fno-indirect-classes.
909         * Makefile.in: Regenerate.
910         * gcj/Makefile.in: Regenerate.
911         * include/Makefile.in: Regenerate.
912         * testsuite/Makefile.in: Regenerate.
913
914 2006-07-06  Bryce McKinlay <mckinlay@redhat.com>
915
916         * boehm.cc (_Jv_MarkObj): Mark the next_or_version field.
917
918 2006-07-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
919
920         * configure.ac (ac_configure_args): Add --with-native-libdir.
921         * configure: Regenerate.
922         * classpath/native/jni/gtk-peer/Makefile.am: Remove GCJ LOCAL
923         sections.
924         * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
925         * classpath/native/jawt/Makefile.am: Remove GCJ LOCAL sections.
926         * classpath/native/jawt/Makefile.in: Regenerate.
927         * classpath/native/plugin/Makefile.am: Remove GCJ LOCAL sections.
928         * classpath/native/plugin/Makefile.in: Regenerate.
929
930 2006-07-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
931             Danny Smith  <dannysmith@users.sourceforge.net>
932
933         * libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for
934         startfile.
935         * configure.ac: Allow targets to affect the spec for startfile
936         by specifying a THREADSTARTFILESPEC variable.  Define this for
937         the win32 threads package to include crtmt.o.
938         * configure: Regenerate.
939         * win32.cc (_CRT_MT): Remove definition.
940         (__mingwthr_key_dtor): Likewise.
941
942 2006-07-04  Andreas Tobler  <a.tobler@schweiz.ch>
943
944         * testsuite/lib/libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with
945         the -B$specdir.
946
947         PR libgcj/28226:
948         * include/posix.h (_Jv_platform_dladdr): Remove const qualifier.
949         * include/win32.h (_Jv_platform_dladdr): Likewise.
950         * posix.cc (_Jv_platform_dladdr): Likewise.
951         * win32.cc (_Jv_platform_dladdr): Likewise.
952
953         * testsuite/lib/libjava.exp (libjava_init): Look for libgcj-$version.jar
954         instead of libgcj-*.jar.
955
956 2006-07-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
957
958         PR libgcj/28244:
959         * Makefile.am (libgcj_tools_la_DEPENDENCIES): Add libgcj.la and
960         libgcj.spec.
961         * Makefile.in: Regenerate.
962
963 2006-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
964
965         * classpath/tools/Makefile.am: Comment out tools wrapper creation.
966         (TOOLS_ZIP): Rename tools.zip tools.jar.
967         (noinst_DATA): Do not install tools.jar.
968         * classpath/tools/Makefile.in: Regenerate.
969         * classpath/Makefile.am (SUBDIRS): Add tools.
970         (DIST_SUBDIRS): Likewise.
971         * classpath/Makefile.in: Regenerate.
972         * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj-tools.la.
973         (jar_DATA): Add libgcj-tools-$(gcc_version).jar.
974         (bin_PROGRAMS): Add gappletviewer, gjarsigner and gkeytool.
975         Add build logic for libgcj-tools.la,
976         libgcj-tools-$(gcc_version).jar and gappletviewer, gjarsigner and
977         gkeytool.
978         * Makefile.in: Regenerate.
979
980 2006-06-29  Ranjit Mathew  <rmathew@gcc.gnu.org>
981
982         * gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
983         C99.
984         * include/java-stack.h: Include stdlib.h.
985         (_Jv_AddrInfo): New structure to hold address information.
986         * include/posix.h (_Jv_platform_dladdr): Declare.
987         * include/win32.h (_Jv_platform_dladdr): Declare.
988         (backtrace): Remove declaration.
989         * posix.cc: Include dlfcn.h if available.  Include java-stack.h.
990         (_Jv_platform_dladdr): Define.
991         * win32.cc: Include string.h.  Include java-stack.h.
992         (backtrace): Remove.
993         (_Jv_platform_dladdr): Define.
994         * sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential
995         frame pointer value is 32-bit word-aligned.  Use operand of the CALL
996         instruction calling the current function to find its starting address.
997         * stacktrace.cc: Do not include dlfcn.h.  Include platform.h.
998         (_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr()
999         instead of dladdr().
1000         (_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows.
1001         (_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for
1002         targets with SJLJ exceptions instead of using _Unwind_Backtrace().
1003         (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
1004
1005 2006-06-27  Tom Tromey  <tromey@redhat.com>
1006
1007         * java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
1008         Set 'out.count' earlier.
1009         (close): Call setFinished on converter.
1010         (flush): Always write work buffer.
1011         * java/io/PrintStream.java (writeChars): Do 'do' loop.
1012         (close): Call setFinished on converter.  Write a 'flush' array.
1013         * java/lang/natString.cc (getBytes): Call setFinished on
1014         converter.
1015         * gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
1016         field.
1017         (write): Set hasBytes.  Changed 'finished' logic.
1018         (havePendingBytes): Rewrote.
1019         (setFinished): New method.
1020         * gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
1021         * testsuite/libjava.lang/RH194522.java: New file.
1022         * testsuite/libjava.lang/RH194522.out: New file.
1023
1024 2006-06-27  Marco Trudel  <mtrudel@gmx.ch>
1025
1026         * boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
1027         conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
1028         !GC_WIN32_THREADS and !GC_DARWIN_THREADS.
1029
1030 2006-06-27  Tom Tromey  <tromey@redhat.com>
1031
1032         PR libgcj/28178:
1033         * jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
1034         (_Jv_JNI_DeleteGlobalRef): Likewise.
1035         * testsuite/libjava.jni/PR28178.java: New file.
1036         * testsuite/libjava.jni/PR28178.c: New file.
1037         * testsuite/libjava.jni/PR28178.out: New file.
1038
1039 2006-06-26  Keith Seitz  <keiths@redhat.com>
1040
1041         * include/posix-threads.h: Fix coding style aberrations from
1042         2006-06-19 check-in.
1043         * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
1044         * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
1045         * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
1046
1047 2006-06-26  Keith Seitz  <keiths@redhat.com>
1048
1049         * include/no-gc.h (_Jv_SuspendThread): Declare.
1050         (_Jv_ResumeThread): Likewise.
1051         * include/boehm-gc.h (_Jv_SuspendThread): Declare.
1052         (_Jv_ResumeThread): Likewise.
1053         * nogc.cc (_Jv_SuspendThread): New function.
1054         (_Jv_ResumeThread): Likewise.
1055         * boehm.cc (_Jv_SuspendThread): New function.
1056         (_Jv_ResumeThread): Likewise.
1057
1058 2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1059
1060         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1061         Link against -ljvm, not -lgcj.
1062
1063 2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1064
1065         * Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to
1066         toolexeclibdir.
1067         * Makefile.in: Regenerate.
1068
1069 2006-06-22  Tom Tromey  <tromey@redhat.com>
1070
1071         * java/lang/reflect/natField.cc (getAddr): Allow setting of final
1072         field when it is accessible.
1073
1074 2006-06-21  Bryce McKinlay  <mckinlay@redhat.com>
1075
1076         * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef. 
1077         (_Jv_GetPlatformThreadID): New function.
1078         * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef.
1079         (_Jv_GetPlatformThreadID): New function.
1080
1081 2006-06-20  Bryce McKinlay  <mckinlay@redhat.com>
1082
1083         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1084         Bump "java.class.version" to 48.0.
1085
1086 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
1087
1088         * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to
1089         "$(dbexecdir)".
1090         Build libjvm.la.
1091         * Makefile.in: Regenerate.
1092         * jni.cc (the_vm): Rename and export as ...
1093         (_Jv_the_vm): New exported symbol.
1094         (_Jv_JNI_AttachCurrentThread): Export.
1095         (_Jv_JNI_DestroyJavaVM): Replace the_vm references with _Jv_the_vm
1096         references.
1097         (_Jv_GetJavaVM): Likewise.
1098         (JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
1099         JNI_GetCreatedJavaVMs): Move to ...
1100         * jni-libjvm.cc: New file.
1101
1102 2006-06-19  Andrew Haley  <aph@redhat.com>
1103
1104         * testsuite/libjava.lang/PR27908.out: New.
1105         * testsuite/libjava.lang/PR27908.java: New.
1106
1107 2006-06-19  Keith Seitz  <keiths@redhat.com>
1108
1109         * include/posix-threads.h (_Jv_ThreadDebugSuspend): Declare.
1110         (_Jv_ThreadDebugResume): Declare.
1111         (_Jv_ThreadDebugSuspendCount): Declare.
1112         * posix-threads.cc (_Jv_ThreadDebugSuspend): New function.
1113         (_Jv_ThreadDebugSuspendCount): New function.
1114         (_Jv_ThreadDebugResume): New function.
1115
1116         * include/win32-threads.h (_Jv_ThreadDebugSuspend): Declare.
1117         (_Jv_ThreadDebugResume): Declare.
1118         (_Jv_ThreadDebugSuspendCount): Declare.
1119         * win32-threads.cc (_Jv_ThreadDebugSuspend): New function.
1120         (_Jv_ThreadDebugSuspendCount): New function.
1121         (_Jv_ThreadDebugResume): New function.
1122         
1123 2006-06-16  Andrew Haley  <aph@redhat.com>
1124
1125         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
1126         copy the whole Class instance from the initializer: instead, copy
1127         everything but the first word (the vtable pointer).
1128         Change prototype to (const char* class_initializer).
1129         (_Jv_RegisterNewClasses): Change prototype to (const char**).
1130         * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
1131         (const char**).
1132
1133 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
1134
1135         * classpath/Makefile.am: Do not recurse into tools directory.
1136         * classpath/Makefile.in: Regenerate.
1137
1138 2006-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1139
1140         * classpath/tools/Makefile.am (gappletviewer_CFLAGS): Add
1141         -I$(top_srcdir)/include.
1142         (gjarsigner_CFLAGS): Likewise.
1143         (gkeytool_CFLAGS): Likewise.
1144         * classpath/tools/Makefile.in: Regenerate.
1145
1146 2006-06-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1147
1148         * configure: Regenerate.
1149         * Makefile.in: Regenerate.
1150         * configure.ac (--enable-plugin): New option.
1151         (ac_configure_args): Add --enable-tool-wrappers.
1152         (ac_configure_args): Add --disable-plugin unless --enable-plugin
1153         was specified.
1154         * gcj/Makefile.in: Regenerate.
1155         * sources.am (gnu_java_net_source_files): Add
1156         classpath/gnu/java/net/IndexListParser.java.
1157         (property_files): Remove
1158         classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties,
1159         classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties.
1160         Add
1161         classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties,
1162         classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties,
1163         classpath/resource/gnu/classpath/tools/getopt/Messages.properties,
1164         classpath/resource/gnu/classpath/tools/jar/messages.properties,
1165         classpath/resource/gnu/classpath/tools/jarsigner/messages.properties,
1166         classpath/resource/gnu/classpath/tools/keytool/messages.properties,
1167         classpath/resource/gnu/classpath/tools/native2ascii/messages.properties,
1168         classpath/resource/gnu/classpath/tools/serialver/messages.properties.
1169         * classpath/Makefile.in: Regenerate.
1170         * classpath/native/jni/gtk-peer/cairographics2d.h,
1171         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1172         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
1173         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1174         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1175         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1176         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1177         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
1178         Merge from GNU Classpath.
1179         * classpath/native/Makefile.in: Regenerate.
1180         * classpath/native/jawt/Makefile.in: Regenerate.
1181         * classpath/native/jawt/Makefile.am: Install libjawt.so in GCJ's
1182         versioned library directory.
1183         * classpath/native/Makefile.am: Add plugin directory if
1184         --enable-plugin was specified.
1185         * classpath/native/plugin/Makefile.in: Regenerate.  *
1186         classpath/native/plugin/Makefile.am: Install libgcjwebplugin.so in
1187         GCJ's versioned library directory.
1188         * classpath/resource/gnu/classpath/tools/native2ascii/messages.properties:
1189         New file.
1190         * classpath/resource/gnu/classpath/tools/getopt/Messages.properties:
1191         Likewise.
1192         * classpath/resource/gnu/classpath/tools/jarsigner/messages.properties:
1193         Likewise.
1194         * classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
1195         Remove file.
1196         * classpath/resource/gnu/classpath/tools/keytool/messages.properties:
1197         New file.
1198         * classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties:
1199         Remove file.
1200         * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
1201         New file.
1202         * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
1203         Likewise.
1204         * classpath/resource/gnu/classpath/tools/jar/messages.properties:
1205         Likewise.
1206         * classpath/resource/gnu/classpath/tools/serialver/messages.properties:
1207         Likewise.
1208         * classpath/gnu/java/net/IndexListParser.java:
1209         Likewise.
1210         * classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1211         classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1212         classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1213         classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1214         classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1215         classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1216         classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1217         classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1218         classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1219         classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1220         classpath/gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
1221         classpath/gnu/java/awt/java2d/PolyEdge.java,
1222         classpath/gnu/java/awt/java2d/AbstractGraphics2D.java: Merge from
1223         GNU Classpath.
1224         * classpath/tools/toolwrapper.c: Replace tools.zip reference with
1225         libgcj-tools-4.2.0.jar.
1226         * classpath/tools/Makefile.in: Regenerate.
1227         * classpath/tools/Makefile.am: Rename tools.zip to
1228         libgcj-tools-4.2.0.jar.  Install libgcj-tools-4.2.0.jar in
1229         $(datadir)/java.
1230         * classpath/javax/swing/JTabbedPane.java,
1231         classpath/javax/swing/text/DefaultStyledDocument.java,
1232         classpath/javax/swing/text/html/HTMLDocument.java,
1233         classpath/javax/swing/text/GapContent.java,
1234         classpath/javax/swing/JComponent.java,
1235         classpath/javax/swing/RepaintManager.java,
1236         classpath/javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1237         classpath/javax/swing/plaf/basic/BasicScrollBarUI.java,
1238         classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1239         classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1240         classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1241         classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1242         classpath/java/text/Bidi.java,
1243         classpath/java/awt/image/BufferedImage.java,
1244         classpath/java/awt/datatransfer/DataFlavor.java,
1245         classpath/java/awt/geom/AffineTransform.java,
1246         classpath/java/awt/dnd/DropTargetDropEvent.java,
1247         classpath/java/awt/dnd/DropTargetContext.java,
1248         classpath/java/awt/font/TextLayout.java,
1249         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1250         classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1251         classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1252         classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1253         classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1254         classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h: Merge from
1255         GNU Classpath.
1256         * classpath/include/gnu_java_awt_peer_gtk_GdkGraphics.h,
1257         classpath/include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
1258         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1259         classpath/native/jni/gtk-peer/gtkcairopeer.h,
1260         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
1261         Remove files.
1262         * classpath/Makefile.am (SUBDIRS, DIST_SUBDIRS): Include tools
1263         directory.
1264         * include/Makefile.in: Regenerate.
1265         * testsuite/Makefile.in: Regenerate.
1266
1267 2006-06-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1268
1269         * configure.host (hppa*-*): Set 'enable_hash_synchronization_default'
1270         to no.
1271
1272 2006-06-12  Andrew Haley  <aph@redhat.com>
1273
1274         * testsuite/libjava.lang/PR27908.out: Delete.
1275         * testsuite/libjava.lang/PR27908.java: Delete.
1276
1277 2006-06-12  Andrew Haley  <aph@redhat.com>
1278
1279         * testsuite/libjava.lang/PR27908.out: New.
1280         * testsuite/libjava.lang/PR27908.java: New.
1281
1282 2006-06-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
1283
1284         * configure.ac (ac_configure_args): Add --disable-plugin.
1285         (--enable-gtk-cairo): Remove option.
1286         * configure: Regenerate.
1287
1288 2006-06-09  Tom Tromey  <tromey@redhat.com>
1289
1290         PR libgcj/27730:
1291         * java/lang/Thread.java (threadId): New field.
1292         (nextThreadId): New static field.
1293         (Thread): Initialize new field.
1294         (getId): New method.
1295
1296 2006-06-09  Tom Tromey  <tromey@redhat.com>
1297
1298         * java/lang/Class.java (getClassLoaderInternal): Now native.
1299
1300 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
1301
1302         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1303         (getDefaultScreenDevice): Remove unnecessary GCJ local hack.
1304         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
1305         Likewise.
1306         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (registerFormat):
1307         Likewise.
1308
1309 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
1310
1311         * java/lang/String.java, classpath/native/jni/classpath/jcl.h,
1312         classpath/native/jni/qt-peer/eventmethods.h,
1313         classpath/native/jni/qt-peer/qtmenupeer.cpp,
1314         classpath/native/jni/qt-peer/.cvsignore,
1315         classpath/native/jni/gtk-peer/gdkdisplay.h,
1316         classpath/native/jni/gtk-peer/cairographics2d.h,
1317         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1318         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
1319         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1320         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
1321         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
1322         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1323         classpath/native/jni/gtk-peer/.cvsignore,
1324         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
1325         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1326         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1327         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
1328         classpath/native/jni/gtk-peer/gtkpeer.h,
1329         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1330         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1331         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
1332         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
1333         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
1334         classpath/native/jni/gtk-peer/Makefile.am,
1335         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1336         classpath/native/jawt/Makefile.am,
1337         classpath/native/jawt/.cvsignore,
1338         classpath/native/target/Linux/Makefile.in,
1339         classpath/native/plugin/gcjwebplugin.cc,
1340         classpath/native/plugin/Makefile.am,
1341         classpath/native/plugin/.cvsignore,
1342         classpath/resource/Makefile.in,
1343         classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1344         classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1345         classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1346         classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1347         classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1348         classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1349         classpath/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1350         classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1351         classpath/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java,
1352         classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1353         classpath/gnu/java/awt/peer/gtk/GdkGraphics.java,
1354         classpath/gnu/java/awt/peer/gtk/GtkToolkit.java,
1355         classpath/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1356         classpath/gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
1357         classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1358         classpath/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1359         classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1360         classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1361         classpath/gnu/java/awt/peer/gtk/GtkImage.java,
1362         classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1363         classpath/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1364         classpath/gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
1365         classpath/gnu/java/awt/peer/swing/SwingContainerPeer.java,
1366         classpath/gnu/java/awt/peer/swing/SwingComponent.java,
1367         classpath/gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
1368         classpath/gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
1369         classpath/gnu/java/awt/peer/swing/SwingFramePeer.java,
1370         classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java,
1371         classpath/gnu/java/awt/peer/swing/SwingWindowPeer.java,
1372         classpath/gnu/java/awt/print/JavaPrinterJob.java,
1373         classpath/gnu/java/awt/print/PostScriptGraphics2D.java,
1374         classpath/gnu/java/awt/print/SpooledDocument.java,
1375         classpath/gnu/java/awt/print/JavaPrinterGraphics.java,
1376         classpath/gnu/java/awt/BitwiseXORComposite.java,
1377         classpath/gnu/java/awt/font/GNUGlyphVector.java,
1378         classpath/gnu/java/awt/font/opentype/NameDecoder.java,
1379         classpath/gnu/java/awt/java2d/RasterGraphics.java,
1380         classpath/gnu/java/awt/java2d/TexturePaintContext.java,
1381         classpath/gnu/java/awt/java2d/PolyEdge.java,
1382         classpath/gnu/java/awt/java2d/AbstractGraphics2D.java,
1383         classpath/gnu/java/awt/java2d/AlphaCompositeContext.java,
1384         classpath/gnu/java/awt/java2d/ImagePaint.java,
1385         classpath/gnu/java/awt/Buffers.java,
1386         classpath/gnu/classpath/Configuration.java.in,
1387         classpath/gnu/javax/swing/text/html/CombinedAttributes.java,
1388         classpath/gnu/javax/swing/text/html/CharacterAttributeTranslator.java,
1389         classpath/gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1390         classpath/gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java,
1391         classpath/gnu/javax/swing/text/html/ImageViewIconFactory.java,
1392         classpath/tools/toolwrapper.c,
1393         classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java,
1394         classpath/tools/gnu/classpath/tools/native2ascii/Messages.java,
1395         classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java,
1396         classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java,
1397         classpath/tools/gnu/classpath/tools/getopt/OptionException.java,
1398         classpath/tools/gnu/classpath/tools/getopt/Messages.java,
1399         classpath/tools/gnu/classpath/tools/getopt/Option.java,
1400         classpath/tools/gnu/classpath/tools/getopt/Parser.java,
1401         classpath/tools/gnu/classpath/tools/getopt/ClasspathToolParser.java,
1402         classpath/tools/gnu/classpath/tools/jarsigner/JarSigner.java,
1403         classpath/tools/gnu/classpath/tools/jarsigner/Main.java,
1404         classpath/tools/gnu/classpath/tools/jarsigner/Messages.java,
1405         classpath/tools/gnu/classpath/tools/jarsigner/package.html,
1406         classpath/tools/gnu/classpath/tools/keytool/ListCmd.java,
1407         classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java,
1408         classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java,
1409         classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java,
1410         classpath/tools/gnu/classpath/tools/keytool/Messages.java,
1411         classpath/tools/gnu/classpath/tools/keytool/package.html,
1412         classpath/tools/gnu/classpath/tools/keytool/Command.java,
1413         classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java,
1414         classpath/tools/gnu/classpath/tools/keytool/Main.java,
1415         classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java,
1416         classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java,
1417         classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java,
1418         classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java,
1419         classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java,
1420         classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java,
1421         classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java,
1422         classpath/tools/gnu/classpath/tools/rmi/registry/package.html,
1423         classpath/tools/gnu/classpath/tools/rmi/RMIC.txt,
1424         classpath/tools/gnu/classpath/tools/rmi/RMIC.java,
1425         classpath/tools/gnu/classpath/tools/appletviewer/ErrorApplet.java,
1426         classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java,
1427         classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java,
1428         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java,
1429         classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java,
1430         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java,
1431         classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java,
1432         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java,
1433         classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java,
1434         classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java,
1435         classpath/tools/gnu/classpath/tools/appletviewer/Main.java,
1436         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
1437         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java,
1438         classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java,
1439         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
1440         classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java,
1441         classpath/tools/gnu/classpath/tools/serialver/Messages.java,
1442         classpath/tools/gnu/classpath/tools/serialver/SerialVer.java,
1443         classpath/tools/gnu/classpath/tools/jar/Creator.java,
1444         classpath/tools/gnu/classpath/tools/jar/Entry.java,
1445         classpath/tools/gnu/classpath/tools/jar/Lister.java,
1446         classpath/tools/gnu/classpath/tools/jar/Main.java,
1447         classpath/tools/gnu/classpath/tools/jar/Updater.java,
1448         classpath/tools/gnu/classpath/tools/jar/Messages.java,
1449         classpath/tools/gnu/classpath/tools/jar/Extractor.java,
1450         classpath/tools/gnu/classpath/tools/jar/Action.java,
1451         classpath/tools/gnu/classpath/tools/jar/Indexer.java,
1452         classpath/tools/gnu/classpath/tools/jar/WorkSet.java,
1453         classpath/tools/gnu/classpath/tools/giop/GRMIC.txt,
1454         classpath/tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
1455         classpath/tools/gnu/classpath/tools/giop/GRMIC.java,
1456         classpath/tools/Makefile.am, classpath/tools/jarsigner.in,
1457         classpath/tools/keytool.in, classpath/tools/appletviewer.in,
1458         classpath/tools/.cvsignore, classpath/configure.ac,
1459         classpath/javax/swing/JTabbedPane.java,
1460         classpath/javax/swing/AbstractButton.java,
1461         classpath/javax/swing/JViewport.java,
1462         classpath/javax/swing/KeyboardManager.java,
1463         classpath/javax/swing/JMenuItem.java,
1464         classpath/javax/swing/JMenuBar.java,
1465         classpath/javax/swing/MenuSelectionManager.java,
1466         classpath/javax/swing/JOptionPane.java,
1467         classpath/javax/swing/JSpinner.java,
1468         classpath/javax/swing/JCheckBoxMenuItem.java,
1469         classpath/javax/swing/JEditorPane.java,
1470         classpath/javax/swing/JFormattedTextField.java,
1471         classpath/javax/swing/JTree.java,
1472         classpath/javax/swing/CellRendererPane.java,
1473         classpath/javax/swing/JScrollPane.java,
1474         classpath/javax/swing/tree/VariableHeightLayoutCache.java,
1475         classpath/javax/swing/tree/TreeNode.java,
1476         classpath/javax/swing/tree/FixedHeightLayoutCache.java,
1477         classpath/javax/swing/tree/DefaultTreeCellEditor.java,
1478         classpath/javax/swing/tree/TreePath.java,
1479         classpath/javax/swing/tree/RowMapper.java,
1480         classpath/javax/swing/tree/DefaultMutableTreeNode.java,
1481         classpath/javax/swing/tree/DefaultTreeModel.java,
1482         classpath/javax/swing/tree/AbstractLayoutCache.java,
1483         classpath/javax/swing/tree/TreeSelectionModel.java,
1484         classpath/javax/swing/tree/DefaultTreeSelectionModel.java,
1485         classpath/javax/swing/tree/DefaultTreeCellRenderer.java,
1486         classpath/javax/swing/tree/ExpandVetoException.java,
1487         classpath/javax/swing/JList.java,
1488         classpath/javax/swing/table/JTableHeader.java,
1489         classpath/javax/swing/table/AbstractTableModel.java,
1490         classpath/javax/swing/table/DefaultTableModel.java,
1491         classpath/javax/swing/table/TableCellEditor.java,
1492         classpath/javax/swing/table/TableCellRenderer.java,
1493         classpath/javax/swing/ProgressMonitor.java,
1494         classpath/javax/swing/JToolBar.java,
1495         classpath/javax/swing/TransferHandler.java,
1496         classpath/javax/swing/DefaultCellEditor.java,
1497         classpath/javax/swing/DefaultButtonModel.java,
1498         classpath/javax/swing/JLayeredPane.java,
1499         classpath/javax/swing/text/DefaultEditorKit.java,
1500         classpath/javax/swing/text/DefaultCaret.java,
1501         classpath/javax/swing/text/FieldView.java,
1502         classpath/javax/swing/text/JTextComponent.java,
1503         classpath/javax/swing/text/TextAction.java,
1504         classpath/javax/swing/text/StyleContext.java,
1505         classpath/javax/swing/text/html/HTMLDocument.java,
1506         classpath/javax/swing/text/html/MinimalHTMLWriter.java,
1507         classpath/javax/swing/text/html/ImageView.java,
1508         classpath/javax/swing/text/html/HTMLEditorKit.java,
1509         classpath/javax/swing/text/AbstractWriter.java,
1510         classpath/javax/swing/text/GapContent.java,
1511         classpath/javax/swing/text/Utilities.java,
1512         classpath/javax/swing/text/PlainView.java,
1513         classpath/javax/swing/UIManager.java,
1514         classpath/javax/swing/JSplitPane.java,
1515         classpath/javax/swing/JComponent.java,
1516         classpath/javax/swing/SwingUtilities.java,
1517         classpath/javax/swing/border/AbstractBorder.java,
1518         classpath/javax/swing/border/CompoundBorder.java,
1519         classpath/javax/swing/border/TitledBorder.java,
1520         classpath/javax/swing/border/MatteBorder.java,
1521         classpath/javax/swing/border/BevelBorder.java,
1522         classpath/javax/swing/RepaintManager.java,
1523         classpath/javax/swing/JTable.java,
1524         classpath/javax/swing/UIDefaults.java,
1525         classpath/javax/swing/DefaultDesktopManager.java,
1526         classpath/javax/swing/JMenu.java,
1527         classpath/javax/swing/JLabel.java,
1528         classpath/javax/swing/JSlider.java,
1529         classpath/javax/swing/plaf/basic/BasicToolBarUI.java,
1530         classpath/javax/swing/plaf/basic/BasicButtonUI.java,
1531         classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java,
1532         classpath/javax/swing/plaf/basic/BasicTextAreaUI.java,
1533         classpath/javax/swing/plaf/basic/BasicToggleButtonUI.java,
1534         classpath/javax/swing/plaf/basic/BasicSpinnerUI.java,
1535         classpath/javax/swing/plaf/basic/BasicSliderUI.java,
1536         classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1537         classpath/javax/swing/plaf/basic/BasicComboPopup.java,
1538         classpath/javax/swing/plaf/basic/BasicCheckBoxUI.java,
1539         classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,
1540         classpath/javax/swing/plaf/basic/BasicProgressBarUI.java,
1541         classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java,
1542         classpath/javax/swing/plaf/basic/BasicPanelUI.java,
1543         classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java,
1544         classpath/javax/swing/plaf/basic/BasicTreeUI.java,
1545         classpath/javax/swing/plaf/basic/BasicTableHeaderUI.java,
1546         classpath/javax/swing/plaf/basic/BasicFileChooserUI.java,
1547         classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1548         classpath/javax/swing/plaf/basic/BasicComboBoxUI.java,
1549         classpath/javax/swing/plaf/basic/BasicListUI.java,
1550         classpath/javax/swing/plaf/basic/BasicIconFactory.java,
1551         classpath/javax/swing/plaf/basic/BasicTextUI.java,
1552         classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1553         classpath/javax/swing/plaf/basic/BasicDirectoryModel.java,
1554         classpath/javax/swing/plaf/basic/BasicRootPaneUI.java,
1555         classpath/javax/swing/plaf/basic/BasicTableUI.java,
1556         classpath/javax/swing/plaf/basic/SharedUIDefaults.java,
1557         classpath/javax/swing/plaf/multi/MultiComboBoxUI.java,
1558         classpath/javax/swing/plaf/multi/MultiListUI.java,
1559         classpath/javax/swing/plaf/multi/MultiSplitPaneUI.java,
1560         classpath/javax/swing/plaf/multi/MultiFileChooserUI.java,
1561         classpath/javax/swing/plaf/multi/MultiOptionPaneUI.java,
1562         classpath/javax/swing/plaf/multi/MultiTabbedPaneUI.java,
1563         classpath/javax/swing/plaf/multi/MultiLookAndFeel.java,
1564         classpath/javax/swing/plaf/metal/MetalSliderUI.java,
1565         classpath/javax/swing/plaf/metal/MetalIconFactory.java,
1566         classpath/javax/swing/plaf/metal/MetalComboBoxIcon.java,
1567         classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java,
1568         classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,
1569         classpath/javax/swing/plaf/metal/MetalCheckBoxUI.java,
1570         classpath/javax/swing/plaf/metal/MetalSeparatorUI.java,
1571         classpath/javax/swing/plaf/metal/MetalBorders.java,
1572         classpath/javax/swing/plaf/metal/MetalSplitPaneDivider.java,
1573         classpath/javax/swing/plaf/metal/MetalScrollBarUI.java,
1574         classpath/javax/swing/plaf/metal/MetalRootPaneUI.java,
1575         classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java,
1576         classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java,
1577         classpath/javax/swing/plaf/metal/MetalToolTipUI.java,
1578         classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,
1579         classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,
1580         classpath/javax/swing/plaf/metal/MetalUtils.java,
1581         classpath/javax/swing/plaf/metal/MetalComboBoxButton.java,
1582         classpath/javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java,
1583         classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1584         classpath/javax/swing/JPopupMenu.java,
1585         classpath/javax/swing/JProgressBar.java,
1586         classpath/javax/swing/WindowConstants.java,
1587         classpath/javax/swing/JFrame.java,
1588         classpath/javax/swing/JFileChooser.java,
1589         classpath/javax/swing/JComboBox.java,
1590         classpath/javax/swing/event/EventListenerList.java,
1591         classpath/javax/swing/ListSelectionModel.java,
1592         classpath/javax/swing/JScrollBar.java,
1593         classpath/java/text/SimpleDateFormat.java,
1594         classpath/java/text/NumberFormat.java,
1595         classpath/java/text/class-dependencies.conf,
1596         classpath/java/awt/image/ColorModel.java,
1597         classpath/java/awt/image/BufferedImage.java,
1598         classpath/java/awt/Window.java,
1599         classpath/java/awt/ContainerOrderFocusTraversalPolicy.java,
1600         classpath/java/awt/LightweightDispatcher.java,
1601         classpath/java/awt/EventDispatchThread.java,
1602         classpath/java/awt/BasicStroke.java,
1603         classpath/java/awt/ColorPaintContext.java,
1604         classpath/java/awt/Container.java,
1605         classpath/java/awt/TexturePaint.java,
1606         classpath/java/awt/Component.java, classpath/java/awt/Font.java,
1607         classpath/java/awt/GraphicsConfiguration.java,
1608         classpath/java/awt/DefaultKeyboardFocusManager.java,
1609         classpath/java/awt/print/PrinterJob.java,
1610         classpath/java/awt/im/InputContext.java,
1611         classpath/java/awt/dnd/DragGestureRecognizer.java,
1612         classpath/java/awt/Toolkit.java,
1613         classpath/java/awt/font/GraphicAttribute.java,
1614         classpath/java/awt/font/ImageGraphicAttribute.java,
1615         classpath/java/awt/font/GlyphVector.java,
1616         classpath/java/awt/font/GlyphMetrics.java,
1617         classpath/java/awt/font/ShapeGraphicAttribute.java,
1618         classpath/java/awt/Graphics2D.java,
1619         classpath/include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
1620         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1621         classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1622         classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1623         classpath/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
1624         classpath/include/config.h.in,
1625         classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1626         classpath/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
1627         classpath/include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
1628         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h,
1629         classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1630         classpath/include/gnu_java_awt_peer_gtk_GtkImage.h,
1631         classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h,
1632         classpath/include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h:
1633         Merge from GNU Classpath HEAD.
1634
1635 2006-06-08  Tom Tromey  <tromey@redhat.com>
1636
1637         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1638         Set gnu.gcj.user.realname.
1639
1640 2006-06-09  Andreas Tobler  <a.tobler@schweiz.ch>
1641
1642         * scripts/jar.in: Replace hardcoded /bin/sh with @SHELL@.
1643
1644 2006-06-07  Andrew Haley  <aph@redhat.com>
1645
1646         * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
1647         (_Jv_Linker::uaddr): New.
1648         * link.cc (resolve_pool_entry): Call search_method_in_superclasses
1649         instead of an open-coded loop around search_method_in_class.
1650         (search_method_in_class): Add a new arg, check_perms.
1651         (search_method_in_superclasses): New.
1652         (link_symbol_table): Call maybe_adjust_signature() to extract the
1653         least significnt bit of the signature pointer.  Do this three
1654         times, for instace method calls, static methods, and interfaces.
1655         Call search_method_in_superclasses() instead of
1656         _Jv_LookupDeclaredMethod.
1657         (typedef uaddr): Delete.
1658         
1659 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1660
1661         * scripts/makemake.tcl (emit_bc_rule): Do not skip
1662         gnu-java-awt-peer-qt.lo.
1663         * configure.ac (QT_AWT): Remove conditional.
1664         Do not add gnu/java/awt/peer/qt to standard.omit.
1665         * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so
1666         in GCJ's versioned library directory.
1667         * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit):
1668         Load libqtpeer.so unconditionally.
1669         * gij.cc (main): Do not re-exec gij.
1670         * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic.
1671         (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory
1672         when linking gij.
1673
1674 2006-06-06  David Daney  <ddaney@avtrex.com>
1675
1676         * gnu/gcj/runtime/NameFinder.java (show_raw): New field.
1677         (showRaw): New method.
1678         * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h.
1679         (getLineNumberForFrame): Show IP offset in trace if line number
1680         not available and show_raw true.
1681
1682 2006-06-06  Gary Benson  <gbenson@redhat.com>
1683
1684         * java/io/natFilePosix.cc (getCanonicalPath): Rewritten.
1685         * configure.ac: Remove realpath check and add checks for
1686         lstat and readlink.
1687         * configure: Rebuilt.
1688         * include/config.h.in: Likewise.
1689         * java/io/File.java: Javadoc fix.
1690
1691 2006-06-05  Andreas Schwab  <schwab@suse.de>
1692
1693         PR libgcj/27860
1694         * link.cc: Check for closure support in libffi with FFI_CLOSURES.
1695
1696 2006-06-05  Tom Tromey  <tromey@redhat.com>
1697
1698         PR libgcj/27892:
1699         * gij.cc (main): Use putenv.
1700
1701 2006-06-03  Paolo Bonzini  <bonzini@gnu.org>
1702
1703         * scripts/jar.in: Ensure return with argument has non-empty argument.
1704
1705 2006-06-01  Paolo Bonzini  <bonzini@gnu.org>
1706
1707         * configure.ac (ZIP, UNZIP): New programs.
1708         (JAR): Fall back to bash script.  Generate it.
1709         (BASH_JAR): New conditional.
1710         * Makefile.am (bin_SCRIPTS): New.
1711         * scripts/jar.in: New file.
1712
1713 2006-06-01  Bryce McKinlay  <mckinlay@redhat.com>
1714
1715         * gnu/java/lang/MainThread (run): Revert exception chaining change.
1716
1717 2006-05-31  Bryce McKinlay  <mckinlay@redhat.com>
1718
1719         * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
1720         name, not Latin1.
1721         * gnu/java/lang/MainThread.java (run): Allow file separator char to
1722         be used in place of '.' as class-name separator. Don't chain
1723         ClassNotFoundException.
1724
1725 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1726
1727         * java/lang/VMClassLoader.java (initialize): Set default library
1728         control to LIB_NEVER.
1729
1730 2006-05-31  Alan Modra  <amodra@bigpond.net.au>
1731
1732         * stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
1733         interpreted classes.
1734
1735 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1736
1737         * scripts/makemake.tcl (emit_bc_rule): Do not skip
1738         gnu-java-awt-peer-gtk.lo.
1739         Include gnu/java/awt/peer/gtk Java objects in libgcj.so.  Use C++
1740         ABI for gnu/java/awt/peer/gtk package.
1741         * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir):
1742         New function.
1743         (insertSystemProperties): Only set java.ext.dirs if it is not
1744         already defined.  Prepend GCJ_VERSIONED_LIBDIR to module search
1745         path where necessary.
1746         * configure.ac (GTK_AWT): Remove automake conditional.
1747         Do not add gnu/java/awt/peer/gtk to standard.omit.
1748         * include/jvm.h (_Jv_PrependVersionedLibdir): New function
1749         declaration.
1750         * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR
1751         and re-exec self.
1752         * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR and
1753         PATH_SEPARATOR macros.
1754         Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic.
1755         * prims.cc (_Jv_PrependVersionedLibdir): New function.
1756
1757 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1758
1759         * java/lang/natThread.cc (countStackFrames): Do not throw
1760         UnsupportedOperationException.
1761         (resume): Likewise.
1762         (stop): Likewise.
1763         (suspend): Likewise.
1764
1765 2006-05-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1766
1767         * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
1768         * configure: Rebuilt.
1769         * include/config.h.in: Likewise.
1770         * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
1771         <sys/rw_lock.h>.
1772
1773 2006-05-24  Tom Tromey  <tromey@redhat.com>
1774
1775         PR libgcj/27024:
1776         * sources.am, Makefile.in: Rebuilt.
1777         * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
1778         * java/net/URLConnection.java: Removed.
1779
1780 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
1781
1782         * Makefile.am: Add install-html target. Add install-html to .PHONY
1783         * Makefile.in: Regenerate.
1784         * aclocal.m4: Regenerate.
1785         * gcj/Makefile.in: Regenerate.
1786         * include/Makefile.in: Regenerate.
1787         * testsuite/Makefile.in: Regenerate.
1788
1789 2006-05-24  Andreas Tobler  <a.tobler@schweiz.ch>
1790
1791         * testsuite/libjava.lang/stacktrace.java: New file.
1792         * testsuite/libjava.lang/stacktrace.out: Likewise.
1793
1794 2006-05-24  Tom Tromey  <tromey@redhat.com>
1795
1796         * sources.am, Makefile.in: Rebuilt.
1797         * scripts/makemake.tcl: Accept -verbose command-line option.
1798         (is_verbose): New global.
1799         (verbose): Use it.
1800         (classify_source_file): Don't special case '.' for 'package'
1801         type.
1802
1803 2006-05-24  Tom Tromey  <tromey@redhat.com>
1804
1805         PR libgcj/27729:
1806         * java/lang/reflect/natField.cc (getAddr): Added parens.
1807         * java/lang/reflect/natConstructor.cc (getModifiersInternal):
1808         Renamed.  Don't mask flags.
1809         * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
1810         constant.
1811         (getModifiersInternal): Renamed.
1812         (getModifiers): Rewrote.
1813         (isSynthetic, isVarArgs): New methods.
1814         (hashCode): Rewrote.
1815         (addTypeParameters, toGenericString): New methods.
1816         (getTypeParameters): Rewrote.
1817         (getSignature): New method.
1818         (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
1819         * java/lang/reflect/natMethod.cc (getModifiersInternal):
1820         Renamed.  Don't mask flags.
1821         * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
1822         Don't mask flags.
1823         * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
1824         ENUM): New constants.
1825         (INVISIBLE): Changed value.
1826         * java/lang/reflect/Method.java: Mostly merged with Classpath.
1827         (getModifiersInternal): Renamed.
1828         (getModifiers): Rewrote.
1829         (isBridge, isSynthetic, isVarArgs): New methods.
1830         (toGenericString): Likewise.
1831         (getTypeParameters): Likewise.
1832         (getSignature): Likewise.
1833         (getGenericExceptionTypes, getGenericParameterTypes,
1834         getGenericReturnType): Likewise.
1835         (METHOD_MODIFIERS): New constant.
1836         * java/lang/reflect/Field.java: Mostly merged with Classpath.
1837         Added javadoc everywhere.
1838         (getModifiersInternal): Renamed.
1839         (getModifiers, isSynthetic, isEnumConstant): Rewrote.
1840         (toGenericString): New method.
1841         (getGenericType, getSignature): Likewise.
1842         (FIELD_MODIFIERS): New constant.
1843
1844 2006-05-24  Tom Tromey  <tromey@redhat.com>
1845
1846         PR libgcj/27731:
1847         * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
1848         tanh): New methods.
1849         * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
1850         tanh): Declare.
1851
1852 2006-05-22  Mark Wielaard  <mark@klomp.org>
1853
1854         * HACKING: Update GNU Classpath import instructions.
1855
1856 2006-05-21  Andreas Tobler  <a.tobler@schweiz.ch>
1857
1858         * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
1859         signature as MAYBE_UNUSED for HAVE_TLS == 0.
1860         (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
1861         HAVE_TLS == 0.
1862
1863 2006-05-20  Andreas Tobler  <a.tobler@schweiz.ch>
1864             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1865
1866         * configure.ac: Add the POSIX thread libs to the HP-UX PA
1867         configuration. Add signal specification for HP-UX PA.
1868         * configure: Rebuilt.
1869         * configure.host: Add defaults for the HP-UX PA architecture.
1870         Add descriptor files for HP-UX PA 32-bit and 64-bit.
1871         * include/hppa-signal.h: New file.
1872         * include/posix.h: Add shared library suffix for HP-UX.
1873         * sysdep/pa/descriptor-pa32-hpux.h: New file.
1874         * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
1875
1876 2006-05-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
1877
1878         * ChangeLog: Correct incorrect GNU Classpath version in the
1879         entry for the latest import.
1880
1881 2006-05-18  Tom Tromey  <tromey@redhat.com>
1882
1883         * source.am, Makefile.in: Rebuilt.
1884         * Makefile.am (property_files): Removed.
1885         * scripts/makemake.tcl (properties_map): New global.
1886         (properties_files): Likewise.
1887         (emit_property_files): New proc.
1888         (scan_packages): Scan META-INF.
1889         Print property_files variable.  Scan classpath/resource.
1890
1891 2006-05-18  Tom Tromey  <tromey@redhat.com>
1892
1893         * testsuite/libjava.special/special.exp (gcj_special_pr21115):
1894         Renamed.
1895         (gcj_write_and_byte_compile): New proc.
1896         (gcj_special_lazy_illegal_access): Likewise.
1897
1898 2006-05-18  Mark Wielaard  <mark@klomp.org>
1899
1900         Imported GNU Classpath 0.91
1901         * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
1902
1903         * sources.am: Regenerated.
1904         * gcj/javaprims.h: Regenerated.
1905         * Makefile.in: Regenerated.
1906         * gcj/Makefile.in: Regenerated.
1907         * include/Makefile.in: Regenerated.
1908         * testsuite/Makefile.in: Regenerated.
1909
1910         * gnu/java/lang/VMInstrumentationImpl.java: New override.
1911         * gnu/java/net/local/LocalSocketImpl.java: Likewise.
1912         * gnu/classpath/jdwp/VMMethod.java: Likewise.
1913         * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
1914         interface.
1915         * java/lang/Thread.java: Add UncaughtExceptionHandler.
1916         * java/lang/reflect/Method.java: Implements GenericDeclaration and
1917         isSynthetic(),
1918         * java/lang/reflect/Field.java: Likewise.
1919         * java/lang/reflect/Constructor.java
1920         * java/lang/Class.java: Implements Type, GenericDeclaration,
1921         getSimpleName() and getEnclosing*() methods.
1922         * java/lang/Class.h: Add new public methods.
1923         * java/lang/Math.java: Add signum(), ulp() and log10().
1924         * java/lang/natMath.cc (log10): New function.
1925         * java/security/VMSecureRandom.java: New override.
1926         * java/util/logging/Logger.java: Updated to latest classpath
1927         version.
1928         * java/util/logging/LogManager.java: New override.
1929
1930 2006-05-15  Bryce McKinlay  <mckinlay@redhat.com>
1931
1932         PR libgcj/27352
1933         * java/lang/Class.java (getClassLoaderInternal): New method.
1934         (forName (String, Class)): Use getClassLoaderInternal.
1935         (getPackage): Likewise.
1936         (getResource): Likewise.
1937         (getResourceAsStream): Likewise.
1938         (desiredAssertionStatus): Likewise.
1939
1940 2006-05-15  Andreas Tobler  <a.tobler@schweiz.ch>
1941
1942         * stacktrace.cc (StackTrace::FillInFrameInfo): Use
1943         UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
1944         klass->methods[j].ncode.
1945
1946 2006-05-13  Tom Tromey  <tromey@redhat.com>
1947
1948         * sources.am, Makefile.in: Rebuilt.
1949         * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
1950         natChannels.cc.
1951         * java/nio/channels/natVMChannels.cc: Renamed from
1952         natChannels.cc.
1953         * java/nio/channels/Channels.java: Removed.
1954         * java/nio/channels/natChannels.cc: Removed.
1955         * java/nio/channels/VMChannels.java: New file.
1956
1957 2006-05-13  Tom Tromey  <tromey@redhat.com>
1958
1959         * sources.am, Makefile.in: Rebuilt.
1960         * java/text/DateFormat.java: Removed.
1961
1962 2006-05-13  Tom Tromey  <tromey@redhat.com>
1963
1964         * sources.am, Makefile.in: Rebuilt.
1965         * gnu/java/net/protocol/jar/Connection.java: Removed.
1966         * java/net/JarURLConnection.java: Removed.
1967
1968 2006-05-13  Tom Tromey  <tromey@redhat.com>
1969
1970         * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
1971         declaration.
1972
1973 2006-05-12  Tom Tromey  <tromey@redhat.com>
1974
1975         * sources.am, Makefile.in: Rebuilt.
1976         * java/util/logging/LogManager.java: Removed.
1977         * java/util/logging/Logger.java (resetLogger): New method, from
1978         Classpath.
1979         * java/io/RandomAccessFile.java: Removed.
1980         * gnu/java/nio/channels/FileChannelImpl.java (create): New
1981         method.
1982         (FileChannelImpl): Now private.
1983         * java/io/FileInputStream.java: Removed.
1984         * java/io/FileOutputStream.java: Removed.
1985         * java/security/AccessControlContext.java: Removed.
1986         * java/lang/ThreadLocal.java: Removed.
1987         * java/lang/InheritableThreadLocal.java: Removed.
1988         * java/lang/Thread.java (locals): New field.
1989         (getThreadLocals): New method.
1990         * java/lang/natThread.cc (finish_): Clear 'locals'.
1991
1992 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
1993
1994         * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
1995         fails, don't try again.
1996         (use_addr2line): Field no longer final.
1997
1998 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
1999
2000         * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
2001         (lookup): If addr2line fails to find an address, flag the binary as
2002         having no debug info and avoid calling addr2line on it again.
2003
2004 2006-05-11  David Daney  <ddaney@avtrex.com>
2005
2006         * testsuite/libjava.compile/PR20418.java: New.
2007         * testsuite/libjava.compile/PR20418.xfail: New.
2008
2009 2006-05-11  Andrew Haley  <aph@redhat.com>
2010
2011         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
2012         line.
2013
2014 2006-05-10  Andrew Haley  <aph@redhat.com>
2015
2016         * java/lang/natClassLoader.cc: Add comments.
2017
2018 2006-05-09  Andrew Haley  <aph@redhat.com>
2019
2020         * prims.cc (_Jv_soleIndirectCompiledEngine): New.
2021         * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
2022         Remove body.
2023         (_Jv_CompiledEngine::allocate_field_initializers): New.
2024         (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
2025         allocate_field_initializers.
2026         (class _Jv_IndirectCompiledClass): New.
2027         (struct _Jv_IndirectCompiledEngine): New.
2028         * java/lang/Class.h: (IndirectCompiledEngine): New.
2029         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
2030         engine to _Jv_soleIndirectCompiledEngine
2031         * link.cc (ensure_fields_laid_out): Call
2032         engine->allocate_field_initializers().
2033
2034 2006-05-06  Andreas Tobler  <a.tobler@schweiz.ch>
2035
2036         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
2037         HP-UX and add appropriate extension for shared libraries, sl.
2038         (gcj_jni_test_one): Likewise.
2039
2040         * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
2041         library extensions.
2042
2043 2006-05-05  Tom Tromey  <tromey@redhat.com>
2044
2045         PR libgcj/27294:
2046         * java/lang/natVMClassLoader.cc (defineClass): Throw
2047         VirtualMachineError if no interpreter configured.
2048
2049 2006-05-03  Andrew Haley  <aph@redhat.com>
2050
2051         PR libgcj/27352
2052         * java/lang/Class.java (getClassLoader(Class)): New.
2053         forName(String, Class): New.
2054         * java/lang/natClass.cc (getClassLoader(Class)): New.
2055
2056 2006-05-02  Andrew Haley  <aph@redhat.com>
2057
2058         * prims.cc (_Jv_NewMultiArray): Check for phantom class.
2059
2060 2006-05-04  Tom Tromey  <tromey@redhat.com>
2061
2062         PR libgcj/26861:
2063         * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
2064         <insn_putfield>: Likewise.
2065         (NULLCHECK): Define unconditionally.
2066         * link.cc (ensure_class_linked): Removed dead code.
2067
2068 2006-05-04  Tom Tromey  <tromey@redhat.com>
2069
2070         * java/lang/Class.h (JV_STATE_LOADING): Added comment.
2071         * Makefile.in: Rebuilt.
2072         * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
2073         * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
2074         * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
2075         New field.
2076         (loadedClasses): Removed.
2077         (findClass): Declare.
2078         (addClass): Add to nativeClasses, not loadedClasses.
2079
2080 2006-05-04  Andrew Haley  <aph@redhat.com>
2081
2082         PR java/26858
2083         * testsuite/libjava.lang/PR26858.xfail: Delete.
2084
2085 2006-05-02  Bryce McKinlay  <mckinlay@redhat.com>
2086
2087         * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
2088         -findirect-dispatch compilation.
2089
2090 2006-05-01  Andreas Tobler  <a.tobler@schweiz.ch>
2091
2092         * configure.ac: Simplify the mmap check a bit more.
2093         * configure: Rebuilt.
2094         * include/config.h.in: Likewise.
2095
2096 2006-05-01  Roger Sayle  <roger@eyesopen.com>
2097             Andrew Haley  <aph@redhat.com>
2098
2099         * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
2100         before calling GC_register_has_static_roots_callback.
2101         (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
2102         HAVE_DLADDR before calling dladdr.
2103
2104 2006-04-28  Bryce McKinlay  <mckinlay@redhat.com>
2105
2106         * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
2107         to resolve_method.
2108         * interpret.cc (insn_invokevirtual): Use method->index, not
2109         vtable_index. Check accflag FINAL to determine finals. Only do
2110         explicit null check if calling a final method. Use
2111         throw_null_pointer_exception.
2112         (invokevirtual_resolved): Likewise.
2113         (null_pointer_exc): Remove static field.
2114         (throw_null_pointer_exception): Always define. Throw a new
2115         NullPointerException every time.
2116         * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
2117         field.
2118         * include/execution.h (resolve_method): Remove vtable_index argument.
2119
2120 2006-04-28  Andreas Tobler  <a.tobler@schweiz.ch>
2121
2122         * configure.ac: Add an additional checks for dladdr and dlopen on dld.
2123         * configure: Rebuilt.
2124
2125 2006-04-25  Tom Tromey  <tromey@redhat.com>
2126
2127         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
2128         Include platform.h.  Set GC_DEBUG before including gc.h, if
2129         needed.
2130
2131 2006-04-25  Andrew Haley  <aph@redhat.com>
2132
2133         * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
2134         * boehm.cc: Don't include link.h.
2135         (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
2136
2137 2006-04-24  Tom Tromey  <tromey@redhat.com>
2138
2139         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
2140
2141 2006-04-21  Andrew Haley  <aph@redhat.com>
2142
2143         * include/execution.h (struct _Jv_CompiledEngine): Define for
2144         compiled classes.
2145         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
2146         _Jv_RegisterLibForGc.
2147         (_Jv_RegisterClasses_Counted): Likewise.
2148         (_Jv_NewClassFromInitializer): New.
2149         (_Jv_RegisterNewClasses): New.
2150         * sources.am: Regenerate.
2151         * boehm.cc (_Jv_GC_has_static_roots): new.
2152         (_Jv_InitGC): Call GC_register_has_static_roots_callback.
2153         (filename_node, find_file, _Jv_print_gc_store, new_node,
2154         _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
2155         * scripts/makemake.tcl: Add -fno-indirect-classes.
2156         * Makefile.in: Regenerate.
2157         * link.cc (resolve_pool_entry): Allocate constant pool.
2158         Allocate fields.
2159         
2160 2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>
2161
2162         * configure.ac: Weaken the check for MMAP.
2163         * configure: Rebuilt.
2164         * include/config.h.in: Likewise.
2165
2166 2006-04-20  Bryce McKinlay  <mckinlay@redhat.com>
2167
2168         PR libgcj/27170
2169         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
2170         dlopen(). From Anthony Green.
2171
2172 2006-04-20  Tom Tromey  <tromey@redhat.com>
2173
2174         PR libgcj/21941:
2175         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
2176         UnknownHostException if needed.
2177         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
2178         UnknownHostException if needed.
2179
2180 2006-04-19  Tom Tromey  <tromey@redhat.com>
2181
2182         * Makefile.in: Rebuilt.
2183         * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
2184         all_java_deps_files.
2185
2186 2006-04-19  Tom Tromey  <tromey@redhat.com>
2187
2188         * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
2189         handle EINTR.
2190
2191 2006-04-17  Tom Tromey  <tromey@redhat.com>
2192
2193         PR libgcj/27171:
2194         * testsuite/libjava.lang/pr27171.java: New file.
2195         * testsuite/libjava.lang/pr27171.out: New file.
2196         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
2197         true if we've seen a high surrogate.
2198         (write): Handle high surrogates at the end of the stream.
2199         Properly emit isolated low surrogates.
2200
2201 2006-04-17  Andreas Tobler  <a.tobler@schweiz.ch>
2202
2203         * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
2204         of failure.
2205
2206 2006-04-13  Tom Tromey  <tromey@redhat.com>
2207
2208         PR libgcj/26522:
2209         * Makefile.in: Rebuilt.
2210         * Makefile.am (libsubdir): New variable.
2211
2212 2006-04-12  NAKATA Maho  <maho@FreeBSD.org> 
2213
2214         PR libgcj/23829
2215         * configure.ac: Link against -lpthread rather than -lc_r on
2216         FreeBSD 5 and above.
2217         * configure: Regenerate.
2218
2219 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
2220
2221         * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
2222         of package-private field "loadedClasses" using reflection.
2223         * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
2224         block.
2225
2226 2006-04-10  Matthias Klose  <doko@debian.org>
2227
2228         * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
2229         directory names containing underscores.
2230
2231 2006-04-10  Andrew Haley  <aph@redhat.com>
2232
2233         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
2234         (SIGNAL_HANDLER): Mark arg as unused.
2235         * configure.host (x86_64-* DIVIDESPEC): Use
2236         fno-use-divide-subroutine.
2237
2238 2006-04-07  Andrew Haley  <aph@redhat.com>
2239
2240         * java/net/InetAddress.java: Throw an UnknownHostException if
2241         lookup fails.
2242
2243 2006-04-05  Tom Tromey  <tromey@redhat.com>
2244
2245         PR libgcj/26625:
2246         * Makefile.in: Rebuilt.
2247         * Makefile.am (libgcj-$(gcc_version).jar): Depend on
2248         classpath/lib/compile-classes.
2249
2250 2006-04-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
2251
2252         * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
2253         MinGW since EBP is used for backtracking through call frames on this
2254         platform.
2255
2256 2006-04-05  Archit Shah  <ashah@redhat.com>
2257
2258         PR java/25414
2259         * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
2260         Add classpath argument.
2261         * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
2262         caller.
2263         * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
2264         * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
2265         * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
2266         * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
2267         mkdirs for destination directory, correct handling of superclasses
2268         and interfaces of the remote class, correct handling of exceptions
2269         declared by remote methods.
2270
2271 2006-04-04  Tom Tromey  <tromey@redhat.com>
2272
2273         PR libgcj/26990:
2274         * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
2275         * gnu/java/lang/natMainThread.cc (call_main): Use
2276         exitNoChecksAccessor.
2277         * testsuite/libjava.lang/pr26990.out: New file.
2278         * testsuite/libjava.lang/pr26990.java: New file.
2279         * java/lang/Runtime.java (exitNoChecks): New method.
2280         (exitNoChecksAccessor): Likewise.
2281         (exit): Call exitNoChecks.
2282
2283 2006-04-03  Tom Tromey  <tromey@redhat.com>
2284
2285         * Makefile.in: Rebuilt.
2286         * Makefile.am (ZIP): Removed.
2287         (libgcj-$(gcc_version).jar): Use $(JAR).
2288         (src.zip): Likewise.
2289         * configure: Rebuilt.
2290         * configure.ac: Check for jar.  Removed code to set ZIP.
2291
2292 2006-04-03  Andrew Haley  <aph@redhat.com>
2293
2294         * testsuite/libjava.lang/Float_2.java: New file.
2295
2296 2006-03-31  Andreas Tobler  <a.tobler@schweiz.ch>
2297
2298         * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
2299
2300 2006-03-30  Tom Tromey  <tromey@redhat.com>
2301
2302         PR java/26042:
2303         * testsuite/libjava.compile/pr26042.java: New file.
2304
2305 2006-03-29  Tom Tromey  <tromey@redhat.com>
2306
2307         * sources.am, Makefile.in: Rebuilt.
2308         * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
2309
2310 2006-03-29  Tom Tromey  <tromey@redhat.com>
2311
2312         PR java/26390:
2313         * testsuite/libjava.lang/pr26390.out: New file.
2314         * testsuite/libjava.lang/pr26390.java: New file.
2315         * sources.am, Makefile.in: Rebuilt.
2316         * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
2317
2318 2006-03-29  Tom Tromey  <tromey@redhat.com>
2319
2320         * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
2321         CLOCK_HIGHRES.
2322
2323 2006-03-28  Anthony Balkissoon  <abalkiss@redhat.com>
2324
2325         * scripts/unicode-muncher.pl: Removed this file.
2326         * scripts/MakeCharTables.java: Likewise.
2327         * scripts/unicode-to-chartables.pl: New file.
2328         * java/lang/natCharacter.cc: 
2329         (UNASSIGNED_TYPE): New field.
2330         (UNASSIGNED_DIGIT): Likewise.
2331         (UNASSIGNED_DIRECTION): Likewise.
2332         (UNASSIGNED_NUMERIC_VALUE): Likewise.
2333         (PRIVATE_TYPE): Likewise.
2334         (PRIVATE_DIRECTION): Likewise.
2335         (readCodePoint): New method.
2336         (getType(jint)): Likewise.
2337         (toLowerCase(jint)): Likewise.
2338         (toUpperCase(jint)): Likewise.
2339         (toTitleCase(jint)): Likewise.
2340         (digit(jint, jint)): Likewise.
2341         (getNumericValue(jint)): Likewise.
2342         (getDirectionality(jint)): Likewise.
2343         (readChar),
2344         (getType(jchar)),
2345         (toLowerCase(jchar)),
2346         (toUpperCase(jchar)),
2347         (toTitleCase(jchar)),
2348         (digit(jchar, jint)),
2349         (getNumericValue(jchar)),
2350         (getDirectionality(jchar)): Changed references from data to data[0], 
2351         blocks to blocks[0], direction to direction[0], numValue to 
2352         numValue[0], upper to upper[0], lower to lower[0], and shift to 
2353         shift[0] to reflect the new structures in java-chartables.h.    
2354         * java/lang/Character.java:
2355         (readCodePoint): Declared new native method.
2356         (getType(int)): Likewise.
2357         (toLowerCase(int)): Likewise.
2358         (toUpperCase(int)): Likewise.
2359         (toTitleCase(int)): Likewise.
2360         (digit(int, int)): Likewise.
2361         (getNumericValue(int)): Likewise.
2362         (getDirectionality(int)): Likewise.
2363         (isLowerCase(int)): New method.
2364         (isUpperCase(int)): Likewise.
2365         (itTitleCase(int)): Likewise.
2366         (isDigit(int)): Likewise.
2367         (isDefined(int)): Likewise.
2368         (isLetter(int)): Likewise.
2369         (isLetterOrDigit(int)): Likewise.
2370         (isJavaIdentifierStart(int)): Likewise.
2371         (isJavaIdentifierPart(int)): Likewise.
2372         (isUnicodeIdentifierStart(int)): Likewise.
2373         (isUnicodeIdentifierPart(int)): Likewise.
2374         (isIdentifierIgnorable(int)): Likewise.
2375         (isSpaceChar(int)): Likewise.
2376         (isWhitespace(int)): Likewise.
2377         (isISOControl(int)): Likewise.
2378         (isMirrored(int)): Likewise.
2379         * include/java-chartables.h: Generated from 
2380         scripts/unicode-to-chartables.h.
2381
2382 2006-03-24  David Daney  <ddaney@avtrex.com)
2383
2384         * testsuite/libjava.lang/PR26858.java: New test.
2385         * testsuite/libjava.lang/PR26858.out: Ditto.
2386         * testsuite/libjava.lang/PR26858.xfail: Ditto.
2387
2388 2006-03-16  Kaz Kojima  <kkojima@gcc.gnu.org>
2389
2390         * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
2391         macro.
2392         
2393 2006-03-15  Tom Tromey  <tromey@redhat.com>
2394
2395         * testsuite/libjava.jacks/jacks.xfail: Removed
2396         13.1-runtime-method-5.
2397
2398 2006-03-15  Tom Tromey  <tromey@redhat.com>
2399
2400         PR java/26638:
2401         * link.cc (get_interfaces): Skip <clinit>.
2402         (append_partial_itable): Likewise.
2403
2404 2006-03-10  Tom Tromey  <tromey@redhat.com>
2405
2406         PR libgcj/25713:
2407         * java/util/zip/Deflater.java (flush): New method.
2408         * sources.am, Makefile.in: Rebuilt.
2409         * java/util/zip/DeflaterOutputStream.java: Removed.
2410         * java/util/zip/InflaterInputStream.java: Likewise.
2411         * java/util/zip/GZIPInputStream.java: Likewise.
2412         * java/util/zip/GZIPOutputStream.java: Likewise.
2413
2414 2006-03-10  Andreas Tobler  <a.tobler@schweiz.ch>
2415
2416         * include/powerpc-signal.h: Fix typo in comment.
2417
2418 2006-03-09  Mark Wielaard  <mark@klomp.org>
2419
2420         Imported GNU Classpath 0.90
2421         * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
2422         * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
2423         * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
2424         * java/lang/Math.java: New override file.
2425         * java/lang/Character.java: Merged from Classpath.
2426         (start, end): Now 'int's.
2427         (canonicalName): New field.
2428         (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
2429         (UnicodeBlock): Added argument.
2430         (of): New overload.
2431         (forName): New method.
2432         Updated unicode blocks.
2433         (sets): Updated.
2434         * sources.am: Regenerated.
2435         * Makefile.in: Likewise.
2436
2437 2006-03-09  Tom Tromey  <tromey@redhat.com>
2438
2439         PR libgcj/23495:
2440         * java/lang/natString.cc (_Jv_NewString): Use memcpy.
2441         (equals): Use memcmp.
2442         (contentEquals): Likewise.
2443         (getChars): Use memcpy.
2444         (toCharArray): Likewise.
2445         (regionMatches): Use memcmp.
2446         (regionMatches): Likewise.
2447         (startsWith): Likewise.
2448         (concat): Use memcpy.
2449         (valueOf): Likewise.
2450
2451 2006-03-09  Tom Tromey  <tromey@redhat.com>
2452
2453         * configure: Rebuilt.
2454         * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
2455         well.
2456
2457 2006-03-09  Tom Tromey  <tromey@redhat.com>
2458
2459         PR libgcj/24461:
2460         * java/util/zip/InflaterInputStream.java (fill): Throw exception
2461         if stream is truncated.
2462
2463 2006-03-09  Tom Tromey  <tromey@redhat.com>
2464
2465         * win32.cc (_Jv_platform_nanotime): New function.
2466         * include/win32.h (_Jv_platform_nanotime): Declare.
2467         * posix.cc (_Jv_platform_nanotime): New function.
2468         * include/posix.h (_Jv_platform_nanotime): Declare.
2469         * java/lang/natSystem.cc (nanoTime): New method.
2470         * java/lang/System.java (nanoTime): Declare.
2471         * include/config.h.in, configure: Rebuilt.
2472         * configure.ac: Check for clock_gettime.
2473
2474 2006-03-08  David Daney  <ddaney@avtrex.com>
2475
2476         * configure.ac (LD): Add AC_CHECK_TOOL for ld.
2477         (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
2478         (LD_FINISH_STATIC_SPEC): Ditto
2479         * configure: Regenerated.
2480         * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
2481         LD_FINISH_STATIC_SPEC.
2482         
2483 2006-03-07  Tom Tromey  <tromey@redhat.com>
2484
2485         PR libgcj/26103:
2486         * java/lang/ClassLoader.java (loadClass): Don't throw
2487         StringIndexOutOfBoundsException if name is empty.
2488         * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
2489         if class not found.
2490
2491 2006-03-07  David Daney  <ddaney@avtrex.com>
2492
2493         * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
2494
2495 2006-03-07  David Daney  <ddaney@avtrex.com>
2496
2497         * link.cc: Include ffi.h if USE_LIBFFI defined.
2498         
2499 2006-03-03  Tom Tromey  <tromey@redhat.com>
2500
2501         * interpret.cc (do_allocate_static_fields): Added comment.
2502
2503 2006-03-01  Tom Tromey  <tromey@redhat.com>
2504
2505         PR java/24321:
2506         * testsuite/libjava.lang/pr24321.java: New file.
2507         * testsuite/libjava.lang/pr24321.out: New file.
2508         * java/lang/natClass.cc (isInstance): Don't initialize class.
2509         (isAssignableFrom): Likewise.
2510
2511 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
2512
2513         PR other/26208
2514         * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
2515         of _Unwind_GetIP.
2516         * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
2517         (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
2518         to throw.
2519         * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
2520         macro.
2521         * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
2522         macro.
2523
2524 2006-02-23  Scott Gilbertson  <scottg@mantatest.com>
2525
2526         * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
2527         before returning, handle null clip.
2528         (getClipBounds): Handle null clip.
2529         * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
2530         * gnu/awt/xlib/XCanvasPeer.java (): 
2531         (getLocationOnScreen): Implement.
2532         * classpath/gnu/java/awt/peer/GLightweightPeer.java
2533         (repaint): Merged with Classpath.
2534         * classpath/java/awt/Graphics.java (hitClip): Merged with
2535         Classpath.
2536
2537 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
2538
2539         * link.cc: Added variant of create_error_method that
2540         will not complain about unused parameter if compiled with
2541         USE_LIBFFI not being defined.
2542         (_Jv_Linker::find_field_helper): Fixed indentation.
2543         (_Jv_Linker::create_error_method): Fixed indentation.
2544         (_Jv_Linker::link_symbol_table): Fixed indentation.
2545
2546 2006-02-16  Andrew Haley  <aph@redhat.com>
2547
2548         * stacktrace.cc (GetStackTraceElements): Call
2549         gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
2550         non-Java frames should be removed from a printed stack trace.
2551         Pass methodName to getLineNumberForFrame().
2552         (getLineNumberForFrame): Set method_name from info.dli_sname.
2553         * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
2554         (remove_unknown): New variable.
2555         * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
2556         Add methodName arg.
2557
2558 2006-02-15  Matthias Klose  <doko@debian.org>
2559
2560         * gnu/java/nio/charset, gnu/java/net/protocol/file,
2561         gnu/regexp: Remove empty directories.
2562
2563 2006-02-09  Bryce McKinlay  <mckinlay@redhat.com>
2564
2565         * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put 
2566         'itable' inline, instead of as a pointer.
2567         (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
2568         * link.cc (null_idt): Update definition.
2569         (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
2570         as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
2571         (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
2572         (_Jv_Linker::find_iindex): Likewise. Update comment.
2573         * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
2574         _Jv_IDispatchTable change.
2575         (_Jv_IsAssignableFrom): Likewise.
2576
2577 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
2578
2579         PR libgcj/25187:
2580         * gnu/gcj/io/natSimpleSHSStream.cc
2581         (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
2582         * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
2583         _Jv_InterpFrame(). 
2584         * boehm.cc: #undef some autoconf macros before including gc-config.h.
2585         (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
2586         (_Jv_MarkArray): Likewise.
2587         * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
2588         Simplify _Jv_GCRegisterDisappearingLink() call.
2589         * java/lang/Class.h (getComponentType): Use element_type.
2590         (element_type): New field declaration, as a union with "methods".
2591         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
2592         * java/net/natVMNetworkInterfacePosix.cc
2593         (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
2594         avoid sign comparison warning.  
2595         * include/java-interp.h (_Jv_InterpFrame): Take thread as second
2596         argument, not parent call frame.
2597         * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
2598         without a cast.
2599         (restore_rt): Declare with hidden visibility, not "static".
2600         * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
2601         constant.
2602         * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
2603         warning.
2604
2605 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
2606
2607         PR libgcj/26113:
2608         * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
2609         as "const char *".
2610         * verify.cc (verify_fail): Likewise.
2611         * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
2612         * interpret.cc (throw_internal_error, throw_class_format_error):
2613         Likewise.
2614         * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, 
2615         _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
2616         * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
2617         * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
2618         * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
2619         is_attribute_name): Likewise.
2620         * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
2621         _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
2622
2623 2006-02-08  Tom Tromey  <tromey@redhat.com>
2624
2625         PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
2626         * defineclass.cc (parse): Use _Jv_AllocRawObj.
2627         (read_constpool): Likewise.
2628         (read_one_code_attribute): Use internal function name.
2629         (handleConstantPool): Use _Jv_AllocRawObj.
2630         (handleInterfacesBegin): Likewise.
2631         (handleFieldsBegin): Likewise.
2632         (handleMethodsBegin): Likewise.
2633         (handleCodeAttribute): Likewise.
2634         (handleMethodsEnd): Likewise.
2635         * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
2636         * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
2637         Allocate reference fields separately.
2638         * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
2639         (add_miranda_methods): Likewise.
2640         (generate_itable): Use _Jv_AllocBytes.
2641         (find_iindex): Likewise.
2642         (struct method_closure): New structure.
2643         (create_error_method): Use struct method_closure; allocate with
2644         _Jv_AllocBytes.
2645         (ensure_fields_laid_out): Separate reference fields from
2646         non-reference fields.
2647         * boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
2648         of Class.
2649         (_Jv_MarkArray): Mark vtable.
2650         (_Jv_AllocRawObj): Don't allocate objects of size 0.
2651         * include/execution.h
2652         (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
2653         parameter.
2654         (struct _Jv_CompiledEngine): Updated.
2655         (class _Jv_InterpreterEngine): Updated.
2656
2657 2006-02-08  Tom Tromey  <tromey@redhat.com>
2658
2659         PR java/22578:
2660         * gcj/javaprims.h: Updated.
2661         * sources.am, Makefile.in: Rebuilt.
2662         * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
2663         (doubleToRawLongBits): Likewise.
2664         (longBitsToDouble): Likewise.
2665         (toString): Likewise.
2666         (parseDouble): Likewise.
2667         * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
2668         (floatToRawIntBits): Likewise.
2669         (intBitsToFloat): Likewise.
2670         * java/lang/VMDouble.java: New file.
2671         * java/lang/VMFloat.java: New file.
2672         * java/lang/Float.java, java/lang/Double.java: Removed.
2673
2674 2006-02-06  Tom Tromey  <tromey@redhat.com>
2675
2676         * gij.cc (version): Use 2006.
2677         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
2678         * gnu/gcj/convert/Convert.java (version): Use 2006.
2679         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
2680
2681 2006-02-04  Tom Tromey  <tromey@redhat.com>
2682
2683         PR java/25676:
2684         * testsuite/libjava.lang/pr25676.out: New file.
2685         * testsuite/libjava.lang/pr25676.java: New file.
2686
2687 2006-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2688
2689         * Makefile.am (src.zip): Update src.zip file search to look in
2690         classpath directory.
2691         * Makefile.in: Regenerate.
2692
2693 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
2694
2695         * link.cc:
2696         (_Jv_Linker::create_error_method): Added missing (void *) cast.
2697
2698 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
2699
2700         * include/jvm.h:
2701         (_Jv_Linker::create_error_method): New method declaration.
2702         * link.cc:
2703         (_Jv_Linker::create_error_method): New method.
2704         (_Jv_Linker::link_symbol_table): Use new method above.
2705
2706 2006-02-01  Robert Schuster  <robertschuster@fsfe.org>
2707
2708         * link.cc:
2709         (_Jv_Linker::find_field_helper): Added checks.
2710         (_Jv_Linker::find_field): Use exception swallowing class resolution
2711         and added early return.
2712         (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
2713         (_Jv_Linker::link_symbol_table):  Use exception swallowing class
2714         resolution, added ffi_closure installation routine, use
2715         _Jv_ThrowNoClassDefFoundError for missing static method.
2716         (_Jv_Linker::ensure_class_linked): Added string check which does
2717         not trigger class resolution.
2718         * java/lang/natClassLoader.cc:
2719         (_Jv_FindClassNoException): New method.
2720         * java/lang/Class.h:
2721         (_Jv_FindClassNoException): New method declaration.
2722         * include/jvm.h:
2723         (_Jv_FindClassNoException): New method declaration.
2724         (_Jv_FindClassFromSignatureNoException): New method declaration.
2725         * prims.cc:
2726         (_Jv_FindClassFromSignatureNoException): New method.
2727         * gcj/javaprims.h:
2728         (_Jv_equalsUtf8Classname): New method declaration.
2729         (_Jv_isPrimitiveOrDerived): Dito.
2730         * prims.cc:
2731         (_Jv_equalsUtf8Classnames): New method.
2732         (_Jv_isPrimitiveOrDerived): New method.
2733         * verify.cc:
2734         (ref_intersection::equals): Use new classname comparison method.
2735         (type::compatible): Use new classname comparison method. Added
2736         check whether LHS' type is java.lang.Object .
2737         (type::resolve): Added new optional debug message and simplified
2738         if-expression.
2739         (type::to_array): Added codepath that generates an array type
2740         without resolving the element type.
2741
2742 2006-01-31  Mark Wielaard  <mark@klomp.org>
2743
2744         * NEWS: Add 4.1 updates.
2745
2746 2006-01-30  Keith Seitz  <keiths@redhat.com>
2747
2748         * include/java-interp.h (insn_index): New declaration.
2749         (num_insn_slots): New private variable.
2750         (get_line_table): New declaration.
2751         * interpret.cc (insn_index): New function.
2752         (get_line_table): New function.
2753
2754 2006-01-24  Archit Shah  <ashah@redhat.com>
2755             Tom Tromey  <tromey@redhat.com>
2756
2757         * prims.cc (next_property_value): Never return NULL.
2758         (process_gcj_properties): Copy 'props' before using it.
2759
2760 2006-01-23  Keith Seitz  <keiths@redhat.com>
2761
2762         * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
2763         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
2764
2765 2006-01-23  David Daney  <ddaney@avtrex.com>
2766
2767         * configure.host (disable_dladdr): Remove variable and its
2768         documentation.
2769         * configure.ac: Do not test for disable_dladdr.
2770         * configure: Regenerate.
2771         * include/config.h.in: Regenerate.
2772
2773 2006-01-18  Tom Tromey  <tromey@redhat.com>
2774
2775         * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
2776         already exists.
2777
2778 2006-01-18  Keith Seitz  <keiths@redhat.com>
2779
2780         * include/java-interp.h (_Jv_CompileMethod): Add declaration.
2781         (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
2782         * interpret.cc (_Jv_CompileMethod): New function.
2783         (run):  Massage code to allow for NULL args.
2784         Update comments to explain NULL args.
2785         Return if compiling the method and args is NULL.
2786
2787 2006-01-18  H.J. Lu  <hongjiu.lu@intel.com>
2788
2789         PR libgcj/25840
2790         * include/x86_64-signal.h (RESTORE2): Add ".text\n".
2791
2792 2006-01-17  Tom Tromey  <tromey@redhat.com>
2793
2794         PR classpath/20198:
2795         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
2796         (JarURLLoader): Likewise.
2797         (addURLImpl): Canonicalize file URLs.
2798
2799 2006-01-16  Mark Wielaard  <mark@klomp.org>
2800
2801         Imported GNU Classpath 0.20
2802         * Makefile.am (AM_CPPFLAGS): Add classpath/include.
2803         * java/nio/charset/spi/CharsetProvider.java: New override file.
2804         * java/security/Security.java: Likewise.
2805         * sources.am: Regenerated.
2806         * Makefile.in: Likewise.
2807
2808 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
2809
2810         * configure.ac (dbexecdir): New substituted var.
2811         * configure: Rebuilt.
2812         * Makefile.am (dbexecdir): Remove.
2813         * Makefile.in: Rebuilt.
2814
2815 2006-01-13  Tom Tromey  <tromey@redhat.com>
2816
2817         * gnu/regexp/MessagesBundle_fr.properties: Removed.
2818         * gnu/regexp/MessagesBundle.properties: Removed.
2819
2820 2006-01-13  Tom Tromey  <tromey@redhat.com>
2821
2822         * java/security/classpath.security: Removed.
2823         * Makefile.in: Rebuilt.
2824         * Makefile.am (install-data-local): Don't install
2825         classpath.security.
2826
2827 2006-01-08  Chris Burdess  <dog@gnu.org>
2828
2829         * java/lang/Character.java (toChars,toCodePoint): Correct these
2830           methods to use algorithms from Unicode specification.
2831
2832 2006-01-08  Tom Tromey  <tromey@redhat.com>
2833
2834         * java/lang/StringBuilder.java (appendCodePoint): New method.
2835         (insert): New overloads.
2836         * java/lang/StringBuffer.java (StringBuffer): New constructor.
2837         (charAt): Remerged javadoc.
2838         (codePointAt, codePointBefore): New methods.
2839         (appendCodePoint): New method.
2840         (append): New overloads.
2841         (insert): Likewise.
2842         (trimToSize, codePointCount, offsetByCodePoints): New methods.
2843         * java/lang/Float.java (SIZE): New field.
2844         (valueOf): New method.
2845         * java/lang/natDouble.cc (initIDs): Removed.
2846         * java/lang/Double.java (static initializer): Removed.
2847         (SIZE): New field.
2848         (valueOf): New method.
2849         (initIDs): Removed.
2850
2851 2006-01-07  Jakub Jelinek  <jakub@redhat.com>
2852
2853         PR libgcj/24940
2854         * shlibpath.m4: Replace $SED with sed.
2855         * configure: Rebuilt.
2856
2857 2006-01-06  Tom Tromey  <tromey@redhat.com>
2858
2859         * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
2860         MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
2861         (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
2862         MAX_LOW_SURROGATE): Javadoc fixes.
2863         (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
2864         isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
2865         methods from Classpath.
2866         * java/lang/String.java (codePointAt, codePointBefore,
2867         codePointCount, contains, replace): New methods from Classpath.
2868         (contentEquals): Declare.
2869         * java/lang/natString.cc (contentEquals): New method.
2870
2871 2005-12-26  Anthony Green  <green@redhat.com>
2872
2873         * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
2874         of data to read (dst.remaining()).
2875         * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
2876
2877 2005-11-11  Mark Wielaard  <mark@klomp.org>
2878
2879         Reported by john.zigman@anu.edu.au as bug #24608.
2880         * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
2881         destination ByteBuffer when it doesn't have an array instead of len
2882         bytes.
2883
2884 2006-01-05  Tom Tromey  <tromey@redhat.com>
2885
2886         * java/lang/natThread.cc (finish_): Don't clear 'group'.
2887         * sources.am, Makefile.in: Rebuilt.
2888         * java/lang/Runtime.java (exit): Merged with Classpath.
2889         (runShutdownHooks): New method from Classpath.
2890         * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
2891         FileDeleter.
2892         * gnu/gcj/runtime/FileDeleter.java: Removed.
2893         * java/lang/natRuntime.cc (runFinalizationForExit): New method.
2894         (exitInternal): Don't run finalizers or delete files.
2895
2896 2006-01-05  Tom Tromey  <tromey@redhat.com>
2897
2898         * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
2899
2900 2006-01-04  Krister Walfridsson  <cato@df.lth.se>
2901
2902         * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
2903
2904 2006-01-04  Tom Tromey  <tromey@redhat.com>
2905
2906         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
2907         * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
2908         Changed argument type.  Use SystemClassLoader.addClass.
2909         * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
2910
2911 2005-12-24  David Daney <ddaney@avtrex.com>
2912             Tom Tromey  <tromey@redhat.com>
2913
2914         PR libgcj/9715, PR libgcj/19132:
2915         * java/nio/charset/Charset.java (charsetForName): Try default
2916         provider first.
2917         (availableCharsets): Re-merged.
2918         (providers2): Likewise.
2919         (defaultCharset): Likewise.
2920         * sources.am, Makefile.in: Rebuilt.
2921         * gnu/java/nio/charset/Provider.java: Removed.
2922         * java/io/OutputStreamWriter.java
2923         (OutputStreamWriter(OutputStream,Charset)): New constructor.
2924         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2925         * java/io/InputStreamReader.java
2926         (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
2927         (InputStreamReader(InputStream,Charset)): Likewise.
2928         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
2929         BytesToCharsetAdaptor.
2930         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
2931         CharsetToBytesAdaptor.
2932         * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
2933         * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
2934         * mauve-libgcj: Remove getEncoding exclusion.
2935
2936 2005-12-28  Anthony Green  <green@redhat.com>
2937
2938         * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
2939         as previous patch, but for win32.
2940
2941 2005-12-28  Anthony Green  <green@redhat.com>
2942
2943         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
2944         address and port before attempting anything.
2945
2946 2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2947
2948         * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
2949         operation atomic.
2950
2951 2005-12-22  Andrew Haley  <aph@redhat.com>
2952
2953         PR java/25535
2954         * testsuite/libjava.lang/PR25535.java: New test.
2955
2956 2005-12-22  Tom Tromey  <tromey@redhat.com>
2957
2958         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
2959         reference NUM_OBJECT_METHODS.
2960         * include/jvm.h (NUM_OBJECT_METHODS): Removed.
2961
2962 2005-12-18  Anthony Green  <green@redhat.com>
2963
2964         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress): 
2965         New helper function.
2966         (setOption): Use getLocalAddress.  Don't downcast value to
2967         InetAddress.
2968         (getOption): Use getLocalAddress.
2969
2970 2005-12-16  Tom Tromey  <tromey@redhat.com>
2971
2972         * java/lang/Class.java (getPackage): Get package from
2973         VMClassLoader if needed.
2974
2975 2005-12-16  Tom Tromey  <tromey@redhat.com>
2976
2977         * testsuite/libjava.jacks/jacks.xfail
2978         (8.5.2-accessible-static-member-usage-3): Removed.
2979
2980 2005-12-15  Tom Tromey  <tromey@redhat.com>
2981
2982         * testsuite/libjava.compile/rh175833.java: New file.
2983         * testsuite/libjava.compile/pr25429.java: New file.
2984
2985 2005-12-15  Alan Modra  <amodra@bigpond.net.au>
2986
2987         * testsuite/lib/libjava.exp: Revert 2005-12-01.
2988         * testsuite/libjava.lang/Array_3.xfail: Delete.
2989
2990 2005-12-14  Andrew Haley  <aph@redhat.com>
2991
2992         * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
2993         handle stdout from the child process.
2994
2995 2005-12-14  Tom Tromey  <tromey@redhat.com>
2996
2997         PR classpath/25389:
2998         * java/io/File.java (File): Throw IllegalArgumentException if URI is
2999         non-hierarchical.
3000
3001 2005-12-12  Andrew Haley  <aph@redhat.com>
3002
3003         * java/lang/VMCompiler.java: Directly generate a new instance of
3004         gnu.java.security.provider.MD5.
3005
3006 2005-12-08  Andrew Haley  <aph@redhat.com>
3007
3008         PR libgcj/25265
3009         * java/lang/Object.h (throwNoSuchMethodError): New method.
3010         * java/lang/Object.java (throwNoSuchMethodError): New method.
3011         * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
3012         * link.cc (_Jv_ThrowNoSuchFieldError): New.
3013         (link_symbol_table): Don't throw a NoSuchFieldError if a field is
3014         missing.  Instead, set the otable entry to zero.
3015         (link_symbol_table): If we don't find a nonstatic method, insert
3016         the vtable offset of Object.throwNoSuchMethodError() into the
3017         otable.
3018
3019 2005-12-05  Tom Tromey  <tromey@redhat.com>
3020
3021         * testsuite/libjava.compile/rh174912.java: New file.
3022
3023 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
3024
3025         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
3026         xfail-byte-exec.
3027         * testsuite/libjava.lang/Array_3.xfail: New file.
3028
3029 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
3030
3031         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
3032         to compare _Jv_InterpMethod::run against current func.
3033
3034 2005-11-30  Andrew Haley  <aph@redhat.com>
3035
3036         * classpath/lib/Makefile.am (resources): Use `cp -p'.
3037         Remove `@' from start of line.
3038
3039 2005-11-28  Tom Tromey  <tromey@redhat.com>
3040
3041         PR java/18278:
3042         * testsuite/libjava.jni/pr18278.out: New file.
3043         * testsuite/libjava.jni/pr18278.c: New file.
3044         * testsuite/libjava.jni/pr18278.java: New file.
3045         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
3046         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
3047         (call): Unwrap return value if needed.
3048
3049 2005-11-25  Mark Wielaard  <mark@klomp.org>
3050
3051         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
3052         gnu/javax/rmi.
3053         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
3054         gnu/javax/rmi to bc.
3055         * gnu/CORBA/ObjectCreator.java: New override file for missing
3056         VMStackWalker issue.
3057         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
3058         * gnu/CORBA/DynAn/RecordAny.java: Likewise
3059         * sources.am: Regenerated.
3060         * Makefile.in: Regenerated
3061
3062 2005-11-25  Andrew Haley  <aph@redhat.com>
3063
3064         PR libgcj/25016
3065         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
3066         struct timespec we pass to pthread_cond_timedwait.
3067
3068 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
3069
3070         * testsuite/libjava.jacks/jacks.xfail: Remove
3071         non-jls-argument-expansion-13 and add
3072         non-jls-argument-expansion-error-1 in response to the @file support
3073         patch in the main GCC driver.
3074
3075 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
3076
3077         * sysdep/ia64-frame.h: Removed.
3078         * sysdep/ia64.c: Removed.
3079         * sysdep/dwarf2-backtrace.cc: Removed.
3080         * configure.ac: Remove references to HAVE_BACKTRACE and
3081         SUPPLY_BACKTRACE.
3082         * Makefile.am: Remove SUPPLY_BACKTRACE support.
3083         * configure: Rebuilt.
3084         * Makefile.in: Rebuilt.
3085
3086 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
3087
3088         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
3089
3090 2005-11-17  Mark Wielaard  <mark@klomp.org>
3091
3092         Imported GNU Classpath gcj-import-20051117.
3093         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
3094         * sources.am: Regenerated.
3095         * Makefile.in: Likewise.
3096
3097 2005-11-17  Mark Wielaard  <mark@klomp.org>
3098
3099         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
3100         * java/net/ServerSocket.java: Likewise.
3101         * sources.am: Regenerated.
3102         * Makefile.in: Regenerated.
3103
3104 2005-11-17  Mark Wielaard  <mark@klomp.org>
3105
3106         Fixes bug #24006
3107         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
3108
3109 2005-11-17  Tom Tromey  <tromey@redhat.com>
3110
3111         * java/net/ServerSocket.java (accept): Use correct security manager
3112         call.
3113
3114 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3115
3116         * java/net/ServerSocket.java
3117         (bound): Removed.
3118         (local): New field.
3119         (bind): Cache local socket address.
3120         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
3121         Use cached local socket address.
3122         (close): bound field was removed.
3123
3124 2005-11-17  Tom Tromey  <tromey@redhat.com>
3125
3126         * java/net/URLConnection.java (setDoInput): Javadoc fix.
3127         (setDoOutput): Likewise.
3128         (setContentHandlerFactory): Likewise.
3129         (setFileNameMap): Likewise.
3130
3131 2005-11-17  Mark Wielaard  <mark@klomp.org>
3132
3133         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
3134
3135 2005-11-17  Mark Wielaard  <mark@klomp.org>
3136
3137         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
3138         call urls.add() and addURLImpl() directly on each URL.
3139
3140 2005-11-17  Tom Tromey  <tromey@redhat.com>
3141
3142         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
3143
3144 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3145
3146         * java/net/URLClassLoader.java
3147         (Resource.name): Removed field.
3148         (JarURLResource.name): Added field.
3149         (FileResource.getURL): Use File.toURL() instead of doing it in
3150         a way that breaks on Windows.
3151
3152 2005-11-17  Roman Kennke  <roman@kennke.org>
3153
3154         Reported by: Ingo Proetel  <proetel@aicas.com>
3155         * java/net/URLClassLoader.java
3156         (findClass): Added null check to avoid NullPointerException.
3157
3158 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
3159
3160         * java/net/URLClassLoader.java: reordered some API doc comments to
3161         suppress Eclipse warnings, and fixed API doc link.
3162
3163 2005-11-17  Tom Tromey  <tromey@redhat.com>
3164
3165         * java/net/URLClassLoader.java (URLClassLoader): Removed
3166         unused constructor.
3167
3168 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3169
3170         * java/net/URLClassLoader (findClass): Close InputStream after we're
3171         done with it.
3172
3173 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
3174
3175         Implement -Xss.
3176         * include/jvm.h (gcj::stack_size): Declare.
3177         (_Jv_StackSize): Declare.
3178         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
3179         (_Jv_ThreadStart): Set stack size if specified.
3180         * prims.cc (gcj::stack_size): Define.
3181         (parse_memory_size): Renamed from parse_heap_size.
3182         (_Jv_SetStackSize): Parse stack size argument and set 
3183         gcj::stack_size.
3184
3185 2005-11-17  Mark Wielaard  <mark@klomp.org>
3186
3187         * java/text/SimpleDateFormat.java: Removed, fully merged now.
3188         * sources.am: Regenerated.
3189         * Makefile.in: Regenerated.
3190
3191 2005-11-17  Sven de Marothy  <sven@physto.se>
3192
3193         * java/text/SimpleDateFormat.java
3194         (computeOffset): Allow timezone to be first in the parsed String.
3195
3196 2005-11-17  Mark Wielaard  <mark@klomp.org>
3197
3198         * java/text/SimpleDateFormat.java (field, size): Make package private.
3199
3200 2005-11-17  Tom Tromey  <tromey@redhat.com>
3201
3202         * java/text/SimpleDateFormat.java (compileFormat): Correctly
3203         handle quoted single quotes.  PR classspath/23183.
3204
3205 2005-11-17  Tom Tromey  <tromey@redhat.com>
3206
3207         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
3208
3209 2005-11-17  Tom Tromey  <tromey@redhat.com>
3210
3211         * java/text/DateFormat.java (serialVersionUID): New field.
3212
3213 2005-11-17  Mark Wielaard  <mark@klomp.org>
3214
3215         * java/text/DateFormat.java (equals): Reimplement.
3216
3217 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
3218
3219         * java/text/Collator.java: API doc fixes,
3220         * java/text/DateFormat.java: likewise,
3221         * java/text/DecimalFormatSymbols.java: likewise,
3222         * java/text/DateFormatSymbols.java: likewise,
3223         * java/text/SimpleDateFormat.java: likewise.
3224
3225 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3226
3227         * java/text/Collator.java (getInstance(Locale)):
3228         Added default collation pattern to handle case when resource
3229         is missing and throw InternalError instead of returning null
3230         should parsing fail.
3231
3232 2005-11-15  Mark Wielaard  <mark@klomp.org>
3233
3234         * java/util/zip/ZipEntry.java: Removed, fully merged now.
3235         * java/util/zip/ZipFile.java: Likewise.
3236         * sources.am: Regenerated.
3237         * Makefile.in: Regenerated.
3238
3239 2005-11-15  Tom Tromey  <tromey@redhat.com>
3240
3241         classpath/23890:
3242         * java/util/Calendar.java (equals): Include other calendar
3243         attributes.
3244         (hashCode): Updated.
3245         * java/util/GregorianCalendar.java (hashCode): New method.
3246         (equals): Use super.equals().
3247
3248 2005-11-15  Sven de Marothy  <sven@physto.se>
3249
3250         * java/util/Calendar (setTimeInMillis): Recompute time fields.
3251
3252 2005-11-15  Mark Wielaard  <mark@klomp.org>
3253
3254         * java/util/SimpleTimeZone.java: Removed, fully merged now.
3255         * java/util/Date.java: Likewise.
3256         * sources.am: Regenerated.
3257         * Makefile.in: Regenerated.
3258
3259 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
3260
3261         * java/util/Calendar.java: fixed minor problems in API docs,
3262         * java/util/Date.java: likewise,
3263         * java/util/ResourceBundle.java: likewise,
3264         * java/util/SimpleTimeZone.java: likewise,
3265
3266 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
3267
3268         * java/io/ObjectInputStream.java
3269         (parseContent): Removed bogus println and fixed bug #24422.
3270                 
3271 2005-11-15  Mark Wielaard  <mark@klomp.org>
3272
3273         * java/io/ObjectStreamClass.java: Removed, fully merged now.
3274         * sources.am: Regenerated.
3275         * Makefile.in: Regenerated.
3276
3277 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
3278
3279         * java/io/ObjectInputStream.java
3280         (processResolution): Pass Error, RuntimeException and
3281         ObjectStreamException through to the caller.
3282         (readObject): Documentation update.
3283
3284 2005-11-15  Mark Wielaard  <mark@klomp.org>
3285
3286         Imported GNU Classpath 0.19 + gcj-import-20051115.
3287         * sources.am: Regenerated.
3288         * Makefile.in: Likewise.
3289         * scripts/makemake.tcl: Use glob -nocomplain.
3290
3291 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
3292
3293         * Makefile.in: Re-generated.
3294         * gnu/awt/xlib/XGraphicsDevice.java: New file.
3295         * gnu/awt/xlib/XToolkit.java
3296         (getLocalGraphicsEnvironment): Implemented. 
3297         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
3298         * sources.am: Re-generated.
3299
3300 2005-15-09  David Daney <ddaney@avtrex.com>
3301
3302         PR libgcj/15430
3303         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
3304         function.
3305         (accept): Call it.
3306         (close): Call shutdown before closing.
3307         (read()): Call read_helper with proper parameters.
3308         (read(buffer, int, int)): Likewise.
3309         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
3310         and timeout parameters.  Make prototype to match. Use 
3311         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
3312         in two places.
3313
3314 2005-11-15  Andrew Haley  <aph@redhat.com>
3315
3316         * Merge from Classpath head:
3317
3318    2005-09-16  Andrew Haley  <aph@redhat.com>
3319    
3320            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
3321            protected readResolve().  Rewrite accessibility check.
3322    
3323    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
3324    
3325            * java/io/ObjectStreamClass.java
3326            (findAccessibleMethod): Added code to make method accessible.
3327    
3328    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
3329    
3330            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
3331            (findAccessibleMethod): Likewise.
3332            (cacheMethods): Lookup readResolve and writeReplace using the new
3333            findAccessibleMethod().
3334    
3335 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
3336
3337         * java/net/natVMNetworkInterfaceWin32.cc: Include
3338         java/net/VMNetworkInterface.h.
3339
3340 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
3341             David Daney  <ddaney@avtrex.com>
3342
3343         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
3344         (read): Handle count == 0 case.
3345
3346 2005-11-09  Tom Tromey  <tromey@redhat.com>
3347
3348         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
3349         passes.
3350
3351 2005-11-08  Tom Tromey  <tromey@redhat.com>
3352
3353         PR libgcj/24587:
3354         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
3355
3356 2005-11-08  Tom Tromey  <tromey@redhat.com>
3357
3358         PR libgcj/23763.  From aeby@graeff.com.
3359         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
3360         before exec.
3361
3362 2005-11-08  Mark Wielaard  <mark@klomp.org>
3363
3364         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
3365
3366 2005-11-07  David Daney  <ddaney@avtrex.com>
3367
3368         * mauve-libgcj: Disable javax.rmi.* and
3369         java.io.InputStreamReader.getEncoding.
3370
3371 2005-11-04  Tom Tromey  <tromey@redhat.com>
3372
3373         PR libgcj/14358, libgcj/24552:
3374         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
3375         aliases for 'euc_jp' and 'eucjp'.
3376         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
3377         canonical names in output.
3378         (%map): Added UnicodeLittle and UnicodeBig.
3379
3380 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3381
3382         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
3383
3384 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
3385
3386         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
3387         library extensions.
3388
3389 2005-10-12  Andrew Haley  <aph@redhat.com>
3390
3391         PR java/24251
3392         * link.cc (ensure_method_table_complete): Install Miranda methods
3393         for interfaces too.
3394
3395 2005-10-10  Tom Tromey  <tromey@redhat.com>
3396
3397         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
3398         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
3399         Now static.
3400
3401 2005-10-05  Richard Henderson  <rth@redhat.com>
3402
3403         PR target/23602
3404         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
3405         but not BACKTRACESPEC.
3406         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
3407
3408 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
3409
3410         * testsuite/lib/jni.exp (gcj_jni_test_one): For
3411         darwin, use -shared-libgcc not -lgcc_s, and explain why.
3412         (gcj_jni_invocation_test_one): Likewise.
3413
3414 2005-09-30  Tom Tromey  <tromey@redhat.com>
3415
3416         PR libgcj/24051:
3417         * Makefile.in: Rebuilt.
3418         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
3419         requested.
3420         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
3421         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
3422         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
3423         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
3424         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
3425         * configure: Rebuilt.
3426         * configure.ac: Pass --enable-qt-peers when qt is requested.
3427
3428 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
3429
3430         * configure.ac: Fix typo.
3431         * configure: Regenerate.
3432
3433 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
3434
3435         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
3436         __LP64__ is defined rather than __powerpc64__.
3437         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
3438         (compare_and_swap_release): Likewise.
3439
3440 2005-09-28  David Daney  <ddaney@avtrex.com>
3441
3442         * HACKING: Update instructions for classpath import.
3443
3444 2005-09-27  Tom Tromey  <tromey@redhat.com>
3445
3446         PR libgcj/23367:
3447         * include/jvm.h (_Jv_FreeMethodCache): Declare.
3448         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
3449         (struct _Jv_mcache): Likewise.
3450         (method_cache): Likewise.
3451         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
3452         (_Jv_AddMethodToCache): Likewise.
3453         (_Jv_FreeMethodCache): New function.
3454