OSDN Git Service

* configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2006-05-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2
3         * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
4         * configure: Rebuilt.
5         * include/config.h.in: Likewise.
6         * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
7         <sys/rw_lock.h>.
8
9 2006-05-24  Tom Tromey  <tromey@redhat.com>
10
11         PR libgcj/27024:
12         * sources.am, Makefile.in: Rebuilt.
13         * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
14         * java/net/URLConnection.java: Removed.
15
16 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
17
18         * Makefile.am: Add install-html target. Add install-html to .PHONY
19         * Makefile.in: Regenerate.
20         * aclocal.m4: Regenerate.
21         * gcj/Makefile.in: Regenerate.
22         * include/Makefile.in: Regenerate.
23         * testsuite/Makefile.in: Regenerate.
24
25 2006-05-24  Andreas Tobler  <a.tobler@schweiz.ch>
26
27         * testsuite/libjava.lang/stacktrace.java: New file.
28         * testsuite/libjava.lang/stacktrace.out: Likewise.
29
30 2006-05-24  Tom Tromey  <tromey@redhat.com>
31
32         * sources.am, Makefile.in: Rebuilt.
33         * scripts/makemake.tcl: Accept -verbose command-line option.
34         (is_verbose): New global.
35         (verbose): Use it.
36         (classify_source_file): Don't special case '.' for 'package'
37         type.
38
39 2006-05-24  Tom Tromey  <tromey@redhat.com>
40
41         PR libgcj/27729:
42         * java/lang/reflect/natField.cc (getAddr): Added parens.
43         * java/lang/reflect/natConstructor.cc (getModifiersInternal):
44         Renamed.  Don't mask flags.
45         * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
46         constant.
47         (getModifiersInternal): Renamed.
48         (getModifiers): Rewrote.
49         (isSynthetic, isVarArgs): New methods.
50         (hashCode): Rewrote.
51         (addTypeParameters, toGenericString): New methods.
52         (getTypeParameters): Rewrote.
53         (getSignature): New method.
54         (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
55         * java/lang/reflect/natMethod.cc (getModifiersInternal):
56         Renamed.  Don't mask flags.
57         * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
58         Don't mask flags.
59         * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
60         ENUM): New constants.
61         (INVISIBLE): Changed value.
62         * java/lang/reflect/Method.java: Mostly merged with Classpath.
63         (getModifiersInternal): Renamed.
64         (getModifiers): Rewrote.
65         (isBridge, isSynthetic, isVarArgs): New methods.
66         (toGenericString): Likewise.
67         (getTypeParameters): Likewise.
68         (getSignature): Likewise.
69         (getGenericExceptionTypes, getGenericParameterTypes,
70         getGenericReturnType): Likewise.
71         (METHOD_MODIFIERS): New constant.
72         * java/lang/reflect/Field.java: Mostly merged with Classpath.
73         Added javadoc everywhere.
74         (getModifiersInternal): Renamed.
75         (getModifiers, isSynthetic, isEnumConstant): Rewrote.
76         (toGenericString): New method.
77         (getGenericType, getSignature): Likewise.
78         (FIELD_MODIFIERS): New constant.
79
80 2006-05-24  Tom Tromey  <tromey@redhat.com>
81
82         PR libgcj/27731:
83         * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
84         tanh): New methods.
85         * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
86         tanh): Declare.
87
88 2006-05-22  Mark Wielaard  <mark@klomp.org>
89
90         * HACKING: Update GNU Classpath import instructions.
91
92 2006-05-21  Andreas Tobler  <a.tobler@schweiz.ch>
93
94         * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
95         signature as MAYBE_UNUSED for HAVE_TLS == 0.
96         (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
97         HAVE_TLS == 0.
98
99 2006-05-20  Andreas Tobler  <a.tobler@schweiz.ch>
100             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
101
102         * configure.ac: Add the POSIX thread libs to the HP-UX PA
103         configuration. Add signal specification for HP-UX PA.
104         * configure: Rebuilt.
105         * configure.host: Add defaults for the HP-UX PA architecture.
106         Add descriptor files for HP-UX PA 32-bit and 64-bit.
107         * include/hppa-signal.h: New file.
108         * include/posix.h: Add shared library suffix for HP-UX.
109         * sysdep/pa/descriptor-pa32-hpux.h: New file.
110         * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
111
112 2006-05-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
113
114         * ChangeLog: Correct incorrect GNU Classpath version in the
115         entry for the latest import.
116
117 2006-05-18  Tom Tromey  <tromey@redhat.com>
118
119         * source.am, Makefile.in: Rebuilt.
120         * Makefile.am (property_files): Removed.
121         * scripts/makemake.tcl (properties_map): New global.
122         (properties_files): Likewise.
123         (emit_property_files): New proc.
124         (scan_packages): Scan META-INF.
125         Print property_files variable.  Scan classpath/resource.
126
127 2006-05-18  Tom Tromey  <tromey@redhat.com>
128
129         * testsuite/libjava.special/special.exp (gcj_special_pr21115):
130         Renamed.
131         (gcj_write_and_byte_compile): New proc.
132         (gcj_special_lazy_illegal_access): Likewise.
133
134 2006-05-18  Mark Wielaard  <mark@klomp.org>
135
136         Imported GNU Classpath 0.91
137         * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
138
139         * sources.am: Regenerated.
140         * gcj/javaprims.h: Regenerated.
141         * Makefile.in: Regenerated.
142         * gcj/Makefile.in: Regenerated.
143         * include/Makefile.in: Regenerated.
144         * testsuite/Makefile.in: Regenerated.
145
146         * gnu/java/lang/VMInstrumentationImpl.java: New override.
147         * gnu/java/net/local/LocalSocketImpl.java: Likewise.
148         * gnu/classpath/jdwp/VMMethod.java: Likewise.
149         * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
150         interface.
151         * java/lang/Thread.java: Add UncaughtExceptionHandler.
152         * java/lang/reflect/Method.java: Implements GenericDeclaration and
153         isSynthetic(),
154         * java/lang/reflect/Field.java: Likewise.
155         * java/lang/reflect/Constructor.java
156         * java/lang/Class.java: Implements Type, GenericDeclaration,
157         getSimpleName() and getEnclosing*() methods.
158         * java/lang/Class.h: Add new public methods.
159         * java/lang/Math.java: Add signum(), ulp() and log10().
160         * java/lang/natMath.cc (log10): New function.
161         * java/security/VMSecureRandom.java: New override.
162         * java/util/logging/Logger.java: Updated to latest classpath
163         version.
164         * java/util/logging/LogManager.java: New override.
165
166 2006-05-15  Bryce McKinlay  <mckinlay@redhat.com>
167
168         PR libgcj/27352
169         * java/lang/Class.java (getClassLoaderInternal): New method.
170         (forName (String, Class)): Use getClassLoaderInternal.
171         (getPackage): Likewise.
172         (getResource): Likewise.
173         (getResourceAsStream): Likewise.
174         (desiredAssertionStatus): Likewise.
175
176 2006-05-15  Andreas Tobler  <a.tobler@schweiz.ch>
177
178         * stacktrace.cc (StackTrace::FillInFrameInfo): Use
179         UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
180         klass->methods[j].ncode.
181
182 2006-05-13  Tom Tromey  <tromey@redhat.com>
183
184         * sources.am, Makefile.in: Rebuilt.
185         * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
186         natChannels.cc.
187         * java/nio/channels/natVMChannels.cc: Renamed from
188         natChannels.cc.
189         * java/nio/channels/Channels.java: Removed.
190         * java/nio/channels/natChannels.cc: Removed.
191         * java/nio/channels/VMChannels.java: New file.
192
193 2006-05-13  Tom Tromey  <tromey@redhat.com>
194
195         * sources.am, Makefile.in: Rebuilt.
196         * java/text/DateFormat.java: Removed.
197
198 2006-05-13  Tom Tromey  <tromey@redhat.com>
199
200         * sources.am, Makefile.in: Rebuilt.
201         * gnu/java/net/protocol/jar/Connection.java: Removed.
202         * java/net/JarURLConnection.java: Removed.
203
204 2006-05-13  Tom Tromey  <tromey@redhat.com>
205
206         * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
207         declaration.
208
209 2006-05-12  Tom Tromey  <tromey@redhat.com>
210
211         * sources.am, Makefile.in: Rebuilt.
212         * java/util/logging/LogManager.java: Removed.
213         * java/util/logging/Logger.java (resetLogger): New method, from
214         Classpath.
215         * java/io/RandomAccessFile.java: Removed.
216         * gnu/java/nio/channels/FileChannelImpl.java (create): New
217         method.
218         (FileChannelImpl): Now private.
219         * java/io/FileInputStream.java: Removed.
220         * java/io/FileOutputStream.java: Removed.
221         * java/security/AccessControlContext.java: Removed.
222         * java/lang/ThreadLocal.java: Removed.
223         * java/lang/InheritableThreadLocal.java: Removed.
224         * java/lang/Thread.java (locals): New field.
225         (getThreadLocals): New method.
226         * java/lang/natThread.cc (finish_): Clear 'locals'.
227
228 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
229
230         * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
231         fails, don't try again.
232         (use_addr2line): Field no longer final.
233
234 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
235
236         * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
237         (lookup): If addr2line fails to find an address, flag the binary as
238         having no debug info and avoid calling addr2line on it again.
239
240 2006-05-11  David Daney  <ddaney@avtrex.com>
241
242         * testsuite/libjava.compile/PR20418.java: New.
243         * testsuite/libjava.compile/PR20418.xfail: New.
244
245 2006-05-11  Andrew Haley  <aph@redhat.com>
246
247         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
248         line.
249
250 2006-05-10  Andrew Haley  <aph@redhat.com>
251
252         * java/lang/natClassLoader.cc: Add comments.
253
254 2006-05-09  Andrew Haley  <aph@redhat.com>
255
256         * prims.cc (_Jv_soleIndirectCompiledEngine): New.
257         * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
258         Remove body.
259         (_Jv_CompiledEngine::allocate_field_initializers): New.
260         (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
261         allocate_field_initializers.
262         (class _Jv_IndirectCompiledClass): New.
263         (struct _Jv_IndirectCompiledEngine): New.
264         * java/lang/Class.h: (IndirectCompiledEngine): New.
265         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
266         engine to _Jv_soleIndirectCompiledEngine
267         * link.cc (ensure_fields_laid_out): Call
268         engine->allocate_field_initializers().
269
270 2006-05-06  Andreas Tobler  <a.tobler@schweiz.ch>
271
272         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
273         HP-UX and add appropriate extension for shared libraries, sl.
274         (gcj_jni_test_one): Likewise.
275
276         * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
277         library extensions.
278
279 2006-05-05  Tom Tromey  <tromey@redhat.com>
280
281         PR libgcj/27294:
282         * java/lang/natVMClassLoader.cc (defineClass): Throw
283         VirtualMachineError if no interpreter configured.
284
285 2006-05-03  Andrew Haley  <aph@redhat.com>
286
287         PR libgcj/27352
288         * java/lang/Class.java (getClassLoader(Class)): New.
289         forName(String, Class): New.
290         * java/lang/natClass.cc (getClassLoader(Class)): New.
291
292 2006-05-02  Andrew Haley  <aph@redhat.com>
293
294         * prims.cc (_Jv_NewMultiArray): Check for phantom class.
295
296 2006-05-04  Tom Tromey  <tromey@redhat.com>
297
298         PR libgcj/26861:
299         * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
300         <insn_putfield>: Likewise.
301         (NULLCHECK): Define unconditionally.
302         * link.cc (ensure_class_linked): Removed dead code.
303
304 2006-05-04  Tom Tromey  <tromey@redhat.com>
305
306         * java/lang/Class.h (JV_STATE_LOADING): Added comment.
307         * Makefile.in: Rebuilt.
308         * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
309         * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
310         * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
311         New field.
312         (loadedClasses): Removed.
313         (findClass): Declare.
314         (addClass): Add to nativeClasses, not loadedClasses.
315
316 2006-05-04  Andrew Haley  <aph@redhat.com>
317
318         PR java/26858
319         * testsuite/libjava.lang/PR26858.xfail: Delete.
320
321 2006-05-02  Bryce McKinlay  <mckinlay@redhat.com>
322
323         * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
324         -findirect-dispatch compilation.
325
326 2006-05-01  Andreas Tobler  <a.tobler@schweiz.ch>
327
328         * configure.ac: Simplify the mmap check a bit more.
329         * configure: Rebuilt.
330         * include/config.h.in: Likewise.
331
332 2006-05-01  Roger Sayle  <roger@eyesopen.com>
333             Andrew Haley  <aph@redhat.com>
334
335         * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
336         before calling GC_register_has_static_roots_callback.
337         (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
338         HAVE_DLADDR before calling dladdr.
339
340 2006-04-28  Bryce McKinlay  <mckinlay@redhat.com>
341
342         * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
343         to resolve_method.
344         * interpret.cc (insn_invokevirtual): Use method->index, not
345         vtable_index. Check accflag FINAL to determine finals. Only do
346         explicit null check if calling a final method. Use
347         throw_null_pointer_exception.
348         (invokevirtual_resolved): Likewise.
349         (null_pointer_exc): Remove static field.
350         (throw_null_pointer_exception): Always define. Throw a new
351         NullPointerException every time.
352         * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
353         field.
354         * include/execution.h (resolve_method): Remove vtable_index argument.
355
356 2006-04-28  Andreas Tobler  <a.tobler@schweiz.ch>
357
358         * configure.ac: Add an additional checks for dladdr and dlopen on dld.
359         * configure: Rebuilt.
360
361 2006-04-25  Tom Tromey  <tromey@redhat.com>
362
363         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
364         Include platform.h.  Set GC_DEBUG before including gc.h, if
365         needed.
366
367 2006-04-25  Andrew Haley  <aph@redhat.com>
368
369         * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
370         * boehm.cc: Don't include link.h.
371         (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
372
373 2006-04-24  Tom Tromey  <tromey@redhat.com>
374
375         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
376
377 2006-04-21  Andrew Haley  <aph@redhat.com>
378
379         * include/execution.h (struct _Jv_CompiledEngine): Define for
380         compiled classes.
381         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
382         _Jv_RegisterLibForGc.
383         (_Jv_RegisterClasses_Counted): Likewise.
384         (_Jv_NewClassFromInitializer): New.
385         (_Jv_RegisterNewClasses): New.
386         * sources.am: Regenerate.
387         * boehm.cc (_Jv_GC_has_static_roots): new.
388         (_Jv_InitGC): Call GC_register_has_static_roots_callback.
389         (filename_node, find_file, _Jv_print_gc_store, new_node,
390         _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
391         * scripts/makemake.tcl: Add -fno-indirect-classes.
392         * Makefile.in: Regenerate.
393         * link.cc (resolve_pool_entry): Allocate constant pool.
394         Allocate fields.
395         
396 2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>
397
398         * configure.ac: Weaken the check for MMAP.
399         * configure: Rebuilt.
400         * include/config.h.in: Likewise.
401
402 2006-04-20  Bryce McKinlay  <mckinlay@redhat.com>
403
404         PR libgcj/27170
405         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
406         dlopen(). From Anthony Green.
407
408 2006-04-20  Tom Tromey  <tromey@redhat.com>
409
410         PR libgcj/21941:
411         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
412         UnknownHostException if needed.
413         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
414         UnknownHostException if needed.
415
416 2006-04-19  Tom Tromey  <tromey@redhat.com>
417
418         * Makefile.in: Rebuilt.
419         * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
420         all_java_deps_files.
421
422 2006-04-19  Tom Tromey  <tromey@redhat.com>
423
424         * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
425         handle EINTR.
426
427 2006-04-17  Tom Tromey  <tromey@redhat.com>
428
429         PR libgcj/27171:
430         * testsuite/libjava.lang/pr27171.java: New file.
431         * testsuite/libjava.lang/pr27171.out: New file.
432         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
433         true if we've seen a high surrogate.
434         (write): Handle high surrogates at the end of the stream.
435         Properly emit isolated low surrogates.
436
437 2006-04-17  Andreas Tobler  <a.tobler@schweiz.ch>
438
439         * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
440         of failure.
441
442 2006-04-13  Tom Tromey  <tromey@redhat.com>
443
444         PR libgcj/26522:
445         * Makefile.in: Rebuilt.
446         * Makefile.am (libsubdir): New variable.
447
448 2006-04-12  NAKATA Maho  <maho@FreeBSD.org> 
449
450         PR libgcj/23829
451         * configure.ac: Link against -lpthread rather than -lc_r on
452         FreeBSD 5 and above.
453         * configure: Regenerate.
454
455 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
456
457         * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
458         of package-private field "loadedClasses" using reflection.
459         * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
460         block.
461
462 2006-04-10  Matthias Klose  <doko@debian.org>
463
464         * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
465         directory names containing underscores.
466
467 2006-04-10  Andrew Haley  <aph@redhat.com>
468
469         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
470         (SIGNAL_HANDLER): Mark arg as unused.
471         * configure.host (x86_64-* DIVIDESPEC): Use
472         fno-use-divide-subroutine.
473
474 2006-04-07  Andrew Haley  <aph@redhat.com>
475
476         * java/net/InetAddress.java: Throw an UnknownHostException if
477         lookup fails.
478
479 2006-04-05  Tom Tromey  <tromey@redhat.com>
480
481         PR libgcj/26625:
482         * Makefile.in: Rebuilt.
483         * Makefile.am (libgcj-$(gcc_version).jar): Depend on
484         classpath/lib/compile-classes.
485
486 2006-04-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
487
488         * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
489         MinGW since EBP is used for backtracking through call frames on this
490         platform.
491
492 2006-04-05  Archit Shah  <ashah@redhat.com>
493
494         PR java/25414
495         * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
496         Add classpath argument.
497         * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
498         caller.
499         * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
500         * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
501         * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
502         * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
503         mkdirs for destination directory, correct handling of superclasses
504         and interfaces of the remote class, correct handling of exceptions
505         declared by remote methods.
506
507 2006-04-04  Tom Tromey  <tromey@redhat.com>
508
509         PR libgcj/26990:
510         * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
511         * gnu/java/lang/natMainThread.cc (call_main): Use
512         exitNoChecksAccessor.
513         * testsuite/libjava.lang/pr26990.out: New file.
514         * testsuite/libjava.lang/pr26990.java: New file.
515         * java/lang/Runtime.java (exitNoChecks): New method.
516         (exitNoChecksAccessor): Likewise.
517         (exit): Call exitNoChecks.
518
519 2006-04-03  Tom Tromey  <tromey@redhat.com>
520
521         * Makefile.in: Rebuilt.
522         * Makefile.am (ZIP): Removed.
523         (libgcj-$(gcc_version).jar): Use $(JAR).
524         (src.zip): Likewise.
525         * configure: Rebuilt.
526         * configure.ac: Check for jar.  Removed code to set ZIP.
527
528 2006-04-03  Andrew Haley  <aph@redhat.com>
529
530         * testsuite/libjava.lang/Float_2.java: New file.
531
532 2006-03-31  Andreas Tobler  <a.tobler@schweiz.ch>
533
534         * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
535
536 2006-03-30  Tom Tromey  <tromey@redhat.com>
537
538         PR java/26042:
539         * testsuite/libjava.compile/pr26042.java: New file.
540
541 2006-03-29  Tom Tromey  <tromey@redhat.com>
542
543         * sources.am, Makefile.in: Rebuilt.
544         * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
545
546 2006-03-29  Tom Tromey  <tromey@redhat.com>
547
548         PR java/26390:
549         * testsuite/libjava.lang/pr26390.out: New file.
550         * testsuite/libjava.lang/pr26390.java: New file.
551         * sources.am, Makefile.in: Rebuilt.
552         * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
553
554 2006-03-29  Tom Tromey  <tromey@redhat.com>
555
556         * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
557         CLOCK_HIGHRES.
558
559 2006-03-28  Anthony Balkissoon  <abalkiss@redhat.com>
560
561         * scripts/unicode-muncher.pl: Removed this file.
562         * scripts/MakeCharTables.java: Likewise.
563         * scripts/unicode-to-chartables.pl: New file.
564         * java/lang/natCharacter.cc: 
565         (UNASSIGNED_TYPE): New field.
566         (UNASSIGNED_DIGIT): Likewise.
567         (UNASSIGNED_DIRECTION): Likewise.
568         (UNASSIGNED_NUMERIC_VALUE): Likewise.
569         (PRIVATE_TYPE): Likewise.
570         (PRIVATE_DIRECTION): Likewise.
571         (readCodePoint): New method.
572         (getType(jint)): Likewise.
573         (toLowerCase(jint)): Likewise.
574         (toUpperCase(jint)): Likewise.
575         (toTitleCase(jint)): Likewise.
576         (digit(jint, jint)): Likewise.
577         (getNumericValue(jint)): Likewise.
578         (getDirectionality(jint)): Likewise.
579         (readChar),
580         (getType(jchar)),
581         (toLowerCase(jchar)),
582         (toUpperCase(jchar)),
583         (toTitleCase(jchar)),
584         (digit(jchar, jint)),
585         (getNumericValue(jchar)),
586         (getDirectionality(jchar)): Changed references from data to data[0], 
587         blocks to blocks[0], direction to direction[0], numValue to 
588         numValue[0], upper to upper[0], lower to lower[0], and shift to 
589         shift[0] to reflect the new structures in java-chartables.h.    
590         * java/lang/Character.java:
591         (readCodePoint): Declared new native method.
592         (getType(int)): Likewise.
593         (toLowerCase(int)): Likewise.
594         (toUpperCase(int)): Likewise.
595         (toTitleCase(int)): Likewise.
596         (digit(int, int)): Likewise.
597         (getNumericValue(int)): Likewise.
598         (getDirectionality(int)): Likewise.
599         (isLowerCase(int)): New method.
600         (isUpperCase(int)): Likewise.
601         (itTitleCase(int)): Likewise.
602         (isDigit(int)): Likewise.
603         (isDefined(int)): Likewise.
604         (isLetter(int)): Likewise.
605         (isLetterOrDigit(int)): Likewise.
606         (isJavaIdentifierStart(int)): Likewise.
607         (isJavaIdentifierPart(int)): Likewise.
608         (isUnicodeIdentifierStart(int)): Likewise.
609         (isUnicodeIdentifierPart(int)): Likewise.
610         (isIdentifierIgnorable(int)): Likewise.
611         (isSpaceChar(int)): Likewise.
612         (isWhitespace(int)): Likewise.
613         (isISOControl(int)): Likewise.
614         (isMirrored(int)): Likewise.
615         * include/java-chartables.h: Generated from 
616         scripts/unicode-to-chartables.h.
617
618 2006-03-24  David Daney  <ddaney@avtrex.com)
619
620         * testsuite/libjava.lang/PR26858.java: New test.
621         * testsuite/libjava.lang/PR26858.out: Ditto.
622         * testsuite/libjava.lang/PR26858.xfail: Ditto.
623
624 2006-03-16  Kaz Kojima  <kkojima@gcc.gnu.org>
625
626         * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
627         macro.
628         
629 2006-03-15  Tom Tromey  <tromey@redhat.com>
630
631         * testsuite/libjava.jacks/jacks.xfail: Removed
632         13.1-runtime-method-5.
633
634 2006-03-15  Tom Tromey  <tromey@redhat.com>
635
636         PR java/26638:
637         * link.cc (get_interfaces): Skip <clinit>.
638         (append_partial_itable): Likewise.
639
640 2006-03-10  Tom Tromey  <tromey@redhat.com>
641
642         PR libgcj/25713:
643         * java/util/zip/Deflater.java (flush): New method.
644         * sources.am, Makefile.in: Rebuilt.
645         * java/util/zip/DeflaterOutputStream.java: Removed.
646         * java/util/zip/InflaterInputStream.java: Likewise.
647         * java/util/zip/GZIPInputStream.java: Likewise.
648         * java/util/zip/GZIPOutputStream.java: Likewise.
649
650 2006-03-10  Andreas Tobler  <a.tobler@schweiz.ch>
651
652         * include/powerpc-signal.h: Fix typo in comment.
653
654 2006-03-09  Mark Wielaard  <mark@klomp.org>
655
656         Imported GNU Classpath 0.90
657         * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
658         * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
659         * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
660         * java/lang/Math.java: New override file.
661         * java/lang/Character.java: Merged from Classpath.
662         (start, end): Now 'int's.
663         (canonicalName): New field.
664         (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
665         (UnicodeBlock): Added argument.
666         (of): New overload.
667         (forName): New method.
668         Updated unicode blocks.
669         (sets): Updated.
670         * sources.am: Regenerated.
671         * Makefile.in: Likewise.
672
673 2006-03-09  Tom Tromey  <tromey@redhat.com>
674
675         PR libgcj/23495:
676         * java/lang/natString.cc (_Jv_NewString): Use memcpy.
677         (equals): Use memcmp.
678         (contentEquals): Likewise.
679         (getChars): Use memcpy.
680         (toCharArray): Likewise.
681         (regionMatches): Use memcmp.
682         (regionMatches): Likewise.
683         (startsWith): Likewise.
684         (concat): Use memcpy.
685         (valueOf): Likewise.
686
687 2006-03-09  Tom Tromey  <tromey@redhat.com>
688
689         * configure: Rebuilt.
690         * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
691         well.
692
693 2006-03-09  Tom Tromey  <tromey@redhat.com>
694
695         PR libgcj/24461:
696         * java/util/zip/InflaterInputStream.java (fill): Throw exception
697         if stream is truncated.
698
699 2006-03-09  Tom Tromey  <tromey@redhat.com>
700
701         * win32.cc (_Jv_platform_nanotime): New function.
702         * include/win32.h (_Jv_platform_nanotime): Declare.
703         * posix.cc (_Jv_platform_nanotime): New function.
704         * include/posix.h (_Jv_platform_nanotime): Declare.
705         * java/lang/natSystem.cc (nanoTime): New method.
706         * java/lang/System.java (nanoTime): Declare.
707         * include/config.h.in, configure: Rebuilt.
708         * configure.ac: Check for clock_gettime.
709
710 2006-03-08  David Daney  <ddaney@avtrex.com>
711
712         * configure.ac (LD): Add AC_CHECK_TOOL for ld.
713         (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
714         (LD_FINISH_STATIC_SPEC): Ditto
715         * configure: Regenerated.
716         * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
717         LD_FINISH_STATIC_SPEC.
718         
719 2006-03-07  Tom Tromey  <tromey@redhat.com>
720
721         PR libgcj/26103:
722         * java/lang/ClassLoader.java (loadClass): Don't throw
723         StringIndexOutOfBoundsException if name is empty.
724         * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
725         if class not found.
726
727 2006-03-07  David Daney  <ddaney@avtrex.com>
728
729         * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
730
731 2006-03-07  David Daney  <ddaney@avtrex.com>
732
733         * link.cc: Include ffi.h if USE_LIBFFI defined.
734         
735 2006-03-03  Tom Tromey  <tromey@redhat.com>
736
737         * interpret.cc (do_allocate_static_fields): Added comment.
738
739 2006-03-01  Tom Tromey  <tromey@redhat.com>
740
741         PR java/24321:
742         * testsuite/libjava.lang/pr24321.java: New file.
743         * testsuite/libjava.lang/pr24321.out: New file.
744         * java/lang/natClass.cc (isInstance): Don't initialize class.
745         (isAssignableFrom): Likewise.
746
747 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
748
749         PR other/26208
750         * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
751         of _Unwind_GetIP.
752         * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
753         (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
754         to throw.
755         * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
756         macro.
757         * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
758         macro.
759
760 2006-02-23  Scott Gilbertson  <scottg@mantatest.com>
761
762         * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
763         before returning, handle null clip.
764         (getClipBounds): Handle null clip.
765         * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
766         * gnu/awt/xlib/XCanvasPeer.java (): 
767         (getLocationOnScreen): Implement.
768         * classpath/gnu/java/awt/peer/GLightweightPeer.java
769         (repaint): Merged with Classpath.
770         * classpath/java/awt/Graphics.java (hitClip): Merged with
771         Classpath.
772
773 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
774
775         * link.cc: Added variant of create_error_method that
776         will not complain about unused parameter if compiled with
777         USE_LIBFFI not being defined.
778         (_Jv_Linker::find_field_helper): Fixed indentation.
779         (_Jv_Linker::create_error_method): Fixed indentation.
780         (_Jv_Linker::link_symbol_table): Fixed indentation.
781
782 2006-02-16  Andrew Haley  <aph@redhat.com>
783
784         * stacktrace.cc (GetStackTraceElements): Call
785         gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
786         non-Java frames should be removed from a printed stack trace.
787         Pass methodName to getLineNumberForFrame().
788         (getLineNumberForFrame): Set method_name from info.dli_sname.
789         * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
790         (remove_unknown): New variable.
791         * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
792         Add methodName arg.
793
794 2006-02-15  Matthias Klose  <doko@debian.org>
795
796         * gnu/java/nio/charset, gnu/java/net/protocol/file,
797         gnu/regexp: Remove empty directories.
798
799 2006-02-09  Bryce McKinlay  <mckinlay@redhat.com>
800
801         * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put 
802         'itable' inline, instead of as a pointer.
803         (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
804         * link.cc (null_idt): Update definition.
805         (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
806         as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
807         (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
808         (_Jv_Linker::find_iindex): Likewise. Update comment.
809         * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
810         _Jv_IDispatchTable change.
811         (_Jv_IsAssignableFrom): Likewise.
812
813 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
814
815         PR libgcj/25187:
816         * gnu/gcj/io/natSimpleSHSStream.cc
817         (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
818         * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
819         _Jv_InterpFrame(). 
820         * boehm.cc: #undef some autoconf macros before including gc-config.h.
821         (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
822         (_Jv_MarkArray): Likewise.
823         * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
824         Simplify _Jv_GCRegisterDisappearingLink() call.
825         * java/lang/Class.h (getComponentType): Use element_type.
826         (element_type): New field declaration, as a union with "methods".
827         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
828         * java/net/natVMNetworkInterfacePosix.cc
829         (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
830         avoid sign comparison warning.  
831         * include/java-interp.h (_Jv_InterpFrame): Take thread as second
832         argument, not parent call frame.
833         * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
834         without a cast.
835         (restore_rt): Declare with hidden visibility, not "static".
836         * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
837         constant.
838         * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
839         warning.
840
841 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
842
843         PR libgcj/26113:
844         * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
845         as "const char *".
846         * verify.cc (verify_fail): Likewise.
847         * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
848         * interpret.cc (throw_internal_error, throw_class_format_error):
849         Likewise.
850         * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, 
851         _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
852         * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
853         * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
854         * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
855         is_attribute_name): Likewise.
856         * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
857         _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
858
859 2006-02-08  Tom Tromey  <tromey@redhat.com>
860
861         PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
862         * defineclass.cc (parse): Use _Jv_AllocRawObj.
863         (read_constpool): Likewise.
864         (read_one_code_attribute): Use internal function name.
865         (handleConstantPool): Use _Jv_AllocRawObj.
866         (handleInterfacesBegin): Likewise.
867         (handleFieldsBegin): Likewise.
868         (handleMethodsBegin): Likewise.
869         (handleCodeAttribute): Likewise.
870         (handleMethodsEnd): Likewise.
871         * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
872         * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
873         Allocate reference fields separately.
874         * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
875         (add_miranda_methods): Likewise.
876         (generate_itable): Use _Jv_AllocBytes.
877         (find_iindex): Likewise.
878         (struct method_closure): New structure.
879         (create_error_method): Use struct method_closure; allocate with
880         _Jv_AllocBytes.
881         (ensure_fields_laid_out): Separate reference fields from
882         non-reference fields.
883         * boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
884         of Class.
885         (_Jv_MarkArray): Mark vtable.
886         (_Jv_AllocRawObj): Don't allocate objects of size 0.
887         * include/execution.h
888         (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
889         parameter.
890         (struct _Jv_CompiledEngine): Updated.
891         (class _Jv_InterpreterEngine): Updated.
892
893 2006-02-08  Tom Tromey  <tromey@redhat.com>
894
895         PR java/22578:
896         * gcj/javaprims.h: Updated.
897         * sources.am, Makefile.in: Rebuilt.
898         * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
899         (doubleToRawLongBits): Likewise.
900         (longBitsToDouble): Likewise.
901         (toString): Likewise.
902         (parseDouble): Likewise.
903         * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
904         (floatToRawIntBits): Likewise.
905         (intBitsToFloat): Likewise.
906         * java/lang/VMDouble.java: New file.
907         * java/lang/VMFloat.java: New file.
908         * java/lang/Float.java, java/lang/Double.java: Removed.
909
910 2006-02-06  Tom Tromey  <tromey@redhat.com>
911
912         * gij.cc (version): Use 2006.
913         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
914         * gnu/gcj/convert/Convert.java (version): Use 2006.
915         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
916
917 2006-02-04  Tom Tromey  <tromey@redhat.com>
918
919         PR java/25676:
920         * testsuite/libjava.lang/pr25676.out: New file.
921         * testsuite/libjava.lang/pr25676.java: New file.
922
923 2006-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
924
925         * Makefile.am (src.zip): Update src.zip file search to look in
926         classpath directory.
927         * Makefile.in: Regenerate.
928
929 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
930
931         * link.cc:
932         (_Jv_Linker::create_error_method): Added missing (void *) cast.
933
934 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
935
936         * include/jvm.h:
937         (_Jv_Linker::create_error_method): New method declaration.
938         * link.cc:
939         (_Jv_Linker::create_error_method): New method.
940         (_Jv_Linker::link_symbol_table): Use new method above.
941
942 2006-02-01  Robert Schuster  <robertschuster@fsfe.org>
943
944         * link.cc:
945         (_Jv_Linker::find_field_helper): Added checks.
946         (_Jv_Linker::find_field): Use exception swallowing class resolution
947         and added early return.
948         (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
949         (_Jv_Linker::link_symbol_table):  Use exception swallowing class
950         resolution, added ffi_closure installation routine, use
951         _Jv_ThrowNoClassDefFoundError for missing static method.
952         (_Jv_Linker::ensure_class_linked): Added string check which does
953         not trigger class resolution.
954         * java/lang/natClassLoader.cc:
955         (_Jv_FindClassNoException): New method.
956         * java/lang/Class.h:
957         (_Jv_FindClassNoException): New method declaration.
958         * include/jvm.h:
959         (_Jv_FindClassNoException): New method declaration.
960         (_Jv_FindClassFromSignatureNoException): New method declaration.
961         * prims.cc:
962         (_Jv_FindClassFromSignatureNoException): New method.
963         * gcj/javaprims.h:
964         (_Jv_equalsUtf8Classname): New method declaration.
965         (_Jv_isPrimitiveOrDerived): Dito.
966         * prims.cc:
967         (_Jv_equalsUtf8Classnames): New method.
968         (_Jv_isPrimitiveOrDerived): New method.
969         * verify.cc:
970         (ref_intersection::equals): Use new classname comparison method.
971         (type::compatible): Use new classname comparison method. Added
972         check whether LHS' type is java.lang.Object .
973         (type::resolve): Added new optional debug message and simplified
974         if-expression.
975         (type::to_array): Added codepath that generates an array type
976         without resolving the element type.
977
978 2006-01-31  Mark Wielaard  <mark@klomp.org>
979  
980         * NEWS: Add 4.1 updates.
981  
982 2006-01-30  Keith Seitz  <keiths@redhat.com>
983
984         * include/java-interp.h (insn_index): New declaration.
985         (num_insn_slots): New private variable.
986         (get_line_table): New declaration.
987         * interpret.cc (insn_index): New function.
988         (get_line_table): New function.
989
990 2006-01-24  Archit Shah  <ashah@redhat.com>
991             Tom Tromey  <tromey@redhat.com>
992
993         * prims.cc (next_property_value): Never return NULL.
994         (process_gcj_properties): Copy 'props' before using it.
995
996 2006-01-23  Keith Seitz  <keiths@redhat.com>
997
998         * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
999         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
1000
1001 2006-01-23  David Daney  <ddaney@avtrex.com>
1002
1003         * configure.host (disable_dladdr): Remove variable and its
1004         documentation.
1005         * configure.ac: Do not test for disable_dladdr.
1006         * configure: Regenerate.
1007         * include/config.h.in: Regenerate.
1008
1009 2006-01-18  Tom Tromey  <tromey@redhat.com>
1010
1011         * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
1012         already exists.
1013
1014 2006-01-18  Keith Seitz  <keiths@redhat.com>
1015
1016         * include/java-interp.h (_Jv_CompileMethod): Add declaration.
1017         (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
1018         * interpret.cc (_Jv_CompileMethod): New function.
1019         (run):  Massage code to allow for NULL args.
1020         Update comments to explain NULL args.
1021         Return if compiling the method and args is NULL.
1022
1023 2006-01-18  H.J. Lu  <hongjiu.lu@intel.com>
1024
1025         PR libgcj/25840
1026         * include/x86_64-signal.h (RESTORE2): Add ".text\n".
1027
1028 2006-01-17  Tom Tromey  <tromey@redhat.com>
1029
1030         PR classpath/20198:
1031         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
1032         (JarURLLoader): Likewise.
1033         (addURLImpl): Canonicalize file URLs.
1034
1035 2006-01-16  Mark Wielaard  <mark@klomp.org>
1036
1037         Imported GNU Classpath 0.20
1038         * Makefile.am (AM_CPPFLAGS): Add classpath/include.
1039         * java/nio/charset/spi/CharsetProvider.java: New override file.
1040         * java/security/Security.java: Likewise.
1041         * sources.am: Regenerated.
1042         * Makefile.in: Likewise.
1043
1044 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
1045
1046         * configure.ac (dbexecdir): New substituted var.
1047         * configure: Rebuilt.
1048         * Makefile.am (dbexecdir): Remove.
1049         * Makefile.in: Rebuilt.
1050
1051 2006-01-13  Tom Tromey  <tromey@redhat.com>
1052
1053         * gnu/regexp/MessagesBundle_fr.properties: Removed.
1054         * gnu/regexp/MessagesBundle.properties: Removed.
1055
1056 2006-01-13  Tom Tromey  <tromey@redhat.com>
1057
1058         * java/security/classpath.security: Removed.
1059         * Makefile.in: Rebuilt.
1060         * Makefile.am (install-data-local): Don't install
1061         classpath.security.
1062
1063 2006-01-08  Chris Burdess  <dog@gnu.org>
1064
1065         * java/lang/Character.java (toChars,toCodePoint): Correct these
1066           methods to use algorithms from Unicode specification.
1067
1068 2006-01-08  Tom Tromey  <tromey@redhat.com>
1069
1070         * java/lang/StringBuilder.java (appendCodePoint): New method.
1071         (insert): New overloads.
1072         * java/lang/StringBuffer.java (StringBuffer): New constructor.
1073         (charAt): Remerged javadoc.
1074         (codePointAt, codePointBefore): New methods.
1075         (appendCodePoint): New method.
1076         (append): New overloads.
1077         (insert): Likewise.
1078         (trimToSize, codePointCount, offsetByCodePoints): New methods.
1079         * java/lang/Float.java (SIZE): New field.
1080         (valueOf): New method.
1081         * java/lang/natDouble.cc (initIDs): Removed.
1082         * java/lang/Double.java (static initializer): Removed.
1083         (SIZE): New field.
1084         (valueOf): New method.
1085         (initIDs): Removed.
1086
1087 2006-01-07  Jakub Jelinek  <jakub@redhat.com>
1088
1089         PR libgcj/24940
1090         * shlibpath.m4: Replace $SED with sed.
1091         * configure: Rebuilt.
1092
1093 2006-01-06  Tom Tromey  <tromey@redhat.com>
1094
1095         * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
1096         MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
1097         (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
1098         MAX_LOW_SURROGATE): Javadoc fixes.
1099         (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
1100         isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
1101         methods from Classpath.
1102         * java/lang/String.java (codePointAt, codePointBefore,
1103         codePointCount, contains, replace): New methods from Classpath.
1104         (contentEquals): Declare.
1105         * java/lang/natString.cc (contentEquals): New method.
1106
1107 2005-12-26  Anthony Green  <green@redhat.com>
1108
1109         * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
1110         of data to read (dst.remaining()).
1111         * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
1112
1113 2005-11-11  Mark Wielaard  <mark@klomp.org>
1114
1115         Reported by john.zigman@anu.edu.au as bug #24608.
1116         * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
1117         destination ByteBuffer when it doesn't have an array instead of len
1118         bytes.
1119
1120 2006-01-05  Tom Tromey  <tromey@redhat.com>
1121
1122         * java/lang/natThread.cc (finish_): Don't clear 'group'.
1123         * sources.am, Makefile.in: Rebuilt.
1124         * java/lang/Runtime.java (exit): Merged with Classpath.
1125         (runShutdownHooks): New method from Classpath.
1126         * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
1127         FileDeleter.
1128         * gnu/gcj/runtime/FileDeleter.java: Removed.
1129         * java/lang/natRuntime.cc (runFinalizationForExit): New method.
1130         (exitInternal): Don't run finalizers or delete files.
1131
1132 2006-01-05  Tom Tromey  <tromey@redhat.com>
1133
1134         * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
1135
1136 2006-01-04  Krister Walfridsson  <cato@df.lth.se>
1137
1138         * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
1139
1140 2006-01-04  Tom Tromey  <tromey@redhat.com>
1141
1142         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
1143         * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
1144         Changed argument type.  Use SystemClassLoader.addClass.
1145         * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
1146
1147 2005-12-24  David Daney <ddaney@avtrex.com>
1148             Tom Tromey  <tromey@redhat.com>
1149
1150         PR libgcj/9715, PR libgcj/19132:
1151         * java/nio/charset/Charset.java (charsetForName): Try default
1152         provider first.
1153         (availableCharsets): Re-merged.
1154         (providers2): Likewise.
1155         (defaultCharset): Likewise.
1156         * sources.am, Makefile.in: Rebuilt.
1157         * gnu/java/nio/charset/Provider.java: Removed.
1158         * java/io/OutputStreamWriter.java
1159         (OutputStreamWriter(OutputStream,Charset)): New constructor.
1160         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
1161         * java/io/InputStreamReader.java
1162         (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
1163         (InputStreamReader(InputStream,Charset)): Likewise.
1164         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
1165         BytesToCharsetAdaptor.
1166         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
1167         CharsetToBytesAdaptor.
1168         * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
1169         * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
1170         * mauve-libgcj: Remove getEncoding exclusion.
1171
1172 2005-12-28  Anthony Green  <green@redhat.com>
1173
1174         * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
1175         as previous patch, but for win32.
1176
1177 2005-12-28  Anthony Green  <green@redhat.com>
1178
1179         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
1180         address and port before attempting anything.
1181
1182 2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1183
1184         * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
1185         operation atomic.
1186
1187 2005-12-22  Andrew Haley  <aph@redhat.com>
1188
1189         PR java/25535
1190         * testsuite/libjava.lang/PR25535.java: New test.
1191
1192 2005-12-22  Tom Tromey  <tromey@redhat.com>
1193
1194         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
1195         reference NUM_OBJECT_METHODS.
1196         * include/jvm.h (NUM_OBJECT_METHODS): Removed.
1197
1198 2005-12-18  Anthony Green  <green@redhat.com>
1199
1200         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress): 
1201         New helper function.
1202         (setOption): Use getLocalAddress.  Don't downcast value to
1203         InetAddress.
1204         (getOption): Use getLocalAddress.
1205
1206 2005-12-16  Tom Tromey  <tromey@redhat.com>
1207
1208         * java/lang/Class.java (getPackage): Get package from
1209         VMClassLoader if needed.
1210
1211 2005-12-16  Tom Tromey  <tromey@redhat.com>
1212
1213         * testsuite/libjava.jacks/jacks.xfail
1214         (8.5.2-accessible-static-member-usage-3): Removed.
1215
1216 2005-12-15  Tom Tromey  <tromey@redhat.com>
1217
1218         * testsuite/libjava.compile/rh175833.java: New file.
1219         * testsuite/libjava.compile/pr25429.java: New file.
1220
1221 2005-12-15  Alan Modra  <amodra@bigpond.net.au>
1222
1223         * testsuite/lib/libjava.exp: Revert 2005-12-01.
1224         * testsuite/libjava.lang/Array_3.xfail: Delete.
1225
1226 2005-12-14  Andrew Haley  <aph@redhat.com>
1227
1228         * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
1229         handle stdout from the child process.
1230
1231 2005-12-14  Tom Tromey  <tromey@redhat.com>
1232
1233         PR classpath/25389:
1234         * java/io/File.java (File): Throw IllegalArgumentException if URI is
1235         non-hierarchical.
1236
1237 2005-12-12  Andrew Haley  <aph@redhat.com>
1238
1239         * java/lang/VMCompiler.java: Directly generate a new instance of
1240         gnu.java.security.provider.MD5.
1241
1242 2005-12-08  Andrew Haley  <aph@redhat.com>
1243
1244         PR libgcj/25265
1245         * java/lang/Object.h (throwNoSuchMethodError): New method.
1246         * java/lang/Object.java (throwNoSuchMethodError): New method.
1247         * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
1248         * link.cc (_Jv_ThrowNoSuchFieldError): New.
1249         (link_symbol_table): Don't throw a NoSuchFieldError if a field is
1250         missing.  Instead, set the otable entry to zero.
1251         (link_symbol_table): If we don't find a nonstatic method, insert
1252         the vtable offset of Object.throwNoSuchMethodError() into the
1253         otable.
1254
1255 2005-12-05  Tom Tromey  <tromey@redhat.com>
1256
1257         * testsuite/libjava.compile/rh174912.java: New file.
1258
1259 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
1260
1261         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
1262         xfail-byte-exec.
1263         * testsuite/libjava.lang/Array_3.xfail: New file.
1264
1265 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
1266
1267         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
1268         to compare _Jv_InterpMethod::run against current func.
1269
1270 2005-11-30  Andrew Haley  <aph@redhat.com>
1271
1272         * classpath/lib/Makefile.am (resources): Use `cp -p'.
1273         Remove `@' from start of line.
1274
1275 2005-11-28  Tom Tromey  <tromey@redhat.com>
1276
1277         PR java/18278:
1278         * testsuite/libjava.jni/pr18278.out: New file.
1279         * testsuite/libjava.jni/pr18278.c: New file.
1280         * testsuite/libjava.jni/pr18278.java: New file.
1281         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
1282         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
1283         (call): Unwrap return value if needed.
1284
1285 2005-11-25  Mark Wielaard  <mark@klomp.org>
1286
1287         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
1288         gnu/javax/rmi.
1289         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
1290         gnu/javax/rmi to bc.
1291         * gnu/CORBA/ObjectCreator.java: New override file for missing
1292         VMStackWalker issue.
1293         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
1294         * gnu/CORBA/DynAn/RecordAny.java: Likewise
1295         * sources.am: Regenerated.
1296         * Makefile.in: Regenerated
1297
1298 2005-11-25  Andrew Haley  <aph@redhat.com>
1299
1300         PR libgcj/25016
1301         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
1302         struct timespec we pass to pthread_cond_timedwait.
1303
1304 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
1305
1306         * testsuite/libjava.jacks/jacks.xfail: Remove
1307         non-jls-argument-expansion-13 and add
1308         non-jls-argument-expansion-error-1 in response to the @file support
1309         patch in the main GCC driver.
1310
1311 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
1312
1313         * sysdep/ia64-frame.h: Removed.
1314         * sysdep/ia64.c: Removed.
1315         * sysdep/dwarf2-backtrace.cc: Removed.
1316         * configure.ac: Remove references to HAVE_BACKTRACE and
1317         SUPPLY_BACKTRACE.
1318         * Makefile.am: Remove SUPPLY_BACKTRACE support.
1319         * configure: Rebuilt.
1320         * Makefile.in: Rebuilt.
1321
1322 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
1323
1324         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
1325
1326 2005-11-17  Mark Wielaard  <mark@klomp.org>
1327
1328         Imported GNU Classpath gcj-import-20051117.
1329         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
1330         * sources.am: Regenerated.
1331         * Makefile.in: Likewise.
1332
1333 2005-11-17  Mark Wielaard  <mark@klomp.org>
1334
1335         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
1336         * java/net/ServerSocket.java: Likewise.
1337         * sources.am: Regenerated.
1338         * Makefile.in: Regenerated.
1339
1340 2005-11-17  Mark Wielaard  <mark@klomp.org>
1341
1342         Fixes bug #24006
1343         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
1344
1345 2005-11-17  Tom Tromey  <tromey@redhat.com>
1346
1347         * java/net/ServerSocket.java (accept): Use correct security manager
1348         call.
1349
1350 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1351
1352         * java/net/ServerSocket.java
1353         (bound): Removed.
1354         (local): New field.
1355         (bind): Cache local socket address.
1356         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
1357         Use cached local socket address.
1358         (close): bound field was removed.
1359
1360 2005-11-17  Tom Tromey  <tromey@redhat.com>
1361
1362         * java/net/URLConnection.java (setDoInput): Javadoc fix.
1363         (setDoOutput): Likewise.
1364         (setContentHandlerFactory): Likewise.
1365         (setFileNameMap): Likewise.
1366
1367 2005-11-17  Mark Wielaard  <mark@klomp.org>
1368
1369         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
1370
1371 2005-11-17  Mark Wielaard  <mark@klomp.org>
1372
1373         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
1374         call urls.add() and addURLImpl() directly on each URL.
1375
1376 2005-11-17  Tom Tromey  <tromey@redhat.com>
1377
1378         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
1379
1380 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1381
1382         * java/net/URLClassLoader.java
1383         (Resource.name): Removed field.
1384         (JarURLResource.name): Added field.
1385         (FileResource.getURL): Use File.toURL() instead of doing it in
1386         a way that breaks on Windows.
1387
1388 2005-11-17  Roman Kennke  <roman@kennke.org>
1389
1390         Reported by: Ingo Proetel  <proetel@aicas.com>
1391         * java/net/URLClassLoader.java
1392         (findClass): Added null check to avoid NullPointerException.
1393
1394 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1395
1396         * java/net/URLClassLoader.java: reordered some API doc comments to
1397         suppress Eclipse warnings, and fixed API doc link.
1398
1399 2005-11-17  Tom Tromey  <tromey@redhat.com>
1400
1401         * java/net/URLClassLoader.java (URLClassLoader): Removed
1402         unused constructor.
1403
1404 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1405
1406         * java/net/URLClassLoader (findClass): Close InputStream after we're
1407         done with it.
1408
1409 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
1410
1411         Implement -Xss.
1412         * include/jvm.h (gcj::stack_size): Declare.
1413         (_Jv_StackSize): Declare.
1414         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
1415         (_Jv_ThreadStart): Set stack size if specified.
1416         * prims.cc (gcj::stack_size): Define.
1417         (parse_memory_size): Renamed from parse_heap_size.
1418         (_Jv_SetStackSize): Parse stack size argument and set 
1419         gcj::stack_size.
1420
1421 2005-11-17  Mark Wielaard  <mark@klomp.org>
1422
1423         * java/text/SimpleDateFormat.java: Removed, fully merged now.
1424         * sources.am: Regenerated.
1425         * Makefile.in: Regenerated.
1426
1427 2005-11-17  Sven de Marothy  <sven@physto.se>
1428
1429         * java/text/SimpleDateFormat.java
1430         (computeOffset): Allow timezone to be first in the parsed String.
1431
1432 2005-11-17  Mark Wielaard  <mark@klomp.org>
1433
1434         * java/text/SimpleDateFormat.java (field, size): Make package private.
1435
1436 2005-11-17  Tom Tromey  <tromey@redhat.com>
1437
1438         * java/text/SimpleDateFormat.java (compileFormat): Correctly
1439         handle quoted single quotes.  PR classspath/23183.
1440
1441 2005-11-17  Tom Tromey  <tromey@redhat.com>
1442
1443         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
1444
1445 2005-11-17  Tom Tromey  <tromey@redhat.com>
1446
1447         * java/text/DateFormat.java (serialVersionUID): New field.
1448
1449 2005-11-17  Mark Wielaard  <mark@klomp.org>
1450
1451         * java/text/DateFormat.java (equals): Reimplement.
1452
1453 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1454
1455         * java/text/Collator.java: API doc fixes,
1456         * java/text/DateFormat.java: likewise,
1457         * java/text/DecimalFormatSymbols.java: likewise,
1458         * java/text/DateFormatSymbols.java: likewise,
1459         * java/text/SimpleDateFormat.java: likewise.
1460
1461 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1462
1463         * java/text/Collator.java (getInstance(Locale)):
1464         Added default collation pattern to handle case when resource
1465         is missing and throw InternalError instead of returning null
1466         should parsing fail.
1467
1468 2005-11-15  Mark Wielaard  <mark@klomp.org>
1469
1470         * java/util/zip/ZipEntry.java: Removed, fully merged now.
1471         * java/util/zip/ZipFile.java: Likewise.
1472         * sources.am: Regenerated.
1473         * Makefile.in: Regenerated.
1474
1475 2005-11-15  Tom Tromey  <tromey@redhat.com>
1476
1477         classpath/23890:
1478         * java/util/Calendar.java (equals): Include other calendar
1479         attributes.
1480         (hashCode): Updated.
1481         * java/util/GregorianCalendar.java (hashCode): New method.
1482         (equals): Use super.equals().
1483
1484 2005-11-15  Sven de Marothy  <sven@physto.se>
1485
1486         * java/util/Calendar (setTimeInMillis): Recompute time fields.
1487
1488 2005-11-15  Mark Wielaard  <mark@klomp.org>
1489
1490         * java/util/SimpleTimeZone.java: Removed, fully merged now.
1491         * java/util/Date.java: Likewise.
1492         * sources.am: Regenerated.
1493         * Makefile.in: Regenerated.
1494
1495 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
1496
1497         * java/util/Calendar.java: fixed minor problems in API docs,
1498         * java/util/Date.java: likewise,
1499         * java/util/ResourceBundle.java: likewise,
1500         * java/util/SimpleTimeZone.java: likewise,
1501
1502 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
1503
1504         * java/io/ObjectInputStream.java
1505         (parseContent): Removed bogus println and fixed bug #24422.
1506                 
1507 2005-11-15  Mark Wielaard  <mark@klomp.org>
1508
1509         * java/io/ObjectStreamClass.java: Removed, fully merged now.
1510         * sources.am: Regenerated.
1511         * Makefile.in: Regenerated.
1512
1513 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
1514
1515         * java/io/ObjectInputStream.java
1516         (processResolution): Pass Error, RuntimeException and
1517         ObjectStreamException through to the caller.
1518         (readObject): Documentation update.
1519
1520 2005-11-15  Mark Wielaard  <mark@klomp.org>
1521
1522         Imported GNU Classpath 0.19 + gcj-import-20051115.
1523         * sources.am: Regenerated.
1524         * Makefile.in: Likewise.
1525         * scripts/makemake.tcl: Use glob -nocomplain.
1526
1527 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
1528
1529         * Makefile.in: Re-generated.
1530         * gnu/awt/xlib/XGraphicsDevice.java: New file.
1531         * gnu/awt/xlib/XToolkit.java
1532         (getLocalGraphicsEnvironment): Implemented. 
1533         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
1534         * sources.am: Re-generated.
1535
1536 2005-15-09  David Daney <ddaney@avtrex.com>
1537
1538         PR libgcj/15430
1539         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
1540         function.
1541         (accept): Call it.
1542         (close): Call shutdown before closing.
1543         (read()): Call read_helper with proper parameters.
1544         (read(buffer, int, int)): Likewise.
1545         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
1546         and timeout parameters.  Make prototype to match. Use 
1547         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
1548         in two places.
1549
1550 2005-11-15  Andrew Haley  <aph@redhat.com>
1551
1552         * Merge from Classpath head:
1553
1554    2005-09-16  Andrew Haley  <aph@redhat.com>
1555    
1556            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
1557            protected readResolve().  Rewrite accessibility check.
1558    
1559    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
1560    
1561            * java/io/ObjectStreamClass.java
1562            (findAccessibleMethod): Added code to make method accessible.
1563    
1564    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
1565    
1566            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
1567            (findAccessibleMethod): Likewise.
1568            (cacheMethods): Lookup readResolve and writeReplace using the new
1569            findAccessibleMethod().
1570    
1571 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1572
1573         * java/net/natVMNetworkInterfaceWin32.cc: Include
1574         java/net/VMNetworkInterface.h.
1575
1576 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1577             David Daney  <ddaney@avtrex.com>
1578
1579         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
1580         (read): Handle count == 0 case.
1581
1582 2005-11-09  Tom Tromey  <tromey@redhat.com>
1583
1584         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
1585         passes.
1586
1587 2005-11-08  Tom Tromey  <tromey@redhat.com>
1588
1589         PR libgcj/24587:
1590         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
1591
1592 2005-11-08  Tom Tromey  <tromey@redhat.com>
1593
1594         PR libgcj/23763.  From aeby@graeff.com.
1595         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
1596         before exec.
1597
1598 2005-11-08  Mark Wielaard  <mark@klomp.org>
1599
1600         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
1601
1602 2005-11-07  David Daney  <ddaney@avtrex.com>
1603
1604         * mauve-libgcj: Disable javax.rmi.* and
1605         java.io.InputStreamReader.getEncoding.
1606
1607 2005-11-04  Tom Tromey  <tromey@redhat.com>
1608
1609         PR libgcj/14358, libgcj/24552:
1610         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
1611         aliases for 'euc_jp' and 'eucjp'.
1612         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
1613         canonical names in output.
1614         (%map): Added UnicodeLittle and UnicodeBig.
1615
1616 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1617
1618         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
1619
1620 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
1621
1622         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
1623         library extensions.
1624
1625 2005-10-12  Andrew Haley  <aph@redhat.com>
1626
1627         PR java/24251
1628         * link.cc (ensure_method_table_complete): Install Miranda methods
1629         for interfaces too.
1630
1631 2005-10-10  Tom Tromey  <tromey@redhat.com>
1632
1633         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
1634         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
1635         Now static.
1636
1637 2005-10-05  Richard Henderson  <rth@redhat.com>
1638
1639         PR target/23602
1640         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
1641         but not BACKTRACESPEC.
1642         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
1643
1644 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
1645
1646         * testsuite/lib/jni.exp (gcj_jni_test_one): For
1647         darwin, use -shared-libgcc not -lgcc_s, and explain why.
1648         (gcj_jni_invocation_test_one): Likewise.
1649
1650 2005-09-30  Tom Tromey  <tromey@redhat.com>
1651
1652         PR libgcj/24051:
1653         * Makefile.in: Rebuilt.
1654         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
1655         requested.
1656         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
1657         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
1658         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
1659         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
1660         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
1661         * configure: Rebuilt.
1662         * configure.ac: Pass --enable-qt-peers when qt is requested.
1663
1664 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
1665
1666         * configure.ac: Fix typo.
1667         * configure: Regenerate.
1668
1669 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
1670
1671         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
1672         __LP64__ is defined rather than __powerpc64__.
1673         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
1674         (compare_and_swap_release): Likewise.
1675
1676 2005-09-28  David Daney  <ddaney@avtrex.com>
1677
1678         * HACKING: Update instructions for classpath import.
1679
1680 2005-09-27  Tom Tromey  <tromey@redhat.com>
1681
1682         PR libgcj/23367:
1683         * include/jvm.h (_Jv_FreeMethodCache): Declare.
1684         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
1685         (struct _Jv_mcache): Likewise.
1686         (method_cache): Likewise.
1687         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
1688         (_Jv_AddMethodToCache): Likewise.
1689         (_Jv_FreeMethodCache): New function.
1690         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
1691         * aclocal.m4, configure, include/config.h.in: Rebuilt.
1692         * configure.ac: Invoke GCC_CHECK_TLS.
1693
1694 2005-09-27  Tom Tromey  <tromey@redhat.com>
1695
1696         * configure, Makefile.in: Rebuilt.
1697         * sources.am: Rebuilt.
1698         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
1699         * configure.ac (TOOLKIT): Handle Qt peers properly.
1700
1701 2005-09-23  Tom Tromey  <tromey@redhat.com>
1702
1703         Imported Classpath 0.18.
1704         * sources.am, Makefile.in: Updated.
1705         * Makefile.am (nat_source_files): Removed natProxy.cc.
1706         * java/lang/reflect/natProxy.cc: Removed.
1707         * gnu/classpath/jdwp/VMFrame.java,
1708         gnu/classpath/jdwp/VMIdManager.java,
1709         gnu/classpath/jdwp/VMVirtualMachine.java,
1710         java/lang/reflect/VMProxy.java: New files.
1711
1712 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1713
1714         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
1715         list.
1716
1717 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1718
1719         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
1720         Remove ClasspathToolkit references.
1721
1722 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1723
1724         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
1725         * gnu/awt/xlib/XFramePeer.java: Likewise.
1726         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
1727
1728 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1729
1730         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
1731         classpath/native/jawt/jawt.c.
1732         * Makefile.in: Regenerate.
1733         * jawt.c: Remove file.
1734         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
1735         jawt_md.h.  Add ../classpath/include/jawt.h and
1736         ../classpath/include/jawt_md.h.
1737         * include/Makefile.in: Regenerate.
1738         * include/jawt.h: Regenerate.
1739         * include/jawt_md.h: Regenerate.
1740
1741 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
1742
1743         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
1744         `null' parent ClassLoader to parent constructor.
1745         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
1746         constructor.
1747
1748 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
1749
1750         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
1751
1752 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1753
1754         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1755         Use libjava_find_lib to find the proper libgcj.
1756
1757 2005-09-16  Anthony Green  <green@redhat.com>
1758
1759         PR libgcj/20198
1760         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
1761         resources should all have canonicalized names.
1762
1763 2005-09-15  Tom Tromey  <tromey@redhat.com>
1764
1765         PR libgcj/16032:
1766         * interpret.cc (AVAL1U): Resolve pool entry when not direct
1767         threaded.
1768         (AVAL2U): Likewise.
1769         (compile): Handle 'ldc class' specially.
1770         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
1771         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
1772         * defineclass.cc (handleCodeAttribute): Set new field.
1773         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
1774         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
1775         (parse): Check version numbers.
1776         (_Jv_ClassReader::is_15): New field.
1777         (_Jv_ClassReader): Initialize it.
1778         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
1779
1780 2005-09-15  Tom Tromey  <tromey@redhat.com>
1781
1782         For PR libgcj/23288:
1783         * java/net/URLClassLoader.java (definePackage): Correctly order
1784         arguments to definePackage.  Look up per-entry Attributes.
1785         (getAttributeValue): New method.
1786
1787 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1788
1789         PR libgcj/23762
1790         * shlibpath.m4: New file.
1791         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
1792         macro.
1793         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
1794         [USE_LTDL]: If it was not defined with -D set java.library.path to
1795         the value of LTDL_SHLIBPATH_VAR.
1796
1797 2005-09-08  Andrew Haley  <aph@redhat.com>
1798
1799         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
1800         loader.
1801         (toString): Likewise.
1802
1803 2005-09-08  Andrew Haley  <aph@redhat.com>
1804
1805         PR java/22084
1806         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
1807         R/M field in instruction is 100.
1808
1809 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1810
1811         PR libgcj/23761
1812         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
1813         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
1814         lt_dlinit.
1815         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
1816         Define variable.
1817         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
1818         _Jv_Module_Load_Path.
1819
1820 2005-09-06  Tom Tromey  <tromey@redhat.com>
1821
1822         PR libgcj/23739:
1823         * testsuite/libjava.jni/pr23739.c: New file.
1824         * testsuite/libjava.jni/pr23739.java: New file.
1825         * testsuite/libjava.jni/pr23739.out: New file.
1826         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
1827         * java/lang/reflect/natMethod.cc (invoke): Updated.
1828         * java/lang/natClass.cc (isAssignableFrom): Updated.
1829         (isInstance): Likewise.
1830         (_Jv_IsAssignableFrom): Reversed arguments.
1831         (_Jv_IsInstanceOf): Updated.
1832         (_Jv_CheckCast): Likewise.
1833         (_Jv_CheckArrayStore): Likewise.
1834         (_Jv_IsAssignableFromSlow): Reversed arguments.
1835         (_Jv_InterfaceAssignableFrom): Likewise.
1836         * link.cc (verify_type_assertions): Updated.
1837         * prims.cc (_Jv_CheckAccess): Updated.
1838
1839 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
1840
1841         Testsuite changes for PR java/23431.
1842         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
1843         8.4.6.2-hiding-5.
1844         * testsuite/libjava.compile/PR23431_1.java: New testcase.
1845         * testsuite/libjava.compile/PR23431_2.java: Likewise.
1846         * testsuite/libjava.compile/PR23431_1.xfail: New file.
1847         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
1848
1849 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1850
1851         PR libgcj/23549
1852         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
1853         -disableassertions and -da.
1854
1855 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
1856
1857         * configure.ac: Replace "*-*-darwin[0-7].*" with
1858         "*-*-darwin[[0-7]].*"
1859         * configure: Regenerate.
1860
1861 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
1862
1863         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
1864         darwin < 8.
1865         * configure: Regenerate.
1866
1867 2005-08-23  Roman Kennke  <roman@kennke.org>
1868
1869         * java/lang/Character.java
1870         (toChars(int)): New JDK1.5 method.
1871         (toChars(int, char[], int)): New JDK1.5 method.
1872         (charCount): New JDK1.5 method.
1873         (isSupplementaryCodePoint): New JDK1.5 method.
1874         (isValidCodePoint): New JDK1.5 method.
1875
1876 2005-08-23  Tom Tromey  <tromey@redhat.com>
1877
1878         * aclocal.m4, Makefile.in: Rebuilt.
1879         * Makefile.am (property_files): Added META-INF files.
1880         (propertyo_files): Changed definition.
1881         ($(propertyo_files)): Updated patterns.
1882
1883 2005-08-22  Tom Tromey  <tromey@redhat.com>
1884
1885         PR libgcj/22622:
1886         * configure: Rebuilt.
1887         * configure.ac: Correctly create Configuration.java (for
1888         temporary use).
1889
1890 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
1891
1892         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
1893         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
1894         * mingwld.m4: ... this new file.
1895         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
1896         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
1897
1898 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1899
1900         PR libgcj/23507
1901         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
1902         assignment.  Cast operands of compare to function pointer type.
1903
1904 2005-08-21  Tom Tromey  <tromey@redhat.com>
1905
1906         * HACKING: Updated for hacking classpath in libgcj.
1907
1908 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1909
1910         PR libgcj/21692
1911         * sysdep/pa/descriptor.h: New file.
1912         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
1913
1914 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
1915
1916         * Makefile.am (extra_ldflags_libjava): New variable to
1917         substitute in.
1918         (LIBLINK): Add extra_ldflags_libjava to it.
1919         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
1920         "-Wl,-single_module".
1921         * Makefile.in: Regenerate.
1922         * aclocal.m4: Regenerate.
1923         * configure: Regenerate.
1924         * gcj/Makefile.in: Regenerate.
1925         * include/Makefile.in: Regenerate.
1926         * testsuite/Makefile.in: Regenerate.
1927
1928 2005-08-17  Tom Tromey  <tromey@redhat.com>
1929
1930         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
1931         friend.
1932         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
1933         * testsuite/libjava.lang/bclink.java: New file.
1934         * testsuite/libjava.lang/bclink.out: New file.
1935         * link.cc (print_class_loaded): Changed ABI test to look at
1936         various _syms fields.
1937
1938 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
1939
1940         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
1941         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
1942
1943 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
1944
1945         More testsuite adjustments for PR java/19870.
1946         * testsuite/libjava.lang/PR19870_2.java: New testcase.
1947         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
1948         new testcase.
1949         * testsuite/libjava.jacks/jacks.xfail: Remove
1950         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
1951
1952 2005-08-16  Tom Tromey  <tromey@redhat.com>
1953
1954         * gnu/xml/xpath/XPathParser.y: Removed.
1955
1956 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
1957
1958         PR libgcj/23353:
1959         * java/lang/natObject.cc (clone): Clear sync_info.
1960
1961 2005-07-26  Tom Tromey  <tromey@redhat.com>
1962
1963         * gnu/java/net/protocol/ftp/package.html,
1964         gnu/javax/swing/text/html/package.html,
1965         gnu/javax/swing/text/html/parser/package.html,
1966         gnu/javax/swing/text/html/parser/models/package.html,
1967         gnu/javax/swing/text/html/parser/support/package.html,
1968         gnu/javax/swing/text/html/parser/support/low/package.html,
1969         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
1970         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
1971         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
1972         java/awt/geom/doc-files/CubicCurve2D-1.png,
1973         java/awt/geom/doc-files/CubicCurve2D-2.png,
1974         java/awt/geom/doc-files/CubicCurve2D-3.png,
1975         java/awt/geom/doc-files/CubicCurve2D-4.png,
1976         java/awt/geom/doc-files/CubicCurve2D-5.png,
1977         java/awt/geom/doc-files/Ellipse-1.png,
1978         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
1979         java/awt/geom/doc-files/GeneralPath-1.png,
1980         java/awt/geom/doc-files/QuadCurve2D-1.png,
1981         java/awt/geom/doc-files/QuadCurve2D-2.png,
1982         java/awt/geom/doc-files/QuadCurve2D-3.png,
1983         java/awt/geom/doc-files/QuadCurve2D-4.png,
1984         java/awt/geom/doc-files/QuadCurve2D-5.png,
1985         javax/imageio/package.html, javax/imageio/event/package.html,
1986         javax/imageio/metadata/package.html,
1987         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
1988         javax/swing/border/doc-files/BevelBorder-1.png,
1989         javax/swing/border/doc-files/BevelBorder-2.png,
1990         javax/swing/border/doc-files/BevelBorder-3.png,
1991         javax/swing/border/doc-files/EmptyBorder-1.png,
1992         javax/swing/border/doc-files/EtchedBorder-1.png,
1993         javax/swing/border/doc-files/EtchedBorder-2.png,
1994         javax/swing/border/doc-files/LineBorder-1.png,
1995         javax/swing/border/doc-files/MatteBorder-1.png,
1996         javax/swing/border/doc-files/MatteBorder-2.png,
1997         javax/swing/border/doc-files/MatteBorder-3.png,
1998         javax/swing/border/doc-files/MatteBorder-4.png,
1999         javax/swing/border/doc-files/MatteBorder-5.png,
2000         javax/swing/border/doc-files/MatteBorder-6.png,
2001         javax/swing/border/doc-files/SoftBevelBorder-1.png,
2002         javax/swing/border/doc-files/SoftBevelBorder-2.png,
2003         javax/swing/border/doc-files/SoftBevelBorder-3.png,
2004         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
2005         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
2006         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
2007         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2008         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
2009         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2010         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2011         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2012         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2013         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2014         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
2015         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
2016         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
2017         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
2018         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
2019         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
2020         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
2021         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
2022         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2023         javax/swing/plaf/doc-files/ComponentUI-1.png,
2024         javax/swing/plaf/doc-files/TreeUI-1.png,
2025         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
2026         javax/xml/parsers/package.html, javax/xml/transform/package.html,
2027         javax/xml/transform/dom/package.html,
2028         javax/xml/transform/sax/package.html,
2029         javax/xml/transform/stream/package.html,
2030         javax/xml/validation/package.html, javax/xml/xpath/package.html:
2031         Removed.
2032
2033 2005-07-22  Tom Tromey  <tromey@redhat.com>
2034
2035         * include/Makefile.in: Rebuilt.
2036         * include/Makefile.am (tool_include__HEADERS): Include
2037         classpath's jni.h.
2038
2039 2005-07-20  Tom Tromey  <tromey@redhat.com>
2040
2041         * sources.am, Makefile.in: Rebuilt.
2042         * Makefile.am (all_xlib_lo_files): Removed.
2043         (all_libgcj_lo_files): Likewise.
2044         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
2045         (xlib_java_source_files): Removed.
2046         (xlib_nat_headers): Updated.
2047         * configure: Rebuilt.
2048         * configure.ac: Create standard.omit.
2049         * standard.omit.in: New file.
2050         * standard.omit: Removed.
2051         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
2052         'package'.
2053         (emit_package_rule): Special case xlib peers.
2054         (emit_source_var): Likewise.
2055         Read standard.omit.in.
2056         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
2057
2058 2005-07-18  Tom Tromey  <tromey@redhat.com>
2059
2060         * HACKING: Updated.
2061
2062 2005-07-19  Matthias Klose  <doko@debian.org>
2063
2064         * classpath/java/awt/im/InputContext.java (clinit): Initialize
2065           line, im.
2066
2067 2005-07-18  Tom Tromey  <tromey@redhat.com>
2068
2069         PR libgj/21058:
2070         * sources.am, Makefile.in: Rebuilt.
2071         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
2072         file.
2073         (emit_source_var): Don't emit patsubst with './'.
2074
2075 2005-07-18  Tom Tromey  <tromey@redhat.com>
2076
2077         * Makefile.in: Rebuilt.
2078         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
2079
2080 2005-07-17  Andreas Jaeger  <aj@suse.de>
2081
2082         * defineclass.cc (handleClassBegin): Remove unused variable.
2083
2084 2005-07-16  Andreas Schwab  <schwab@suse.de>
2085
2086         * scripts/makemake.tcl (emit_package_rule): Emit command to create
2087         target directory.
2088         * Makefile.am (%.lo): Don't create it here.
2089         * sources.am, Makefile.in: Regenerated.
2090
2091 2005-07-15  Tom Tromey  <tromey@redhat.com>
2092
2093         Major merge with Classpath.
2094         Removed many duplicate files.
2095         * HACKING: Updated.x
2096         * classpath: Imported new directory.
2097         * standard.omit: New file.
2098         * Makefile.in, aclocal.m4, configure: Rebuilt.
2099         * sources.am: New file.
2100         * configure.ac: Run Classpath configure script.  Moved code around
2101         to support.  Disable xlib AWT peers (temporarily).
2102         * Makefile.am (SUBDIRS): Added 'classpath'
2103         (JAVAC): Removed.
2104         (AM_CPPFLAGS): Added more -I options.
2105         (BOOTCLASSPATH): Simplified.
2106         Completely redid how sources are built.
2107         Include sources.am.
2108         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
2109         * include/jni.h: Removed (in Classpath).
2110         * scripts/classes.pl: Updated to look at built classes.
2111         * scripts/makemake.tcl: New file.
2112         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
2113         -I options.
2114         (gcj_jni_invocation_compile_c_to_binary): Likewise.
2115
2116 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
2117
2118         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
2119         (eventMask): New field.
2120         (XCanvasPeer(Component)): Use attributes field.
2121         (setBackground): Implemented.
2122         (setEventMask): Process mask only if changed.
2123         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
2124         (eventLoopThread): New field.
2125         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
2126         (interrupt): Removed.
2127         (run): New method.
2128         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
2129         and Component events.
2130         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
2131         field.
2132         (configureNotify): Set and clear processingConfigureNotify.
2133         (setBounds): Process only if processingConfigureNotify is false.
2134         (toBack): Implemented.
2135         (toFront): Implemented.
2136         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
2137         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
2138         color.
2139         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
2140         (wakeNativeQueue): Do nothing.
2141         (iterateNativeQueue): Do queue.wait if blocking.
2142         * gnu/gcj/xlib/Font.java (loadFont): New method.
2143         (loadFontImpl): Renamed native method, was loadFont. 
2144         * gnu/gcj/xlib/Window.java (toFront): New method.
2145         (toBack): New method.
2146         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
2147         loadFont.
2148         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
2149         (toFront): New method. 
2150         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
2151
2152 2005-07-14  Andrew Haley  <aph@redhat.com>
2153
2154         * gnu/java/net/protocol/file/Connection.java (unquote): New
2155         method.
2156         (connect): Unquote filename.
2157         gnu/java/net/protocol/jar/Connection.java (getInputStream):
2158         Likewise.  
2159         (getJarFile): Likewise.
2160
2161         * java/net/URLConnection.java (getContentHandler): Guard cast with
2162         instaceof.
2163
2164         * java/net/URL.java (URL): If the file part of a spec is absolute,
2165         ignore the file part of its context.
2166
2167 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
2168
2169         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
2170         Implemented VirtualMachine Command Set.
2171
2172 2005-07-14  Tom Tromey  <tromey@redhat.com>
2173
2174         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
2175         Classpath.
2176
2177 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2178
2179         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
2180         Implemented the Field CommandSet.
2181         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
2182         Implemented the InterfaceType CommandSet.
2183
2184 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2185
2186         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
2187         shutdown to jdwp instead of connection.
2188
2189 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2190
2191         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
2192         New file.
2193
2194 2005-07-08  Colin Walters  <walters@verbum.org>
2195
2196         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
2197         check for abstract classes or interfaces here; JVM spec
2198         says it should throw an exception, so we'll do so later.
2199         * interpret.cc (run): Throw an InstantiationException for
2200         abstract classes and interfaces.
2201
2202 2005-07-08  Andrew Haley  <aph@redhat.com>
2203
2204         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
2205         (regular, non-realtime scheduling), not SCHED_RR (realtime,
2206         round-robin).
2207
2208 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
2209
2210         * gnu/classpath/jdwp/util/Signature.java
2211         (computeFieldSignature): New Method.
2212
2213 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
2214
2215         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
2216         file.
2217
2218 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
2219
2220         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
2221         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
2222
2223 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
2224
2225         * testsuite/libjava.compile/PR21045.java: New test.
2226         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
2227         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
2228
2229 2005-07-06  Tom Tromey  <tromey@redhat.com>
2230
2231         * java/io/InputStreamReader.java (refill): Handle no-progress
2232         case correctly.
2233         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
2234
2235 2005-07-06  Tom Tromey  <tromey@redhat.com>
2236
2237         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
2238
2239 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
2240
2241         * testsuite/libjava.compile/PR19674.java: New test.
2242
2243 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
2244
2245         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
2246         New file.
2247
2248 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
2249
2250         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
2251         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
2252         CommandSets to handle JdwpCommandPackets.
2253         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
2254         Constructor.
2255
2256 2005-07-01  Tom Tromey  <tromey@redhat.com>
2257
2258         * libtool-version: Updated.
2259
2260 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
2261
2262         * gnu/classpath/jdwp/util/JdwpString.java: New file.
2263
2264 2005-06-30  Keith Seitz  <keiths@redhat.com>
2265
2266         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
2267         (myWrite): New abstract method.
2268         (toBytes): Remove.
2269         (myToBytes): Remove.
2270         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
2271         method.
2272         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
2273         method.
2274         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
2275         JdwpPacket.write instead of JdwpPacket.toBytes.
2276
2277 2005-06-30  Keith Seitz  <keiths@redhat.com>
2278
2279         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
2280         method.
2281         (_bytes): New member.
2282         (_doStream): New member.
2283         (JdwpConnection): Initialize new members.
2284
2285 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
2286
2287         * all files: Update for new FSF address.
2288
2289 2005-06-29  Tom Tromey  <tromey@redhat.com>
2290
2291         PR libgcj/22211:
2292         * testsuite/libjava.lang/pr22211.java: New file.
2293         * java/lang/natThread.cc (finish_): Synchronize when updating
2294         alive_flag.
2295         (_Jv_AttachCurrentThread): Likewise.
2296         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
2297         * java/lang/Thread.java (isAlive): Now synchronized.
2298
2299 2005-06-29  Tom Tromey  <tromey@redhat.com>
2300
2301         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
2302         _Jv_CheckCast.
2303
2304 2005-06-28  Robin Green  <greenrd@greenrd.org>
2305
2306         PR java/22189
2307         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
2308         error.
2309
2310 2005-06-27  Tom Tromey  <tromey@redhat.com>
2311
2312         PR java/21540, PR java/13788:
2313         * testsuite/libjava.compile/pr21540.java: New file.
2314         * testsuite/libjava.compile/pr13788.java: New file.
2315         * testsuite/libjava.jacks/jacks.xfail: Updated.
2316
2317 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
2318
2319         * testsuite/libjava.mauve/xfails: Updated to reflect current state
2320         of mauve and libjava. 
2321
2322 2005-06-24  Tom Tromey  <tromey@redhat.com>
2323
2324         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
2325         where class' name is NULL.
2326         (_Jv_FindClass): Don't wait for class state.
2327         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
2328         name found.
2329         * include/java-interp.h (_Jv_DefineClass): Updated.
2330         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
2331         (struct _Jv_ClassReader): Likewise.
2332         (found_name): New field.
2333         (handleClassBegin): Set *found_name.
2334         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
2335         (handleClassBegin): Throw error if super class not set.
2336         (read_methods): Correctly call check_tag and prepare_pool_entry.
2337
2338 2005-06-24  Tom Tromey  <tromey@redhat.com>
2339
2340         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
2341
2342 2005-06-24  Tom Tromey  <tromey@redhat.com>
2343
2344         * verify.cc (verify_instructions_0): Correctly handle situation
2345         where PC falls off end.
2346
2347 2005-06-24  Tom Tromey  <tromey@redhat.com>
2348
2349         * interpret.cc (compile): Handle case where table entry is
2350         outside of PC range.
2351
2352 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
2353
2354         * testsuite/libjava.compile/PR20697.java: New test-case.
2355
2356 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
2357
2358         * Makefile.am (SUBDIRS): Use append for conditional.
2359         (toolexeclib_LTLIBRARIES): Likewise.
2360         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
2361         a conditional append.
2362         * Makefile.in: Regenerate.
2363
2364 2005-06-17  Keith Seitz  <keiths@redhat.com>
2365
2366         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
2367         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
2368         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
2369         file.
2370         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
2371         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
2372         file.
2373         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
2374         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
2375         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
2376         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
2377         file.
2378         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
2379         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
2380
2381 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
2382
2383         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
2384         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
2385         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
2386         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
2387         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
2388         * Makefile.in: Regenerate.
2389
2390 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
2391
2392         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
2393         (USING_POSIX_PLATFORM): ... here.
2394         * Makefile.am: Delete USING_ECOS_PLATFORM.
2395         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2396         external/Makefile.in, external/sax/Makefile.in,
2397         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2398
2399 2005-06-15  Tom Tromey  <tromey@redhat.com>
2400
2401         PR libgcj/17536:
2402         * testsuite/libjava.lang/pr17536.java: New file.
2403         * testsuite/libjava.lang/pr17536.out: New file.
2404
2405 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
2406
2407         PR libgcj/21074:
2408         * gnu/java/net/protocol/http/HTTPURLConnection.java
2409         (getHeaderFieldKey): Check index.
2410
2411 2005-06-15  Tom Tromey  <tromey@redhat.com>
2412
2413         PR libgcj/21906:
2414         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
2415         methods.
2416         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
2417         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
2418         static.
2419         (append_partial_itable): Use it.
2420         (set_vtable_entries): Likewise.
2421
2422 2005-06-15  Tom Tromey  <tromey@redhat.com>
2423
2424         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
2425         last_was_sep in loop.
2426
2427 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2428
2429         * configure.host: Handle Solaris 10/x86.
2430
2431 2005-06-14  Keith Seitz  <keiths@redhat.com>
2432
2433         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
2434         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
2435
2436 2005-06-14  Keith Seitz  <keiths@redhat.com>
2437
2438         * gnu/classpath/jdwp/id/ArrayId.java: New file.
2439         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
2440         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
2441         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
2442         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
2443         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
2444         * gnu/classpath/jdwp/id/JdwpId.java: New file.
2445         * gnu/classpath/jdwp/id/ObjectId.java: New file.
2446         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
2447         * gnu/classpath/jdwp/id/StringId.java: New file.
2448         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
2449         * gnu/classpath/jdwp/id/ThreadId.java: New file.
2450
2451 2005-06-14  Tom Tromey  <tromey@redhat.com>
2452
2453         PR libgcj/19877:
2454         * configure, aclocal.m4, Makefile.in: Rebuilt.
2455
2456 2005-06-14  Tom Tromey  <tromey@redhat.com>
2457
2458         * java/lang/Class.java (getClasses): New method.
2459         (internalGetClasses): Likewise.
2460         (getClassLoader): Updated documentation.
2461         (getDeclaredClasses): New overload; old overload no longer
2462         native.
2463         (_getConstructors): Removed.
2464         (resourcePath): Updated.
2465         * java/lang/natClass.cc (getClasses): Removed.
2466         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
2467         Updated.
2468         (_getConstructors): Removed.
2469
2470 2005-06-13  Jim Huang  <jserv@kaffe.org>
2471
2472         PR libgcj/22036:
2473         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
2474         (_Jv_JNI_NewObject): Likewise.
2475
2476 2005-06-13  Tom Tromey  <tromey@redhat.com>
2477
2478         PR java/21844:
2479         * testsuite/libjava.lang/pr21844.java: New file.
2480         * testsuite/libjava.lang/pr21844.out: New file.
2481
2482 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
2483
2484         PR libgcj/21949
2485         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
2486         From Gary Benson.
2487
2488 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2489
2490         * java/text/MessageFormat.java (parse): When parsing strings, check
2491         for an empty pattern trailer.
2492
2493 2005-06-06  Keith Seitz  <keiths@redhat.com>
2494
2495         * gnu/classpath/jdwp/util/Signature.java: New file.
2496         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
2497
2498 2005-06-05  Anthony Green  <green@redhat.com>
2499
2500         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
2501         fall-through bug.
2502
2503 2005-06-04  Anthony Green  <green@redhat.com>
2504
2505         * java/net/URLClassLoader.java: import gnu.gcj.Core,
2506         and gnu.java.net.protocol.core.CoreInputStream.
2507         (CureURLLoader): New class.
2508         (CoreResource): New class.
2509         (addURLImpl): Add special treatment for the "core" protocol.
2510         * gnu/gcj/natCore.cc (find): New method.
2511         * gnu/gcj/Core.java (find): New method.
2512
2513 2005-06-03  Keith Seitz  <keiths@redhat.com>
2514
2515         * gnu/classpath/jdwp/transport/ITransport.java: New file.
2516         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
2517         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
2518
2519 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
2520
2521         * jawt.c: Remove malloc.h, covered by stdlib.h.
2522
2523         * testsuite/libjava.jni/jni.exp
2524         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
2525         the build process.
2526
2527 2005-06-02  Keith Seitz  <keiths@redhat.com>
2528
2529         * gnu/classpath/jdwp/transport/TransportException.java: New file.
2530
2531 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
2532
2533         * mauve-libgcj: Remove implemented classes from the fail section.
2534         Add two new not implemented to it.
2535
2536 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
2537
2538         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
2539         AC_SUBST definition from configure.host.
2540         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
2541         to -fomit-frame-pointer on 32-bit x86 targets.
2542
2543 2005-06-01  Tom Tromey  <tromey@redhat.com>
2544
2545         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
2546
2547 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2548
2549         PR libgcj/20435:
2550         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
2551         (static): Add possessive matching to JAVA_1_4 syntax.
2552         * gnu/regexp/RETokenRepeated.java (possessive): New field.
2553         (makePossessive, isPossessive): New methods.
2554         (match): Don't back off during possessive matching.
2555         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
2556         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
2557         to JAVA_1_4.
2558
2559 2005-06-01  Keith Seitz  <keiths@redhat.com>
2560
2561         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
2562         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
2563         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
2564
2565 2005-06-01  Tom Tromey  <tromey@redhat.com>
2566
2567         PR libgcj/21785:
2568         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
2569         (currentLoader): New method.
2570         * java/io/ObjectInputStream.java (resolveProxyClass): Use
2571         currentLoader.
2572         (currentLoader): Now native.
2573         (currentClassLoader): Removed.
2574         * testsuite/libjava.lang/pr21785.java: New file.
2575         * testsuite/libjava.lang/pr21785.out: New file.
2576
2577 2005-06-01  Tom Tromey  <tromey@redhat.com>
2578
2579         PR libgcj/21753:
2580         * java/lang/natString.cc (substring): Changed sharing heuristic.
2581
2582 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
2583
2584         PR libgcj/21821
2585         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
2586         MAXPATHLEN. Format exception message using a StringBuffer instead.
2587
2588 2005-05-29  Michael Koch  <konqueror@gmx.de>
2589
2590         PR libgcj/20273:
2591         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
2592
2593 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2594
2595         * ChangeLog: Fix typo.
2596
2597 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
2598
2599         Testsuite adjustments for PR java/19870.
2600         * testsuite/libjava.lang/PR19870.java: New testcase.
2601         * testsuite/libjava.lang/PR19870.out: Expected output for the
2602         testcase.
2603         * testsuite/libjava.jacks/jacks.xfail: Add
2604         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
2605
2606
2607 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
2608
2609         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
2610         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
2611         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
2612         classes.
2613         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
2614         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
2615         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
2616         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
2617
2618 2005-05-25  Richard Henderson  <rth@redhat.com>
2619
2620         PR libgcj/21692
2621         * sysdep/descriptor-n.h: New file.
2622         * sysdep/descriptor-y.h: New file.
2623         * sysdep/powerpc/descriptor.h: New file.
2624         * configure.host: Set $descriptor_h appropriate for the host.
2625         * configure.ac: Link it.
2626         * configure: Regenerate.
2627         * stacktrace.cc: Include sysdep/descriptor.h.
2628         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
2629
2630 2005-05-25  Chris Burdess  <dog@gnu.org>
2631
2632         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
2633         end entity callbacks.
2634
2635 2005-05-24  Gary Benson  <gbenson@redhat.com>
2636
2637         PR libgcj/21736:
2638         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
2639         Handle DateFormat.DEFAULT case correctly.
2640
2641 2005-05-21  Tom Tromey  <tromey@redhat.com>
2642
2643         PR libgcj/21703:
2644         * java/lang/ref/natReference.cc (find_slot): Handle case where
2645         table has no NULL entries.
2646         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
2647         table has no NULL entries.
2648
2649 2005-05-22  Andreas Jaeger  <aj@suse.de>
2650
2651         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
2652         avoid warnings.
2653
2654 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
2655
2656         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
2657
2658 2005-05-19  Richard Henderson  <rth@redhat.com>
2659
2660         * exception.cc: Revert 05-17 gcc_unreachable change.
2661
2662 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2663
2664         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
2665         _Jv_RegisterInitiatingLoader to register array classes, not
2666         _Jv_RegisterClass.
2667         (_Jv_RegisterInitiatingLoader): Give up if called very early during
2668         bootstrapping. Add a FIXME to handle this case better.
2669
2670 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2671
2672         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
2673         convenience library.
2674         (libgcj_la_SOURCES): New. Move sources here.
2675         (libgcj.la): Remove rule.
2676
2677 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
2678
2679         PR libgcj/19729
2680         * gnu/java/security/provider/DSASignature.java: Import updates
2681         from GNU Crypto.
2682
2683 2005-05-18  Anthony Green  <green@redhat.com>
2684
2685         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
2686         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2687         classpath_jawt_destroy_lock): New functions.
2688         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
2689         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2690         classpath_jawt_destroy_lock): New functions.
2691         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
2692         field.
2693         * jawt.c: #include malloc.h.
2694         (_Jv_Lock): Use lock.
2695         (_Jv_Unlock): Ditto.
2696         (_Jv_GetDrawingSurface): Initialize lock.
2697         (_Jv_FreeDrawingSurface): Destroy lock.
2698         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
2699
2700 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
2701
2702         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
2703         * Makefile.in: Regenerate.
2704
2705 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
2706
2707         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
2708         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
2709         * aclocal.m4, configure, config.h.in, include/config.h.in,
2710         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2711         external/Makefile.in, external/sax/Makefile.in,
2712         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2713
2714 2005-05-17  David Daney  <ddaney@avtrex.com>
2715
2716         PR libgcj/18220
2717         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
2718
2719 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
2720
2721         * exception.cc (abort): Remove std::abort hack.
2722         (gcc_unreacheable): Define.
2723
2724 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
2725
2726         * Makefile.am (Makefile.deps): Do not create native.list and
2727         bytecodes.list.
2728         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
2729         * Makefile.in: Regenerate.
2730
2731 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
2732
2733         * configure.ac (--enable-libgcj-multifile): Remove.
2734
2735         * Makefile.am (all_native_compiled_source_files,
2736         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
2737         all_libgcj_lo_files, all_xlib_lo_files,
2738         all_java_deps_files, all_java_stamp_files,
2739         all_java_filelist_files): New variables.
2740         (EXTRA_DIST): New Automake variable.
2741         (CLEANFILES): Add .stamp, .list and .lo files.
2742         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
2743         (classes.stamp): Depend on $(all_java_stamp_files).
2744         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
2745         going through write_entries_to_file.
2746
2747         (all_java_source_files, all_property_files): Move earlier.
2748         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
2749         all_java_class_files): Remove.
2750         (gtk_awt_peer_sources): Rename to...
2751         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
2752
2753         (ONESTEP): Remove.
2754         (libgcj0_convenience_la_SOURCES): Remove Java source files.
2755         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
2756         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
2757         (libgcj_la_SOURCES): Remove.
2758         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
2759         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
2760         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
2761
2762         * configure: Regenerate.
2763         * Makefile.in: Regenerate.
2764         * external/Makefile.in: Regenerate.
2765         * external/sax/Makefile.in: Regenerate.
2766         * external/w3c_dom/Makefile.in: Regenerate.
2767         * gcj/Makefile.in: Regenerate.
2768         * include/Makefile.in: Regenerate.
2769         * libltdl/Makefile.in: Regenerate.
2770         * testsuite/Makefile.in: Regenerate.
2771
2772 2005-05-16  Tom Tromey  <tromey@redhat.com>
2773
2774         * java/nio/charset/Charset.java (encode, decode): Synchronize on
2775         'this', not the class.
2776
2777 2005-05-16  Tom Tromey  <tromey@redhat.com>
2778
2779         * gnu/java/net/protocol/http/Headers.java (parse): Include final
2780         character of line.
2781
2782 2005-05-16  Tom Tromey  <tromey@redhat.com>
2783
2784         PR libgcj/21606:
2785         * java/net/URI.java (unquote): Handle lower-case letters as well.
2786
2787 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2788
2789         PR libgcj/20504
2790         * gnu/regexp/RE.java: Add support for quoting constructs.
2791
2792 2005-05-15  Tom Tromey  <tromey@redhat.com>
2793
2794         * java/lang/String.java (startsWith): Fixed javadoc.
2795
2796 2005-05-15  Tom Tromey  <tromey@redhat.com>
2797
2798         PR java/21519:
2799         * testsuite/libjava.compile/pr21519.java: New file.
2800         * testsuite/libjava.compile/pr21519.no-link: New file.
2801
2802 2005-05-15  Tom Tromey  <tromey@redhat.com>
2803
2804         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
2805
2806 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
2807
2808         PR libgcj/21557
2809         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
2810         interrupt status flag if _Jv_CondWait is interrupted.
2811
2812 2005-05-13  Tom Tromey  <tromey@redhat.com>
2813
2814         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
2815         element in path.
2816
2817 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
2818
2819         * include/jvm.h (gcj::verifyClasses): Declare.
2820         * link.cc (gcj::verbose_class_flag): Moved.
2821         * prims.cc (gcj::verifyClasses): Define here.
2822         (gcj::verbose_class_flag): Move definition here.
2823         (_Jv_Linker::wait_for_state): Don't call verify_class
2824         if gcj::verifyClasses is not set.
2825         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
2826
2827 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
2828
2829         * gij.cc (main): Recognize '-verify', '-noverify', and
2830         '-verifyremote'
2831
2832 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
2833
2834         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
2835
2836 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2837
2838         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
2839         libgcjawt.la.
2840
2841 2005-05-11  Tom Tromey  <tromey@redhat.com>
2842
2843         * external/w3c_dom/Makefile.in: Rebuilt.
2844         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
2845         -fbootstrap-classes.
2846         * external/sax/Makefile.in: Rebuilt.
2847         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
2848         -fbootstrap-classes.
2849         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
2850         friend.
2851         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2852         Call _Jv_CopyClassesToSystemLoader.
2853         * java/lang/natClassLoader.cc (system_class_list): New global.
2854         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
2855         classes differently.
2856         (_Jv_CopyClassesToSystemLoader): New function.
2857         (SYSTEM_LOADER_INITIALIZED): New define.
2858         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
2859         (_Jv_CheckABIVersion): Use it.
2860         (_Jv_ClassForBootstrapLoader): New function.
2861         * Makefile.in: Rebuilt.
2862         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
2863
2864 2005-05-10  Tom Tromey  <tromey@redhat.com>
2865
2866         * gcj/javaprims.h: Updated.
2867         * java/lang/String.java (String(StringBuilder)): New constructor.
2868         * java/lang/natStringBuilder.cc: New file.
2869         * java/lang/StringBuilder.java: New file.
2870         * Makefile.in: Rebuilt.
2871         * Makefile.am (core_java_source_files): Added StringBuilder.java.
2872         (nat_source_files): Added natStringBuilder.cc.
2873
2874 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
2875
2876         PR java/21436
2877         * testsuite/libjava.jacks/jacks.xfail: Adjust.
2878
2879 2005-05-09  Mike Stump  <mrs@apple.com>
2880
2881         * configure: Regenerate.
2882
2883 2005-05-09  David Daney  <ddaney@avtrex.com>
2884
2885         * java/util/BitSet.java (get(int, int)): Fix breakage when
2886         requested set doesn't start on a multiple of 64.
2887
2888 2005-05-07  Matthias Klose  <doko@debian.org>
2889
2890         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
2891
2892 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
2893
2894         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
2895         * Makefile.in: Regenerate.
2896         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
2897         (createCompatibleVolatileImage(int,int)): Implement.
2898         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
2899         Likewise.
2900         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
2901         New fields.
2902         (createVolatileImage): Implement.
2903         (createBuffers): Likewise.
2904         (getBackBuffer): Likewise.
2905         (flip): Likewise.
2906         (destroyBuffers): Likewise.
2907         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
2908         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
2909         (CanvasFlipBufferStrategy): Likewise.
2910         (createBufferStrategy(int)): New method.
2911         (createBufferStrategy(int,BufferCapabilities)): Likewise.
2912         * java/awt/Component.java (BltBufferStrategy): Implement and
2913         document class.
2914         (FlipBufferStrategy): Likewise.
2915         * java/awt/Window.java (WindowBltBufferStrategy): New class.
2916         (WindowFlipBufferStrategy): Likewise.
2917         (createBufferStrategy(int)): New method.
2918         (createBufferStrategy(int,BufferCapabilities)): Likewise.
2919         (getBufferStrategy): Likewise.
2920         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
2921         front to frontCaps and back to backCaps.
2922
2923 2005-05-06  Michael Koch  <konqueror@gmx.de>
2924
2925         * java/awt/BufferCapabilities.java
2926         (BufferCapabilities): Merged javadoc.
2927
2928 2005-05-06  Michael Koch  <konqueror@gmx.de>
2929
2930         * java/util/Locale.java
2931         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
2932         (getLocale): New methods. Use it everywhere where instances of Locales
2933         are needed.
2934         (getDisplayLanguage): Merged javadoc.
2935         (getDisplayCountry): Likewise.
2936         (getDisplayVariant): Likewise.
2937
2938 2005-05-06  Archie Cobbs  <archie@dellroad.org>
2939
2940         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2941         use DeleteLocalRef() to avoid exhausting local native references.
2942
2943 2005-05-06  Mark Wielaard  <mark@klomp.org>
2944
2945         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2946         (window_delete_cb): Don't use C++ style comments.
2947
2948 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
2949
2950         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
2951         copyright header.
2952
2953 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
2954
2955         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2956         (window_delete_cb): Made the function return TRUE.
2957
2958 2005-05-06  Roman Kennke  <roman@kennke.org>
2959
2960         * javax/swing/text/PlainView.java
2961         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
2962         offset parameter.
2963         * javax/swing/text/Utilities.java
2964         (drawTabbedText): Initilialize local variable pos correctly.
2965
2966 2005-05-06  Roman Kennke  <roman@kennke.org>
2967
2968         * javax/swing/text/AbstractDocument.java
2969         (LeafElement): Made start and end package private fields for
2970         effective reindexing.
2971         * javax/swing/text/PlainDocument.java
2972         (constructor): The field rootElement is always BranchElement,
2973         so we handle it as such.
2974         (removeUpdate): Rewritten reindexing for removeUpdate so that
2975         the actual removal is taken into account.
2976
2977 2005-05-06  Roman Kennke  <roman@kennke.org>
2978
2979         * javax/swing/text/GapContent.java:
2980         Removed debugging output stuff, which I accidentally left in.
2981
2982 2005-05-06  Roman Kennke  <roman@kennke.org>
2983
2984         * javax/swing/text/GapContent.java:
2985         Implemented a real GapContent. Only the public methods have
2986         been implemented so far and still no UndoableEdit support.
2987
2988 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
2989
2990         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
2991         the typo.
2992
2993 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2994
2995         * java/awt/image/BufferStrategy.java: Document.
2996
2997         * java/awt/BufferCapabilities.java: Document.
2998
2999 2005-05-04  Tom Tromey  <tromey@redhat.com>
3000
3001         * java/nio/channels/FileLock.java (toString): Entirely avoid
3002         String "+".
3003
3004 2005-05-04  Andrew Overholt  <overholt@redhat.com>
3005
3006         * java/nio/channels/FileLock.java (toString): Re-implement using
3007         StringBuffer.
3008
3009 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3010
3011         * java/awt/ImageCapabilities.java: Document.
3012
3013         * java/awt/image/VolatileImage.java: Unindent copyright header.
3014
3015 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
3016
3017         * java/awt/image/VolatileImage.java: Document.
3018
3019 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
3020
3021         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3022         (init_glib_threads): Check if threading system is already
3023         initialized.
3024
3025 2005-05-03  Andrew Overholt  <overholt@redhat.com>
3026
3027         PR libgcj/21372:
3028         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
3029         could not be acquired.
3030         * java/nio/channels/FileLock.java (toString): Re-implement to be
3031         in line with other implementations.
3032
3033 2005-05-03  Tom Tromey  <tromey@redhat.com>
3034
3035         * java/lang/VMSecurityManager.java (currentClassLoader): Use
3036         'systemClasssLoader' directly.
3037
3038 2005-05-03  Tom Tromey  <tromey@redhat.com>
3039
3040         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
3041         call VMClassLoader.getSystemClassLoader.
3042
3043 2005-04-29  Michael Koch  <konqueror@gmx.de>
3044
3045         * java/net/NetworkInterface.java
3046         (static): Removed.
3047         (NetworkInterface(String,InetAddress)): Made package-private.
3048         (NetworkInterface(String,InetAddress[])): New constructor.
3049         (getRealNetworkInterfaces): Removed.
3050         (getByName): Use VMNetworkInterface.getInterfaces().
3051         (getByInetAddress): Likewise.
3052         (getNetworkInterfaces): Likewise.
3053         * java/net/VMNetworkInterface.java,
3054         java/net/natVMNetworkInterfaceNoNet.cc,
3055         java/net/natVMNetworkInterfacePosix.c,c
3056         java/net/natVMNetworkInterfaceWin32.cc: New files.
3057         * java/net/natNetworkInterfaceNoNet.cc,
3058         java/net/natNetworkInterfacePosix.cc,
3059          java/net/natNetworkInterfaceWin32.cc: Removed.
3060         * configure.ac
3061         * Makefile.am
3062         * configure, Makefile.in: Regenerated.
3063
3064 2005-04-29  Andrew Haley  <aph@redhat.com>
3065
3066         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
3067
3068 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
3069
3070         * java/nio/channels/FileChannelImpl.java
3071         (FileChannelImpl(String, int)): Removed.
3072         (FileChannelImpl(File, int)): Added. Check if opened file is a
3073         directory.
3074         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
3075         Call FileChannelImpl(File, int).
3076         * java/io/FileOutputStream.java (FileInputStream): Call
3077         FileChannelImpl(File, int).
3078         * java/io/RandomAccessFile.java (RandomAccessFile):
3079         Call FileChannelImpl(File, int). Switched constructors around.
3080
3081 2005-04-27  Andrew Haley  <aph@redhat.com>
3082
3083         PR java/19285
3084         * prims.cc (_Jv_ResolvePoolEntry): New function.
3085         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
3086         * link.cc (_Jv_Linker::find_field): New arg: found_class.
3087         (resolve_pool_entry): Initialize the class in which a field is
3088         found.
3089         (link_symbol_table): Pass new arg to found_class.
3090
3091 2005-04-29  Michael Koch  <konqueror@gmx.de>
3092
3093         * java/nio/charset/Charset.java
3094         (provider): Reformatted.
3095
3096 2005-04-29  Michael Koch  <konqueror@gmx.de>
3097
3098         * gnu/java/net/protocol/http/HTTPConnection.java:
3099         (userAgent): Initialize from system properties.
3100         (initUserAgent): Removed.
3101
3102 2005-04-29  Mark Wielaard  <mark@klomp.org>
3103
3104         * java/util/ResourceBundle.java (getObject): Clarify
3105         MissingResourceException detailed message.
3106         (tryBundle(String,ClassLoader)): Likewise.
3107
3108 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
3109
3110         * java/beans/FeatureDescriptor.java:
3111         (getShortDescription): Implemented fallback mechanism and fixed
3112         documentation (fixes bug #12637).
3113         (getDisplayName): Dito.
3114
3115 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
3116
3117         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
3118         will now be set correctly.
3119         (flushCaches): Now flushes all cached intermediate data.
3120
3121 2005-04-28  Michael Koch  <konqueror@gmx.de>
3122
3123         * java/net/InetAddress.java
3124         (aton): Fixed javadoc.
3125         (lookup): Likewise.
3126
3127 2005-04-28  Tom Tromey  <tromey@redhat.com>
3128
3129         * javax/swing/Timer.java
3130         (drainEvents, queueEvent): Now package-private.
3131
3132 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
3133
3134         * javax/swing/Timer.java
3135         (constructor): Assigning initialDelay.
3136
3137 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
3138
3139         * javax/swing/Timer.java
3140         (Waker.run): firing the first action event.
3141
3142 2005-04-28  Michael Koch  <konqueror@gmx.de>
3143
3144         * javax/swing/Timer.java: Reordered all fields and methods,
3145         Added more javadocs.
3146
3147 2005-04-28  Michael Koch  <konqueror@gmx.de>
3148
3149         * javax/swing/Timer.java: Javadocs merged
3150         from GNU classpath.
3151
3152 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
3153
3154         * gnu/java/net/protocol/file/Connection.java
3155         (StaticData): New inner class to contain statics.
3156         (connect, getHeaderField): Modified to use StaticData.
3157
3158 2005-04-28  Michael Koch  <konqueror@gmx.de>
3159
3160         * gnu/java/net/protocol/file/Connection.java
3161         (lineSeparator): Initialize with SystemProperties.getProperty().
3162
3163 2005-04-27  Chris Burdess  <dog@gnu.org>
3164
3165         * gnu/java/net/protocol/file/Connection.java: Return correct content
3166         length for directory listing.
3167         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
3168         #11285: return valid URLs for directories.i
3169
3170 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3171
3172         * Makefile.am (ordinary_java_source_files): Add
3173         gnu/java/net/protocol/https/Handler.java.
3174         * Makefile.in: Regenerate.
3175         * java/net/URL.java: Remove org.metastatic.jessie from default
3176         protocol search path.
3177
3178 2005-04-27  Chris Burdess  <dog@gnu.org>
3179
3180         * gnu/java/net/protocol/https/Handler.java: New file.
3181
3182 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
3183
3184         * javax/imageio/spi/IIORegistry.java (IIORegistry):
3185         Don't assume that awt Toolkit is always ClasspathToolkit.
3186
3187 2005-04-27  Chris Burdess  <dog@gnu.org>
3188
3189         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
3190         absolute and relative paths in Location header.
3191
3192 2005-04-27  Chris Burdess  <dog@gnu.org>
3193
3194         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
3195         FileNotFoundException and implement getErrorStream on 404.
3196
3197 2005-04-27  Sven de Marothy <sven@physto.se>
3198
3199         * java/util/TimeZone.java,
3200         (getDefaultDisplayName): Fix previous fix.
3201
3202 2005-04-27  Sven de Marothy <sven@physto.se>
3203
3204         * java/util/TimeZone.java,
3205         (getDefaultDisplayName): Don't print zero offsets.
3206
3207 2005-04-27  Roman Kennke  <roman@kennke.org>
3208
3209         * javax/swing/plaf/basic/BasicScrollBarUI
3210         (getThumbBounds): Do not make thumb smaller than
3211         minimumThumbSize.
3212         * javax/swing/plaf/metal/MetalLookAndFeel
3213         (initComponentDefaults): Added color defaults for ScrollBar.
3214         * javax/swing/plaf/metal/MetalScrollBarUI
3215         (paintThumb): Added.
3216         (getMinimumThumbSize): Added.
3217
3218 2005-04-27  Roman Kennke  <roman@kennke.org>
3219
3220         * javax/swing/plaf/metal/MetalLookAndFeel
3221         (initComponentDefaults): Added some default colors.
3222
3223 2005-04-27  Roman Kennke  <roman@kennke.org>
3224
3225         * javax/swing/plaf/basic/BasicScrollBarUI.java
3226         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
3227         to 'ScrollBar.thumbShadow'. The formes does not exist.
3228         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
3229
3230 2005-04-27  Roman Kennke  <roman@kennke.org>
3231
3232         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
3233         * javax/swing/BoxLayout.java: Likewise.
3234         * javax/swing/UIManager.java: Likewise.
3235         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3236         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
3237         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3238         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3239         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
3240         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
3241         * javax/swing/text/Document.java: Likewise.
3242         * javax/swing/text/GapContent.java: Likewise.
3243         * javax/swing/text/SimpleAttributeSet.java: Likewise.
3244         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
3245
3246 2005-04-27  Roman Kennke  <roman@kennke.org>
3247
3248         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
3249         (getPropertyPrefix): Added.
3250
3251 2005-04-27  Roman Kennke  <roman@kennke.org>
3252
3253         * javax/swing/plaf/basic/BasicButtonUI.java
3254         (getPropertyPrefix): Added.
3255         (installDefaults): Use getPropertyPrefix instead of hard-coded
3256         prefix.
3257
3258 2005-04-27  Roman Kennke  <roman@kennke.org>
3259
3260         * javax/swing/JToggleButton.java
3261         (JToggleButton): Removed horizontalAlignment setting, this
3262         was wrong. Added setting of an actionCommand, ToggleButtons
3263         have "" as default actionCommand.
3264
3265 2005-04-27  Michael Koch  <konqueror@gmx.de>
3266
3267         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
3268         to work around CNI limitation.
3269
3270 2005-04-27  Sven de Marothy  <sven@physto.se>
3271
3272         * java/nio/charset/Charset.java:
3273         (defaultCharset()): New method.
3274         Status updated to 1.5
3275
3276 2005-04-27  Sven de Marothy  <sven@physto.se>
3277
3278         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
3279
3280 2005-04-27  Sven de Marothy  <sven@physto.se>
3281
3282         * java/nio/charset/Charset.java: Reset cached de/encoders.
3283
3284 2005-04-27  Robert Schuster <thebohemian@gmx.net>
3285
3286         * java/nio/charset/Charset.java (forName): Throws
3287         IllegalArgumentException when argument is null
3288         and added documentation.
3289
3290 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3291
3292         * java/nio/charset/Charset.java (providers):
3293         New method to make an array of CharsetProviders defined in
3294         META-INF/services/java.nio.charset.spi.CharsetProvider.
3295         (charsetForName, availableCharsets): Use the
3296         new method providers().
3297
3298 2005-04-26  Michael Koch  <konqueror@gmx.de>
3299
3300         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
3301         Fixed typos in javadocs.
3302         (isSiteLocalAddress): Fixed handling of byte values.
3303         (isMCLinkLocal): Likewise.
3304         * java/net/Inet4Address.java
3305         (isMulticastAddress): Call super method.
3306         (isLoopbackAddress): Likewise.
3307         (isAnyLocalAddress): Likewise.
3308         (isLinkLocalAddress): Likewise.
3309         (isSiteLocalAddress): Likewise.
3310         (isMCGlobal): Likewise.
3311         (isMCNodeLocal): Likewise.
3312         (isMCLinkLocal): Likewise.
3313         (isMCSiteLocal): Likewise.
3314         (isMCOrgLocal): Likewise.
3315         (getHostAddress): Likewise.
3316
3317 2005-04-26  Sven de Marothy  <sven@physto.se>
3318
3319         * java/net/InetAddress.java
3320         (toString): Don't print empty hostnames.
3321
3322 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
3323
3324         PR libgcj/21136:
3325         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
3326         'false' to native lock().
3327         (lock): Pass 'true' to native lock().
3328
3329 2005-04-26  Michael Koch  <konqueror@gmx.de>
3330
3331         * java/net/InetAddress.java:
3332         Fixed typos in javadocs.
3333
3334 2005-04-26  Andrew Haley  <aph@redhat.com>
3335
3336         PR libgcj/21020:
3337         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
3338         field's type.
3339
3340 2005-04-26  Tom Tromey  <tromey@redhat.com>
3341
3342         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
3343         gnu): Now package-private.
3344         * javax/swing/text/html/parser/DocumentParser.java (parser,
3345         callBack, gnu): Now package-private.
3346         * javax/swing/text/StringContent.java (content, setOffset,
3347         checkLocation): Now package-private.
3348         * javax/swing/text/JTextComponent.java (doc): Now
3349         package-private.
3350         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
3351         lastGoodOrientation, origParent, borders, cachedBounds,
3352         cachedOrientation, DragWindow): Now package-private.
3353         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
3354         decrButton, viewport, panel, currentScrollLocation, layoutManager,
3355         tabAreaRect, contentRect, createIncreaseButton,
3356         createDecreaseButton, findPointForIndex): Now package-private.
3357         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3358         (currentDividerLocation, moveDividerTo): Now package-private.
3359         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
3360         package-private.
3361         * javax/swing/plaf/basic/BasicScrollBarUI.java
3362         (calculatePreferredSize, valueForYPosition, valueForXPosition):
3363         Now package-private.
3364         * javax/swing/plaf/basic/BasicPopupMenuUI.java
3365         (topWindowListener): Now package-private.
3366         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
3367         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
3368         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
3369         package-private.
3370         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
3371         package-private.
3372         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
3373         Now package-private.
3374         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
3375         package-private.
3376         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
3377         borderInsets): Now package-private.
3378         (arrowButtonWidth): Likewise.  Now a constant.
3379         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
3380         makeTabs, updatePreviewPanel): Now package-private.
3381         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
3382         darkShadow, highlight): Now package-private.
3383         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
3384         (addColorToQueue): Now package-private.
3385         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
3386         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
3387         GSpinner, BSpinner): Now package-private.
3388         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
3389         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
3390         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
3391         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
3392         updateTrack): Now package-private.
3393         * javax/swing/TransferHandler.java (clipboard): Now
3394         package-private.
3395         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
3396         package-private.
3397         * javax/swing/Timer.java (drainEvents, queueEvent): Now
3398         package-private.
3399         * javax/swing/RepaintManager.java (globalManager): Now
3400         package-private.
3401         * javax/swing/JFormattedTextField.java (editValid): Now
3402         package-private.
3403         * javax/swing/JColorChooser.java (makeModal): Now
3404         package-private.
3405         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
3406         index, path): Now package-private.
3407         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
3408         lineQuadIntersect, lineCubicIntersect, linesIntersect,
3409         pointEquals): Now package-private.
3410         * java/awt/geom/Arc2D.java (type): Now package-private.
3411         * java/awt/Window.java (windowFocusOwner): Now package-private.
3412         * java/awt/TextComponent.java (editable, selectionStart,
3413         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
3414         package-private.
3415         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
3416         package-private.
3417         * java/awt/MenuComponent.java (focusListener): Now
3418         package-private.
3419         * java/awt/Frame.java (state): Now package-private.
3420         * java/awt/Choice.java (pItems): Now package-private.
3421         * java/awt/Checkbox.java (state): Now package-private.
3422         * java/awt/Button.java (actionCommand, label): Now
3423         package-private.
3424         * gnu/javax/swing/text/html/parser/support/Parser.java
3425         (attributes, _handleEndTag_remaining, _handleStartTag): Now
3426         package-private.
3427         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
3428         package-private.
3429         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
3430         clip, transform, font, comp): Now package-private.
3431
3432 2005-04-26  Tom Tromey  <tromey@redhat.com>
3433
3434         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
3435         static way.
3436
3437 2005-04-26  Mark Wielaard  <mark@klomp.org>
3438
3439         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
3440         to MalformedURLException.
3441
3442 2005-04-26  Michael Koch  <konqueror@gmx.de>
3443
3444         * java/security/AccessControlContext.java:
3445         Reformated.
3446         (protectedDomains): Renamed from 'protectionDomain'.
3447         * java/security/AccessController.java:
3448         Reformatted.
3449
3450 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3451
3452         * gnu/java/security/action/GetSecurityPropertyAction.java
3453         (GetSecurityPropertyAction): Implement PrivilegedAction instead
3454         of extending GetPropertyAction.
3455         (name): New field.
3456         (value): Likewise.
3457         (setParamters): New methods.
3458         (GetSecurityPropertyAction): Use new setParameters methods.
3459
3460 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3461
3462         * java/security/Security.java,
3463         java/security/cert/X509CRLSelector.java,
3464         java/security/cert/X509CertSelector.java:
3465         Modified to use SystemProperties.
3466
3467 2005-04-26  Michael Koch  <konqueror@gmx.de>
3468
3469         * java/lang/System.java
3470         (setSecurityManager): Fixed comment.
3471         (getSecurityManager): Removed obsolete comment.
3472
3473 2005-04-25  Tom Tromey  <tromey@redhat.com>
3474
3475         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
3476
3477 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
3478
3479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3480         (connectSignals): Realize the window widget after connecting
3481         signals.
3482
3483 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
3484
3485         * java/awt/GraphicsEnvironment.java
3486         (localGraphicsEnvironment): New field.
3487         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
3488         property.
3489         (isHeadless): Added support for java.awt.headless property.
3490         (isHeadlessInstance): Call headless().
3491
3492 2005-04-25  Roman Kennke  <roman@kennke.org>
3493
3494         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
3495         (getDisplayMode): Added. Returns the current display mode.
3496         (isFullScreenSupported): Added.
3497         * java/awt/GraphicsDevice.java
3498         (setFullScreenWindow): Implemented a primitive fullscreen mode.
3499         This resizes and relocates the fullscreen window so that it uses
3500         the whole screen. This is not a fully accelerated fullscreen
3501         exclusive mode.
3502
3503 2005-04-25  Michael Koch  <konqueror@gmx.de>
3504
3505         * java/lang/Runtime.java,
3506         java/lang/SecurityManager.java,
3507         java/lang/System.java,