* include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
[official-gcc.git] / libjava / ChangeLog
blob86a0b3313d201e8984c0b9d5238a79dd9d912b9c
1 2006-05-13  Tom Tromey  <tromey@redhat.com>
3         * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
4         declaration.
6 2006-05-12  Tom Tromey  <tromey@redhat.com>
8         * sources.am, Makefile.in: Rebuilt.
9         * java/util/logging/LogManager.java: Removed.
10         * java/util/logging/Logger.java (resetLogger): New method, from
11         Classpath.
12         * java/io/RandomAccessFile.java: Removed.
13         * gnu/java/nio/channels/FileChannelImpl.java (create): New
14         method.
15         (FileChannelImpl): Now private.
16         * java/io/FileInputStream.java: Removed.
17         * java/io/FileOutputStream.java: Removed.
18         * java/security/AccessControlContext.java: Removed.
19         * java/lang/ThreadLocal.java: Removed.
20         * java/lang/InheritableThreadLocal.java: Removed.
21         * java/lang/Thread.java (locals): New field.
22         (getThreadLocals): New method.
23         * java/lang/natThread.cc (finish_): Clear 'locals'.
25 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
27         * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
28         fails, don't try again.
29         (use_addr2line): Field no longer final.
31 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
33         * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
34         (lookup): If addr2line fails to find an address, flag the binary as
35         having no debug info and avoid calling addr2line on it again.
37 2006-05-11  David Daney  <ddaney@avtrex.com>
39         * testsuite/libjava.compile/PR20418.java: New.
40         * testsuite/libjava.compile/PR20418.xfail: New.
42 2006-05-11  Andrew Haley  <aph@redhat.com>
44         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
45         line.
47 2006-05-10  Andrew Haley  <aph@redhat.com>
49         * java/lang/natClassLoader.cc: Add comments.
51 2006-05-09  Andrew Haley  <aph@redhat.com>
53         * prims.cc (_Jv_soleIndirectCompiledEngine): New.
54         * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
55         Remove body.
56         (_Jv_CompiledEngine::allocate_field_initializers): New.
57         (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
58         allocate_field_initializers.
59         (class _Jv_IndirectCompiledClass): New.
60         (struct _Jv_IndirectCompiledEngine): New.
61         * java/lang/Class.h: (IndirectCompiledEngine): New.
62         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
63         engine to _Jv_soleIndirectCompiledEngine
64         * link.cc (ensure_fields_laid_out): Call
65         engine->allocate_field_initializers().
67 2006-05-06  Andreas Tobler  <a.tobler@schweiz.ch>
69         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
70         HP-UX and add appropriate extension for shared libraries, sl.
71         (gcj_jni_test_one): Likewise.
72         
73         * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
74         library extensions.
76 2006-05-05  Tom Tromey  <tromey@redhat.com>
78         PR libgcj/27294:
79         * java/lang/natVMClassLoader.cc (defineClass): Throw
80         VirtualMachineError if no interpreter configured.
82 2006-05-03  Andrew Haley  <aph@redhat.com>
84         PR libgcj/27352
85         * java/lang/Class.java (getClassLoader(Class)): New.
86         forName(String, Class): New.
87         * java/lang/natClass.cc (getClassLoader(Class)): New.
89 2006-05-02  Andrew Haley  <aph@redhat.com>
91         * prims.cc (_Jv_NewMultiArray): Check for phantom class.
93 2006-05-04  Tom Tromey  <tromey@redhat.com>
95         PR libgcj/26861:
96         * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
97         <insn_putfield>: Likewise.
98         (NULLCHECK): Define unconditionally.
99         * link.cc (ensure_class_linked): Removed dead code.
101 2006-05-04  Tom Tromey  <tromey@redhat.com>
103         * java/lang/Class.h (JV_STATE_LOADING): Added comment.
104         * Makefile.in: Rebuilt.
105         * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
106         * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
107         * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
108         New field.
109         (loadedClasses): Removed.
110         (findClass): Declare.
111         (addClass): Add to nativeClasses, not loadedClasses.
113 2006-05-04  Andrew Haley  <aph@redhat.com>
115         PR java/26858
116         * testsuite/libjava.lang/PR26858.xfail: Delete.
118 2006-05-02  Bryce McKinlay  <mckinlay@redhat.com>
120         * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
121         -findirect-dispatch compilation.
123 2006-05-01  Andreas Tobler  <a.tobler@schweiz.ch>
125         * configure.ac: Simplify the mmap check a bit more.
126         * configure: Rebuilt.
127         * include/config.h.in: Likewise.
129 2006-05-01  Roger Sayle  <roger@eyesopen.com>
130             Andrew Haley  <aph@redhat.com>
132         * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
133         before calling GC_register_has_static_roots_callback.
134         (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
135         HAVE_DLADDR before calling dladdr.
137 2006-04-28  Bryce McKinlay  <mckinlay@redhat.com>
139         * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
140         to resolve_method.
141         * interpret.cc (insn_invokevirtual): Use method->index, not
142         vtable_index. Check accflag FINAL to determine finals. Only do
143         explicit null check if calling a final method. Use
144         throw_null_pointer_exception.
145         (invokevirtual_resolved): Likewise.
146         (null_pointer_exc): Remove static field.
147         (throw_null_pointer_exception): Always define. Throw a new
148         NullPointerException every time.
149         * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
150         field.
151         * include/execution.h (resolve_method): Remove vtable_index argument.
153 2006-04-28  Andreas Tobler  <a.tobler@schweiz.ch>
155         * configure.ac: Add an additional checks for dladdr and dlopen on dld.
156         * configure: Rebuilt.
158 2006-04-25  Tom Tromey  <tromey@redhat.com>
160         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
161         Include platform.h.  Set GC_DEBUG before including gc.h, if
162         needed.
164 2006-04-25  Andrew Haley  <aph@redhat.com>
166         * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
167         * boehm.cc: Don't include link.h.
168         (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
170 2006-04-24  Tom Tromey  <tromey@redhat.com>
172         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
174 2006-04-21  Andrew Haley  <aph@redhat.com>
176         * include/execution.h (struct _Jv_CompiledEngine): Define for
177         compiled classes.
178         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
179         _Jv_RegisterLibForGc.
180         (_Jv_RegisterClasses_Counted): Likewise.
181         (_Jv_NewClassFromInitializer): New.
182         (_Jv_RegisterNewClasses): New.
183         * sources.am: Regenerate.
184         * boehm.cc (_Jv_GC_has_static_roots): new.
185         (_Jv_InitGC): Call GC_register_has_static_roots_callback.
186         (filename_node, find_file, _Jv_print_gc_store, new_node,
187         _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
188         * scripts/makemake.tcl: Add -fno-indirect-classes.
189         * Makefile.in: Regenerate.
190         * link.cc (resolve_pool_entry): Allocate constant pool.
191         Allocate fields.
192         
193 2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>
195         * configure.ac: Weaken the check for MMAP.
196         * configure: Rebuilt.
197         * include/config.h.in: Likewise.
199 2006-04-20  Bryce McKinlay  <mckinlay@redhat.com>
201         PR libgcj/27170
202         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
203         dlopen(). From Anthony Green.
205 2006-04-20  Tom Tromey  <tromey@redhat.com>
207         PR libgcj/21941:
208         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
209         UnknownHostException if needed.
210         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
211         UnknownHostException if needed.
213 2006-04-19  Tom Tromey  <tromey@redhat.com>
215         * Makefile.in: Rebuilt.
216         * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
217         all_java_deps_files.
219 2006-04-19  Tom Tromey  <tromey@redhat.com>
221         * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
222         handle EINTR.
224 2006-04-17  Tom Tromey  <tromey@redhat.com>
226         PR libgcj/27171:
227         * testsuite/libjava.lang/pr27171.java: New file.
228         * testsuite/libjava.lang/pr27171.out: New file.
229         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
230         true if we've seen a high surrogate.
231         (write): Handle high surrogates at the end of the stream.
232         Properly emit isolated low surrogates.
234 2006-04-17  Andreas Tobler  <a.tobler@schweiz.ch>
236         * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
237         of failure.
239 2006-04-13  Tom Tromey  <tromey@redhat.com>
241         PR libgcj/26522:
242         * Makefile.in: Rebuilt.
243         * Makefile.am (libsubdir): New variable.
245 2006-04-12  NAKATA Maho  <maho@FreeBSD.org> 
247         PR libgcj/23829
248         * configure.ac: Link against -lpthread rather than -lc_r on
249         FreeBSD 5 and above.
250         * configure: Regenerate.
252 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
254         * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
255         of package-private field "loadedClasses" using reflection.
256         * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
257         block.
259 2006-04-10  Matthias Klose  <doko@debian.org>
261         * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
262         directory names containing underscores.
264 2006-04-10  Andrew Haley  <aph@redhat.com>
266         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
267         (SIGNAL_HANDLER): Mark arg as unused.
268         * configure.host (x86_64-* DIVIDESPEC): Use
269         fno-use-divide-subroutine.
271 2006-04-07  Andrew Haley  <aph@redhat.com>
273         * java/net/InetAddress.java: Throw an UnknownHostException if
274         lookup fails.
276 2006-04-05  Tom Tromey  <tromey@redhat.com>
278         PR libgcj/26625:
279         * Makefile.in: Rebuilt.
280         * Makefile.am (libgcj-$(gcc_version).jar): Depend on
281         classpath/lib/compile-classes.
283 2006-04-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
285         * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
286         MinGW since EBP is used for backtracking through call frames on this
287         platform.
289 2006-04-05  Archit Shah  <ashah@redhat.com>
291         PR java/25414
292         * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
293         Add classpath argument.
294         * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
295         caller.
296         * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
297         * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
298         * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
299         * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
300         mkdirs for destination directory, correct handling of superclasses
301         and interfaces of the remote class, correct handling of exceptions
302         declared by remote methods.
304 2006-04-04  Tom Tromey  <tromey@redhat.com>
306         PR libgcj/26990:
307         * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
308         * gnu/java/lang/natMainThread.cc (call_main): Use
309         exitNoChecksAccessor.
310         * testsuite/libjava.lang/pr26990.out: New file.
311         * testsuite/libjava.lang/pr26990.java: New file.
312         * java/lang/Runtime.java (exitNoChecks): New method.
313         (exitNoChecksAccessor): Likewise.
314         (exit): Call exitNoChecks.
316 2006-04-03  Tom Tromey  <tromey@redhat.com>
318         * Makefile.in: Rebuilt.
319         * Makefile.am (ZIP): Removed.
320         (libgcj-$(gcc_version).jar): Use $(JAR).
321         (src.zip): Likewise.
322         * configure: Rebuilt.
323         * configure.ac: Check for jar.  Removed code to set ZIP.
325 2006-04-03  Andrew Haley  <aph@redhat.com>
327         * testsuite/libjava.lang/Float_2.java: New file.
329 2006-03-31  Andreas Tobler  <a.tobler@schweiz.ch>
331         * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
333 2006-03-30  Tom Tromey  <tromey@redhat.com>
335         PR java/26042:
336         * testsuite/libjava.compile/pr26042.java: New file.
338 2006-03-29  Tom Tromey  <tromey@redhat.com>
340         * sources.am, Makefile.in: Rebuilt.
341         * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
343 2006-03-29  Tom Tromey  <tromey@redhat.com>
345         PR java/26390:
346         * testsuite/libjava.lang/pr26390.out: New file.
347         * testsuite/libjava.lang/pr26390.java: New file.
348         * sources.am, Makefile.in: Rebuilt.
349         * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
351 2006-03-29  Tom Tromey  <tromey@redhat.com>
353         * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
354         CLOCK_HIGHRES.
356 2006-03-28  Anthony Balkissoon  <abalkiss@redhat.com>
358         * scripts/unicode-muncher.pl: Removed this file.
359         * scripts/MakeCharTables.java: Likewise.
360         * scripts/unicode-to-chartables.pl: New file.
361         * java/lang/natCharacter.cc: 
362         (UNASSIGNED_TYPE): New field.
363         (UNASSIGNED_DIGIT): Likewise.
364         (UNASSIGNED_DIRECTION): Likewise.
365         (UNASSIGNED_NUMERIC_VALUE): Likewise.
366         (PRIVATE_TYPE): Likewise.
367         (PRIVATE_DIRECTION): Likewise.
368         (readCodePoint): New method.
369         (getType(jint)): Likewise.
370         (toLowerCase(jint)): Likewise.
371         (toUpperCase(jint)): Likewise.
372         (toTitleCase(jint)): Likewise.
373         (digit(jint, jint)): Likewise.
374         (getNumericValue(jint)): Likewise.
375         (getDirectionality(jint)): Likewise.
376         (readChar),
377         (getType(jchar)),
378         (toLowerCase(jchar)),
379         (toUpperCase(jchar)),
380         (toTitleCase(jchar)),
381         (digit(jchar, jint)),
382         (getNumericValue(jchar)),
383         (getDirectionality(jchar)): Changed references from data to data[0], 
384         blocks to blocks[0], direction to direction[0], numValue to 
385         numValue[0], upper to upper[0], lower to lower[0], and shift to 
386         shift[0] to reflect the new structures in java-chartables.h.    
387         * java/lang/Character.java:
388         (readCodePoint): Declared new native method.
389         (getType(int)): Likewise.
390         (toLowerCase(int)): Likewise.
391         (toUpperCase(int)): Likewise.
392         (toTitleCase(int)): Likewise.
393         (digit(int, int)): Likewise.
394         (getNumericValue(int)): Likewise.
395         (getDirectionality(int)): Likewise.
396         (isLowerCase(int)): New method.
397         (isUpperCase(int)): Likewise.
398         (itTitleCase(int)): Likewise.
399         (isDigit(int)): Likewise.
400         (isDefined(int)): Likewise.
401         (isLetter(int)): Likewise.
402         (isLetterOrDigit(int)): Likewise.
403         (isJavaIdentifierStart(int)): Likewise.
404         (isJavaIdentifierPart(int)): Likewise.
405         (isUnicodeIdentifierStart(int)): Likewise.
406         (isUnicodeIdentifierPart(int)): Likewise.
407         (isIdentifierIgnorable(int)): Likewise.
408         (isSpaceChar(int)): Likewise.
409         (isWhitespace(int)): Likewise.
410         (isISOControl(int)): Likewise.
411         (isMirrored(int)): Likewise.
412         * include/java-chartables.h: Generated from 
413         scripts/unicode-to-chartables.h.
415 2006-03-24  David Daney  <ddaney@avtrex.com)
417         * testsuite/libjava.lang/PR26858.java: New test.
418         * testsuite/libjava.lang/PR26858.out: Ditto.
419         * testsuite/libjava.lang/PR26858.xfail: Ditto.
421 2006-03-16  Kaz Kojima  <kkojima@gcc.gnu.org>
423         * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
424         macro.
425         
426 2006-03-15  Tom Tromey  <tromey@redhat.com>
428         * testsuite/libjava.jacks/jacks.xfail: Removed
429         13.1-runtime-method-5.
431 2006-03-15  Tom Tromey  <tromey@redhat.com>
433         PR java/26638:
434         * link.cc (get_interfaces): Skip <clinit>.
435         (append_partial_itable): Likewise.
437 2006-03-10  Tom Tromey  <tromey@redhat.com>
439         PR libgcj/25713:
440         * java/util/zip/Deflater.java (flush): New method.
441         * sources.am, Makefile.in: Rebuilt.
442         * java/util/zip/DeflaterOutputStream.java: Removed.
443         * java/util/zip/InflaterInputStream.java: Likewise.
444         * java/util/zip/GZIPInputStream.java: Likewise.
445         * java/util/zip/GZIPOutputStream.java: Likewise.
447 2006-03-10  Andreas Tobler  <a.tobler@schweiz.ch>
449         * include/powerpc-signal.h: Fix typo in comment.
451 2006-03-09  Mark Wielaard  <mark@klomp.org>
453         Imported GNU Classpath 0.90
454         * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
455         * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
456         * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
457         * java/lang/Math.java: New override file.
458         * java/lang/Character.java: Merged from Classpath.
459         (start, end): Now 'int's.
460         (canonicalName): New field.
461         (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
462         (UnicodeBlock): Added argument.
463         (of): New overload.
464         (forName): New method.
465         Updated unicode blocks.
466         (sets): Updated.
467         * sources.am: Regenerated.
468         * Makefile.in: Likewise.
470 2006-03-09  Tom Tromey  <tromey@redhat.com>
472         PR libgcj/23495:
473         * java/lang/natString.cc (_Jv_NewString): Use memcpy.
474         (equals): Use memcmp.
475         (contentEquals): Likewise.
476         (getChars): Use memcpy.
477         (toCharArray): Likewise.
478         (regionMatches): Use memcmp.
479         (regionMatches): Likewise.
480         (startsWith): Likewise.
481         (concat): Use memcpy.
482         (valueOf): Likewise.
484 2006-03-09  Tom Tromey  <tromey@redhat.com>
486         * configure: Rebuilt.
487         * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
488         well.
490 2006-03-09  Tom Tromey  <tromey@redhat.com>
492         PR libgcj/24461:
493         * java/util/zip/InflaterInputStream.java (fill): Throw exception
494         if stream is truncated.
496 2006-03-09  Tom Tromey  <tromey@redhat.com>
498         * win32.cc (_Jv_platform_nanotime): New function.
499         * include/win32.h (_Jv_platform_nanotime): Declare.
500         * posix.cc (_Jv_platform_nanotime): New function.
501         * include/posix.h (_Jv_platform_nanotime): Declare.
502         * java/lang/natSystem.cc (nanoTime): New method.
503         * java/lang/System.java (nanoTime): Declare.
504         * include/config.h.in, configure: Rebuilt.
505         * configure.ac: Check for clock_gettime.
507 2006-03-08  David Daney  <ddaney@avtrex.com>
509         * configure.ac (LD): Add AC_CHECK_TOOL for ld.
510         (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
511         (LD_FINISH_STATIC_SPEC): Ditto
512         * configure: Regenerated.
513         * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
514         LD_FINISH_STATIC_SPEC.
515         
516 2006-03-07  Tom Tromey  <tromey@redhat.com>
518         PR libgcj/26103:
519         * java/lang/ClassLoader.java (loadClass): Don't throw
520         StringIndexOutOfBoundsException if name is empty.
521         * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
522         if class not found.
524 2006-03-07  David Daney  <ddaney@avtrex.com>
526         * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
528 2006-03-07  David Daney  <ddaney@avtrex.com>
530         * link.cc: Include ffi.h if USE_LIBFFI defined.
531         
532 2006-03-03  Tom Tromey  <tromey@redhat.com>
534         * interpret.cc (do_allocate_static_fields): Added comment.
536 2006-03-01  Tom Tromey  <tromey@redhat.com>
538         PR java/24321:
539         * testsuite/libjava.lang/pr24321.java: New file.
540         * testsuite/libjava.lang/pr24321.out: New file.
541         * java/lang/natClass.cc (isInstance): Don't initialize class.
542         (isAssignableFrom): Likewise.
544 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
546         PR other/26208
547         * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
548         of _Unwind_GetIP.
549         * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
550         (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
551         to throw.
552         * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
553         macro.
554         * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
555         macro.
557 2006-02-23  Scott Gilbertson  <scottg@mantatest.com>
559         * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
560         before returning, handle null clip.
561         (getClipBounds): Handle null clip.
562         * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
563         * gnu/awt/xlib/XCanvasPeer.java (): 
564         (getLocationOnScreen): Implement.
565         * classpath/gnu/java/awt/peer/GLightweightPeer.java
566         (repaint): Merged with Classpath.
567         * classpath/java/awt/Graphics.java (hitClip): Merged with
568         Classpath.
570 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
572         * link.cc: Added variant of create_error_method that
573         will not complain about unused parameter if compiled with
574         USE_LIBFFI not being defined.
575         (_Jv_Linker::find_field_helper): Fixed indentation.
576         (_Jv_Linker::create_error_method): Fixed indentation.
577         (_Jv_Linker::link_symbol_table): Fixed indentation.
579 2006-02-16  Andrew Haley  <aph@redhat.com>
581         * stacktrace.cc (GetStackTraceElements): Call
582         gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
583         non-Java frames should be removed from a printed stack trace.
584         Pass methodName to getLineNumberForFrame().
585         (getLineNumberForFrame): Set method_name from info.dli_sname.
586         * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
587         (remove_unknown): New variable.
588         * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
589         Add methodName arg.
591 2006-02-15  Matthias Klose  <doko@debian.org>
593         * gnu/java/nio/charset, gnu/java/net/protocol/file,
594         gnu/regexp: Remove empty directories.
596 2006-02-09  Bryce McKinlay  <mckinlay@redhat.com>
598         * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put 
599         'itable' inline, instead of as a pointer.
600         (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
601         * link.cc (null_idt): Update definition.
602         (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
603         as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
604         (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
605         (_Jv_Linker::find_iindex): Likewise. Update comment.
606         * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
607         _Jv_IDispatchTable change.
608         (_Jv_IsAssignableFrom): Likewise.
610 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
612         PR libgcj/25187:
613         * gnu/gcj/io/natSimpleSHSStream.cc
614         (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
615         * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
616         _Jv_InterpFrame(). 
617         * boehm.cc: #undef some autoconf macros before including gc-config.h.
618         (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
619         (_Jv_MarkArray): Likewise.
620         * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
621         Simplify _Jv_GCRegisterDisappearingLink() call.
622         * java/lang/Class.h (getComponentType): Use element_type.
623         (element_type): New field declaration, as a union with "methods".
624         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
625         * java/net/natVMNetworkInterfacePosix.cc
626         (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
627         avoid sign comparison warning.  
628         * include/java-interp.h (_Jv_InterpFrame): Take thread as second
629         argument, not parent call frame.
630         * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
631         without a cast.
632         (restore_rt): Declare with hidden visibility, not "static".
633         * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
634         constant.
635         * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
636         warning.
638 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
640         PR libgcj/26113:
641         * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
642         as "const char *".
643         * verify.cc (verify_fail): Likewise.
644         * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
645         * interpret.cc (throw_internal_error, throw_class_format_error):
646         Likewise.
647         * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, 
648         _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
649         * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
650         * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
651         * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
652         is_attribute_name): Likewise.
653         * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
654         _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
656 2006-02-08  Tom Tromey  <tromey@redhat.com>
658         PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
659         * defineclass.cc (parse): Use _Jv_AllocRawObj.
660         (read_constpool): Likewise.
661         (read_one_code_attribute): Use internal function name.
662         (handleConstantPool): Use _Jv_AllocRawObj.
663         (handleInterfacesBegin): Likewise.
664         (handleFieldsBegin): Likewise.
665         (handleMethodsBegin): Likewise.
666         (handleCodeAttribute): Likewise.
667         (handleMethodsEnd): Likewise.
668         * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
669         * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
670         Allocate reference fields separately.
671         * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
672         (add_miranda_methods): Likewise.
673         (generate_itable): Use _Jv_AllocBytes.
674         (find_iindex): Likewise.
675         (struct method_closure): New structure.
676         (create_error_method): Use struct method_closure; allocate with
677         _Jv_AllocBytes.
678         (ensure_fields_laid_out): Separate reference fields from
679         non-reference fields.
680         * boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
681         of Class.
682         (_Jv_MarkArray): Mark vtable.
683         (_Jv_AllocRawObj): Don't allocate objects of size 0.
684         * include/execution.h
685         (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
686         parameter.
687         (struct _Jv_CompiledEngine): Updated.
688         (class _Jv_InterpreterEngine): Updated.
690 2006-02-08  Tom Tromey  <tromey@redhat.com>
692         PR java/22578:
693         * gcj/javaprims.h: Updated.
694         * sources.am, Makefile.in: Rebuilt.
695         * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
696         (doubleToRawLongBits): Likewise.
697         (longBitsToDouble): Likewise.
698         (toString): Likewise.
699         (parseDouble): Likewise.
700         * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
701         (floatToRawIntBits): Likewise.
702         (intBitsToFloat): Likewise.
703         * java/lang/VMDouble.java: New file.
704         * java/lang/VMFloat.java: New file.
705         * java/lang/Float.java, java/lang/Double.java: Removed.
707 2006-02-06  Tom Tromey  <tromey@redhat.com>
709         * gij.cc (version): Use 2006.
710         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
711         * gnu/gcj/convert/Convert.java (version): Use 2006.
712         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
714 2006-02-04  Tom Tromey  <tromey@redhat.com>
716         PR java/25676:
717         * testsuite/libjava.lang/pr25676.out: New file.
718         * testsuite/libjava.lang/pr25676.java: New file.
720 2006-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
722         * Makefile.am (src.zip): Update src.zip file search to look in
723         classpath directory.
724         * Makefile.in: Regenerate.
726 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
728         * link.cc:
729         (_Jv_Linker::create_error_method): Added missing (void *) cast.
731 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
733         * include/jvm.h:
734         (_Jv_Linker::create_error_method): New method declaration.
735         * link.cc:
736         (_Jv_Linker::create_error_method): New method.
737         (_Jv_Linker::link_symbol_table): Use new method above.
739 2006-02-01  Robert Schuster  <robertschuster@fsfe.org>
741         * link.cc:
742         (_Jv_Linker::find_field_helper): Added checks.
743         (_Jv_Linker::find_field): Use exception swallowing class resolution
744         and added early return.
745         (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
746         (_Jv_Linker::link_symbol_table):  Use exception swallowing class
747         resolution, added ffi_closure installation routine, use
748         _Jv_ThrowNoClassDefFoundError for missing static method.
749         (_Jv_Linker::ensure_class_linked): Added string check which does
750         not trigger class resolution.
751         * java/lang/natClassLoader.cc:
752         (_Jv_FindClassNoException): New method.
753         * java/lang/Class.h:
754         (_Jv_FindClassNoException): New method declaration.
755         * include/jvm.h:
756         (_Jv_FindClassNoException): New method declaration.
757         (_Jv_FindClassFromSignatureNoException): New method declaration.
758         * prims.cc:
759         (_Jv_FindClassFromSignatureNoException): New method.
760         * gcj/javaprims.h:
761         (_Jv_equalsUtf8Classname): New method declaration.
762         (_Jv_isPrimitiveOrDerived): Dito.
763         * prims.cc:
764         (_Jv_equalsUtf8Classnames): New method.
765         (_Jv_isPrimitiveOrDerived): New method.
766         * verify.cc:
767         (ref_intersection::equals): Use new classname comparison method.
768         (type::compatible): Use new classname comparison method. Added
769         check whether LHS' type is java.lang.Object .
770         (type::resolve): Added new optional debug message and simplified
771         if-expression.
772         (type::to_array): Added codepath that generates an array type
773         without resolving the element type.
775 2006-01-31  Mark Wielaard  <mark@klomp.org>
777         * NEWS: Add 4.1 updates.
779 2006-01-30  Keith Seitz  <keiths@redhat.com>
781         * include/java-interp.h (insn_index): New declaration.
782         (num_insn_slots): New private variable.
783         (get_line_table): New declaration.
784         * interpret.cc (insn_index): New function.
785         (get_line_table): New function.
787 2006-01-24  Archit Shah  <ashah@redhat.com>
788             Tom Tromey  <tromey@redhat.com>
790         * prims.cc (next_property_value): Never return NULL.
791         (process_gcj_properties): Copy 'props' before using it.
793 2006-01-23  Keith Seitz  <keiths@redhat.com>
795         * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
796         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
798 2006-01-23  David Daney  <ddaney@avtrex.com>
800         * configure.host (disable_dladdr): Remove variable and its
801         documentation.
802         * configure.ac: Do not test for disable_dladdr.
803         * configure: Regenerate.
804         * include/config.h.in: Regenerate.
806 2006-01-18  Tom Tromey  <tromey@redhat.com>
808         * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
809         already exists.
811 2006-01-18  Keith Seitz  <keiths@redhat.com>
813         * include/java-interp.h (_Jv_CompileMethod): Add declaration.
814         (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
815         * interpret.cc (_Jv_CompileMethod): New function.
816         (run):  Massage code to allow for NULL args.
817         Update comments to explain NULL args.
818         Return if compiling the method and args is NULL.
820 2006-01-18  H.J. Lu  <hongjiu.lu@intel.com>
822         PR libgcj/25840
823         * include/x86_64-signal.h (RESTORE2): Add ".text\n".
825 2006-01-17  Tom Tromey  <tromey@redhat.com>
827         PR classpath/20198:
828         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
829         (JarURLLoader): Likewise.
830         (addURLImpl): Canonicalize file URLs.
832 2006-01-16  Mark Wielaard  <mark@klomp.org>
834         Imported GNU Classpath 0.20
835         * Makefile.am (AM_CPPFLAGS): Add classpath/include.
836         * java/nio/charset/spi/CharsetProvider.java: New override file.
837         * java/security/Security.java: Likewise.
838         * sources.am: Regenerated.
839         * Makefile.in: Likewise.
841 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
843         * configure.ac (dbexecdir): New substituted var.
844         * configure: Rebuilt.
845         * Makefile.am (dbexecdir): Remove.
846         * Makefile.in: Rebuilt.
848 2006-01-13  Tom Tromey  <tromey@redhat.com>
850         * gnu/regexp/MessagesBundle_fr.properties: Removed.
851         * gnu/regexp/MessagesBundle.properties: Removed.
853 2006-01-13  Tom Tromey  <tromey@redhat.com>
855         * java/security/classpath.security: Removed.
856         * Makefile.in: Rebuilt.
857         * Makefile.am (install-data-local): Don't install
858         classpath.security.
860 2006-01-08  Chris Burdess  <dog@gnu.org>
862         * java/lang/Character.java (toChars,toCodePoint): Correct these
863           methods to use algorithms from Unicode specification.
865 2006-01-08  Tom Tromey  <tromey@redhat.com>
867         * java/lang/StringBuilder.java (appendCodePoint): New method.
868         (insert): New overloads.
869         * java/lang/StringBuffer.java (StringBuffer): New constructor.
870         (charAt): Remerged javadoc.
871         (codePointAt, codePointBefore): New methods.
872         (appendCodePoint): New method.
873         (append): New overloads.
874         (insert): Likewise.
875         (trimToSize, codePointCount, offsetByCodePoints): New methods.
876         * java/lang/Float.java (SIZE): New field.
877         (valueOf): New method.
878         * java/lang/natDouble.cc (initIDs): Removed.
879         * java/lang/Double.java (static initializer): Removed.
880         (SIZE): New field.
881         (valueOf): New method.
882         (initIDs): Removed.
884 2006-01-07  Jakub Jelinek  <jakub@redhat.com>
886         PR libgcj/24940
887         * shlibpath.m4: Replace $SED with sed.
888         * configure: Rebuilt.
890 2006-01-06  Tom Tromey  <tromey@redhat.com>
892         * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
893         MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
894         (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
895         MAX_LOW_SURROGATE): Javadoc fixes.
896         (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
897         isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
898         methods from Classpath.
899         * java/lang/String.java (codePointAt, codePointBefore,
900         codePointCount, contains, replace): New methods from Classpath.
901         (contentEquals): Declare.
902         * java/lang/natString.cc (contentEquals): New method.
904 2005-12-26  Anthony Green  <green@redhat.com>
906         * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
907         of data to read (dst.remaining()).
908         * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
910 2005-11-11  Mark Wielaard  <mark@klomp.org>
912         Reported by john.zigman@anu.edu.au as bug #24608.
913         * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
914         destination ByteBuffer when it doesn't have an array instead of len
915         bytes.
917 2006-01-05  Tom Tromey  <tromey@redhat.com>
919         * java/lang/natThread.cc (finish_): Don't clear 'group'.
920         * sources.am, Makefile.in: Rebuilt.
921         * java/lang/Runtime.java (exit): Merged with Classpath.
922         (runShutdownHooks): New method from Classpath.
923         * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
924         FileDeleter.
925         * gnu/gcj/runtime/FileDeleter.java: Removed.
926         * java/lang/natRuntime.cc (runFinalizationForExit): New method.
927         (exitInternal): Don't run finalizers or delete files.
929 2006-01-05  Tom Tromey  <tromey@redhat.com>
931         * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
933 2006-01-04  Krister Walfridsson  <cato@df.lth.se>
935         * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
937 2006-01-04  Tom Tromey  <tromey@redhat.com>
939         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
940         * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
941         Changed argument type.  Use SystemClassLoader.addClass.
942         * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
944 2005-12-24  David Daney <ddaney@avtrex.com>
945             Tom Tromey  <tromey@redhat.com>
947         PR libgcj/9715, PR libgcj/19132:
948         * java/nio/charset/Charset.java (charsetForName): Try default
949         provider first.
950         (availableCharsets): Re-merged.
951         (providers2): Likewise.
952         (defaultCharset): Likewise.
953         * sources.am, Makefile.in: Rebuilt.
954         * gnu/java/nio/charset/Provider.java: Removed.
955         * java/io/OutputStreamWriter.java
956         (OutputStreamWriter(OutputStream,Charset)): New constructor.
957         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
958         * java/io/InputStreamReader.java
959         (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
960         (InputStreamReader(InputStream,Charset)): Likewise.
961         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
962         BytesToCharsetAdaptor.
963         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
964         CharsetToBytesAdaptor.
965         * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
966         * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
967         * mauve-libgcj: Remove getEncoding exclusion.
969 2005-12-28  Anthony Green  <green@redhat.com>
971         * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
972         as previous patch, but for win32.
974 2005-12-28  Anthony Green  <green@redhat.com>
976         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
977         address and port before attempting anything.
979 2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
981         * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
982         operation atomic.
984 2005-12-22  Andrew Haley  <aph@redhat.com>
986         PR java/25535
987         * testsuite/libjava.lang/PR25535.java: New test.
989 2005-12-22  Tom Tromey  <tromey@redhat.com>
991         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
992         reference NUM_OBJECT_METHODS.
993         * include/jvm.h (NUM_OBJECT_METHODS): Removed.
995 2005-12-18  Anthony Green  <green@redhat.com>
997         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress): 
998         New helper function.
999         (setOption): Use getLocalAddress.  Don't downcast value to
1000         InetAddress.
1001         (getOption): Use getLocalAddress.
1003 2005-12-16  Tom Tromey  <tromey@redhat.com>
1005         * java/lang/Class.java (getPackage): Get package from
1006         VMClassLoader if needed.
1008 2005-12-16  Tom Tromey  <tromey@redhat.com>
1010         * testsuite/libjava.jacks/jacks.xfail
1011         (8.5.2-accessible-static-member-usage-3): Removed.
1013 2005-12-15  Tom Tromey  <tromey@redhat.com>
1015         * testsuite/libjava.compile/rh175833.java: New file.
1016         * testsuite/libjava.compile/pr25429.java: New file.
1018 2005-12-15  Alan Modra  <amodra@bigpond.net.au>
1020         * testsuite/lib/libjava.exp: Revert 2005-12-01.
1021         * testsuite/libjava.lang/Array_3.xfail: Delete.
1023 2005-12-14  Andrew Haley  <aph@redhat.com>
1025         * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
1026         handle stdout from the child process.
1028 2005-12-14  Tom Tromey  <tromey@redhat.com>
1030         PR classpath/25389:
1031         * java/io/File.java (File): Throw IllegalArgumentException if URI is
1032         non-hierarchical.
1034 2005-12-12  Andrew Haley  <aph@redhat.com>
1036         * java/lang/VMCompiler.java: Directly generate a new instance of
1037         gnu.java.security.provider.MD5.
1039 2005-12-08  Andrew Haley  <aph@redhat.com>
1041         PR libgcj/25265
1042         * java/lang/Object.h (throwNoSuchMethodError): New method.
1043         * java/lang/Object.java (throwNoSuchMethodError): New method.
1044         * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
1045         * link.cc (_Jv_ThrowNoSuchFieldError): New.
1046         (link_symbol_table): Don't throw a NoSuchFieldError if a field is
1047         missing.  Instead, set the otable entry to zero.
1048         (link_symbol_table): If we don't find a nonstatic method, insert
1049         the vtable offset of Object.throwNoSuchMethodError() into the
1050         otable.
1052 2005-12-05  Tom Tromey  <tromey@redhat.com>
1054         * testsuite/libjava.compile/rh174912.java: New file.
1056 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
1058         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
1059         xfail-byte-exec.
1060         * testsuite/libjava.lang/Array_3.xfail: New file.
1062 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
1064         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
1065         to compare _Jv_InterpMethod::run against current func.
1067 2005-11-30  Andrew Haley  <aph@redhat.com>
1069         * classpath/lib/Makefile.am (resources): Use `cp -p'.
1070         Remove `@' from start of line.
1072 2005-11-28  Tom Tromey  <tromey@redhat.com>
1074         PR java/18278:
1075         * testsuite/libjava.jni/pr18278.out: New file.
1076         * testsuite/libjava.jni/pr18278.c: New file.
1077         * testsuite/libjava.jni/pr18278.java: New file.
1078         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
1079         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
1080         (call): Unwrap return value if needed.
1082 2005-11-25  Mark Wielaard  <mark@klomp.org>
1084         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
1085         gnu/javax/rmi.
1086         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
1087         gnu/javax/rmi to bc.
1088         * gnu/CORBA/ObjectCreator.java: New override file for missing
1089         VMStackWalker issue.
1090         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
1091         * gnu/CORBA/DynAn/RecordAny.java: Likewise
1092         * sources.am: Regenerated.
1093         * Makefile.in: Regenerated
1095 2005-11-25  Andrew Haley  <aph@redhat.com>
1097         PR libgcj/25016
1098         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
1099         struct timespec we pass to pthread_cond_timedwait.
1101 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
1103         * testsuite/libjava.jacks/jacks.xfail: Remove
1104         non-jls-argument-expansion-13 and add
1105         non-jls-argument-expansion-error-1 in response to the @file support
1106         patch in the main GCC driver.
1108 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
1110         * sysdep/ia64-frame.h: Removed.
1111         * sysdep/ia64.c: Removed.
1112         * sysdep/dwarf2-backtrace.cc: Removed.
1113         * configure.ac: Remove references to HAVE_BACKTRACE and
1114         SUPPLY_BACKTRACE.
1115         * Makefile.am: Remove SUPPLY_BACKTRACE support.
1116         * configure: Rebuilt.
1117         * Makefile.in: Rebuilt.
1119 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
1121         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
1123 2005-11-17  Mark Wielaard  <mark@klomp.org>
1125         Imported GNU Classpath gcj-import-20051117.
1126         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
1127         * sources.am: Regenerated.
1128         * Makefile.in: Likewise.
1130 2005-11-17  Mark Wielaard  <mark@klomp.org>
1132         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
1133         * java/net/ServerSocket.java: Likewise.
1134         * sources.am: Regenerated.
1135         * Makefile.in: Regenerated.
1137 2005-11-17  Mark Wielaard  <mark@klomp.org>
1139         Fixes bug #24006
1140         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
1142 2005-11-17  Tom Tromey  <tromey@redhat.com>
1144         * java/net/ServerSocket.java (accept): Use correct security manager
1145         call.
1147 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1149         * java/net/ServerSocket.java
1150         (bound): Removed.
1151         (local): New field.
1152         (bind): Cache local socket address.
1153         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
1154         Use cached local socket address.
1155         (close): bound field was removed.
1157 2005-11-17  Tom Tromey  <tromey@redhat.com>
1159         * java/net/URLConnection.java (setDoInput): Javadoc fix.
1160         (setDoOutput): Likewise.
1161         (setContentHandlerFactory): Likewise.
1162         (setFileNameMap): Likewise.
1164 2005-11-17  Mark Wielaard  <mark@klomp.org>
1166         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
1168 2005-11-17  Mark Wielaard  <mark@klomp.org>
1170         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
1171         call urls.add() and addURLImpl() directly on each URL.
1173 2005-11-17  Tom Tromey  <tromey@redhat.com>
1175         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
1177 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1179         * java/net/URLClassLoader.java
1180         (Resource.name): Removed field.
1181         (JarURLResource.name): Added field.
1182         (FileResource.getURL): Use File.toURL() instead of doing it in
1183         a way that breaks on Windows.
1185 2005-11-17  Roman Kennke  <roman@kennke.org>
1187         Reported by: Ingo Proetel  <proetel@aicas.com>
1188         * java/net/URLClassLoader.java
1189         (findClass): Added null check to avoid NullPointerException.
1191 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1193         * java/net/URLClassLoader.java: reordered some API doc comments to
1194         suppress Eclipse warnings, and fixed API doc link.
1196 2005-11-17  Tom Tromey  <tromey@redhat.com>
1198         * java/net/URLClassLoader.java (URLClassLoader): Removed
1199         unused constructor.
1201 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1203         * java/net/URLClassLoader (findClass): Close InputStream after we're
1204         done with it.
1206 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
1208         Implement -Xss.
1209         * include/jvm.h (gcj::stack_size): Declare.
1210         (_Jv_StackSize): Declare.
1211         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
1212         (_Jv_ThreadStart): Set stack size if specified.
1213         * prims.cc (gcj::stack_size): Define.
1214         (parse_memory_size): Renamed from parse_heap_size.
1215         (_Jv_SetStackSize): Parse stack size argument and set 
1216         gcj::stack_size.
1218 2005-11-17  Mark Wielaard  <mark@klomp.org>
1220         * java/text/SimpleDateFormat.java: Removed, fully merged now.
1221         * sources.am: Regenerated.
1222         * Makefile.in: Regenerated.
1224 2005-11-17  Sven de Marothy  <sven@physto.se>
1226         * java/text/SimpleDateFormat.java
1227         (computeOffset): Allow timezone to be first in the parsed String.
1229 2005-11-17  Mark Wielaard  <mark@klomp.org>
1231         * java/text/SimpleDateFormat.java (field, size): Make package private.
1233 2005-11-17  Tom Tromey  <tromey@redhat.com>
1235         * java/text/SimpleDateFormat.java (compileFormat): Correctly
1236         handle quoted single quotes.  PR classspath/23183.
1238 2005-11-17  Tom Tromey  <tromey@redhat.com>
1240         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
1242 2005-11-17  Tom Tromey  <tromey@redhat.com>
1244         * java/text/DateFormat.java (serialVersionUID): New field.
1246 2005-11-17  Mark Wielaard  <mark@klomp.org>
1248         * java/text/DateFormat.java (equals): Reimplement.
1250 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1252         * java/text/Collator.java: API doc fixes,
1253         * java/text/DateFormat.java: likewise,
1254         * java/text/DecimalFormatSymbols.java: likewise,
1255         * java/text/DateFormatSymbols.java: likewise,
1256         * java/text/SimpleDateFormat.java: likewise.
1258 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1260         * java/text/Collator.java (getInstance(Locale)):
1261         Added default collation pattern to handle case when resource
1262         is missing and throw InternalError instead of returning null
1263         should parsing fail.
1265 2005-11-15  Mark Wielaard  <mark@klomp.org>
1267         * java/util/zip/ZipEntry.java: Removed, fully merged now.
1268         * java/util/zip/ZipFile.java: Likewise.
1269         * sources.am: Regenerated.
1270         * Makefile.in: Regenerated.
1272 2005-11-15  Tom Tromey  <tromey@redhat.com>
1274         classpath/23890:
1275         * java/util/Calendar.java (equals): Include other calendar
1276         attributes.
1277         (hashCode): Updated.
1278         * java/util/GregorianCalendar.java (hashCode): New method.
1279         (equals): Use super.equals().
1281 2005-11-15  Sven de Marothy  <sven@physto.se>
1283         * java/util/Calendar (setTimeInMillis): Recompute time fields.
1285 2005-11-15  Mark Wielaard  <mark@klomp.org>
1287         * java/util/SimpleTimeZone.java: Removed, fully merged now.
1288         * java/util/Date.java: Likewise.
1289         * sources.am: Regenerated.
1290         * Makefile.in: Regenerated.
1292 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
1294         * java/util/Calendar.java: fixed minor problems in API docs,
1295         * java/util/Date.java: likewise,
1296         * java/util/ResourceBundle.java: likewise,
1297         * java/util/SimpleTimeZone.java: likewise,
1299 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
1301         * java/io/ObjectInputStream.java
1302         (parseContent): Removed bogus println and fixed bug #24422.
1303                 
1304 2005-11-15  Mark Wielaard  <mark@klomp.org>
1306         * java/io/ObjectStreamClass.java: Removed, fully merged now.
1307         * sources.am: Regenerated.
1308         * Makefile.in: Regenerated.
1310 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
1312         * java/io/ObjectInputStream.java
1313         (processResolution): Pass Error, RuntimeException and
1314         ObjectStreamException through to the caller.
1315         (readObject): Documentation update.
1317 2005-11-15  Mark Wielaard  <mark@klomp.org>
1319         Imported GNU Classpath 0.19 + gcj-import-20051115.
1320         * sources.am: Regenerated.
1321         * Makefile.in: Likewise.
1322         * scripts/makemake.tcl: Use glob -nocomplain.
1324 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
1326         * Makefile.in: Re-generated.
1327         * gnu/awt/xlib/XGraphicsDevice.java: New file.
1328         * gnu/awt/xlib/XToolkit.java
1329         (getLocalGraphicsEnvironment): Implemented. 
1330         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
1331         * sources.am: Re-generated.
1333 2005-15-09  David Daney <ddaney@avtrex.com>
1335         PR libgcj/15430
1336         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
1337         function.
1338         (accept): Call it.
1339         (close): Call shutdown before closing.
1340         (read()): Call read_helper with proper parameters.
1341         (read(buffer, int, int)): Likewise.
1342         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
1343         and timeout parameters.  Make prototype to match. Use 
1344         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
1345         in two places.
1347 2005-11-15  Andrew Haley  <aph@redhat.com>
1349         * Merge from Classpath head:
1351    2005-09-16  Andrew Haley  <aph@redhat.com>
1352    
1353            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
1354            protected readResolve().  Rewrite accessibility check.
1355    
1356    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
1357    
1358            * java/io/ObjectStreamClass.java
1359            (findAccessibleMethod): Added code to make method accessible.
1360    
1361    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
1362    
1363            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
1364            (findAccessibleMethod): Likewise.
1365            (cacheMethods): Lookup readResolve and writeReplace using the new
1366            findAccessibleMethod().
1367    
1368 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1370         * java/net/natVMNetworkInterfaceWin32.cc: Include
1371         java/net/VMNetworkInterface.h.
1373 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1374             David Daney  <ddaney@avtrex.com>
1376         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
1377         (read): Handle count == 0 case.
1379 2005-11-09  Tom Tromey  <tromey@redhat.com>
1381         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
1382         passes.
1384 2005-11-08  Tom Tromey  <tromey@redhat.com>
1386         PR libgcj/24587:
1387         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
1389 2005-11-08  Tom Tromey  <tromey@redhat.com>
1391         PR libgcj/23763.  From aeby@graeff.com.
1392         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
1393         before exec.
1395 2005-11-08  Mark Wielaard  <mark@klomp.org>
1397         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
1399 2005-11-07  David Daney  <ddaney@avtrex.com>
1401         * mauve-libgcj: Disable javax.rmi.* and
1402         java.io.InputStreamReader.getEncoding.
1404 2005-11-04  Tom Tromey  <tromey@redhat.com>
1406         PR libgcj/14358, libgcj/24552:
1407         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
1408         aliases for 'euc_jp' and 'eucjp'.
1409         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
1410         canonical names in output.
1411         (%map): Added UnicodeLittle and UnicodeBig.
1413 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1415         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
1417 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
1419         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
1420         library extensions.
1422 2005-10-12  Andrew Haley  <aph@redhat.com>
1424         PR java/24251
1425         * link.cc (ensure_method_table_complete): Install Miranda methods
1426         for interfaces too.
1428 2005-10-10  Tom Tromey  <tromey@redhat.com>
1430         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
1431         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
1432         Now static.
1434 2005-10-05  Richard Henderson  <rth@redhat.com>
1436         PR target/23602
1437         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
1438         but not BACKTRACESPEC.
1439         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
1441 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
1443         * testsuite/lib/jni.exp (gcj_jni_test_one): For
1444         darwin, use -shared-libgcc not -lgcc_s, and explain why.
1445         (gcj_jni_invocation_test_one): Likewise.
1447 2005-09-30  Tom Tromey  <tromey@redhat.com>
1449         PR libgcj/24051:
1450         * Makefile.in: Rebuilt.
1451         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
1452         requested.
1453         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
1454         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
1455         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
1456         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
1457         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
1458         * configure: Rebuilt.
1459         * configure.ac: Pass --enable-qt-peers when qt is requested.
1461 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
1463         * configure.ac: Fix typo.
1464         * configure: Regenerate.
1466 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
1468         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
1469         __LP64__ is defined rather than __powerpc64__.
1470         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
1471         (compare_and_swap_release): Likewise.
1473 2005-09-28  David Daney  <ddaney@avtrex.com>
1475         * HACKING: Update instructions for classpath import.
1477 2005-09-27  Tom Tromey  <tromey@redhat.com>
1479         PR libgcj/23367:
1480         * include/jvm.h (_Jv_FreeMethodCache): Declare.
1481         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
1482         (struct _Jv_mcache): Likewise.
1483         (method_cache): Likewise.
1484         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
1485         (_Jv_AddMethodToCache): Likewise.
1486         (_Jv_FreeMethodCache): New function.
1487         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
1488         * aclocal.m4, configure, include/config.h.in: Rebuilt.
1489         * configure.ac: Invoke GCC_CHECK_TLS.
1491 2005-09-27  Tom Tromey  <tromey@redhat.com>
1493         * configure, Makefile.in: Rebuilt.
1494         * sources.am: Rebuilt.
1495         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
1496         * configure.ac (TOOLKIT): Handle Qt peers properly.
1498 2005-09-23  Tom Tromey  <tromey@redhat.com>
1500         Imported Classpath 0.18.
1501         * sources.am, Makefile.in: Updated.
1502         * Makefile.am (nat_source_files): Removed natProxy.cc.
1503         * java/lang/reflect/natProxy.cc: Removed.
1504         * gnu/classpath/jdwp/VMFrame.java,
1505         gnu/classpath/jdwp/VMIdManager.java,
1506         gnu/classpath/jdwp/VMVirtualMachine.java,
1507         java/lang/reflect/VMProxy.java: New files.
1509 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1511         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
1512         list.
1514 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1516         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
1517         Remove ClasspathToolkit references.
1519 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1521         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
1522         * gnu/awt/xlib/XFramePeer.java: Likewise.
1523         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
1525 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1527         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
1528         classpath/native/jawt/jawt.c.
1529         * Makefile.in: Regenerate.
1530         * jawt.c: Remove file.
1531         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
1532         jawt_md.h.  Add ../classpath/include/jawt.h and
1533         ../classpath/include/jawt_md.h.
1534         * include/Makefile.in: Regenerate.
1535         * include/jawt.h: Regenerate.
1536         * include/jawt_md.h: Regenerate.
1538 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
1540         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
1541         `null' parent ClassLoader to parent constructor.
1542         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
1543         constructor.
1545 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
1547         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
1549 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1551         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1552         Use libjava_find_lib to find the proper libgcj.
1554 2005-09-16  Anthony Green  <green@redhat.com>
1556         PR libgcj/20198
1557         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
1558         resources should all have canonicalized names.
1560 2005-09-15  Tom Tromey  <tromey@redhat.com>
1562         PR libgcj/16032:
1563         * interpret.cc (AVAL1U): Resolve pool entry when not direct
1564         threaded.
1565         (AVAL2U): Likewise.
1566         (compile): Handle 'ldc class' specially.
1567         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
1568         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
1569         * defineclass.cc (handleCodeAttribute): Set new field.
1570         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
1571         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
1572         (parse): Check version numbers.
1573         (_Jv_ClassReader::is_15): New field.
1574         (_Jv_ClassReader): Initialize it.
1575         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
1577 2005-09-15  Tom Tromey  <tromey@redhat.com>
1579         For PR libgcj/23288:
1580         * java/net/URLClassLoader.java (definePackage): Correctly order
1581         arguments to definePackage.  Look up per-entry Attributes.
1582         (getAttributeValue): New method.
1584 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1586         PR libgcj/23762
1587         * shlibpath.m4: New file.
1588         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
1589         macro.
1590         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
1591         [USE_LTDL]: If it was not defined with -D set java.library.path to
1592         the value of LTDL_SHLIBPATH_VAR.
1594 2005-09-08  Andrew Haley  <aph@redhat.com>
1596         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
1597         loader.
1598         (toString): Likewise.
1600 2005-09-08  Andrew Haley  <aph@redhat.com>
1602         PR java/22084
1603         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
1604         R/M field in instruction is 100.
1606 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1608         PR libgcj/23761
1609         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
1610         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
1611         lt_dlinit.
1612         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
1613         Define variable.
1614         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
1615         _Jv_Module_Load_Path.
1617 2005-09-06  Tom Tromey  <tromey@redhat.com>
1619         PR libgcj/23739:
1620         * testsuite/libjava.jni/pr23739.c: New file.
1621         * testsuite/libjava.jni/pr23739.java: New file.
1622         * testsuite/libjava.jni/pr23739.out: New file.
1623         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
1624         * java/lang/reflect/natMethod.cc (invoke): Updated.
1625         * java/lang/natClass.cc (isAssignableFrom): Updated.
1626         (isInstance): Likewise.
1627         (_Jv_IsAssignableFrom): Reversed arguments.
1628         (_Jv_IsInstanceOf): Updated.
1629         (_Jv_CheckCast): Likewise.
1630         (_Jv_CheckArrayStore): Likewise.
1631         (_Jv_IsAssignableFromSlow): Reversed arguments.
1632         (_Jv_InterfaceAssignableFrom): Likewise.
1633         * link.cc (verify_type_assertions): Updated.
1634         * prims.cc (_Jv_CheckAccess): Updated.
1636 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
1638         Testsuite changes for PR java/23431.
1639         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
1640         8.4.6.2-hiding-5.
1641         * testsuite/libjava.compile/PR23431_1.java: New testcase.
1642         * testsuite/libjava.compile/PR23431_2.java: Likewise.
1643         * testsuite/libjava.compile/PR23431_1.xfail: New file.
1644         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
1646 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1648         PR libgcj/23549
1649         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
1650         -disableassertions and -da.
1652 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
1654         * configure.ac: Replace "*-*-darwin[0-7].*" with
1655         "*-*-darwin[[0-7]].*"
1656         * configure: Regenerate.
1658 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
1660         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
1661         darwin < 8.
1662         * configure: Regenerate.
1664 2005-08-23  Roman Kennke  <roman@kennke.org>
1666         * java/lang/Character.java
1667         (toChars(int)): New JDK1.5 method.
1668         (toChars(int, char[], int)): New JDK1.5 method.
1669         (charCount): New JDK1.5 method.
1670         (isSupplementaryCodePoint): New JDK1.5 method.
1671         (isValidCodePoint): New JDK1.5 method.
1673 2005-08-23  Tom Tromey  <tromey@redhat.com>
1675         * aclocal.m4, Makefile.in: Rebuilt.
1676         * Makefile.am (property_files): Added META-INF files.
1677         (propertyo_files): Changed definition.
1678         ($(propertyo_files)): Updated patterns.
1680 2005-08-22  Tom Tromey  <tromey@redhat.com>
1682         PR libgcj/22622:
1683         * configure: Rebuilt.
1684         * configure.ac: Correctly create Configuration.java (for
1685         temporary use).
1687 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
1689         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
1690         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
1691         * mingwld.m4: ... this new file.
1692         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
1693         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
1695 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1697         PR libgcj/23507
1698         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
1699         assignment.  Cast operands of compare to function pointer type.
1701 2005-08-21  Tom Tromey  <tromey@redhat.com>
1703         * HACKING: Updated for hacking classpath in libgcj.
1705 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1707         PR libgcj/21692
1708         * sysdep/pa/descriptor.h: New file.
1709         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
1711 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
1713         * Makefile.am (extra_ldflags_libjava): New variable to
1714         substitute in.
1715         (LIBLINK): Add extra_ldflags_libjava to it.
1716         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
1717         "-Wl,-single_module".
1718         * Makefile.in: Regenerate.
1719         * aclocal.m4: Regenerate.
1720         * configure: Regenerate.
1721         * gcj/Makefile.in: Regenerate.
1722         * include/Makefile.in: Regenerate.
1723         * testsuite/Makefile.in: Regenerate.
1725 2005-08-17  Tom Tromey  <tromey@redhat.com>
1727         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
1728         friend.
1729         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
1730         * testsuite/libjava.lang/bclink.java: New file.
1731         * testsuite/libjava.lang/bclink.out: New file.
1732         * link.cc (print_class_loaded): Changed ABI test to look at
1733         various _syms fields.
1735 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
1737         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
1738         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
1740 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
1742         More testsuite adjustments for PR java/19870.
1743         * testsuite/libjava.lang/PR19870_2.java: New testcase.
1744         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
1745         new testcase.
1746         * testsuite/libjava.jacks/jacks.xfail: Remove
1747         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
1749 2005-08-16  Tom Tromey  <tromey@redhat.com>
1751         * gnu/xml/xpath/XPathParser.y: Removed.
1753 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
1755         PR libgcj/23353:
1756         * java/lang/natObject.cc (clone): Clear sync_info.
1758 2005-07-26  Tom Tromey  <tromey@redhat.com>
1760         * gnu/java/net/protocol/ftp/package.html,
1761         gnu/javax/swing/text/html/package.html,
1762         gnu/javax/swing/text/html/parser/package.html,
1763         gnu/javax/swing/text/html/parser/models/package.html,
1764         gnu/javax/swing/text/html/parser/support/package.html,
1765         gnu/javax/swing/text/html/parser/support/low/package.html,
1766         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
1767         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
1768         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
1769         java/awt/geom/doc-files/CubicCurve2D-1.png,
1770         java/awt/geom/doc-files/CubicCurve2D-2.png,
1771         java/awt/geom/doc-files/CubicCurve2D-3.png,
1772         java/awt/geom/doc-files/CubicCurve2D-4.png,
1773         java/awt/geom/doc-files/CubicCurve2D-5.png,
1774         java/awt/geom/doc-files/Ellipse-1.png,
1775         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
1776         java/awt/geom/doc-files/GeneralPath-1.png,
1777         java/awt/geom/doc-files/QuadCurve2D-1.png,
1778         java/awt/geom/doc-files/QuadCurve2D-2.png,
1779         java/awt/geom/doc-files/QuadCurve2D-3.png,
1780         java/awt/geom/doc-files/QuadCurve2D-4.png,
1781         java/awt/geom/doc-files/QuadCurve2D-5.png,
1782         javax/imageio/package.html, javax/imageio/event/package.html,
1783         javax/imageio/metadata/package.html,
1784         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
1785         javax/swing/border/doc-files/BevelBorder-1.png,
1786         javax/swing/border/doc-files/BevelBorder-2.png,
1787         javax/swing/border/doc-files/BevelBorder-3.png,
1788         javax/swing/border/doc-files/EmptyBorder-1.png,
1789         javax/swing/border/doc-files/EtchedBorder-1.png,
1790         javax/swing/border/doc-files/EtchedBorder-2.png,
1791         javax/swing/border/doc-files/LineBorder-1.png,
1792         javax/swing/border/doc-files/MatteBorder-1.png,
1793         javax/swing/border/doc-files/MatteBorder-2.png,
1794         javax/swing/border/doc-files/MatteBorder-3.png,
1795         javax/swing/border/doc-files/MatteBorder-4.png,
1796         javax/swing/border/doc-files/MatteBorder-5.png,
1797         javax/swing/border/doc-files/MatteBorder-6.png,
1798         javax/swing/border/doc-files/SoftBevelBorder-1.png,
1799         javax/swing/border/doc-files/SoftBevelBorder-2.png,
1800         javax/swing/border/doc-files/SoftBevelBorder-3.png,
1801         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1802         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1803         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1804         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1805         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1806         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1807         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1808         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1809         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1810         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1811         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
1812         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1813         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1814         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1815         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1816         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1817         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1818         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
1819         javax/swing/plaf/doc-files/ComponentUI-1.dia,
1820         javax/swing/plaf/doc-files/ComponentUI-1.png,
1821         javax/swing/plaf/doc-files/TreeUI-1.png,
1822         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
1823         javax/xml/parsers/package.html, javax/xml/transform/package.html,
1824         javax/xml/transform/dom/package.html,
1825         javax/xml/transform/sax/package.html,
1826         javax/xml/transform/stream/package.html,
1827         javax/xml/validation/package.html, javax/xml/xpath/package.html:
1828         Removed.
1830 2005-07-22  Tom Tromey  <tromey@redhat.com>
1832         * include/Makefile.in: Rebuilt.
1833         * include/Makefile.am (tool_include__HEADERS): Include
1834         classpath's jni.h.
1836 2005-07-20  Tom Tromey  <tromey@redhat.com>
1838         * sources.am, Makefile.in: Rebuilt.
1839         * Makefile.am (all_xlib_lo_files): Removed.
1840         (all_libgcj_lo_files): Likewise.
1841         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
1842         (xlib_java_source_files): Removed.
1843         (xlib_nat_headers): Updated.
1844         * configure: Rebuilt.
1845         * configure.ac: Create standard.omit.
1846         * standard.omit.in: New file.
1847         * standard.omit: Removed.
1848         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
1849         'package'.
1850         (emit_package_rule): Special case xlib peers.
1851         (emit_source_var): Likewise.
1852         Read standard.omit.in.
1853         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
1855 2005-07-18  Tom Tromey  <tromey@redhat.com>
1857         * HACKING: Updated.
1859 2005-07-19  Matthias Klose  <doko@debian.org>
1861         * classpath/java/awt/im/InputContext.java (clinit): Initialize
1862           line, im.
1864 2005-07-18  Tom Tromey  <tromey@redhat.com>
1866         PR libgj/21058:
1867         * sources.am, Makefile.in: Rebuilt.
1868         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
1869         file.
1870         (emit_source_var): Don't emit patsubst with './'.
1872 2005-07-18  Tom Tromey  <tromey@redhat.com>
1874         * Makefile.in: Rebuilt.
1875         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
1877 2005-07-17  Andreas Jaeger  <aj@suse.de>
1879         * defineclass.cc (handleClassBegin): Remove unused variable.
1881 2005-07-16  Andreas Schwab  <schwab@suse.de>
1883         * scripts/makemake.tcl (emit_package_rule): Emit command to create
1884         target directory.
1885         * Makefile.am (%.lo): Don't create it here.
1886         * sources.am, Makefile.in: Regenerated.
1888 2005-07-15  Tom Tromey  <tromey@redhat.com>
1890         Major merge with Classpath.
1891         Removed many duplicate files.
1892         * HACKING: Updated.x
1893         * classpath: Imported new directory.
1894         * standard.omit: New file.
1895         * Makefile.in, aclocal.m4, configure: Rebuilt.
1896         * sources.am: New file.
1897         * configure.ac: Run Classpath configure script.  Moved code around
1898         to support.  Disable xlib AWT peers (temporarily).
1899         * Makefile.am (SUBDIRS): Added 'classpath'
1900         (JAVAC): Removed.
1901         (AM_CPPFLAGS): Added more -I options.
1902         (BOOTCLASSPATH): Simplified.
1903         Completely redid how sources are built.
1904         Include sources.am.
1905         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
1906         * include/jni.h: Removed (in Classpath).
1907         * scripts/classes.pl: Updated to look at built classes.
1908         * scripts/makemake.tcl: New file.
1909         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
1910         -I options.
1911         (gcj_jni_invocation_compile_c_to_binary): Likewise.
1913 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
1915         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
1916         (eventMask): New field.
1917         (XCanvasPeer(Component)): Use attributes field.
1918         (setBackground): Implemented.
1919         (setEventMask): Process mask only if changed.
1920         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
1921         (eventLoopThread): New field.
1922         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
1923         (interrupt): Removed.
1924         (run): New method.
1925         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
1926         and Component events.
1927         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
1928         field.
1929         (configureNotify): Set and clear processingConfigureNotify.
1930         (setBounds): Process only if processingConfigureNotify is false.
1931         (toBack): Implemented.
1932         (toFront): Implemented.
1933         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
1934         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
1935         color.
1936         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
1937         (wakeNativeQueue): Do nothing.
1938         (iterateNativeQueue): Do queue.wait if blocking.
1939         * gnu/gcj/xlib/Font.java (loadFont): New method.
1940         (loadFontImpl): Renamed native method, was loadFont. 
1941         * gnu/gcj/xlib/Window.java (toFront): New method.
1942         (toBack): New method.
1943         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
1944         loadFont.
1945         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
1946         (toFront): New method. 
1947         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
1949 2005-07-14  Andrew Haley  <aph@redhat.com>
1951         * gnu/java/net/protocol/file/Connection.java (unquote): New
1952         method.
1953         (connect): Unquote filename.
1954         gnu/java/net/protocol/jar/Connection.java (getInputStream):
1955         Likewise.  
1956         (getJarFile): Likewise.
1958         * java/net/URLConnection.java (getContentHandler): Guard cast with
1959         instaceof.
1961         * java/net/URL.java (URL): If the file part of a spec is absolute,
1962         ignore the file part of its context.
1964 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
1966         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
1967         Implemented VirtualMachine Command Set.
1969 2005-07-14  Tom Tromey  <tromey@redhat.com>
1971         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
1972         Classpath.
1974 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1976         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
1977         Implemented the Field CommandSet.
1978         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
1979         Implemented the InterfaceType CommandSet.
1981 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1983         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
1984         shutdown to jdwp instead of connection.
1986 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1988         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
1989         New file.
1991 2005-07-08  Colin Walters  <walters@verbum.org>
1993         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
1994         check for abstract classes or interfaces here; JVM spec
1995         says it should throw an exception, so we'll do so later.
1996         * interpret.cc (run): Throw an InstantiationException for
1997         abstract classes and interfaces.
1999 2005-07-08  Andrew Haley  <aph@redhat.com>
2001         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
2002         (regular, non-realtime scheduling), not SCHED_RR (realtime,
2003         round-robin).
2005 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
2007         * gnu/classpath/jdwp/util/Signature.java
2008         (computeFieldSignature): New Method.
2010 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
2012         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
2013         file.
2015 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
2017         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
2018         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
2020 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
2022         * testsuite/libjava.compile/PR21045.java: New test.
2023         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
2024         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
2026 2005-07-06  Tom Tromey  <tromey@redhat.com>
2028         * java/io/InputStreamReader.java (refill): Handle no-progress
2029         case correctly.
2030         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
2032 2005-07-06  Tom Tromey  <tromey@redhat.com>
2034         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
2036 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
2038         * testsuite/libjava.compile/PR19674.java: New test.
2040 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
2042         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
2043         New file.
2045 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
2047         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
2048         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
2049         CommandSets to handle JdwpCommandPackets.
2050         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
2051         Constructor.
2053 2005-07-01  Tom Tromey  <tromey@redhat.com>
2055         * libtool-version: Updated.
2057 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
2059         * gnu/classpath/jdwp/util/JdwpString.java: New file.
2061 2005-06-30  Keith Seitz  <keiths@redhat.com>
2063         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
2064         (myWrite): New abstract method.
2065         (toBytes): Remove.
2066         (myToBytes): Remove.
2067         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
2068         method.
2069         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
2070         method.
2071         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
2072         JdwpPacket.write instead of JdwpPacket.toBytes.
2074 2005-06-30  Keith Seitz  <keiths@redhat.com>
2076         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
2077         method.
2078         (_bytes): New member.
2079         (_doStream): New member.
2080         (JdwpConnection): Initialize new members.
2082 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
2084         * all files: Update for new FSF address.
2086 2005-06-29  Tom Tromey  <tromey@redhat.com>
2088         PR libgcj/22211:
2089         * testsuite/libjava.lang/pr22211.java: New file.
2090         * java/lang/natThread.cc (finish_): Synchronize when updating
2091         alive_flag.
2092         (_Jv_AttachCurrentThread): Likewise.
2093         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
2094         * java/lang/Thread.java (isAlive): Now synchronized.
2096 2005-06-29  Tom Tromey  <tromey@redhat.com>
2098         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
2099         _Jv_CheckCast.
2101 2005-06-28  Robin Green  <greenrd@greenrd.org>
2103         PR java/22189
2104         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
2105         error.
2107 2005-06-27  Tom Tromey  <tromey@redhat.com>
2109         PR java/21540, PR java/13788:
2110         * testsuite/libjava.compile/pr21540.java: New file.
2111         * testsuite/libjava.compile/pr13788.java: New file.
2112         * testsuite/libjava.jacks/jacks.xfail: Updated.
2114 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
2116         * testsuite/libjava.mauve/xfails: Updated to reflect current state
2117         of mauve and libjava. 
2119 2005-06-24  Tom Tromey  <tromey@redhat.com>
2121         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
2122         where class' name is NULL.
2123         (_Jv_FindClass): Don't wait for class state.
2124         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
2125         name found.
2126         * include/java-interp.h (_Jv_DefineClass): Updated.
2127         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
2128         (struct _Jv_ClassReader): Likewise.
2129         (found_name): New field.
2130         (handleClassBegin): Set *found_name.
2131         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
2132         (handleClassBegin): Throw error if super class not set.
2133         (read_methods): Correctly call check_tag and prepare_pool_entry.
2135 2005-06-24  Tom Tromey  <tromey@redhat.com>
2137         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
2139 2005-06-24  Tom Tromey  <tromey@redhat.com>
2141         * verify.cc (verify_instructions_0): Correctly handle situation
2142         where PC falls off end.
2144 2005-06-24  Tom Tromey  <tromey@redhat.com>
2146         * interpret.cc (compile): Handle case where table entry is
2147         outside of PC range.
2149 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
2151         * testsuite/libjava.compile/PR20697.java: New test-case.
2153 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
2155         * Makefile.am (SUBDIRS): Use append for conditional.
2156         (toolexeclib_LTLIBRARIES): Likewise.
2157         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
2158         a conditional append.
2159         * Makefile.in: Regenerate.
2161 2005-06-17  Keith Seitz  <keiths@redhat.com>
2163         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
2164         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
2165         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
2166         file.
2167         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
2168         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
2169         file.
2170         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
2171         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
2172         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
2173         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
2174         file.
2175         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
2176         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
2178 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
2180         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
2181         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
2182         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
2183         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
2184         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
2185         * Makefile.in: Regenerate.
2187 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
2189         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
2190         (USING_POSIX_PLATFORM): ... here.
2191         * Makefile.am: Delete USING_ECOS_PLATFORM.
2192         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2193         external/Makefile.in, external/sax/Makefile.in,
2194         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2196 2005-06-15  Tom Tromey  <tromey@redhat.com>
2198         PR libgcj/17536:
2199         * testsuite/libjava.lang/pr17536.java: New file.
2200         * testsuite/libjava.lang/pr17536.out: New file.
2202 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
2204         PR libgcj/21074:
2205         * gnu/java/net/protocol/http/HTTPURLConnection.java
2206         (getHeaderFieldKey): Check index.
2208 2005-06-15  Tom Tromey  <tromey@redhat.com>
2210         PR libgcj/21906:
2211         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
2212         methods.
2213         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
2214         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
2215         static.
2216         (append_partial_itable): Use it.
2217         (set_vtable_entries): Likewise.
2219 2005-06-15  Tom Tromey  <tromey@redhat.com>
2221         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
2222         last_was_sep in loop.
2224 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2226         * configure.host: Handle Solaris 10/x86.
2228 2005-06-14  Keith Seitz  <keiths@redhat.com>
2230         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
2231         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
2233 2005-06-14  Keith Seitz  <keiths@redhat.com>
2235         * gnu/classpath/jdwp/id/ArrayId.java: New file.
2236         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
2237         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
2238         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
2239         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
2240         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
2241         * gnu/classpath/jdwp/id/JdwpId.java: New file.
2242         * gnu/classpath/jdwp/id/ObjectId.java: New file.
2243         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
2244         * gnu/classpath/jdwp/id/StringId.java: New file.
2245         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
2246         * gnu/classpath/jdwp/id/ThreadId.java: New file.
2248 2005-06-14  Tom Tromey  <tromey@redhat.com>
2250         PR libgcj/19877:
2251         * configure, aclocal.m4, Makefile.in: Rebuilt.
2253 2005-06-14  Tom Tromey  <tromey@redhat.com>
2255         * java/lang/Class.java (getClasses): New method.
2256         (internalGetClasses): Likewise.
2257         (getClassLoader): Updated documentation.
2258         (getDeclaredClasses): New overload; old overload no longer
2259         native.
2260         (_getConstructors): Removed.
2261         (resourcePath): Updated.
2262         * java/lang/natClass.cc (getClasses): Removed.
2263         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
2264         Updated.
2265         (_getConstructors): Removed.
2267 2005-06-13  Jim Huang  <jserv@kaffe.org>
2269         PR libgcj/22036:
2270         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
2271         (_Jv_JNI_NewObject): Likewise.
2273 2005-06-13  Tom Tromey  <tromey@redhat.com>
2275         PR java/21844:
2276         * testsuite/libjava.lang/pr21844.java: New file.
2277         * testsuite/libjava.lang/pr21844.out: New file.
2279 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
2281         PR libgcj/21949
2282         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
2283         From Gary Benson.
2285 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2287         * java/text/MessageFormat.java (parse): When parsing strings, check
2288         for an empty pattern trailer.
2290 2005-06-06  Keith Seitz  <keiths@redhat.com>
2292         * gnu/classpath/jdwp/util/Signature.java: New file.
2293         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
2295 2005-06-05  Anthony Green  <green@redhat.com>
2297         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
2298         fall-through bug.
2300 2005-06-04  Anthony Green  <green@redhat.com>
2302         * java/net/URLClassLoader.java: import gnu.gcj.Core,
2303         and gnu.java.net.protocol.core.CoreInputStream.
2304         (CureURLLoader): New class.
2305         (CoreResource): New class.
2306         (addURLImpl): Add special treatment for the "core" protocol.
2307         * gnu/gcj/natCore.cc (find): New method.
2308         * gnu/gcj/Core.java (find): New method.
2310 2005-06-03  Keith Seitz  <keiths@redhat.com>
2312         * gnu/classpath/jdwp/transport/ITransport.java: New file.
2313         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
2314         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
2316 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
2318         * jawt.c: Remove malloc.h, covered by stdlib.h.
2320         * testsuite/libjava.jni/jni.exp
2321         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
2322         the build process.
2324 2005-06-02  Keith Seitz  <keiths@redhat.com>
2326         * gnu/classpath/jdwp/transport/TransportException.java: New file.
2328 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
2330         * mauve-libgcj: Remove implemented classes from the fail section.
2331         Add two new not implemented to it.
2333 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
2335         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
2336         AC_SUBST definition from configure.host.
2337         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
2338         to -fomit-frame-pointer on 32-bit x86 targets.
2340 2005-06-01  Tom Tromey  <tromey@redhat.com>
2342         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
2344 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2346         PR libgcj/20435:
2347         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
2348         (static): Add possessive matching to JAVA_1_4 syntax.
2349         * gnu/regexp/RETokenRepeated.java (possessive): New field.
2350         (makePossessive, isPossessive): New methods.
2351         (match): Don't back off during possessive matching.
2352         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
2353         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
2354         to JAVA_1_4.
2356 2005-06-01  Keith Seitz  <keiths@redhat.com>
2358         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
2359         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
2360         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
2362 2005-06-01  Tom Tromey  <tromey@redhat.com>
2364         PR libgcj/21785:
2365         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
2366         (currentLoader): New method.
2367         * java/io/ObjectInputStream.java (resolveProxyClass): Use
2368         currentLoader.
2369         (currentLoader): Now native.
2370         (currentClassLoader): Removed.
2371         * testsuite/libjava.lang/pr21785.java: New file.
2372         * testsuite/libjava.lang/pr21785.out: New file.
2374 2005-06-01  Tom Tromey  <tromey@redhat.com>
2376         PR libgcj/21753:
2377         * java/lang/natString.cc (substring): Changed sharing heuristic.
2379 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
2381         PR libgcj/21821
2382         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
2383         MAXPATHLEN. Format exception message using a StringBuffer instead.
2385 2005-05-29  Michael Koch  <konqueror@gmx.de>
2387         PR libgcj/20273:
2388         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
2390 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2392         * ChangeLog: Fix typo.
2394 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
2396         Testsuite adjustments for PR java/19870.
2397         * testsuite/libjava.lang/PR19870.java: New testcase.
2398         * testsuite/libjava.lang/PR19870.out: Expected output for the
2399         testcase.
2400         * testsuite/libjava.jacks/jacks.xfail: Add
2401         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
2404 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
2406         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
2407         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
2408         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
2409         classes.
2410         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
2411         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
2412         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
2413         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
2415 2005-05-25  Richard Henderson  <rth@redhat.com>
2417         PR libgcj/21692
2418         * sysdep/descriptor-n.h: New file.
2419         * sysdep/descriptor-y.h: New file.
2420         * sysdep/powerpc/descriptor.h: New file.
2421         * configure.host: Set $descriptor_h appropriate for the host.
2422         * configure.ac: Link it.
2423         * configure: Regenerate.
2424         * stacktrace.cc: Include sysdep/descriptor.h.
2425         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
2427 2005-05-25  Chris Burdess  <dog@gnu.org>
2429         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
2430         end entity callbacks.
2432 2005-05-24  Gary Benson  <gbenson@redhat.com>
2434         PR libgcj/21736:
2435         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
2436         Handle DateFormat.DEFAULT case correctly.
2438 2005-05-21  Tom Tromey  <tromey@redhat.com>
2440         PR libgcj/21703:
2441         * java/lang/ref/natReference.cc (find_slot): Handle case where
2442         table has no NULL entries.
2443         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
2444         table has no NULL entries.
2446 2005-05-22  Andreas Jaeger  <aj@suse.de>
2448         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
2449         avoid warnings.
2451 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
2453         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
2455 2005-05-19  Richard Henderson  <rth@redhat.com>
2457         * exception.cc: Revert 05-17 gcc_unreachable change.
2459 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2461         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
2462         _Jv_RegisterInitiatingLoader to register array classes, not
2463         _Jv_RegisterClass.
2464         (_Jv_RegisterInitiatingLoader): Give up if called very early during
2465         bootstrapping. Add a FIXME to handle this case better.
2467 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2469         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
2470         convenience library.
2471         (libgcj_la_SOURCES): New. Move sources here.
2472         (libgcj.la): Remove rule.
2474 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
2476         PR libgcj/19729
2477         * gnu/java/security/provider/DSASignature.java: Import updates
2478         from GNU Crypto.
2480 2005-05-18  Anthony Green  <green@redhat.com>
2482         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
2483         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2484         classpath_jawt_destroy_lock): New functions.
2485         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
2486         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2487         classpath_jawt_destroy_lock): New functions.
2488         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
2489         field.
2490         * jawt.c: #include malloc.h.
2491         (_Jv_Lock): Use lock.
2492         (_Jv_Unlock): Ditto.
2493         (_Jv_GetDrawingSurface): Initialize lock.
2494         (_Jv_FreeDrawingSurface): Destroy lock.
2495         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
2497 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
2499         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
2500         * Makefile.in: Regenerate.
2502 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
2504         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
2505         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
2506         * aclocal.m4, configure, config.h.in, include/config.h.in,
2507         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2508         external/Makefile.in, external/sax/Makefile.in,
2509         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2511 2005-05-17  David Daney  <ddaney@avtrex.com>
2513         PR libgcj/18220
2514         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
2516 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
2518         * exception.cc (abort): Remove std::abort hack.
2519         (gcc_unreacheable): Define.
2521 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
2523         * Makefile.am (Makefile.deps): Do not create native.list and
2524         bytecodes.list.
2525         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
2526         * Makefile.in: Regenerate.
2528 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
2530         * configure.ac (--enable-libgcj-multifile): Remove.
2532         * Makefile.am (all_native_compiled_source_files,
2533         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
2534         all_libgcj_lo_files, all_xlib_lo_files,
2535         all_java_deps_files, all_java_stamp_files,
2536         all_java_filelist_files): New variables.
2537         (EXTRA_DIST): New Automake variable.
2538         (CLEANFILES): Add .stamp, .list and .lo files.
2539         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
2540         (classes.stamp): Depend on $(all_java_stamp_files).
2541         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
2542         going through write_entries_to_file.
2544         (all_java_source_files, all_property_files): Move earlier.
2545         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
2546         all_java_class_files): Remove.
2547         (gtk_awt_peer_sources): Rename to...
2548         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
2550         (ONESTEP): Remove.
2551         (libgcj0_convenience_la_SOURCES): Remove Java source files.
2552         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
2553         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
2554         (libgcj_la_SOURCES): Remove.
2555         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
2556         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
2557         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
2559         * configure: Regenerate.
2560         * Makefile.in: Regenerate.
2561         * external/Makefile.in: Regenerate.
2562         * external/sax/Makefile.in: Regenerate.
2563         * external/w3c_dom/Makefile.in: Regenerate.
2564         * gcj/Makefile.in: Regenerate.
2565         * include/Makefile.in: Regenerate.
2566         * libltdl/Makefile.in: Regenerate.
2567         * testsuite/Makefile.in: Regenerate.
2569 2005-05-16  Tom Tromey  <tromey@redhat.com>
2571         * java/nio/charset/Charset.java (encode, decode): Synchronize on
2572         'this', not the class.
2574 2005-05-16  Tom Tromey  <tromey@redhat.com>
2576         * gnu/java/net/protocol/http/Headers.java (parse): Include final
2577         character of line.
2579 2005-05-16  Tom Tromey  <tromey@redhat.com>
2581         PR libgcj/21606:
2582         * java/net/URI.java (unquote): Handle lower-case letters as well.
2584 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2586         PR libgcj/20504
2587         * gnu/regexp/RE.java: Add support for quoting constructs.
2589 2005-05-15  Tom Tromey  <tromey@redhat.com>
2591         * java/lang/String.java (startsWith): Fixed javadoc.
2593 2005-05-15  Tom Tromey  <tromey@redhat.com>
2595         PR java/21519:
2596         * testsuite/libjava.compile/pr21519.java: New file.
2597         * testsuite/libjava.compile/pr21519.no-link: New file.
2599 2005-05-15  Tom Tromey  <tromey@redhat.com>
2601         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
2603 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
2605         PR libgcj/21557
2606         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
2607         interrupt status flag if _Jv_CondWait is interrupted.
2609 2005-05-13  Tom Tromey  <tromey@redhat.com>
2611         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
2612         element in path.
2614 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
2616         * include/jvm.h (gcj::verifyClasses): Declare.
2617         * link.cc (gcj::verbose_class_flag): Moved.
2618         * prims.cc (gcj::verifyClasses): Define here.
2619         (gcj::verbose_class_flag): Move definition here.
2620         (_Jv_Linker::wait_for_state): Don't call verify_class
2621         if gcj::verifyClasses is not set.
2622         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
2624 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
2626         * gij.cc (main): Recognize '-verify', '-noverify', and
2627         '-verifyremote'
2629 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
2631         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
2633 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2635         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
2636         libgcjawt.la.
2638 2005-05-11  Tom Tromey  <tromey@redhat.com>
2640         * external/w3c_dom/Makefile.in: Rebuilt.
2641         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
2642         -fbootstrap-classes.
2643         * external/sax/Makefile.in: Rebuilt.
2644         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
2645         -fbootstrap-classes.
2646         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
2647         friend.
2648         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2649         Call _Jv_CopyClassesToSystemLoader.
2650         * java/lang/natClassLoader.cc (system_class_list): New global.
2651         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
2652         classes differently.
2653         (_Jv_CopyClassesToSystemLoader): New function.
2654         (SYSTEM_LOADER_INITIALIZED): New define.
2655         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
2656         (_Jv_CheckABIVersion): Use it.
2657         (_Jv_ClassForBootstrapLoader): New function.
2658         * Makefile.in: Rebuilt.
2659         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
2661 2005-05-10  Tom Tromey  <tromey@redhat.com>
2663         * gcj/javaprims.h: Updated.
2664         * java/lang/String.java (String(StringBuilder)): New constructor.
2665         * java/lang/natStringBuilder.cc: New file.
2666         * java/lang/StringBuilder.java: New file.
2667         * Makefile.in: Rebuilt.
2668         * Makefile.am (core_java_source_files): Added StringBuilder.java.
2669         (nat_source_files): Added natStringBuilder.cc.
2671 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
2673         PR java/21436
2674         * testsuite/libjava.jacks/jacks.xfail: Adjust.
2676 2005-05-09  Mike Stump  <mrs@apple.com>
2678         * configure: Regenerate.
2680 2005-05-09  David Daney  <ddaney@avtrex.com>
2682         * java/util/BitSet.java (get(int, int)): Fix breakage when
2683         requested set doesn't start on a multiple of 64.
2685 2005-05-07  Matthias Klose  <doko@debian.org>
2687         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
2689 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
2691         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
2692         * Makefile.in: Regenerate.
2693         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
2694         (createCompatibleVolatileImage(int,int)): Implement.
2695         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
2696         Likewise.
2697         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
2698         New fields.
2699         (createVolatileImage): Implement.
2700         (createBuffers): Likewise.
2701         (getBackBuffer): Likewise.
2702         (flip): Likewise.
2703         (destroyBuffers): Likewise.
2704         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
2705         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
2706         (CanvasFlipBufferStrategy): Likewise.
2707         (createBufferStrategy(int)): New method.
2708         (createBufferStrategy(int,BufferCapabilities)): Likewise.
2709         * java/awt/Component.java (BltBufferStrategy): Implement and
2710         document class.
2711         (FlipBufferStrategy): Likewise.
2712         * java/awt/Window.java (WindowBltBufferStrategy): New class.
2713         (WindowFlipBufferStrategy): Likewise.
2714         (createBufferStrategy(int)): New method.
2715         (createBufferStrategy(int,BufferCapabilities)): Likewise.
2716         (getBufferStrategy): Likewise.
2717         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
2718         front to frontCaps and back to backCaps.
2720 2005-05-06  Michael Koch  <konqueror@gmx.de>
2722         * java/awt/BufferCapabilities.java
2723         (BufferCapabilities): Merged javadoc.
2725 2005-05-06  Michael Koch  <konqueror@gmx.de>
2727         * java/util/Locale.java
2728         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
2729         (getLocale): New methods. Use it everywhere where instances of Locales
2730         are needed.
2731         (getDisplayLanguage): Merged javadoc.
2732         (getDisplayCountry): Likewise.
2733         (getDisplayVariant): Likewise.
2735 2005-05-06  Archie Cobbs  <archie@dellroad.org>
2737         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2738         use DeleteLocalRef() to avoid exhausting local native references.
2740 2005-05-06  Mark Wielaard  <mark@klomp.org>
2742         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2743         (window_delete_cb): Don't use C++ style comments.
2745 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
2747         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
2748         copyright header.
2750 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
2752         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2753         (window_delete_cb): Made the function return TRUE.
2755 2005-05-06  Roman Kennke  <roman@kennke.org>
2757         * javax/swing/text/PlainView.java
2758         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
2759         offset parameter.
2760         * javax/swing/text/Utilities.java
2761         (drawTabbedText): Initilialize local variable pos correctly.
2763 2005-05-06  Roman Kennke  <roman@kennke.org>
2765         * javax/swing/text/AbstractDocument.java
2766         (LeafElement): Made start and end package private fields for
2767         effective reindexing.
2768         * javax/swing/text/PlainDocument.java
2769         (constructor): The field rootElement is always BranchElement,
2770         so we handle it as such.
2771         (removeUpdate): Rewritten reindexing for removeUpdate so that
2772         the actual removal is taken into account.
2774 2005-05-06  Roman Kennke  <roman@kennke.org>
2776         * javax/swing/text/GapContent.java:
2777         Removed debugging output stuff, which I accidentally left in.
2779 2005-05-06  Roman Kennke  <roman@kennke.org>
2781         * javax/swing/text/GapContent.java:
2782         Implemented a real GapContent. Only the public methods have
2783         been implemented so far and still no UndoableEdit support.
2785 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
2787         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
2788         the typo.
2790 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2792         * java/awt/image/BufferStrategy.java: Document.
2794         * java/awt/BufferCapabilities.java: Document.
2796 2005-05-04  Tom Tromey  <tromey@redhat.com>
2798         * java/nio/channels/FileLock.java (toString): Entirely avoid
2799         String "+".
2801 2005-05-04  Andrew Overholt  <overholt@redhat.com>
2803         * java/nio/channels/FileLock.java (toString): Re-implement using
2804         StringBuffer.
2806 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2808         * java/awt/ImageCapabilities.java: Document.
2810         * java/awt/image/VolatileImage.java: Unindent copyright header.
2812 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2814         * java/awt/image/VolatileImage.java: Document.
2816 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2819         (init_glib_threads): Check if threading system is already
2820         initialized.
2822 2005-05-03  Andrew Overholt  <overholt@redhat.com>
2824         PR libgcj/21372:
2825         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
2826         could not be acquired.
2827         * java/nio/channels/FileLock.java (toString): Re-implement to be
2828         in line with other implementations.
2830 2005-05-03  Tom Tromey  <tromey@redhat.com>
2832         * java/lang/VMSecurityManager.java (currentClassLoader): Use
2833         'systemClasssLoader' directly.
2835 2005-05-03  Tom Tromey  <tromey@redhat.com>
2837         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
2838         call VMClassLoader.getSystemClassLoader.
2840 2005-04-29  Michael Koch  <konqueror@gmx.de>
2842         * java/net/NetworkInterface.java
2843         (static): Removed.
2844         (NetworkInterface(String,InetAddress)): Made package-private.
2845         (NetworkInterface(String,InetAddress[])): New constructor.
2846         (getRealNetworkInterfaces): Removed.
2847         (getByName): Use VMNetworkInterface.getInterfaces().
2848         (getByInetAddress): Likewise.
2849         (getNetworkInterfaces): Likewise.
2850         * java/net/VMNetworkInterface.java,
2851         java/net/natVMNetworkInterfaceNoNet.cc,
2852         java/net/natVMNetworkInterfacePosix.c,c
2853         java/net/natVMNetworkInterfaceWin32.cc: New files.
2854         * java/net/natNetworkInterfaceNoNet.cc,
2855         java/net/natNetworkInterfacePosix.cc,
2856          java/net/natNetworkInterfaceWin32.cc: Removed.
2857         * configure.ac
2858         * Makefile.am
2859         * configure, Makefile.in: Regenerated.
2861 2005-04-29  Andrew Haley  <aph@redhat.com>
2863         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
2865 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
2867         * java/nio/channels/FileChannelImpl.java
2868         (FileChannelImpl(String, int)): Removed.
2869         (FileChannelImpl(File, int)): Added. Check if opened file is a
2870         directory.
2871         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
2872         Call FileChannelImpl(File, int).
2873         * java/io/FileOutputStream.java (FileInputStream): Call
2874         FileChannelImpl(File, int).
2875         * java/io/RandomAccessFile.java (RandomAccessFile):
2876         Call FileChannelImpl(File, int). Switched constructors around.
2878 2005-04-27  Andrew Haley  <aph@redhat.com>
2880         PR java/19285
2881         * prims.cc (_Jv_ResolvePoolEntry): New function.
2882         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
2883         * link.cc (_Jv_Linker::find_field): New arg: found_class.
2884         (resolve_pool_entry): Initialize the class in which a field is
2885         found.
2886         (link_symbol_table): Pass new arg to found_class.
2888 2005-04-29  Michael Koch  <konqueror@gmx.de>
2890         * java/nio/charset/Charset.java
2891         (provider): Reformatted.
2893 2005-04-29  Michael Koch  <konqueror@gmx.de>
2895         * gnu/java/net/protocol/http/HTTPConnection.java:
2896         (userAgent): Initialize from system properties.
2897         (initUserAgent): Removed.
2899 2005-04-29  Mark Wielaard  <mark@klomp.org>
2901         * java/util/ResourceBundle.java (getObject): Clarify
2902         MissingResourceException detailed message.
2903         (tryBundle(String,ClassLoader)): Likewise.
2905 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
2907         * java/beans/FeatureDescriptor.java:
2908         (getShortDescription): Implemented fallback mechanism and fixed
2909         documentation (fixes bug #12637).
2910         (getDisplayName): Dito.
2912 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
2914         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
2915         will now be set correctly.
2916         (flushCaches): Now flushes all cached intermediate data.
2918 2005-04-28  Michael Koch  <konqueror@gmx.de>
2920         * java/net/InetAddress.java
2921         (aton): Fixed javadoc.
2922         (lookup): Likewise.
2924 2005-04-28  Tom Tromey  <tromey@redhat.com>
2926         * javax/swing/Timer.java
2927         (drainEvents, queueEvent): Now package-private.
2929 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
2931         * javax/swing/Timer.java
2932         (constructor): Assigning initialDelay.
2934 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
2936         * javax/swing/Timer.java
2937         (Waker.run): firing the first action event.
2939 2005-04-28  Michael Koch  <konqueror@gmx.de>
2941         * javax/swing/Timer.java: Reordered all fields and methods,
2942         Added more javadocs.
2944 2005-04-28  Michael Koch  <konqueror@gmx.de>
2946         * javax/swing/Timer.java: Javadocs merged
2947         from GNU classpath.
2949 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
2951         * gnu/java/net/protocol/file/Connection.java
2952         (StaticData): New inner class to contain statics.
2953         (connect, getHeaderField): Modified to use StaticData.
2955 2005-04-28  Michael Koch  <konqueror@gmx.de>
2957         * gnu/java/net/protocol/file/Connection.java
2958         (lineSeparator): Initialize with SystemProperties.getProperty().
2960 2005-04-27  Chris Burdess  <dog@gnu.org>
2962         * gnu/java/net/protocol/file/Connection.java: Return correct content
2963         length for directory listing.
2964         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
2965         #11285: return valid URLs for directories.i
2967 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
2969         * Makefile.am (ordinary_java_source_files): Add
2970         gnu/java/net/protocol/https/Handler.java.
2971         * Makefile.in: Regenerate.
2972         * java/net/URL.java: Remove org.metastatic.jessie from default
2973         protocol search path.
2975 2005-04-27  Chris Burdess  <dog@gnu.org>
2977         * gnu/java/net/protocol/https/Handler.java: New file.
2979 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
2981         * javax/imageio/spi/IIORegistry.java (IIORegistry):
2982         Don't assume that awt Toolkit is always ClasspathToolkit.
2984 2005-04-27  Chris Burdess  <dog@gnu.org>
2986         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
2987         absolute and relative paths in Location header.
2989 2005-04-27  Chris Burdess  <dog@gnu.org>
2991         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
2992         FileNotFoundException and implement getErrorStream on 404.
2994 2005-04-27  Sven de Marothy <sven@physto.se>
2996         * java/util/TimeZone.java,
2997         (getDefaultDisplayName): Fix previous fix.
2999 2005-04-27  Sven de Marothy <sven@physto.se>
3001         * java/util/TimeZone.java,
3002         (getDefaultDisplayName): Don't print zero offsets.
3004 2005-04-27  Roman Kennke  <roman@kennke.org>
3006         * javax/swing/plaf/basic/BasicScrollBarUI
3007         (getThumbBounds): Do not make thumb smaller than
3008         minimumThumbSize.
3009         * javax/swing/plaf/metal/MetalLookAndFeel
3010         (initComponentDefaults): Added color defaults for ScrollBar.
3011         * javax/swing/plaf/metal/MetalScrollBarUI
3012         (paintThumb): Added.
3013         (getMinimumThumbSize): Added.
3015 2005-04-27  Roman Kennke  <roman@kennke.org>
3017         * javax/swing/plaf/metal/MetalLookAndFeel
3018         (initComponentDefaults): Added some default colors.
3020 2005-04-27  Roman Kennke  <roman@kennke.org>
3022         * javax/swing/plaf/basic/BasicScrollBarUI.java
3023         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
3024         to 'ScrollBar.thumbShadow'. The formes does not exist.
3025         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
3027 2005-04-27  Roman Kennke  <roman@kennke.org>
3029         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
3030         * javax/swing/BoxLayout.java: Likewise.
3031         * javax/swing/UIManager.java: Likewise.
3032         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3033         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
3034         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3035         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3036         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
3037         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
3038         * javax/swing/text/Document.java: Likewise.
3039         * javax/swing/text/GapContent.java: Likewise.
3040         * javax/swing/text/SimpleAttributeSet.java: Likewise.
3041         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
3043 2005-04-27  Roman Kennke  <roman@kennke.org>
3045         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
3046         (getPropertyPrefix): Added.
3048 2005-04-27  Roman Kennke  <roman@kennke.org>
3050         * javax/swing/plaf/basic/BasicButtonUI.java
3051         (getPropertyPrefix): Added.
3052         (installDefaults): Use getPropertyPrefix instead of hard-coded
3053         prefix.
3055 2005-04-27  Roman Kennke  <roman@kennke.org>
3057         * javax/swing/JToggleButton.java
3058         (JToggleButton): Removed horizontalAlignment setting, this
3059         was wrong. Added setting of an actionCommand, ToggleButtons
3060         have "" as default actionCommand.
3062 2005-04-27  Michael Koch  <konqueror@gmx.de>
3064         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
3065         to work around CNI limitation.
3067 2005-04-27  Sven de Marothy  <sven@physto.se>
3069         * java/nio/charset/Charset.java:
3070         (defaultCharset()): New method.
3071         Status updated to 1.5
3073 2005-04-27  Sven de Marothy  <sven@physto.se>
3075         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
3077 2005-04-27  Sven de Marothy  <sven@physto.se>
3079         * java/nio/charset/Charset.java: Reset cached de/encoders.
3081 2005-04-27  Robert Schuster <thebohemian@gmx.net>
3083         * java/nio/charset/Charset.java (forName): Throws
3084         IllegalArgumentException when argument is null
3085         and added documentation.
3087 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3089         * java/nio/charset/Charset.java (providers):
3090         New method to make an array of CharsetProviders defined in
3091         META-INF/services/java.nio.charset.spi.CharsetProvider.
3092         (charsetForName, availableCharsets): Use the
3093         new method providers().
3095 2005-04-26  Michael Koch  <konqueror@gmx.de>
3097         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
3098         Fixed typos in javadocs.
3099         (isSiteLocalAddress): Fixed handling of byte values.
3100         (isMCLinkLocal): Likewise.
3101         * java/net/Inet4Address.java
3102         (isMulticastAddress): Call super method.
3103         (isLoopbackAddress): Likewise.
3104         (isAnyLocalAddress): Likewise.
3105         (isLinkLocalAddress): Likewise.
3106         (isSiteLocalAddress): Likewise.
3107         (isMCGlobal): Likewise.
3108         (isMCNodeLocal): Likewise.
3109         (isMCLinkLocal): Likewise.
3110         (isMCSiteLocal): Likewise.
3111         (isMCOrgLocal): Likewise.
3112         (getHostAddress): Likewise.
3114 2005-04-26  Sven de Marothy  <sven@physto.se>
3116         * java/net/InetAddress.java
3117         (toString): Don't print empty hostnames.
3119 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
3121         PR libgcj/21136:
3122         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
3123         'false' to native lock().
3124         (lock): Pass 'true' to native lock().
3126 2005-04-26  Michael Koch  <konqueror@gmx.de>
3128         * java/net/InetAddress.java:
3129         Fixed typos in javadocs.
3131 2005-04-26  Andrew Haley  <aph@redhat.com>
3133         PR libgcj/21020:
3134         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
3135         field's type.
3137 2005-04-26  Tom Tromey  <tromey@redhat.com>
3139         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
3140         gnu): Now package-private.
3141         * javax/swing/text/html/parser/DocumentParser.java (parser,
3142         callBack, gnu): Now package-private.
3143         * javax/swing/text/StringContent.java (content, setOffset,
3144         checkLocation): Now package-private.
3145         * javax/swing/text/JTextComponent.java (doc): Now
3146         package-private.
3147         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
3148         lastGoodOrientation, origParent, borders, cachedBounds,
3149         cachedOrientation, DragWindow): Now package-private.
3150         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
3151         decrButton, viewport, panel, currentScrollLocation, layoutManager,
3152         tabAreaRect, contentRect, createIncreaseButton,
3153         createDecreaseButton, findPointForIndex): Now package-private.
3154         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3155         (currentDividerLocation, moveDividerTo): Now package-private.
3156         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
3157         package-private.
3158         * javax/swing/plaf/basic/BasicScrollBarUI.java
3159         (calculatePreferredSize, valueForYPosition, valueForXPosition):
3160         Now package-private.
3161         * javax/swing/plaf/basic/BasicPopupMenuUI.java
3162         (topWindowListener): Now package-private.
3163         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
3164         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
3165         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
3166         package-private.
3167         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
3168         package-private.
3169         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
3170         Now package-private.
3171         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
3172         package-private.
3173         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
3174         borderInsets): Now package-private.
3175         (arrowButtonWidth): Likewise.  Now a constant.
3176         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
3177         makeTabs, updatePreviewPanel): Now package-private.
3178         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
3179         darkShadow, highlight): Now package-private.
3180         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
3181         (addColorToQueue): Now package-private.
3182         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
3183         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
3184         GSpinner, BSpinner): Now package-private.
3185         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
3186         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
3187         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
3188         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
3189         updateTrack): Now package-private.
3190         * javax/swing/TransferHandler.java (clipboard): Now
3191         package-private.
3192         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
3193         package-private.
3194         * javax/swing/Timer.java (drainEvents, queueEvent): Now
3195         package-private.
3196         * javax/swing/RepaintManager.java (globalManager): Now
3197         package-private.
3198         * javax/swing/JFormattedTextField.java (editValid): Now
3199         package-private.
3200         * javax/swing/JColorChooser.java (makeModal): Now
3201         package-private.
3202         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
3203         index, path): Now package-private.
3204         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
3205         lineQuadIntersect, lineCubicIntersect, linesIntersect,
3206         pointEquals): Now package-private.
3207         * java/awt/geom/Arc2D.java (type): Now package-private.
3208         * java/awt/Window.java (windowFocusOwner): Now package-private.
3209         * java/awt/TextComponent.java (editable, selectionStart,
3210         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
3211         package-private.
3212         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
3213         package-private.
3214         * java/awt/MenuComponent.java (focusListener): Now
3215         package-private.
3216         * java/awt/Frame.java (state): Now package-private.
3217         * java/awt/Choice.java (pItems): Now package-private.
3218         * java/awt/Checkbox.java (state): Now package-private.
3219         * java/awt/Button.java (actionCommand, label): Now
3220         package-private.
3221         * gnu/javax/swing/text/html/parser/support/Parser.java
3222         (attributes, _handleEndTag_remaining, _handleStartTag): Now
3223         package-private.
3224         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
3225         package-private.
3226         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
3227         clip, transform, font, comp): Now package-private.
3229 2005-04-26  Tom Tromey  <tromey@redhat.com>
3231         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
3232         static way.
3234 2005-04-26  Mark Wielaard  <mark@klomp.org>
3236         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
3237         to MalformedURLException.
3239 2005-04-26  Michael Koch  <konqueror@gmx.de>
3241         * java/security/AccessControlContext.java:
3242         Reformated.
3243         (protectedDomains): Renamed from 'protectionDomain'.
3244         * java/security/AccessController.java:
3245         Reformatted.
3247 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3249         * gnu/java/security/action/GetSecurityPropertyAction.java
3250         (GetSecurityPropertyAction): Implement PrivilegedAction instead
3251         of extending GetPropertyAction.
3252         (name): New field.
3253         (value): Likewise.
3254         (setParamters): New methods.
3255         (GetSecurityPropertyAction): Use new setParameters methods.
3257 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3259         * java/security/Security.java,
3260         java/security/cert/X509CRLSelector.java,
3261         java/security/cert/X509CertSelector.java:
3262         Modified to use SystemProperties.
3264 2005-04-26  Michael Koch  <konqueror@gmx.de>
3266         * java/lang/System.java
3267         (setSecurityManager): Fixed comment.
3268         (getSecurityManager): Removed obsolete comment.
3270 2005-04-25  Tom Tromey  <tromey@redhat.com>
3272         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
3274 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
3276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3277         (connectSignals): Realize the window widget after connecting
3278         signals.
3280 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
3282         * java/awt/GraphicsEnvironment.java
3283         (localGraphicsEnvironment): New field.
3284         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
3285         property.
3286         (isHeadless): Added support for java.awt.headless property.
3287         (isHeadlessInstance): Call headless().
3289 2005-04-25  Roman Kennke  <roman@kennke.org>
3291         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
3292         (getDisplayMode): Added. Returns the current display mode.
3293         (isFullScreenSupported): Added.
3294         * java/awt/GraphicsDevice.java
3295         (setFullScreenWindow): Implemented a primitive fullscreen mode.
3296         This resizes and relocates the fullscreen window so that it uses
3297         the whole screen. This is not a fully accelerated fullscreen
3298         exclusive mode.
3300 2005-04-25  Michael Koch  <konqueror@gmx.de>
3302         * java/lang/Runtime.java,
3303         java/lang/SecurityManager.java,
3304         java/lang/System.java,
3305         java/lang/ThreadGroup.java:
3306         Replaced java.lang.Runtime.securityManager by
3307         java.lang.SecurityManager.current (as used in GNU classpath).
3309 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
3311         * java/awt/Transparency.java
3312         (getTransparency): fixed API docs.
3314 2005-04-25  Archie Cobbs  <archie@dellroad.org>
3316         * java/lang/Throwable.java: simplify initializing cause in constructor
3318 2005-04-25  Michael Koch  <konqueror@gmx.de>
3320         * gnu/classpath/SystemProperties.java: New file.
3321         * gnu/classpath/natSystemProperties.cc: New file.
3322         * java/lang/Runtime.java
3323         (defaultProperties): Removed.
3324         (static): Likewise.
3325         (): Made thrown exceptions more verbose.
3326         (insertSystemProperties): Removed.
3327         * java/lang/System.java
3328         (static): Likewise.
3329         (properties): Likewise.
3330         (setSecurityManager): Reordered modifiers.
3331         (getenv): Improved javadoc.
3332         (): Likewise.
3333         (isWordsBigEndian): Removed.
3334         * java/lang/natRuntime.cc
3335         (_Jv_SetDLLSearchPath): Likewise.
3336         (file_encoding): Likewise.
3337         (default_file_encoding): Likewise.
3338         (getpwuid_adaptor): Likewise.
3339         (insertSystemProperties): Likewise.
3340         * java/lang/natSystem.cc
3341         (isWordsBigEndian): Likewise.
3342         * Makefile.am
3343         (ordinary_java_source_files):
3344         Added gnu/classpath/SystemProperties.java.
3345         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
3346         * Makefile.in: Regenerated.
3348 2005-04-25  Roman Kennke  <roman@kennke.org>
3350         * javax/swing/plaf/basic/BasicScrollBarUI.java
3351         (initDefaults): Initialize thumb*Color fields correctly.
3353 2005-04-25  Roman Kennke  <roman@kennke.org>
3355         * javax/swing/text/GapContent.java:
3356         Added API comments.
3358 2005-04-25  Roman Kennke  <roman@kennke.org>
3360         * javax/swing/plaf/metal/MetalBorders.java:
3361         Added inner class ScrollPaneBorder.
3362         * javax/swing/plaf/metal/MetalLookAndFeel.java
3363         (initComponentDefaults): Added default for "ScrollPane.border"
3364         to use the new ScrollPaneBorder.
3366 2005-04-25  Roman Kennke  <roman@kennke.org>
3368         * javax/swing/text/AbstractDocument.java:
3369         Added FIXME comments. This class still has to be
3370         implemented thread-safe.
3372 2005-04-25  Roman Kennke  <roman@kennke.org>
3374         * javax/swing/tree/DefaultTreeSelectionModel.java
3375         (DefaultTreeSelectionModel): Initialize listenerList here.
3377 2005-04-25  Roman Kennke  <roman@kennke.org>
3379         * javax/swing/plaf/metal/MetalTextFieldUI.java
3380         (createUI): Return one instance per Component instead of a
3381         shared instance.
3383 2005-04-25  Roman Kennke  <roman@kennke.org>
3385         * javax/swing/text/Document.java:
3386         Added API documentation comments.
3388 2005-04-25  Roman Kennke  <roman@kennke.org>
3390         * javax/swing/text/AbstractDocument.java
3391         (getDocumentProperties): Implemented.
3392         (setDocumentProperties): Implemented.
3393         (getProperty): Implemented.
3394         (putProperty): Implemented.
3396 2005-04-25  Roman Kennke  <roman@kennke.org>
3398         * javax/swing/BoxLayout
3399         (preferredLayoutSize): Fixed computation so that it correctly
3400         adds the top and bottom insets of the container.
3402 2005-04-25  Roman Kennke  <roman@kennke.org>
3404         * javax/swing/plaf/basic/BasicMenuItemUI.java
3405         (paintText): Make use of the 'selectionForeground' UI default
3406         for text painting.
3408 2005-04-25  Roman Kennke  <roman@kennke.org>
3410         * javax/swing/plaf/basic/BasicLookAndFeel.java
3411         (initSystemColorDefaults): Modified colors to match the
3412         BasicLookAndFeel in the reference implementation.
3413         (initComponentDefaults): Likewise.
3415 2005-04-25  Tom Tromey  <tromey@redhat.com>
3417         * include/jni.h (_Jv_va_list): Removed.
3418         Moved configuration code...
3419         * include/jni_md.h: ... here.  New file.
3420         * include/Makefile.in: Rebuilt.
3421         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
3423 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
3425         * java/io/FileInputStream.java (FileInputStream(File)),
3426         java/io/FileOutputStream.java (FileOutputStream(File)):
3427         Removed unnecessary File.isDirectory() check.
3429 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
3431         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
3432         gij if get_multilibs fails.
3434 2005-04-22  Anthony Green  <green@redhat.com>
3436         * jni.cc (natrehash): Don't bother clearing memory again.
3437         * interpret.cc (do_allocate_static_fields): Ditto.
3438         * java/lang/natString.cc (rehash): Ditto.
3440 2005-04-22  Roman Kennke  <roman@kennke.org>
3442         * javax/swing/plaf/basic/BasicLookAndFeel.java
3443         (initComponentDefaults): Changed Button.border to be
3444         BasicBorders.getButtonBorder as it should be.
3446 2005-04-22  Roman Kennke  <roman@kennke.org>
3448         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
3449         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
3450         should according to a mauve testcase, instead of the preferred
3451         size.
3453 2005-04-22  Roman Kennke  <roman@kennke.org>
3455         * javax/swing/JMenu.java
3456         (add): add(Component) now calls PopupMenu.insert(..) instead of
3457         PopupMenu.add(..). add(..) is not implemented for Component,
3458         so JComponent.add(..) is called instead, adding the component
3459         in the wrong place.
3461 2005-04-22  Roman Kennke  <roman@kennke.org>
3463         * javax/swing/plaf/basic/BasicButtonListener.java
3464         (mousePressed): replaced query to getModifiersEx with getModifiers.
3465         This method relied on faulty behaviour in getModifierEx.
3466         (mouseReleased): replaced query to getModifiersEx with getModifiers.
3467         This method relied on faulty behaviour in getModifierEx.
3469 2005-04-22  Roman Kennke  <roman@kennke.org>
3471         * javax/swing/plaf/metal/MetalLookAndFeel.java
3472         (getDefaults): Call addCustomEntriesToTable on the theme.
3474 2005-04-22  Roman Kennke  <roman@kennke.org>
3476         * javax/swing/tree/DefaultTreeSelectionModel.java
3477         (constructor): Added implementation.
3478         (getRowMapper): Added implementation.
3479         (setSelectionMode): Added implementation.
3480         (getSelectionMode): Added implementation.
3481         (getSelectionPath): Added implementation.
3482         (getSelectionPaths): Added implementation.
3483         (getSelectionCount): Added implementation.
3484         (isSelectionEmpty): Added implementation.
3485         (getSelectionRows): Added implementation.
3486         (getMinSelectionRow): Added implementation.
3487         (getMaxSelectionRow): Added implementation.
3488         (getLeadSelectionRow): Added implementation.
3489         (getLeadSelectionPath): Added implementation.
3491 2005-04-22  Casey Marshall <csm@gnu.org>
3493         * gnu/java/security/der/DERValue.java
3494         (getValueAs): new method.
3495         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
3496         (<init>): read both dates with 'DERValue.getValueAs', with
3497         'GENERALIZED_TIME' as the argument.
3499 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
3501         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
3502         be null, check for that case and don't deference it.
3504 2005-04-22  Sven de Marothy  <sven@physto.se>
3506         * java/util/logging/LogManager.java: Reformatted.
3507         (readConfiguration): If a logger for a key is not found, create one.
3509 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3511         * java/rmi/Naming.java:
3512         Added class documentation.
3513         (lookup(String)): Call parseURL and getName.
3514         (bind(String,java.rmi.Remote)): Likewise.
3515         (unbind(String)): Likewise.
3516         (rebind(String, java.rmi.Remote)): Likewise.
3517         (list(String)): Call parseURL.
3518         (parseURL(String)): New method to handle parsing and defaults.
3519         (getName(java.net.URL)): New method to handle finding the service name.
3521 2005-04-21  Tom Tromey  <tromey@redhat.com>
3523         * java/lang/natClass.cc (initializeClass): Link class.
3525 2005-04-21  Tom Tromey  <tromey@redhat.com>
3527         * java/lang/AssertionError.java: Typo fix.
3529 2005-04-21  Tom Tromey  <tromey@redhat.com>
3531         * java/lang/VMClassLoader.java (transformException): Removed.
3532         (resolveClass): No longer native.  Now does nothing.
3533         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
3535 2005-04-21  Anthony Green  <green@redhat.com>
3537         PR libgcj/21115
3538         * testsuite/libjava.special/special.exp,
3539         testsuite/libjava.special/pr21115I.java,
3540         testsuite/libjava.special/pr21115.java,
3541         testsuite/libjava.special/pr21115.out: New files.
3543 2005-04-21  Chris Burdess  <dog@gnu.org>
3545         * gnu/java/net/CRLFInputStream.java: Rewrite to return
3546         CRLF-delimited chunks.
3548 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3550         * java/net/URI.java:
3551         Added class documentation.
3552         (parseURI(String)): Only handle scheme-specific parts
3553         if URI is not opaque.  Allow for parts that can't be null.
3554         (toString()): Output the scheme-specific part whole, rather
3555         than as its possibly non-existent components.
3557 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3559         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
3560         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
3561         Adjusted to match new regexp.
3563 2005-04-20  Michael Koch  <konqueror@gmx.de>
3565         * gnu/java/net/protocol/file/Connection.java,
3566         gnu/java/net/protocol/jar/Connection.java:
3567         Reorganized import statements. Fixed @author tags.
3569 2005-04-20  Chris Burdess  <dog@gnu.org>
3571         * java/io/DataOutputStream.java (writeUTF): Use block write for
3572         output.
3574 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3576         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
3577         (readLine): Changed newline handling.
3579 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3581         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
3582         ColorModel,byte[],int,int): Fixed byte to int conversion.
3584 2005-04-20  Michael Koch  <konqueror@gmx.de>
3586         * java/io/FilePermission.java
3587         (serialVersionUID): Made private.
3588         (ALL_FILES): New constant.
3589         (implies): Handle '<<ALL FILES>>' case.
3591 2005-04-20  Sven de Marothy  <sven@physto.se>
3593         * gnu/java/awt/peer/gtk/GdkGraphics.java:
3594         (drawImage): Don't notify the image observer for offscreen images.
3595         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
3596         (setPixels): Don't notify the image observer.
3598 2005-04-20  Sven de Marothy  <sven@physto.se>
3600         * java/nio/ByteBufferImpl.java:
3601         (putChar): Inlined for speed.
3602         (put, get): Bulk methods can use arraycopy.
3603         * java/nio/CharBufferImpl.java:
3604         (put, get): Bulk methods can use arraycopy.
3606 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3608         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
3609         and field updates.
3610         * java/nio/CharBufferImpl.java
3611         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
3612         (get(), put(char)): Inlined checks and field updates. Fixed to
3613         take array_offset into account.
3614         (get(int), put(int, char)): Fixed to take array_offset into account.
3616 2005-04-20  Sven de Marothy  <sven@physto.se>
3618         * java/text/SimpleDateFormat.java:
3619         (formatWithAttribute): Pad year before truncating digits.
3621 2005-04-20  Michael Koch  <konqueror@gmx.de>
3623         * gnu/java/net/PlainDatagramSocketImpl.java:
3624         Merged copyright header.
3625         * gnu/java/net/PlainSocketImpl.java:
3626         Reorganized import statements. Fixed @author tags.
3628 2005-04-20  Michael Koch  <konqueror@gmx.de>
3630         * gnu/java/lang/ClassHelper.java,
3631         gnu/java/lang/reflect/TypeSignature.java:
3632         Fixed @author tag.
3634 2005-04-20  Michael Koch  <konqueror@gmx.de>
3636         * gnu/java/beans/IntrospectionIncubator.java:
3637         Fixed HTML tags in javadocs.
3639 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3641         * gnu/java/beans/IntrospectionIncubator.java
3642         (addToPropertyHash, addToListenerHash): Don't confuse get(),
3643         set(), is(), add() and remove() with properties or events.
3645 2005-04-20  Michael Koch  <konqueror@gmx.de>
3647         * gnu/java/awt/image/XBMDecoder.java:
3648         Fixed modifier order.
3650 2005-04-20  Roman Kennke  <roman@kennke.org>
3652         * javax/swing/plaf/basic/BasicButtonUI.java
3653         (paint): This should not care about margin and insets
3654         at the same time, as insets already include the margin
3655         through the border.
3656         * javax/swing/plaf/basic/BasicGraphicsUtils.java
3657         (getPreferredButtonSize): Likewise.
3658         * javax/swing/plaf/metal/MetalBorders.java
3659         (getBorderInsets): Likewise.
3661 2005-04-20  Roman Kennke  <roman@kennke.org>
3663         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3664         (createMessageArea): The JPanel that holds the message area
3665         doesn't need to override getPreferredSize. This prevents some
3666         message components from rendering nicely.
3668 2005-04-20  Roman Kennke  <roman@kennke.org>
3670         * javax/swing/plaf/metal/MetalInternalFrameUI.java
3671         (createUI): Do not share instances between components.
3672         * javax/swing/plaf/metal/MetalSliderUI.java
3673         (createUI): Do not share instances between components.
3675 2005-04-20  Roman Kennke  <roman@kennke.org>
3677         * javax/swing/plaf/metal/MetalBorders:
3678         (PopupMenuBorder): Added.
3679         * javax/swing/plaf/metal/MetalLookAndFeel
3680         (initComponentDefaults): Added PopupMenuBorder.
3682 2005-04-20  Roman Kennke  <roman@kennke.org>
3684         * javax/swing/tree/DefaultTreeSelectionModel.java:
3685         Added API documentation all over the class.
3687 2005-04-20  Roman Kennke  <roman@kennke.org>
3689         * javax/swing/plaf/basic/BasicScrollPaneUI.java
3690         (installDefaults): Link managed JScrollPane in instance field.
3691         (uninstallDefaults): Unlink managed JScrollPane in instance field.
3693 2005-04-20  Roman Kennke  <roman@kennke.org>
3695         * javax/swing/plaf/basic/BasicScrollBarUI.java
3696         (PropertyChangeHandler.propertyChange): Add default
3697         to switch statement to avoid errors with unusual values
3698         for orientation.
3699         (installComponents): Likewise.
3701 2005-04-20  Roman Kennke  <roman@kennke.org>
3703         * javax/swing/plaf/metal/MetalScrollBarUI.java:
3704         (createUI): Instances cannot be shared among JScrollPanes.
3706 2005-04-20  Roman Kennke  <roman@kennke.org>
3708         * javax/swing/plaf/metal/MetalLookAndFeel.java
3709         (initComponentDefaults): Added defaults for Menu, MenuBar
3710         MenuEntry fonts.
3712 2005-04-20  Roman Kennke  <roman@kennke.org>
3714         * javax/swing/plaf/basic/BasicScrollBarUI.java
3715         (installUI): Install listeners after everything all, otherwise
3716         we get strange NPEs in some situations, especially with
3717         custom L&Fs.
3718         (createIncreaseButton): Orientation is expected to be
3719         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3720         HORIZONTAL or VERTICAL.
3721         (createDecreaseButton): Orientation is expected to be
3722         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3723         HORIZONTAL or VERTICAL.
3724         (installComponents): Orientation for buttons is expected to be
3725         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3726         HORIZONTAL or VERTICAL.
3728 2005-04-20  Roman Kennke  <roman@kennke.org>
3730         * javax/swing/JToolBar.java
3731         (addImpl): Adjust added AbstractButtons to look and feel like
3732         toolbar buttons.
3733         * javax/swing/plaf/metal/MetalBorders.java:
3734         Adjusted insets of ButtonBorder.
3735         (RolloverMarginBorder): Added class for toolbar buttons.
3736         (getButtonBorder): Adjusted factory method to return a shared
3737         instance of button border.
3738         (getToolbarButtonBorder): Added factory method to return a shared
3739         instance of toolbar button border.
3740         (getMarginBorder): Added factory method to return a shared
3741         instance of margin border.
3742         * javax/swing/plaf/metal/MetalButtonUI.java
3743         (installDefauls): If button is child of a JToolBar then set
3744         special border on this button.
3746 2005-04-20  Michael Koch  <konqueror@gmx.de>
3748         * java/net/URLConnection.java
3749         (getContent): Fixed javadoc comment.
3751 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3753         * java/net/URL.java:
3754         (toURI()): Implemented.
3756 2005-04-19  Michael Koch  <konqueror@gmx.de>
3758         * java/net/InetAddress.java
3759         (InetAddress): Fixed javadoc comment.
3760         (aton): Likewise.
3761         (lookup): Added javadoc.
3762         (getFamily): Likewise.
3763         * java/net/ServerSocket.java
3764         (getChannel): Improved javadoc comment.
3766 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3768         * gnu/xml/dom/html2/DomHTMLParser.java:
3769         Changed 'enum' references to become 'enumeration'.
3771 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3773         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
3775 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3777         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
3778         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
3779         * gnu/javax/swing/text/html/parser/htmlValidator.java:
3780         (validateParameters(TagElement,htmlAttributeSet)):
3781         Replaced 'enum' with 'enumeration'.
3782         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
3783         Likewise.
3785 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3787         * javax/swing/text/html/parser/Entity.java (getType): New method.
3788         * javax/swing/text/html/parser/DocumentParser.java:
3789         Inherit from javax.swing.text.html.parser.Parser.
3791 2005-04-19  Chris Burdess  <dog@gnu.org>
3793         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
3794         check for HTML/XHTML namespace.
3796 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3798         * javax/swing/text/html/parser/Parser.java,
3799         javax/swing/text/html/parser/Entity.java:
3800         Inheriting from DTDConstants.
3801         * javax/swing/text/html/parser/AttributeList.java
3802         (getValues): Changed return type.
3803         * javax/swing/text/html/parser/DocumentParser
3804         (parse): Adding the callback parameter that receives
3805         the parsing events.
3807 2005-04-19  Chris Burdess  <dog@gnu.org>
3809         * gnu/xml/dom/DomImpl.java,
3810         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
3811         gnu/xml/dom/html2/DomHTMLDocument.java,
3812         gnu/xml/dom/html2/DomHTMLElement.java,
3813         gnu/xml/dom/html2/DomHTMLFormElement.java,
3814         gnu/xml/dom/html2/DomHTMLFrameElement.java,
3815         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
3816         gnu/xml/dom/html2/DomHTMLImpl.java,
3817         gnu/xml/dom/html2/DomHTMLInputElement.java,
3818         gnu/xml/dom/html2/DomHTMLObjectElement.java,
3819         gnu/xml/dom/html2/DomHTMLOptionElement.java,
3820         gnu/xml/dom/html2/DomHTMLSelectElement.java,
3821         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
3822         gnu/xml/dom/html2/DomHTMLTableElement.java,
3823         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
3824         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
3825         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
3826         UI events, and tree utility functions.
3828 2005-04-19  Michael Koch  <konqueror@gmx.de>
3830         * gnu/javax/swing/text/html/parser/HTML_401F.java,
3831         gnu/javax/swing/text/html/parser/gnuDTD.java,
3832         gnu/javax/swing/text/html/parser/models/node.java:
3833         Reworked import statements.
3835 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
3837         * javax/swing/text/html/HTMLDocument.java: New file.
3839 2005-04-19  Michael Koch  <konqueror@gmx.de>
3841         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
3842         Reformatted.
3843         * javax/swing/text/html/parser/AttributeList.java:
3844         Fixed order of modifiers.
3845         (AttributeList): Made final.
3846         * javax/swing/text/html/parser/ContentModel.java:
3847         Fixed html characters in javadocs.
3848         * javax/swing/text/html/parser/DTD.java
3849         (DTD): Don't implement java.io.Serializable directly.
3850         (getElement): Simplified.
3851         * javax/swing/text/html/parser/DTDConstants.java:
3852         Reformatted file.
3853         * javax/swing/text/html/parser/Element.java:
3854         Fixed order of modifiers.
3855         * javax/swing/text/html/parser/Parser.java:
3856         Reformatted. Don't use fully-qualified class names.
3857         * javax/swing/text/html/parser/ParserDelegator.java:
3858         Fixed order of modifiers.
3859         * javax/swing/text/rtf/RTFParser.java:
3860         Re-ordered import statements.
3861         * javax/swing/text/rtf/RTFScanner.java:
3862         Removed unused import statement.
3864 2005-04-19  Chris Burdess  <dog@gnu.org>
3866         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
3867         gnu/xml/dom/html2/DomHTMLCollection.java,
3868         gnu/xml/dom/html2/DomHTMLDocument.java,
3869         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
3870         types.
3871         * gnu/xml/dom/html2/DomHTMLDListElement.java,
3872         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
3873         gnu/xml/dom/html2/DomHTMLDivElement.java,
3874         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
3875         gnu/xml/dom/html2/DomHTMLFontElement.java,
3876         gnu/xml/dom/html2/DomHTMLFormElement.java,
3877         gnu/xml/dom/html2/DomHTMLFrameElement.java,
3878         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
3879         gnu/xml/dom/html2/DomHTMLHRElement.java,
3880         gnu/xml/dom/html2/DomHTMLHeadElement.java,
3881         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
3882         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
3883         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
3884         gnu/xml/dom/html2/DomHTMLImageElement.java,
3885         gnu/xml/dom/html2/DomHTMLInputElement.java,
3886         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
3887         gnu/xml/dom/html2/DomHTMLLIElement.java,
3888         gnu/xml/dom/html2/DomHTMLLabelElement.java,
3889         gnu/xml/dom/html2/DomHTMLLegendElement.java,
3890         gnu/xml/dom/html2/DomHTMLLinkElement.java,
3891         gnu/xml/dom/html2/DomHTMLMapElement.java,
3892         gnu/xml/dom/html2/DomHTMLMenuElement.java,
3893         gnu/xml/dom/html2/DomHTMLMetaElement.java,
3894         gnu/xml/dom/html2/DomHTMLModElement.java,
3895         gnu/xml/dom/html2/DomHTMLOListElement.java,
3896         gnu/xml/dom/html2/DomHTMLObjectElement.java,
3897         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
3898         gnu/xml/dom/html2/DomHTMLOptionElement.java,
3899         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
3900         gnu/xml/dom/html2/DomHTMLParamElement.java,
3901         gnu/xml/dom/html2/DomHTMLPreElement.java,
3902         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
3903         gnu/xml/dom/html2/DomHTMLScriptElement.java,
3904         gnu/xml/dom/html2/DomHTMLSelectElement.java,
3905         gnu/xml/dom/html2/DomHTMLStyleElement.java,
3906         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
3907         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
3908         gnu/xml/dom/html2/DomHTMLTableColElement.java,
3909         gnu/xml/dom/html2/DomHTMLTableElement.java,
3910         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
3911         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
3912         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
3913         gnu/xml/dom/html2/DomHTMLTitleElement.java,
3914         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
3916 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3918         * javax/swing/text/ChangedCharSetException.java,
3919         javax/swing/text/html/HTMLEditorKit.java,
3920         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
3921         javax/swing/text/html/parser/AttributeList.java,
3922         javax/swing/text/html/parser/ContentModel.java,
3923         javax/swing/text/html/parser/DocumentParser.java,
3924         javax/swing/text/html/parser/DTD.java,
3925         javax/swing/text/html/parser/DTDConstants.java,
3926         javax/swing/text/html/parser/Element.java,
3927         javax/swing/text/html/parser/Entity.java,
3928         javax/swing/text/html/parser/Parser.java,
3929         javax/swing/text/html/parser/TagElement.java,
3930         gnu/javax/swing/text/html/package.html,
3931         gnu/javax/swing/text/html/parser/gnuDTD.java,
3932         gnu/javax/swing/text/html/parser/HTML_401F.java,
3933         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
3934         gnu/javax/swing/text/html/parser/htmlValidator.java,
3935         gnu/javax/swing/text/html/parser/package.html,
3936         gnu/javax/swing/text/html/parser/models/list.java,
3937         gnu/javax/swing/text/html/parser/models/node.java,
3938         gnu/javax/swing/text/html/parser/models/noTagModel.java,
3939         gnu/javax/swing/text/html/parser/models/package.html,
3940         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
3941         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
3942         gnu/javax/swing/text/html/parser/models/transformer.java,
3943         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
3944         gnu/javax/swing/text/html/parser/support/package.html,
3945         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
3946         gnu/javax/swing/text/html/parser/support/Parser.java,
3947         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
3948         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
3949         gnu/javax/swing/text/html/parser/support/low/Constants.java,
3950         gnu/javax/swing/text/html/parser/support/low/Location.java,
3951         gnu/javax/swing/text/html/parser/support/low/node.java,
3952         gnu/javax/swing/text/html/parser/support/low/package.html,
3953         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
3954         gnu/javax/swing/text/html/parser/support/low/pattern.java,
3955         gnu/javax/swing/text/html/parser/support/low/Queue.java,
3956         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
3957         New files.
3958         * javax/swing/text/html/HTML.java,
3959         javax/swing/text/html/parser/ParserDelegator.java:
3960         New files (replacing).
3961         * javax/swing/text/html/package.html,
3962         javax/swing/text/html/parser/package.html: Documenting the
3963         packages.
3965 2005-04-19  Chris Burdess  <dog@gnu.org>
3967         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
3968         gnu/xml/dom/html2/DomHTMLAppletElement.java,
3969         gnu/xml/dom/html2/DomHTMLAreaElement.java,
3970         gnu/xml/dom/html2/DomHTMLBaseElement.java,
3971         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
3972         gnu/xml/dom/html2/DomHTMLBodyElement.java,
3973         gnu/xml/dom/html2/DomHTMLBRElement.java,
3974         gnu/xml/dom/html2/DomHTMLButtonElement.java,
3975         gnu/xml/dom/html2/DomHTMLCollection.java,
3976         gnu/xml/dom/html2/DomHTMLDocument.java,
3977         gnu/xml/dom/html2/DomHTMLElement.java: New files.
3979 2005-04-19  Michael Koch  <konqueror@gmx.de>
3981         * Makefile.am: Added new files.
3982         * Makefile.in: Regenerated.
3984 2005-04-19  Roman Kennke  <roman@kennke.org>
3986         * javax/swing/text/JTextComponent.java
3987         (JTextComponent): Added repaintListener which issues repaint
3988         requests when the underlying document changes.
3989         (setDocument): Adds repaintListener to document when the
3990         document is changed.
3991         * javax/swing/text/DefaultEditorKit.java:
3992         Removed repaint calls on JTextComponent. This is now handled
3993         through a DocumentListener in JTextComponent that repaints
3994         the component when needed.
3996 2005-04-19  Roman Kennke  <roman@kennke.org>
3998         PR libgcj/21064
3999         * javax/swing/text/StyleContext.java
4000         (NamedStyle.setResolveParent): Added null
4001         pointer check.
4003 2005-04-19  Michael Koch  <konqueror@gmx.de>
4005         * java/rmi/server/RemoteObject.java:
4006         Removed unused import statement.
4008 2005-04-19  Michael Koch  <konqueror@gmx.de>
4010         * java/net/URL.java: Formatting cleanups.
4012 2005-04-19  Michael Koch  <konqueror@gmx.de>
4014         * java/awt/FontMetrics.java: Reformatted.
4015         (getFontRenderContext): Handle case when java.awt.Graphics context is
4016         given.
4018 2005-04-19  Michael Koch  <konqueror@gmx.de>
4020         * java/awt/FontMetrics.java
4021         (getStringBounds): New methods.
4024 2005-04-19  Michael Koch  <konqueror@gmx.de>
4026         * gnu/java/security/x509/X509Certificate.java
4027         (parse): Handle val == null case.
4029 2005-04-19  Roman Kennke  <roman@kennke.org>
4031         * javax/swing/plaf/metal/MetalLookAndFeel.java
4032         (initComponentDefaults): Added defaults for Menu, MenuBar
4033         MenuEntry fonts.
4035 2005-04-19  Roman Kennke  <roman@kennke.org>
4037         * javax/swing/plaf/metal/MetalLookAndFeel.java
4038         (initComponentDefaults): Added Label.font.
4039         (initSystemColorDefaults): Added this method and adjusted the
4040         general control color.
4042 2005-04-19  Roman Kennke  <roman@kennke.org>
4044         * javax/swing/plaf/metal/MetalBorders.java:
4045         Added.
4046         * javax/swing/plaf/metal/MetalButtonUI.java:
4047         (installDefaults): Install button font.
4048         * javax/swing/plaf/metal/MetalLookAndFeel.java:
4049         (initComponentDefaults): Added button border, font and margin.
4050         Changed components background color to the Metal current themes
4051         standard color.
4053 2005-04-19  Roman Kennke  <roman@kennke.org>
4055         * javax/swing/plaf/metal/MetalLookAndFeel.java
4056         (initComponentDefaults): Added to set Metal specific component
4057         defaults.
4059 2005-04-19  Mark Wielaard  <mark@klomp.org>
4061         * javax/swing/plaf/metal/MetalLookAndFeel.java
4062         (initClassDefaults): Call super.initClassDefaults().
4064 2005-04-19  Roman Kennke  <roman@kennke.org>
4066         * javax/swing/plaf/metal/MetalLookAndFeel.java
4067         (initClassDefaults): Added to include the *UI classes.
4069 2005-04-19  Roman Kennke  <roman@kennke.org>
4071         * javax/swing/plaf/metal/MetalComboBoxUI.java:
4072         Added.
4073         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
4074         Added.
4075         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
4076         Added.
4077         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
4078         Added.
4079         * javax/swing/plaf/metal/MetalProgressBarUI.java:
4080         Added.
4081         * javax/swing/plaf/metal/MetalRootPaneUI.java:
4082         Added.
4083         * javax/swing/plaf/metal/MetalScrollBarUI.java:
4084         Added.
4085         * javax/swing/plaf/metal/MetalSeparatorUI.java:
4086         Added.
4087         * javax/swing/plaf/metal/MetalSliderUI.java:
4088         Added.
4089         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
4090         Added.
4091         * javax/swing/plaf/metal/MetalTextFieldUI.java:
4092         Added.
4093         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
4095 2005-04-19  Roman Kennke  <roman@kennke.org>
4097         * javax/swing/plaf/metal/MetalButtonUI.java:
4098         Added skeleton class.
4099         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
4100         Added skeleton class.
4101         * javax/swing/plaf/metal/MetalLabelUI.java:
4102         Added skeleton class.
4103         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
4104         Added skeleton class.
4105         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
4106         Added skeleton class.
4107         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
4108         Added skeleton class.
4110 2005-04-19  Roman Kennke  <roman@kennke.org>
4112         * javax/swing/UIDefaults.java:
4113         Added API documentation for all methods.
4115 2005-04-19  Roman Kennke  <roman@kennke.org>
4117         * javax/swing/UIDefaults.java
4118         (put): Now uses new checkAndPut method instead of checking
4119         directly.
4120         (putDefaults): Fixed so that it accepts null-values and
4121         treats them like remove(key).
4122         (checkAndPut): Added. This checks for null-values and calls
4123         put or remove.
4125 2005-04-19  Michael Koch  <konqueror@gmx.de>
4127         * Makefile.am: Added new files.
4128         * Makefile.in: Regenerated.
4130 2005-04-19  Mark Wielaard  <mark@klomp.org>
4132         * java/lang/natRuntime.cc (insertSystemProperties): Set
4133         java.class.path to CLASSPATH only when not empty. Fall back to
4134         default path "." when java.class.path is empty.
4136 2005-04-19  Michael Koch  <konqueror@gmx.de>
4138         * javax/swing/text/rtf/ControlWordToken.java,
4139         javax/swing/text/rtf/RTFEditorKit.java,
4140         javax/swing/text/rtf/RTFParseException.java,
4141         javax/swing/text/rtf/RTFParser.java,
4142         javax/swing/text/rtf/RTFScanner.java,
4143         javax/swing/text/rtf/TextToken.java,
4144         javax/swing/text/rtf/Token.java: New files.
4145         * Makefile.am: Added new files.
4146         * Makefile.in: Regenerated.
4148 2005-04-19  Michael Koch  <konqueror@gmx.de>
4150         * java/awt/geom/QuadCurve2D.java:
4151         Fixed Brian Gough's name for real.
4153 2005-04-19  Roman Kennke  <roman@kennke.org>
4155         * javax/swing/UIManager.java:
4156         Make the UIManager respect the swing.defaultlaf system
4157         property.
4159 2005-04-19  Tom Tromey  <tromey@redhat.com>
4161         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
4162         not _Jv_InitClass.
4164 2005-04-19  Roman Kennke  <roman@kennke.org>
4166         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4167         Fixed tabs to spaces.
4169 2005-04-19  Roman Kennke  <roman@kennke.org>
4171         * javax/swing/plaf/basic/BasicMenuUI.java
4172         (getMaximumSize): Now returns preferredSize because JMenu should
4173         never be bigger than that.
4174         * javax/swing/JRootPane
4175         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
4177 2005-04-19  Roman Kennke  <roman@kennke.org>
4179         * javax/swing/JRootPane.java:
4180         Fixed various tabs to be spaces.
4181         (RootLayout.layoutContainer): Made menubar left aligned.
4183 2005-04-19  Roman Kennke  <roman@ontographics.com>
4185         * javax/swing/JList.java
4186         (getPreferredScrollableViewportSize):
4187         The previous implementation was merely guessing the size,
4188         now it respects layoutOrientation, visibleRowCount
4189         and preferredSize.
4190         (getScrollableTracksViewportHeight):
4191         Reimplemented so that layoutOrientation, visibleRowCount
4192         and preferred size are respected.
4193         (getScrollableTracksViewportWidth):
4194         Reimplemented so that layoutOrientation, visibleRowCount
4195         and preferred size are respected.
4196         * javax/swing/plaf/basic/BasicListUI.java
4197         (getPreferredSize):
4198         Improved calculation of preferredSize when JList is
4199         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
4200         (getCellBounds):
4201         The previous implementation assumed a layoutOrientation of
4202         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
4203         JList.VERTICAL_WRAP.
4205 2005-04-19  Roman Kennke  <roman@ontographics.com>
4207         * javax/swing/plaf/basic/BasicListUI.java
4208         (paintCell): use CellRendererPane for painting the cells.
4210 2005-04-19  Roman Kennke  <roman@ontographics.com>
4212         * javax/swing/plaf/basic/BasicListUI:
4213         fixed modifiers of several fields, methods and inner
4214         classes to match the 'spec'.
4215         (getMaximumSize): removed. It's not in the spec and the
4216         implementations was superfluous.
4218 2005-04-19  Roman Kennke  <roman@ontographics.com>
4220         * javax/swing/plaf/basic/BasicListUI:
4221         make BasicListUI capable of wrapping lists
4222         (layoutOrientation property of javax.swing.JList)
4224 2005-04-19  Roman Kennke  <roman@ontographics.com>
4226         * javax/swing/plaf/basic/BasicListUI
4227         (updateLayoutState,paint): make BasicListUI aware of the
4228         width of the rendered JList.
4230 2005-04-19  Roman Kennke  <roman@kennke.org>
4232         * javax/swing/ImageIcon.java
4233         Added API documentation.
4235 2005-04-19  Roman Kennke  <roman@kennke.org>
4237         * javax/swing/text/ImageIcon.java
4238         (ImageIcon): Use setImage instead of direct assignment.
4239         (setImage): Call loadImage to make sure that the image is loaded.
4240         (loadImage): Waits for the image to complete loading.
4241         (getImageLoadStatus): Added. Returns the load status of the
4242         image.
4244 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4246         * javax/swing/JTextArea.java (replaceRange):
4247         Fixing doc.remove(start, length) misinterpretation.
4249 2005-04-19  Roman Kennke  <roman@ontographics.com>
4251         * javax/swing/CellRendererPane.java:
4252         implemented all methods of this class.
4253         reformatted all wrong formatted code.
4255 2005-04-19  Roman Kennke  <roman@kennke.org>
4257         * javax/swing/BoxLayout.java:
4258         (layoutContainer): Made this layout manager respect the
4259         minimum, maximum and preferred size more correctly.
4261 2005-04-19  Roman Kennke  <roman@ontographics.com>
4263         * javax/swing/BoxLayout.java:
4264         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
4265         layoutContainer): Make these methods and thereby the
4266         BoxLayout respect the insets (like borders) of the
4267         component that is laid out.
4269 2005-04-19  Roman Kennke  <roman@kennke.org>
4271         * javax/swing/JComponent.java:
4272         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
4273         Untabified the file.
4275 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4277         * javax/swing/JComboBox.java (constructors): selecting the
4278         first item if the box was constructed from the provided
4279         non - empty array or vector.
4281 2005-04-19  Michael Koch  <konqueror@gmx.de>
4283         * gnu/java/awt/peer/gtk/GdkGraphics.java
4284         (getClipBounds): Handle clip being null.
4285         (setClip): Likewise.
4286         * java/beans/beancontext/BeanContextSupport.java
4287         (add): Implemented.
4288         (addAll): Likewise.
4289         (clear): Likewise.
4290         (removeAll): Likewise.
4291         (retainAll): Likewise.
4293 2005-04-19  Michael Koch  <konqueror@gmx.de>
4295         * java/beans/beancontext/BeanContextServicesSupport.java
4296         (BeanContextServicesSupport): Reimplemented.
4297         (addBeanContextServicesListener): Implemented.
4298         (initialize): Likewise.
4299         (removeBeanContextServicesListener): Likewise.
4300         * java/beans/beancontext/BeanContextSupport.java
4301         (add): Likewise.
4302         (addBeanContextMembershipListener): Likewise.
4303         (getLocale): Likewise.
4304         (initialize): Likewise.
4305         (iterator): Likewise.
4306         (remove): Likewise.
4307         (toArray): Likewise.
4309 2005-04-19  Roman Kennke  <roman@kennke.org>
4311         * java/awt/MediaTracker.java:
4312         Reindented tabs to spaces.
4314 2005-04-19  Roman Kennke  <roman@kennke.org>
4316         * java/awt/MediaTracker.java
4317         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
4318         confused the media tracker and lead to lockups. The LOADING
4319         bit is handled on other places.
4320         (addImage): Removed the 'start image tracking' stuff. This
4321         is not necessary and could confuse the media tracker.
4322         (checkAll): Improved the check for image status so that
4323         images that already complete images are detected. Also now
4324         are really all images checked and if necessary loaded. Before
4325         the method bailed out after the first incomplete image.
4326         (statusAll): Detect images that are complete after the
4327         call to Component.prepareImage(..).
4328         (checkID): The same as in checkAll.
4329         (statusID): The same as in statusAll.
4331 2005-04-19  Roman Kennke  <roman@kennke.org>
4333         * java/awt/MediaTracker.java
4334         (addImage): Synchronized list access.
4335         (waitForAll): Fixed comparison of time (changed < to >).
4336         (waitForID): Fixed comparison of time (changed < to >).
4337         (removeImage): Synchronized list access.
4339 2005-04-19  Roman Kennke  <roman@kennke.org>
4341         * java/awt/MediaTracker.java
4342         Added API documentation.
4344 2005-04-19  Roman Kennke  <roman@kennke.org>
4346         * java/awt/MediaTracker.java
4347         (MediaEntry.imageUpdate): Fixed flags. The different flags
4348         must not be ORed together.
4349         (checkAll): Modified to handle different meaning of the flags.
4350         (waitForAll): Fixed so that it waits maximum the
4351         specified amount of milliseconds.
4352         (statusAll): Modified to handle different meaning of the flags.
4353         (waitForID): Fixed so that it waits maximum the
4354         specified amount of milliseconds.
4356 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
4358         * java/awt/Font.java (decode): Handle null argument and allow
4359         space as delimiter.
4361 2005-04-19  Robert Schuster <thebohemian@gmx.net>
4363         * java/beans/EventHandler.java: Reworked documentation.
4364         (invoke): Fixed behavior to match spec.
4366 2005-04-19  Michael Koch  <konqueror@gmx.de>
4368         * java/awt/print/PrinterJob.java
4369         (pageDialog): New method.
4370         (printDialog): Implemented.
4372 2005-04-19  Michael Koch  <konqueror@gmx.de>
4374         * java/awt/image/ConvolveOp.java:
4375         Removed comment added by eclipse.
4377 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
4379         * java/awt/image/IndexColorModel.java
4380         (getRGB): Check if pixel is negative.
4382 2005-04-19  Michael Koch  <konqueror@gmx.de>
4384         * java/awt/image/RasterOp.java:
4385         Fixed wrong formatting.
4387 2005-04-18  Roman Kennke  <roman@kennke.org>
4389         * java/awt/Compmonent.java
4390         (setComponentOrientation): Made this property firing a
4391         PropertyChangeEvent.
4393 2005-04-18  Roman Kennke  <roman@kennke.org>
4395         * java/awt/BorderLayout.java
4396         (calcSize): Check for overflow when component sizes are added.
4398 2005-04-18  Robert Schuster <thebohemian@gmx.net>
4400         * java/awt/AWTEvent.java (toString): Added case
4401         for source not being an AWT component.
4403 2005-04-18  Chris Burdess  <dog@gnu.org>
4405         * gnu/java/net/BASE64.java: Truncate encoded byte array.
4407 2005-04-18  Michael Koch  <konqueror@gmx.de>
4409         gnu/java/awt/EmbeddedWindowSupport.java,
4410         gnu/java/net/HeaderFieldHelper.java,
4411         gnu/java/net/URLParseError.java,
4412         gnu/java/net/protocol/file/Handler.java,
4413         gnu/java/net/protocol/jar/Handler.java:
4414         Fixed usage of @author tag.
4416 2005-04-18  Michael Koch  <konqueror@gmx.de>
4418         * gnu/xml/aelfred2/XmlParser.java:
4419         Reverted my typo fix.
4421 2005-04-18  Michael Koch  <konqueror@gmx.de>
4423         * java/awt/geom/CubicCurve2D.java,
4424         java/awt/geom/QuadCurve2D.java:
4425         Fixed mentioning of Brian Gouph.
4427 2005-04-18  Michael Koch  <konqueror@gmx.de>
4429         * gnu/java/awt/Buffers.java,
4430         gnu/java/awt/image/ImageDecoder.java,
4431         gnu/java/awt/image/XBMDecoder.java,
4432         gnu/java/awt/peer/ClasspathFontPeer.java,
4433         gnu/java/net/CRLFInputStream.java,
4434         gnu/java/net/EmptyX509TrustManager.java,
4435         gnu/java/net/LineInputStream.java,
4436         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4437         gnu/java/net/protocol/ftp/BlockInputStream.java,
4438         gnu/java/net/protocol/ftp/CompressedInputStream.java,
4439         gnu/java/net/protocol/ftp/DTP.java,
4440         gnu/java/net/protocol/ftp/DTPInputStream.java,
4441         gnu/java/net/protocol/ftp/FTPConnection.java,
4442         gnu/java/net/protocol/ftp/FTPURLConnection.java,
4443         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4444         gnu/java/net/protocol/ftp/StreamInputStream.java,
4445         gnu/java/net/protocol/http/ChunkedInputStream.java,
4446         gnu/java/net/protocol/http/HTTPConnection.java,
4447         gnu/java/net/protocol/http/HTTPURLConnection.java,
4448         gnu/java/net/protocol/http/Headers.java,
4449         gnu/java/net/protocol/http/Request.java,
4450         gnu/java/nio/ChannelInputStream.java,
4451         gnu/java/nio/ChannelOutputStream.java,
4452         gnu/java/nio/InputStreamChannel.java,
4453         gnu/java/nio/OutputStreamChannel.java,
4454         gnu/java/nio/SelectorProviderImpl.java,
4455         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
4456         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
4457         gnu/java/rmi/dgc/DGCImpl.java,
4458         gnu/java/rmi/registry/RegistryImpl.java,
4459         gnu/java/rmi/server/ProtocolConstants.java,
4460         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
4461         gnu/java/rmi/server/RMIIncomingThread.java,
4462         gnu/java/rmi/server/RMIObjectInputStream.java,
4463         gnu/java/rmi/server/RMIObjectOutputStream.java,
4464         gnu/java/rmi/server/RMIVoidValue.java,
4465         gnu/java/rmi/server/UnicastConnectionManager.java,
4466         gnu/java/rmi/server/UnicastRef.java,
4467         gnu/java/rmi/server/UnicastRemoteCall.java,
4468         gnu/java/rmi/server/UnicastRemoteStub.java,
4469         gnu/java/rmi/server/UnicastServerRef.java,
4470         gnu/java/security/OID.java,
4471         gnu/java/security/der/DERReader.java,
4472         gnu/java/security/provider/CollectionCertStoreImpl.java,
4473         gnu/java/security/provider/DSAParameterGenerator.java,
4474         gnu/java/security/provider/DefaultPolicy.java,
4475         gnu/java/security/provider/EncodedKeyFactory.java,
4476         gnu/java/security/provider/GnuDHPublicKey.java,
4477         gnu/java/security/provider/GnuDSAPrivateKey.java,
4478         gnu/java/security/provider/GnuDSAPublicKey.java,
4479         gnu/java/security/provider/GnuRSAPrivateKey.java,
4480         gnu/java/security/provider/GnuRSAPublicKey.java,
4481         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4482         gnu/java/security/provider/RSA.java,
4483         gnu/java/security/provider/SHA1PRNG.java,
4484         gnu/java/security/provider/SHA1withRSA.java,
4485         gnu/java/security/provider/X509CertificateFactory.java,
4486         gnu/java/security/x509/GnuPKIExtension.java,
4487         gnu/java/security/x509/X500DistinguishedName.java,
4488         gnu/java/security/x509/X509CRL.java,
4489         gnu/java/security/x509/X509CRLEntry.java,
4490         gnu/java/security/x509/X509CertPath.java,
4491         gnu/java/security/x509/X509CertSelectorImpl.java,
4492         gnu/java/security/x509/X509Certificate.java,
4493         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4494         gnu/java/security/x509/ext/BasicConstraints.java,
4495         gnu/java/security/x509/ext/CRLNumber.java,
4496         gnu/java/security/x509/ext/CertificatePolicies.java,
4497         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
4498         gnu/java/security/x509/ext/Extension.java,
4499         gnu/java/security/x509/ext/GeneralNames.java,
4500         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
4501         gnu/java/security/x509/ext/KeyUsage.java,
4502         gnu/java/security/x509/ext/PolicyConstraint.java,
4503         gnu/java/security/x509/ext/PolicyMappings.java,
4504         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
4505         gnu/java/security/x509/ext/ReasonCode.java,
4506         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
4507         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
4508         Reorganized import statements.
4510 2005-04-18  Michael Koch  <konqueror@gmx.de>
4512         * gnu/java/awt/color/CieXyzConverter.java,
4513         gnu/java/awt/color/ClutProfileConverter.java,
4514         gnu/java/awt/color/ColorLookUpTable.java,
4515         gnu/java/awt/color/ColorSpaceConverter.java,
4516         gnu/java/awt/color/GrayProfileConverter.java,
4517         gnu/java/awt/color/GrayScaleConverter.java,
4518         gnu/java/awt/color/LinearRGBConverter.java,
4519         gnu/java/awt/color/ProfileHeader.java,
4520         gnu/java/awt/color/PyccConverter.java,
4521         gnu/java/awt/color/RgbProfileConverter.java,
4522         gnu/java/awt/color/SrgbConverter.java,
4523         gnu/java/awt/color/TagEntry.java,
4524         gnu/java/awt/color/ToneReproductionCurve.java:
4525         Standardized file headers.
4527 2005-04-16  Tom Tromey  <tromey@redhat.com>
4529         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
4530         'ANY' package-private.
4532 2005-04-15  Tom Tromey  <tromey@redhat.com>
4534         * Makefile.in: Rebuilt.
4535         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
4536         (libgcj0_convenience_la_LIBADD): ... here.
4538 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
4540         * gij.cc (version): Properly quote java version.
4541         (main): Fix typo in comment.
4543 2005-04-13  Mark Wielaard  <mark@klomp.org>
4545         * java/lang/natRuntime.cc (insertSystemProperties): Set
4546         java.class.path to CLASSPATH if not already set.
4548 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4550         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
4552 2005-04-12  Mike Stump  <mrs@apple.com>
4554         * configure: Regenerate.
4556 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
4558         PR libgcj/20958
4559         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
4560         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
4562 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
4564         PR libgcj/20975
4565         * scripts/TexinfoDoclet.java: Removed.
4566         * Makefile.am (texinfo): Removed.
4567         * Makefile.in: Regenerated.
4569 2005-04-11  Michael Koch  <konqueror@gmx.de>
4571         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
4572         Fixed wrong casting.
4574 2005-04-06  Andrew Haley  <aph@redhat.com>
4576         * testsuite/libjava.lang/bytearray.java: New file.
4577         * testsuite/libjava.lang/bytearray.out: New file.
4578         * java/lang/ClassLoader.java (loadClassFromSig): Declare
4579         (loadClass): Use it.
4580         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
4582 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
4584         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
4585         gcj-dbtool dependency
4586         * Makefile.in: Regenerated
4588 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
4590         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
4591         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
4593 2005-04-05  Andrew Haley  <aph@redhat.com>
4595         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
4596         (Tokenizer): New class.
4597         (getFiles): New method.
4598         (main): Add "-" argument.
4599         Add "-0" argument.
4600         Read list of files from stdin when merging map databases.
4601         (usage):  Add "-" argument.
4602         Add "-0" argument.
4603         Minor corrections.
4605 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
4607         PR libgcj/20750
4608         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
4609         * Makefile.in: Regenerate.
4610         * configure.ac: Add --with-java-home option.
4611         * configure: Regenerate.
4612         * external/Makefile.in: Regenerate.
4613         * external/sax/Makefile.in: Regenerate.
4614         * external/w3c_dom/Makefile.in: Regenerate.
4615         * gcj/Makefile.in: Regenerate.
4616         * include/Makefile.in: Regenerate.
4617         * testsuite/Makefile.in: Regenerate.
4618         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
4619         to JAVA_HOME macro.
4621 2005-04-05  Tom Tromey  <tromey@redhat.com>
4623         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
4624         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
4625         Rewrote to use _Jv_FindClassFromSignature.
4626         * verify.cc (resolve): throw NoClassDefFoundError.
4627         * link.cc (resolve_field): Throw NoClassDefFoundError.
4628         (find_field): Likewise.
4629         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
4630         Handle error cases.  Added 'endp' argument.
4631         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
4633 2005-04-05  Tom Tromey  <tromey@redhat.com>
4635         * Makefile.in: Rebuilt.
4636         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
4637         gtk_awt_peer_sources.
4638         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
4639         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
4640         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
4641         (gtk-awt-peer.lo): New target.
4643 2005-04-04  Steve Pribyl <steve@netfuel.com>
4645         PR libgcj/20761
4646         * configure.ac: Fix fastjar definition for cross builds.
4647         * configure: Rebuilt.
4649 2005-04-04  Tom Tromey  <tromey@redhat.com>
4651         * java/lang/ClassLoader.java (loadClass): Resolve class even if
4652         it was already found.
4654 2005-04-04  Tom Tromey  <tromey@redhat.com>
4656         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
4657         org.metastatic.jessie.
4659 2005-04-02  Anthony Green  <green@redhat.com>
4661         PR libgcj/20727
4662         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
4664 2005-04-02  Mark Wielaard  <mark@klomp.org>
4666         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
4667         Attributes and attribute order doesn't matter.
4668         (BasicAttributesEnumeration.where): Initialize to zero.
4669         (BasicAttributesEnumeration.nextElement): Update and compare where
4670         appropriately (zero based).
4672 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
4674         PR libgcj/20090, PR libgcj/20526
4675         * gij.cc (nonstandard_opts_help): New function.
4676         (add_option): New function.
4677         (main): Support java options.  Set java.class.path.  Don't set
4678         _Jv_Jar_Class_Path.
4679         * prims.cc (parse_x_arg): New function.
4680         (parse_init_args): Call parse_x_arg for -X and _ options, when
4681         ignoreUnrecognized is true.
4682         (new _Jv_RunMain): New vm_args variant.
4683         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
4684         (_Jv_Jar_Class_Path): Remove variable.
4685         * include/java-props.h: Likewise.
4686         * include/cni.h (JvRealloc): New function.
4687         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
4688         * java/lang/natRuntime.cc (insertSystemProperties): Remove
4689         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
4690         macros.
4691         * configure.ac (JV_VERSION): Define.
4692         (JV_API_VERSION): Likewise.
4693         * configure: Regenerate.
4694         * include/config.h.in: Regenerate.
4696 2005-04-01 Mark Anderson <mark@panonet.net>
4698         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
4699         -Infinity as parameters.
4701 2005-04-01  Michael Koch  <konqueror@gmx.de>
4703         * java/io/PipedInputStream.java
4704         (read): Make sure a positive byte value is returned. Revised javadoc.
4705         Thanks to Olafur Bragason for reporting these bugs.
4707 2005-04-01  Tom Tromey  <tromey@redhat.com>
4709         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
4710         Updated for name change.
4711         (nativeFindClass): New method.
4712         (loadClass): Use nativeFindClass.
4713         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
4714         form of loadClass.
4715         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
4716         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
4717         VMClassLoader.
4718         (initialize): New method.
4719         (nativeFindClass): Declare.
4720         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
4721         * gnu/gcj/runtime/VMClassLoader.java: Removed.
4722         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
4723         VMClassLoader.java.
4724         (definePackageForNative): Removed.
4725         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
4726         Moved to VMClassLoader.java.
4727         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
4728         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
4729         (ordinary_java_source_files): Added ExtensionClassLoader.java,
4730         removed VMClassLoader.java.
4731         (nat_source_files): Removed natVMClassLoader.cc.
4733 2005-04-01  Tom Tromey  <tromey@redhat.com>
4735         * Makefile.in: Rebuilt.
4736         * Makefile.am (db_pathtail): Use $(gcc_version), not
4737         @gcc_version@.
4739 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
4741         * java/util/Timer.java
4742         (run): Stop the queue if a task throws an exception.
4744 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
4746         * javax/swing/text/JTextComponent.java (viewToModel): New method.
4748 2005-03-29  Ian Lance Taylor  <ian@airs.com>
4750         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
4751         * external/sax/Makefile.in: Rebuild.
4752         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
4753         "-fclasspath=".
4754         * external/w3c_dom/Makefile.in: Rebuild.
4756 2005-03-29  Tom Tromey  <tromey@redhat.com>
4758         * java/lang/natRuntime.cc (insertSystemProperties): Set
4759         gnu.gcj.runtime.endorsed.dirs.
4760         * Makefile.in: Rebuilt.
4761         * Makefile.am (ordinary_java_source_files): Added
4762         HelperClassLoader.java.
4763         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
4764         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
4765         HelperClassLoader.
4766         (init): Use addDirectoriesFromProperty.
4767         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
4768         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
4769         gnu.gcj.runtime.endorsed.dirs.
4770         * gnu/gcj/runtime/HelperClassLoader.java: New file.
4772 2005-03-26  Chris Burdess  <dog@gnu.org>
4774         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
4775         required.
4777 2005-03-13  Michael Koch  <konqueror@gmx.de>
4779         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
4781 2005-03-11  Chris Burdess  <dog@gnu.org>
4783         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
4784         warnings.
4786 2005-02-27  Chris Burdess  <dog@gnu.org>
4788         * gnu/xml/aelfred2/JAXPFactory.java,
4789         gnu/xml/aelfred2/SAXDriver.java,
4790         gnu/xml/aelfred2/XmlParser.java,
4791         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
4792         formatting conventions. Replaced arrays of Object with struct-like
4793         classes for easier maintainability. Made SAXDriver.stringInterning
4794         package private to allow access from XmlParser inside the loop without
4795         a method call overhead.
4797 2005-03-11  Chris Burdess  <dog@gnu.org>
4799         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
4800         warnings.
4802 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
4804         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
4805         settings to sub Makefiles.
4806         (GCJH, ZIP): Prefix with top_builddir.
4807         * configure: Rebuild.
4808         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
4809         * external/w3c_dom/Makefile.in: Rebuild.
4810         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
4811         * external/sax/Makefile.in: Rebuild.
4813 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
4815         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
4816         libsocket to the libraries to link for Solaris.
4818 2005-03-28  Per Bothner  <per@bothner.com>
4820         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
4821         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
4823 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
4825         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
4826         to fix a ONESTEP fallout.
4827         * Makefile.in: Regenerate.
4829 2005-03-25  Mike Stump  <mrs@apple.com>
4831         * configure.ac: Fix ZIP and GCJH at configure time to absolute
4832         paths like we do for the compiler, as we use it in external/sax
4833         and it doesn't get MULTIBUILDTOP right when multilibing.
4835 2005-03-24  Anthony Green  <green@redhat.com>
4837         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
4838         -p option.
4839         (usage): Add [LIBDIR] to help output.
4840         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
4841         * Makefile.am (AM_CXXFLAGS): Define
4842         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
4843         (db_pathtail): New macro.
4845 2005-03-24  Tom Tromey  <tromey@redhat.com>
4847         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
4848         add sax and w3c libraries.
4849         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
4850         libw3c-gcj.la.
4851         * external/w3c_dom/Makefile.in: Rebuilt.
4852         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
4853         AM_GCJFLAGS.
4854         (libw3c_gcj_la_LDFLAGS): New variable.
4855         (noinst_LTLIBRARIES): Renamed.
4856         * external/sax/Makefile.in: Rebuilt.
4857         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
4858         AM_GCJFLAGS.
4859         (libsax_gcj_la_LDFLAGS): New variable.
4860         (noinst_LTLIBRARIES): Renamed.
4862 2005-03-23  Tom Tromey  <tromey@redhat.com>
4864         * Makefile.in: Rebuilt.
4865         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
4866         (libgcj0_convenience_la_SOURCES): Don't include
4867         gnu_xml_source_files.
4868         (libgcj0_convenience_la_LIBADD): New variable.
4869         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
4870         (all_java_source_files): javax_imageio_source_files,
4871         javax_xml_source_files, and gnu_java_beans_source_files.
4872         ($(gnu_xml_source_files:.java=.lo)): Removed target.
4873         (gnu-xml.lo): New target.
4874         (javax-imageio.lo): Likewise.
4875         (javax-xml.lo): Likewise.
4876         (gnu-java-beans.lo): Likewise.
4877         (gnu_java_beans_source_files): New variable.
4878         (javax_imageio_source_files): Likewise.
4879         (javax_xml_source_files): Likewise.
4880         (javax_source_files): Moved files to other variable.
4881         (awt_java_source_files): Likewise.
4882         (ordinary_java_source_files): Added BootClassLoader.java.
4883         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
4884         not system class loader.
4885         (initBootLoader): New method.
4886         (loadClass): Search bootLoader.
4887         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
4888         boot loader, not system class loader.
4889         (_Jv_UnregisterInitiatingLoader): Likewise.
4890         (_Jv_FindClass): Likewise.  Ensure entries in
4891         bootstrap_class_list are unique.
4892         * java/lang/natClass.cc (getClassLoader): Don't special case
4893         system class loader.
4894         * java/lang/VMClassLoader.java (bootLoader): New field.
4895         (getResource): Use bootLoader.
4896         (getResources): Likewise.
4897         (initBootLoader): Declare.
4898         * gnu/gcj/runtime/BootClassLoader.java: New file.
4899         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
4900         (EMPTY_ENUMERATION): Now package-private.
4901         * external/w3c_com/Makefile.in: Rebuilt.
4902         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
4903         (w3c.jar): New target.
4904         (classes.stamp): Updated.
4905         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
4906         Changed name of library.
4907         (libw3c_gcj_la_SOURCES): New variable.
4908         (libw3c_gcj_la_GCJFLAGS): Likewise.
4909         (source_files): Renamed from lib3c_convenience_la_SOURCES.
4910         * external/sax/Makefile.in: Rebuilt.
4911         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
4912         (sax.jar): New target.
4913         (classes.stamp): Updated.
4914         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
4915         Changed name of library.
4916         (libsax_gcj_la_SOURCES): New variable.
4917         (libsax_gcj_la_GCJFLAGS): Likewise.
4918         (source_files): Renamed from libsax_convenience_la_SOURCES.
4919         * stacktrace.cc (non_system_trace_fn): Don't look at system class
4920         loader.
4921         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
4922         loader.
4923         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
4925 2005-03-23  Sven de Marothy  <sven@physto.se>
4927         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
4928         PR libgcj/11085:
4929         * java/util/Calendar.java
4930         (set): Use starting day of week when one is needed if none is given.
4931         * java/text/SimpleDateFormat.java
4932         (parse): Handle 1-12 and 1-24 timestamps correctly.
4933         * java/util/GregorianCalendar.java
4934         (computeTime, computeFields): HOUR should be in 0-11 format.
4935         (nonLeniencyCheck): Adjust leniency checking to that fact.
4936         (getLinearDay): Should be private.
4938 2005-03-23  Tom Tromey  <tromey@redhat.com>
4940         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
4941         (_Jv_CheckABIVersion): Use it.
4943 2005-03-22  Mike Stump  <mrs@apple.com>
4945         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
4947         * include/posix.h: .dylib is used on all Apple MACH platforms.
4948         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
4950 2005-03-22  Tom Tromey  <tromey@redhat.com>
4952         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
4954 2005-03-21  Tom Tromey  <tromey@redhat.com>
4956         * java/lang/VMCompiler.java (static block): Also catch
4957         BufferUnderflowException.
4959 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
4961         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
4962         set tool_include_dir.  In all substitutions, leave $(gcc_version)
4963         to be expanded by the Makefile.
4964         * aclocal.m4, configure: Regenerate.
4965         * Makefile.am: Set gcc_version.  Replace all uses of
4966         @gcc_version@ with $(gcc_version).
4967         * external/Makefile.am, external/sax/Makefile.am
4968         * external/w3c_dom/Makefile.am, gcj/Makefile.am
4969         * testsuite/Makefile.am: Set gcc_version.
4970         * include/Makefile.am: Set gcc_version and tool_include_dir.
4971         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
4972         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
4973         * testsuite/Makefile.in: Regenerate.
4975 2005-03-17  Andrew Haley  <aph@redhat.com>
4977         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
4978         arg: klass.
4979         Pass klass to _Jv_StackTrace::GetClassContext().
4980         * java/lang/ClassLoader.java (getParent): Pass class to
4981         VMSecurityManager.getClassContext()
4982         (getSystemClassLoader): Likewise.
4983         * java/lang/Package.java (getPackage): Likewise.
4984         (getPackages): Likewise.
4985         * java/lang/SecurityManager.java (getClassContext): Likewise.
4986         (currentClassLoader): Likewise.
4987         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
4988         (currentClassLoader) Add new arg: caller.
4989         Pass caller to VMSecurityManager.getClassContext.
4991         * stacktrace.cc (GetClassContext): Correct calculation of
4992         jframe_count.
4994         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
4995         im->source_file_name.
4997 2005-03-16  Andrew Haley  <aph@redhat.com>
4999         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
5001 2005-03-16  Tom Tromey  <tromey@redhat.com>
5003         * link.cc (ensure_class_linked): Removed #ifdef.
5004         (print_class_loaded): Likewise.
5005         (wait_for_state): Likewise.
5006         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
5007         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
5008         * include/java-interp.h: ... here.
5010 2005-03-16  Tom Tromey  <tromey@redhat.com>
5012         * gnu/java/lang/MainThread.java (run): Load main class using
5013         system class loader.
5015 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
5017         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
5018         lgcc_s to the libraries to link for Darwin.
5020 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
5022         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
5023         interpreter-specific code with #ifdef INTERPRETER.
5024         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
5025         (_Jv_StackTrace::FillInFrameInfo): Likewise.
5026         (_Jv_StackTrace::non_system_trace_fn): Likewise.
5027         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
5028         #ifdef INTERPRETER. Also protect declarations that use it.
5029         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
5030         #ifdef INTERPRETER block.
5032 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
5034         PR libgcj/20251
5035         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
5036         * Makefile.in: Rebuilt.
5038 2005-03-15  David Daney  <ddaney@avtrex.com>
5040         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
5041         count == 0 case.
5043 2005-03-15  David Daney  <ddaney@avtrex.com>
5045         * java/io/BufferedInputStream.java (available): Use 'in' instead
5046         of 'super' for underlying stream access.
5047         (close): Ditto.
5048         (read(byte[], int, int)): Ditto.
5049         (refill): Ditto.
5050         (skip): Call skip on underlying stream when possible.
5052 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
5054         * stacktrace.cc (GetCallerInfo): Return nothing in case of
5055         SJLJ_EXCEPTIONS is defined.
5057 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
5059         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
5060         tests.
5062 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
5064         * testsuite/lib/libjava.exp (libjava_init): Use the same target
5065         check for Darwin.
5066         (libjava_arguments): Likewise.
5068         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
5069         (gcj_jni_test_one): Likewise.
5070         (gcj_jni_invocation_compile_c_to_binary): Likewise.
5071         Add flags to keep the Darwin linker quiet.
5072         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
5073         Add -liconv for Darwin.
5075 2005-03-11  Tom Tromey  <tromey@redhat.com>
5077         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
5078         (_Jv_CheckABIVersion): Use it.
5080 2005-03-11  Tom Tromey  <tromey@redhat.com>
5082         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
5083         (usage): Document '-p'.
5084         * Makefile.in: Rebuilt.
5085         * Makefile.am (dbexecdir): New variable.
5086         (db_name): Likewise.
5087         (dbexec_DATA): Likewise.
5088         ($(db_name)): New target.
5089         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
5090         * java/lang/natRuntime.cc (insertSystemProperties): Set default
5091         system database.
5093 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
5095         * exception.cc: Remove stray MethodRef.h include.
5096         * java/lang/natClass.cc: Likewise.
5097         * gnu/gcj/runtime/MethodRef.java: Removed.
5098         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
5099         gnu/gcj/runtime/natStackTrace.cc: Really removed.
5100         * java/lang/natRuntime.cc (_load): Remove unsed variable.
5101         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
5102         * Makefile.in: Rebuilt.
5104 2005-03-10  Tom Tromey  <tromey@redhat.com>
5106         * Makefile.in: Rebuilt.
5107         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
5109 2005-03-10  Chris Burdess  <dog@bluezoo.org>
5111         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
5112         not currently parsing the DTD.
5114 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
5116         New Stack Trace infrastructure.
5117         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
5118         (gnu/gcj/runtime/StackTrace.java): Removed.
5119         (ordinary_java_source_files): Remove obsolete files.
5120         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
5121         * configure.host (fallback_backtrace_h): Set backtrace header
5122         for mingw and cygwin targets.
5123         * configure.ac: Make symlink for fallback backtrace headers.
5124         * Makefile.in, configure: Rebuilt.
5125         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
5126         Read 'LineNumberTable' attribute.
5127         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
5128         attribute.
5129         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
5130         table fields.
5131         * exception.cc: Remove unused include.
5132         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
5133         (SAVE_PC): New macro. Save current PC in the interpreter frame.
5134         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
5135         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
5136         table to direct threaded instruction values.
5137         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
5138         (_Jv_InterpMethod::run): No longer member function. All
5139         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
5140         is made or where an instruction could throw.
5141         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
5142         in line_table.
5143         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
5144         (catch_fpe): Likewise.
5145         * stacktrace.cc: New file. Stack trace code now here.
5146         * gnu/gcj/runtime/MethodRef.java:
5147         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
5148         calls addr2line to look up PC addresses in a given binary or shared
5149         library.
5150         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
5151         gnu/gcj/runtime/natStackTrace.cc: Removed.
5152         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
5153         this function name is specially recognised by the stack trace code
5154         and shouldn't be changed.
5155         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
5156         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
5157         (_Jv_InterpMethod::run): Update declaration.
5158         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
5159         friends.
5160         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
5161         * include/java-stack.h: New file. Declarations for stack tracing.
5162         * include/jvm.h (_Jv_Frame_info): Removed.
5163         * java/lang/Class.h: Update friend declarations.
5164         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
5165         exception message.
5166         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
5167         (getStackTrace): Now native.
5168         (data): New RawDataManaged field.
5169         * java/lang/natClass.cc: Update includes.
5170         (forName): Use _Jv_StackTrace::GetCallingClass for
5171         calling-classloader check.
5172         (getClassLoader): Likewise.
5173         * java/lang/natRuntime.cc: Update includes.
5174         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
5175         * java/lang/natVMSecurityManager.cc: Update includes.
5176         (getClassContext): Use _Jv_StackTrace::GetClassContext.
5177         * java/lang/natVMThrowable.cc: New file. Native methods for
5178         VMThrowable.
5179         * java/lang/reflect/natArray.cc: Update includes.
5180         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
5181         accessibility check.
5182         * java/lang/reflect/natConstructor.cc: Update includes.
5183         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
5184         accessibility check.
5185         * java/lang/reflect/natField.cc: Update includes.
5186         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
5187         accessibility check.
5188         * java/lang/reflect/natMethod.cc: Update includes.
5189         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
5190         accessibility check.
5191         * java/util/natResourceBundle.cc: Update includes.
5192         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
5193         * java/util/logging/natLogger.cc: Update includes. Use
5194         _Jv_StackTrace::GetCallerInfo to get call-site info.
5195         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
5196         implementation.
5197         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
5198         implementation.
5200 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
5202         * testsuite/libjava.compile/PR20312.java: New file.
5203         * testsuite/libjava.compile/PR20312.xfail: Likewise.
5204         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
5206 2005-03-09  Andrew Haley  <aph@redhat.com>
5208         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
5209         New.
5210         (smallTransferTo): New.
5211         (transferFrom): Loop around smallTransferFrom, copying pageSize
5212         bytes each time.
5213         (transferTo): Likewise.
5215 2005-03-09  David Daney  <ddaney@avtrex.com>
5217         PR libgcj/20389
5218         Merge BufferedInputStream from GNU Classpath.
5219         * java/io/BufferedInputStream.java (marktarget): Field removed.
5220         (CHUNKSIZE): Field removed.
5221         (bufferSize): New field.
5222         (BufferedInputStream): Initialize fields.
5223         (close): Invalidate mark and buffer indexes.
5224         (mark):  Rewritten.
5225         (read()): Move mark handling code to refill.
5226         (read(byte[], int, int)): Ditto.
5227         (skip): Ditto and simplify EOF testing.
5228         (refill): Rewritten.
5229         * java/io/InputStreamReader.java (refill): Removed mark and reset
5230         of internal BufferedInputStream.
5232 2005-03-09  Tom Tromey  <tromey@redhat.com>
5234         * java/lang/natVMClassLoader.cc (defineClass): Reference
5235         'systemClassLoader' field directly.
5236         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
5237         field directly.
5238         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
5239         Reference 'systemClassLoader' field directly.
5240         (_Jv_UnregisterInitiatingLoader): Likewise.
5241         (_Jv_FindClass): Likewise.
5243 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
5245         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
5247         * java/lang/mprec.h: Remove commented headers. Fix comment to match
5248         the file in GNU Classpath style.
5250 2005-03-09  Tom Tromey  <tromey@redhat.com>
5252         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
5253         (toString): Synchronize.
5255 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
5257         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
5258         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
5260 2005-03-07  Tom Tromey  <tromey@redhat.com>
5262         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
5263         (usage): Document '-f'.
5265 2005-03-07  Tom Tromey  <tromey@redhat.com>
5267         * java/lang/VMCompiler.java (md5Digest): New field.
5268         (compileClass): Clone md5Digest instead of looking up a new one.
5270 2005-03-07  Tom Tromey  <tromey@redhat.com>
5272         PR java/20215:
5273         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
5274         * link.cc (find_field_helper): Added 'type' argument.
5275         (find_field): Updated.
5277 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
5278         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
5279         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
5280         throw UnsupportedOperationException, fixed comments.
5281         (setFont, setForeground): Fixed comments.
5282         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
5283         return type to boolean.
5284         (getNextEvent): Fixed javadocs.
5285         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
5286         (nativeQueueEmpty): Removed unused code.
5287         (iterateNativeQueue): Removed outer loop.
5289 2005-03-06  Roger Sayle  <roger@eyesopen.com>
5291         PR libgcj/20155
5292         * Makefile.am (libgcj0_convenience.la): Revert last change.
5293         * Makefile.in: Regenerate.
5295 2005-03-05  Anthony Green  <green@redhat.com>
5297         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
5298         classpath_jawt_lock, classpath_jawt_unlock): New functions.
5299         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
5300         (_Jv_GetDrawingSurface): Set visualID.
5301         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
5302         (JAWT_GetAWT): Set Lock and Unlock.
5303         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
5304         visualID.
5305         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
5306         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
5307         JAWT_LOCK_SURFACE_CHANGED): New macros.
5308         (struct _JAWT): Add Lock and Unlock.
5310 2005-03-05  Roger Sayle  <roger@eyesopen.com>
5311             Alexandre Oliva  <aoliva@redhat.com>
5312             Kelley Cook  <kcook@gcc.gnu.org>
5314         PR libgcj/20155
5315         * Makefile.am (libgcj0_convenience.la): New rule to create a file
5316         of the object files to link to avoid exceeding the command line
5317         length limits on some platforms.
5318         (clean-local): Clean up objectlist files.
5319         * Makefile.in: Regenerate.
5321 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
5323         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
5324         spec_case. Initialize pointer mlo.
5326         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
5327         delta.
5329         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
5331         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
5332         and k.
5334         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
5335         uninitialized variable z.
5337         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
5338         possible unused variables.
5340         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
5342         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
5344 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
5346         PR libgcj/20292
5347         * testsuite/libjava.jni/jni.exp
5348         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
5349         flags.
5350         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
5352 2005-02-23  David Daney  <ddaney@avtrex.com>
5354         * configure.host: Don't use -mxgot for MIPS builds.
5356 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
5358         PR bootstrap/17383
5359         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
5360         (COMPPATH): Removed.
5361         (ZIP, GCJH): Replace it with ../$(host_subdir).
5362         (built_gcc_dir): Add $(host_subdir).
5363         * configure: Regenerate.
5364         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5365         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
5366         external/w3c_dom/Makefile.in: Regenerate.
5368 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
5370         * java/awt/font/TextAttribute.java: changed names to lower case;
5371         (readResolve): implemented.
5372         Added doc comments all over.
5374 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5376         PR libgcj/16923
5377         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
5378         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
5379         value.  Move argument parsing code to prims.cc.
5380         * prims.cc (no_properties): Remove.
5381         (_Jv_Compiler_Properties): Initialize to NULL.
5382         (_Jv_Properties_Count): Initialize to 0.
5383         (parse_verbose_args): New function.
5384         (parse_init_args): New function.
5385         (_Jv_CreateJavaVM): Call parse_init_args.
5386         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
5387         * gcj/cni.h (JvVMOption): New struct.
5388         (JvVMInitArgs): Likewise.
5389         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
5390         void*.
5391         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
5392         (_Jv_VMInitArgs): Likewise.
5393         * include/java-props.h (_Jv_Properties_Count): Declare.
5394         * java/lang/natRuntime.cc (insertSystemProperties): Use
5395         _Jv_Properties_Count in for loop exit condition.
5396         * testsuite/libjava.jni/jni.exp
5397         (gcj_invocation_compile_c_to_binary): New procedure.
5398         (gcj_invocation_test_one): Likewise.
5399         (gcj_jni_run): Run JNI invocation API tests.
5400         * testsuite/libjava.jni/invocation/PR16923.c,
5401         testsuite/libjava.jni/invocation/PR16923.java,
5402         testsuite/libjava.jni/invocation/PR16923.out: New test.
5404 2005-02-23  Michael Koch  <konqueror@gmx.de>
5406         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
5407         * Makefile.in: Regenerated.
5409 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
5411         * gnu/java/nio/ChannelReader: Fixed comments.
5413 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
5415         * java/nio/channels/Channels: Added FIXMEs about
5416         stub method implementation.
5417         (newReader): Implemented.
5418         * gnu/java/nio/ChannelReader: New class.
5420 2005-02-23  Michael Koch  <konqueror@gmx.de>
5422         * java/text/SimpleDateFormat.java:
5423         Removed unused import.
5425 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5427         PR libgcj/20029:
5428         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
5429         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
5430         * Makefile.in: Regenerate.
5431         * configure.ac: Check for libXtst.
5432         * configure: Regenerate.
5434 2005-02-22  Mark Wielaard  <address@bogus.example.com>
5436         * java/security/AlgorithmParameterGenerator.java (getInstance):
5437         Mention provider when throwing NoSuchProviderException.
5438         * java/security/AlgorithmParameters.java (getInstance): Likewise.
5439         * java/security/KeyFactory.java (getInstance): Likewise.
5440         * java/security/KeyStore.java (getInstance): Likewise.
5441         * java/security/SecureRandom.java (getInstance): Likewise.
5442         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
5444 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
5446         * java/lang/reflect/Proxy.java,
5447         java/net/URL.java,
5448         java/security/SecureRandom.java,
5449         java/util/Timer.java,
5450         java/util/prefs/AbstractPreferences.java:
5451         Don't catch java.lang.ThreadDeath.
5453 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
5455         * java/awt/font/TransformAttribute.java,
5456         (TransformAttribute(AffineTransform)): throw
5457         IllegalArgumentException for null transform.
5458         (getTransform): return a copy of transform.
5459         Added doc comments to all.
5461 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
5463         * java/io/Externalizable.java,
5464         java/io/Serializable.java
5465         (serialVersionUID): Removed.
5466         * java/rmi/server/RemoteObject.java,
5467         java/rmi/server/UID.java
5468         (serialVersionUID): Made private.
5469         * java/rmi/server/RemoteRef.java,
5470         java/rmi/server/ServerRef.java
5471         (serialVersionUID): Set proper value.
5472         * java/security/interfaces/DSAPrivateKey.java,
5473         java/security/interfaces/DSAPublicKey.java,
5474         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
5475         java/security/interfaces/RSAPrivateCrtKey.java,
5476         java/security/interfaces/RSAPrivateKey.java,
5477         java/security/interfaces/RSAPublicKey.java,
5478         javax/crypto/SecretKey.java
5479         (serialVersionUID): Added.
5481 2005-02-22  Tom Tromey  <tromey@redhat.com>
5483         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
5485 2005-02-22  Tom Tromey  <tromey@redhat.com>
5487         PR java/20056:
5488         * verify.cc (type::EITHER): New constant.
5489         (check_field_constant): Use it.
5490         (type::compatible): Handle it.
5492 2005-02-22  Michael Koch  <konqueror@gmx.de>
5494         * gnu/java/security/PolicyFile.java,
5495         gnu/java/security/pkcs/PKCS7SignedData.java,
5496         gnu/java/security/pkcs/SignerInfo.java:
5497         Fixed copyright header.
5499 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
5501         * java/beans/PropertyDescriptor.java
5502         (PropertyDescriptor,setReadMethod): Set propertyType.
5504 2005-02-22  Michael Koch  <konqueror@gmx.de>
5506         * java/nio/DirectByteBufferImpl.java
5507         (owner): Fixed formatting of javadoc.
5508         * java/text/DateFormat.java
5509         (getAvailableLocales): Fixed formatting.
5510         * java/text/SimpleDateFormat.java:
5511         Fixed formatting and import statement order.
5512         * java/util/Calendar.java
5513         (Calendar): Fixed javadoc to be HTML compliant.
5514         * java/util/SimpleTimeZone.java:
5515         Fixed javadocs.
5517 2005-02-22  Roman Kennke <roman@ontographics.com>
5519         * javax/swing/plaf/basic/BasicLookAndFeel.java
5520         (initComponentDefaults): Fixed Button left and right margin.
5522 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5524         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
5525         empty Runnable.
5527         PR libgcj/17952:
5528         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5529         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5530         (getWidth): New method.
5531         (getHeight): Likewise.
5532         (create): Remove width, height and insets parameters.  Move size
5533         setup ...
5534         (realize_cb): ... here.  New function.
5535         (connectSignals): Connect realize_cb.
5536         (request_frame_extents): Remove FIXME.  Move
5537         postInsetsChangedEvent lookup ...
5538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
5539         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
5540         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
5541         jmethodID.
5542         (windowGetWidthID): Likewise.
5543         (windowGetHeightID): Likewise.
5545 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5547         PR libgcj/19842
5548         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5549         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
5551 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
5553         Merge serialization from GNU Classpath.
5554         * gcj/method.h: Add missing #includes.
5555         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
5556         primitive class IDs on the stream here...
5557         (resolveClass): ...not here.
5558         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
5559         fields.
5560         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
5561         setLongNative, setIntNative, setShortNative, setCharNative,
5562         setByteNative, setBooleanNative, setObjectNative): New native methods.
5563         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
5564         setLongNative, setIntNative, setShortNative, setCharNative,
5565         setByteNative, setBooleanNative, setObjectNative): Implement them.
5566         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
5567         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
5568         the constructor here.
5569         (callConstructor): Removed.
5570         (getCallersClassLoader): Removed.
5571         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
5572         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
5573         to control whether setting final field values is permitted. Call
5574         getAddr() with checkFinal parameter instead of setAddr().
5575         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
5576         only if not done already.
5577         (getAddr): Add checkFinal parameter. Do the final field check only if
5578         checkFinal is set.
5579         (setAddr): Removed.
5581 2005-02-21  Mark Wielaard  <mark@klomp.org>
5583         # Fixes bug #11957
5584         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
5585         twice.
5587 2005-02-21  Mark Wielaard  <mark@klomp.org>
5589         Fixes bug #11618.
5590         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
5591         without a super class and us ObjectStreamClass.lookupForClassObject().
5592         (resolveClass): Check for primitive types.
5593         (lookupClass): Return null when argument is null.
5595 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
5597         * java/io/ObjectInputStream.java
5598         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
5600 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
5602         * java/io/ObjectOutputStream.java
5603         (writeObject, callWriteMethod): Replaced reflection with accessing
5604         cached info in ObjectStreamClass.
5605         (getMethod): Removed.
5606         * java/io/ObjectStreamClass.java
5607         (findMethod): Added check to make sure the method found has the
5608         right modifiers.
5609         (cacheMethods): Added writeReplace and writeObject methods.
5610         (setFlags): Look at new writeObjectMethod field instead of doing
5611         reflection again.
5612         (writeReplaceMethod): New field.
5613         (writeObjectMethod): New field.
5615 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
5616         Jeroen Frijters  <jeroen@frijters.net>
5618         * java/io/ObjectInputStream.java
5619         (newObject): Changed prototype. Get a constructor reflect object
5620         directly.
5621         (callConstructor): Removed.
5622         (allocateObject): Changed prototype.
5623         (readClassDescriptor): Build the constructor reflection directly.
5624         (readObject): Invoke newObject using the new prototype.
5626         * java/io/ObjectStreamClass.java
5627         (firstNonSerializableParent): Removed.
5628         (firstNonSerializableParentConstructor): Added.
5630 2005-02-21  Mark Wielaard  <mark@klomp.org>
5632         * gnu/java/locale/LocaleInformation_en.java: Extend
5633         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
5635 2005-02-21  Mark Wielaard  <mark@klomp.org>
5637         * java/text/SimpleDateFormat.java
5638         (SimpleDateFormat(String, DateFormatSymbols)): Throw
5639         NullPointerException when formatData is null.
5641 2005-02-21  Mark Wielaard  <mark@klomp.org>
5643         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
5644         taking dstSavings into account.
5646 2005-02-21  Sven de Marothy <sven@physto.se>
5648         * java/text/SimpleDateFormat.java,
5649         (parse): Set correct DST_OFFSET to the correct value.
5651 2005-02-21  Mark Wielaard  <mark@klomp.org>
5653         * java/util/SimpleTimeZone.java (checkRule): Throw
5654         IllegalArgumentException when month out of range.
5656 2005-02-21  Sven de Marothy  <sven@physto.se>
5658         * java/util/GregorianCalendar.java,
5659         (add): Don't set fields directly anymore. Use set()
5661 2005-02-21  Mark Wielaard  <mark@klomp.org>
5663         * java/text/SimpleDateFormat.java (CompiledField.toString):
5664         Use StringBuffer, not StringBuilder.
5665         (toString): Likewise.
5667 2005-02-21  Sven de Marothy  <sven@physto.se>
5669         * java/util/Calendar.java
5670         (clear): Dates should clear to local time.
5671         * java/util/GregorianCalendar.java
5672         (computeTime): Fix priority problem with DAY_OF_WEEK,
5673         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
5675 2005-02-21  Sven de Marothy  <sven@physto.se>
5677         * java/util/Calendar.java
5678         (Calendar): Constructor should clear fields.
5680 2005-02-21  Sven de Marothy  <sven@physto.se>
5682         * java/text/SimpleDateFormat.java
5683         (parse): Tweak handling of 2-year dates
5684         * java/util/Calendar.java
5685         (clear): Clear fields to correct value.
5686         * java/util/GregorianCalendar.java
5687         (computeTime): Correct handling of time zones.
5688         Correct field minimum values.
5690 2005-02-21  Sven de Marothy  <sven@physto.se>
5692         * java/util/Calendar.java
5693         (set) Invalidate all fields on first call to set().
5695 2005-02-21  Sven de Marothy  <sven@physto.se>
5697         * java/util/GregorianCalendar.java
5698         (computeTime): Fixed handling of time zones.
5700 2005-02-21  Sven de Marothy  <sven@physto.se>
5702         * java/util/Calendar.java
5703         (clear): Set values to Epoch instead of zero.
5704         (set): Set isSet to the relevant field pattern instead of just
5705         the field.
5706         * java/util/GregorianCalendar.java
5707         (getBundle): Removed.
5708         (getDayOfYear): Removed.
5709         (getFirstDayOfMonth): New private method.
5710         (nonLeniencyCheck): New private method.
5711         (computeTime): Correct handling of insufficient data.
5713 2005-02-21  Sven de Marothy <sven@physto.se>
5715         * java/util/Calendar.java: Invalidate ERA field on setting
5716         the YEAR.
5717         * java/util/SimpleTimeZone.java:
5718         (getDaysInMonth): Reimplemented.
5719         * java/util/GregorianCalendar.java:
5720         (getLinearTime): Removed.
5721         (isLeapYear(int,boolean)): Removed.
5722         (before(), after()): Removed.
5723         (computeTime): Reimplemented.
5725 2005-02-21  Sven de Marothy <sven@physto.se>
5727         * java/util/Calendar.java: Reformatted.
5728         * java/util/GregorianCalendar.java: Reformatted.
5729         * java/util/SimpleTimeZone.java: Reformatted.
5731 2005-02-21  Sven de Marothy <sven@physto.se>
5733         * java/util/GregorianCalendar.java
5734         (GregorianCalendar): Update fields in the constructor
5736 2005-02-21  Noa Resare  <noa@resare.com>
5738         * java/util/Calendar.java (explicitDSTOffset): New instance field.
5739         (set(int,int)): Set and use new field.
5740         (set(int,int,int)): Check new field.
5742 2005-02-21  Noa Resare  <address@hidden>
5744         * java/util/Calendar.java(set):
5745         Fix for DST related regression.
5747 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
5749         * java/util/Calendar.java
5750         (setTimeInMillis): Added call to clear, removed computeFields call.
5751         * java/util/Date.java
5752         (Date(int,int,int,int,int,int)): Removed workaround for
5753         GregorianCalendar bug.
5754         * java/util/GregorianCalendar.java
5755         (GregorianCalendar): Chained all constructors to a (new)
5756         common constructor.
5757         (computeTime): Fixed support for lenient month treatment.
5758         (getLinearDay): Return long instead of int.
5759         (calculateDay): Added fields argument and changed day argument
5760         to long.
5762 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5764         * java/text/SimpleDateFormat.java
5765         Lots of documentation updates.
5766         (readObject(java.io.ObjectInputStream)): Wraps
5767         IllegalArgumentException as specified.
5768         (compileFormat(String)): Uses standardChars
5769         rather than the local pattern characters.
5770         Throws IllegalArgumentException rather than
5771         storing a -1 field.
5772         (toString()): Extended to include all variables
5773         in a better format.
5774         (translateLocalizedPattern(String, String, String)):
5775         Renamed to better define the use of this method.
5777 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5779         * java/text/DateFormat.java:
5780         Documented pattern character offset constants and
5781         added new ones.
5782         (Field): Added new static fields for new pattern chars.
5783         * java/text/SimpleDateFormat.java:
5784         (CompiledField): Changed name of FieldSizePair class
5785         to CompiledField after adding the character as an
5786         attribute.  Changed fields to private and added
5787         accessors to give encapsulation.
5788         (CompiledField.CompiledField(int,int,char)): Extended
5789         with character field.
5790         (CompiledField.getField()): New accessor method.
5791         (CompiledField.getSize()): New acceessor method.
5792         (CompiledField.getCharacter()): New accessor method.
5793         (CompiledField.toString()): Added primarily for debugging.
5794         (standardChars): Now uses extended 24 character sequence.
5795         (compileFormat(String)): Changed to use CompiledField.
5796         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
5797         java.text.FieldPosition)): Changed to use CompiledField.
5798         New handler for RFC 822 timezones added.
5800 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5802         * java/text/SimpleDateFormat.java:
5803         (parse(String, java.text.ParsePosition)):
5804         Changed 'E' and 'M' cases to use both
5805         short and long names.  Extended 'z'
5806         case to also handle 'Z', and deal
5807         with simple GMT offsets such as +0100.
5808         (computeOffset(String)): New private method,
5809         which converts a GMT offset specification,
5810         such as GMT-0500 to a numeric offset in
5811         milliseconds.
5812         * java/util/TimeZone.java:
5813         (timezones()): Added "CEST", the daylight
5814         savings time version of "CET", or Central
5815         European Time.
5817 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5819         * java/text/SimpleDateFormat.java:
5820         (parse): Set the DST offset to 0 when parsing
5821         GMT offset timezones.
5823 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5825         * java/text/SimpleDateFormat.java:
5826         (parse): Use offset to set ZONE_OFFSET
5827         rather than the DST_OFFSET, so that
5828         GMT offset timezones change the right
5829         one.
5831 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5833         * java/text/SimpleDateFormat.java:
5834         (getDateFormatSymbols()): return a copy
5835         (setDateFormatSymbols(java.text.DateFormatSymbols)):
5836         throw exception on null input
5837         (clone()): implemented to clone
5838         internal fields
5840 2005-02-21  Sven de Marothy <sven@physto.se>
5842         * java/text/SimpleDateFormat.java
5843         (parse): comparison should be case-insensitive, ignore null
5844         strings.
5846 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
5848         * gnu/java/beans/IntrospectionIncubator.java
5849         (addMethod) Reverts the patch that ntroduced a regression (see bug
5850         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
5852 2005-02-21  Michael Koch  <konqueror@gmx.de>
5854         * java/awt/Checkbox.java
5855         (next_checkbox_number): New static variable.
5856         (generateName): New method.
5857         (getUniqueLong): Likewise.
5858         * java/awt/Window.java
5859         (next_window_number): New static variable.
5860         (generateName): New method.
5861         (getUniqueLong): Likewise.
5863 2005-02-21  Mark Wielaard  <mark@klomp.org>
5865         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
5866         exists.
5868 2005-02-21  Andrew Haley  <aph@redhat.com>
5870         * Makefile.in: Rebuilt.
5871         * Makefile.am (nat_source_files): Added natLogger.cc.
5872         * java/util/logging/natLogger.cc: New file.
5873         * java/util/logging/Logger.java (getCallerStackFrame): Now
5874         native.
5876 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
5878         * Makefile.am (all_property_files): Remove left over.
5879         (classes.stamp): Add stamp for the ONESTEP build, also known as
5880         --enable-libgcj-multifile.
5881         * Makefile.in: Regenerated.
5883 2005-02-21  Michael Koch  <konqueror@gmx.de>
5885         * java/awt/Button.java,
5886         java/awt/Container.java,
5887         java/awt/Font.java,
5888         java/awt/Frame.java,
5889         java/text/CollationElementIterator.java,
5890         java/text/RuleBasedCollator.java,
5891         java/util/PropertyPermission.java:
5892         Fixed formatting issues all over.
5894 2005-02-21  Mark Wielaard  <mark@klomp.org>
5896         * java/io/FileDescriptor.java (sync): Add real exception to
5897         SyncFailedException.
5899 2005-02-21  Michael Koch  <konqueror@gmx.de>
5901         * java/io/InputStreamReader.java:
5902         Fixed @author tag.
5904 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
5906         PR libgcj/19728:
5907         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
5909 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
5911         * libraries/javalib/gnu/regexp/RE.java,
5912         libraries/javalib/java/io/ObjectInputStream.java,
5913         libraries/javalib/java/security/AllPermission.java,
5914         libraries/javalib/java/security/BasicPermission.java,
5915         libraries/javalib/java/security/Permissions.java,
5916         libraries/javalib/java/text/MessageFormat.java:
5917         Made 'inner' classes real public static inner classes,
5918         and made them final where possible, or removed them
5919         where unused.
5921 2005-02-20  Michael Koch  <konqueror@gmx.de>
5923         * gnu/java/text/FormatCharacterIterator.java:
5924         Removed redundant modifiers.
5926 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
5928         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
5929         snprintf.
5931 2005-02-19  Michael Koch  <konqueror@gmx.de>
5933         * Makefile.am: Added new files in gnu/java/beans and
5934         java/beans/XMLDecoder.java.
5935         * Makefile.in: Regenerated.
5937 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
5939         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
5940         assignment behavior by using java.lang.reflect.Array.set()
5941         directly.
5943 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
5945         * gnu/java/beans/EmptyBeanInfo.java,
5946         gnu/java/beans/info/ComponentBeanInfo.java:
5947         Removed unused files.
5949 2005-02-19  Robert Schuster <thebohemian@gmx.net>
5951         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
5952         of AppletStub for java.beans.Beans.instantiate.
5953         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
5954         of AppletContext.
5955         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
5956         to be conformant with Javadoc guidelines.
5957         (instantiate): Added two more overloaded variants, reworked user
5958         documentation, fixed exception behavior, fixed behavior when
5959         deserializing null.
5961 2005-02-19  Mark Wielaard  <mark@klomp.org>
5963         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
5964         failing methods.
5965         * gnu/java/beans/decoder/DummyContext.java: Likewise.
5967 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
5969         * gnu/java/beans/decoder/AbstractContext.java,
5970         gnu/java/beans/decoder/AbstractCreatableContext.java,
5971         gnu/java/beans/decoder/AbstractElementHandler.java,
5972         gnu/java/beans/decoder/AbstractObjectContext.java,
5973         gnu/java/beans/decoder/ArrayContext.java,
5974         gnu/java/beans/decoder/ArrayHandler.java,
5975         gnu/java/beans/decoder/AssemblyException.java,
5976         gnu/java/beans/decoder/BooleanHandler.java,
5977         gnu/java/beans/decoder/ByteHandler.java,
5978         gnu/java/beans/decoder/CharHandler.java,
5979         gnu/java/beans/decoder/ClassHandler.java,
5980         gnu/java/beans/decoder/ConstructorContext.java,
5981         gnu/java/beans/decoder/Context.java,
5982         gnu/java/beans/decoder/DecoderContext.java,
5983         gnu/java/beans/decoder/DefaultExceptionListener.java,
5984         gnu/java/beans/decoder/DoubleHandler.java,
5985         gnu/java/beans/decoder/DummyContext.java,
5986         gnu/java/beans/decoder/DummyHandler.java,
5987         gnu/java/beans/decoder/ElementHandler.java,
5988         gnu/java/beans/decoder/FloatHandler.java,
5989         gnu/java/beans/decoder/GrowableArrayContext.java,
5990         gnu/java/beans/decoder/IndexContext.java,
5991         gnu/java/beans/decoder/IntHandler.java,
5992         gnu/java/beans/decoder/JavaHandler.java,
5993         gnu/java/beans/decoder/LongHandler.java,
5994         gnu/java/beans/decoder/MethodContext.java,
5995         gnu/java/beans/decoder/MethodFinder.java,
5996         gnu/java/beans/decoder/NullHandler.java,
5997         gnu/java/beans/decoder/ObjectContext.java,
5998         gnu/java/beans/decoder/ObjectHandler.java,
5999         gnu/java/beans/decoder/PersistenceParser.java,
6000         gnu/java/beans/decoder/PropertyContext.java,
6001         gnu/java/beans/decoder/ShortHandler.java,
6002         gnu/java/beans/decoder/SimpleHandler.java,
6003         gnu/java/beans/decoder/StaticMethodContext.java,
6004         gnu/java/beans/decoder/StringHandler.java,
6005         gnu/java/beans/decoder/VoidHandler.java: New class
6006         implementing java.beans.XMLDecoder decoding functionality.
6007         * java/beans/XMLDecoder.java: New class.
6009 2005-02-19  Michael Koch  <konqueror@gmx.de>
6011         * javax/swing/JTextField.java
6012         (notfiyAction): Added javadoc.
6014 2005-02-19  Sven de Marothy  <sven@physto.se>
6016         * javax/swing/SpinnerDateModel.java: Implemented.
6018 2005-02-19  Michael Koch  <konqueror@gmx.de>
6020         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
6021         * Makefile.in: Regenerated.
6023 2005-02-19  Michael Koch  <konqueror@gmx.de>
6025         * gnu/java/nio/SelectorImpl.java:
6026         Reworked import statements.
6027         (register): Removed unused code.
6028         * java/nio/channels/Channels.java: Reformatted.
6029         * java/nio/charset/Charset.java: Likewise.
6030         * java/rmi/server/RemoteObject.java
6031         (serialVersionUID): Made private.
6032         * java/rmi/server/UID.java
6033         (serialVersionUID): Likewise.
6035 2005-02-19  Michael Koch  <konqueror@gmx.de>
6037         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
6038         gnu/java/net/protocol/ftp/BlockInputStream.java,
6039         gnu/java/net/protocol/ftp/BlockOutputStream.java,
6040         gnu/java/net/protocol/ftp/CompressedInputStream.java,
6041         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
6042         gnu/java/net/protocol/ftp/DTPInputStream.java,
6043         gnu/java/net/protocol/ftp/DTP.java,
6044         gnu/java/net/protocol/ftp/DTPOutputStream.java,
6045         gnu/java/net/protocol/ftp/FTPConnection.java,
6046         gnu/java/net/protocol/ftp/FTPException.java,
6047         gnu/java/net/protocol/ftp/FTPResponse.java,
6048         gnu/java/net/protocol/ftp/FTPURLConnection.java,
6049         gnu/java/net/protocol/ftp/Handler.java,
6050         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
6051         gnu/java/net/protocol/ftp/StreamInputStream.java,
6052         gnu/java/net/protocol/ftp/StreamOutputStream.java,
6053         gnu/java/net/CRLFInputStream.java,
6054         gnu/java/net/CRLFOutputStream.java,
6055         gnu/java/net/GetLocalHostAction.java,
6056         gnu/java/net/protocol/ftp/package.html: New files.
6057         * Makefile.am: Added new files.
6058         * Makefile.in: Regenerated.
6060 2005-02-18  Tom Tromey  <tromey@redhat.com>
6062         * link.cc (make_vtable): Remove abstract method check.
6063         (append_partial_itable): Likewise.
6065         PR java/20056:
6066         * verify.cc (type::equals): Fixed test.
6067         * testsuite/libjava.lang/PR20056.out: New file.
6068         * testsuite/libjava.lang/PR20056.java: New file.
6070 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
6072         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
6073         not the HashEntry. Reported by Jean-Marie White.
6075 2005-02-18  Tom Tromey  <tromey@redhat.com>
6077         PR java/20056:
6078         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
6079         * link.cc (has_field_p): New function.
6080         * verify.cc (check_field_constant): Added 'putfield' argument.
6081         (verify_instructions_0): Updated.
6082         (type::equals): New method.
6084 2005-02-18  Anthony Green  <green@redhat.com>
6086         * NEWS: Draft of libgcj NEWS for 4.0.
6088 2005-02-18  Anthony Green  <green@redhat.com>
6090         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
6091         architecture names to "i386" for compatibility reasons.  Win32
6092         still uses "x86".
6094 2005-02-18  Anthony Green  <green@redhat.com>
6096         * gij.cc (version): Change year for '--version' to 2005.
6097         * gnu/gcj/convert/Convert.java: Ditto.
6098         * gnu/java/rmi/rmic/RMIC.java: Ditto.
6099         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
6101         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
6102         recent copyright year in `--version' output.
6104 2005-02-18  Robert Schuster <thebohemian@gmx.net>
6106         * java/nio/charset/Charset.java (forName): Throws
6107         IllegalArgumentException when argument is null
6108         and added documentation.
6110 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6112         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
6113         Move the position of the source buffer forward.
6115 2005-02-17  Tom Tromey  <tromey@redhat.com>
6117         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
6118         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
6119         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
6120         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
6121         Changed type of second argument.  Rewrote.
6122         (make_vtable): Use it.
6123         (append_partial_itable): Updated.
6124         (layout_vtable_methods): Updated.
6126 2005-02-17  Michael Koch  <konqueror@gmx.de>
6128         * gnu/java/net/PlainSocketImpl.java
6129         (shutdownInput): Added javadoc.
6130         (shutdownOutput): Likewise.
6132 2005-02-17  Michael Koch  <konqueror@gmx.de>
6134         * javax/print/attribute/standard/Chromaticity.java,
6135         javax/print/attribute/standard/Destination.java,
6136         javax/print/attribute/standard/MediaPrintableArea.java,
6137         javax/print/attribute/standard/MediaSize.java: New files.
6138         * Makefile.am: Added new files.
6139         * Makefile.in: Regenerated.
6141 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6142             Michael Koch  <konqueror@gmx.de>
6144         * gnu/java/net/protocol/http/Cookie.java,
6145         gnu/java/net/protocol/http/HTTPConnection.java,
6146         gnu/java/net/protocol/http/HTTPDateFormat.java,
6147         gnu/java/net/protocol/http/Request.java,
6148         gnu/java/nio/PipeImpl.java,
6149         gnu/java/rmi/dgc/DGCImpl.java,
6150         gnu/java/rmi/server/ConnectionRunnerPool.java,
6151         gnu/java/rmi/server/UnicastConnectionManager.java,
6152         gnu/java/security/der/DERWriter.java,
6153         gnu/java/security/pkcs/SignerInfo.java,
6154         gnu/java/security/provider/EncodedKeyFactory.java,
6155         gnu/java/security/provider/GnuDHPublicKey.java,
6156         gnu/java/security/provider/GnuDSAPrivateKey.java,
6157         gnu/java/security/provider/GnuDSAPublicKey.java,
6158         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
6159         gnu/java/security/x509/X500DistinguishedName.java,
6160         gnu/java/security/x509/X509CRL.java,
6161         gnu/java/security/x509/X509CRLEntry.java,
6162         gnu/java/security/x509/X509Certificate.java,
6163         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
6164         gnu/java/security/x509/ext/CertificatePolicies.java,
6165         gnu/java/security/x509/ext/PolicyConstraint.java,
6166         gnu/xml/dom/Consumer.java,
6167         gnu/xml/dom/DomCharacterData.java,
6168         gnu/xml/dom/DomDocument.java,
6169         gnu/xml/dom/DomDocumentBuilder.java,
6170         gnu/xml/dom/DomIterator.java,
6171         gnu/xml/dom/DomNode.java,
6172         gnu/xml/dom/DomXPathExpression.java,
6173         gnu/xml/dom/DomXPathResult.java,
6174         gnu/xml/dom/JAXPFactory.java,
6175         gnu/xml/pipeline/CallFilter.java,
6176         gnu/xml/pipeline/DomConsumer.java,
6177         gnu/xml/pipeline/LinkFilter.java,
6178         gnu/xml/pipeline/NSFilter.java,
6179         gnu/xml/pipeline/TeeConsumer.java,
6180         gnu/xml/pipeline/ValidationConsumer.java,
6181         gnu/xml/pipeline/WellFormednessFilter.java,
6182         gnu/xml/pipeline/XIncludeFilter.java,
6183         gnu/xml/pipeline/XsltFilter.java,
6184         gnu/xml/transform/ApplyImportsNode.java,
6185         gnu/xml/transform/Bindings.java,
6186         gnu/xml/transform/DocumentFunction.java,
6187         gnu/xml/transform/FormatNumberFunction.java,
6188         gnu/xml/transform/NodeNumberNode.java,
6189         gnu/xml/transform/NumberNode.java,
6190         gnu/xml/transform/Stylesheet.java,
6191         gnu/xml/transform/SystemPropertyFunction.java,
6192         gnu/xml/transform/Template.java,
6193         gnu/xml/transform/TemplatesImpl.java,
6194         gnu/xml/transform/TransformerImpl.java,
6195         gnu/xml/transform/ValueOfNode.java,
6196         gnu/xml/transform/XSLURIResolver.java,
6197         gnu/xml/util/DoParse.java,
6198         gnu/xml/util/Resolver.java,
6199         gnu/xml/xpath/Expr.java,
6200         gnu/xml/xpath/FunctionCall.java,
6201         gnu/xml/xpath/RelationalExpr.java,
6202         gnu/xml/xpath/Selector.java,
6203         gnu/xml/xpath/XPathParser.java:
6204         Reworked import statements, fixed modifier order and some little
6205         formatting issues.
6207 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6209         * java/nio/ByteBufferImpl.java (compact):
6210         Set position and limit even if no bytes were moved.
6212 2005-02-17  Michael Koch  <konqueror@gmx.de>
6214         * java/nio/CharViewBufferImpl.java (compact): Likewise.
6215         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
6216         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
6217         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
6218         * java/nio/IntViewBufferImpl.java (compact): Likewise.
6219         * java/nio/LongViewBufferImpl.java (compact): Likewise.
6220         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
6221         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
6222         * java/nio/FloatBufferImpl.java (compact): Set position.
6223         * java/nio/CharBufferImpl.java (compact): Likewise.
6224         * java/nio/DoubleBufferImpl.java (compact): Likewise.
6225         * java/nio/IntBufferImpl.java (compact): Likewise.
6226         * java/nio/LongBufferImpl.java (compact): Likewise.
6227         * java/nio/ShortBufferImpl.java (compact): Likewise.
6229 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
6231         * java/nio/ByteBufferImpl.java,
6232         java/nio/CharBufferImpl.java,
6233         java/nio/DirectByteBufferImpl.java,
6234         java/nio/DoubleBufferImpl.java,
6235         java/nio/FloatBufferImpl.java,
6236         java/nio/IntBufferImpl.java,
6237         java/nio/LongBufferImpl.java,
6238         java/nio/MappedByteBufferImpl.java,
6239         java/nio/ShortBufferImpl.java
6240         (compact): Added explicit read-only check and invalidate mark.
6242 2005-02-17  Michael Koch  <konqueror@gmx.de>
6244         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6245         gnu/java/awt/peer/gtk/GdkFontPeer.java,
6246         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
6247         gnu/java/awt/peer/gtk/GdkGraphics.java,
6248         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6249         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
6250         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
6251         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
6252         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
6253         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
6254         gnu/java/awt/peer/gtk/GdkTextLayout.java,
6255         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6256         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6257         gnu/java/awt/peer/gtk/GtkClipboard.java,
6258         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6259         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6260         gnu/java/awt/peer/gtk/GtkFontPeer.java,
6261         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6262         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6263         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6264         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6265         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6266         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6267         gnu/java/awt/peer/gtk/GtkToolkit.java,
6268         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6269         java/applet/Applet.java,
6270         java/awt/AWTError.java,
6271         java/awt/AWTEvent.java,
6272         java/awt/AWTEventMulticaster.java,
6273         java/awt/AWTException.java,
6274         java/awt/AWTKeyStroke.java,
6275         java/awt/AWTPermission.java,
6276         java/awt/ActiveEvent.java,
6277         java/awt/Adjustable.java,
6278         java/awt/AlphaComposite.java,
6279         java/awt/AttributeValue.java,
6280         java/awt/BorderLayout.java,
6281         java/awt/BufferCapabilities.java,
6282         java/awt/Button.java,
6283         java/awt/Canvas.java,
6284         java/awt/CheckboxGroup.java,
6285         java/awt/CheckboxMenuItem.java,
6286         java/awt/Color.java,
6287         java/awt/ColorPaintContext.java,
6288         java/awt/Component.java,
6289         java/awt/ComponentOrientation.java,
6290         java/awt/Composite.java,
6291         java/awt/CompositeContext.java,
6292         java/awt/Container.java,
6293         java/awt/ContainerOrderFocusTraversalPolicy.java,
6294         java/awt/DefaultFocusTraversalPolicy.java,
6295         java/awt/Dialog.java,
6296         java/awt/Dimension.java,
6297         java/awt/DisplayMode.java,
6298         java/awt/EventQueue.java,
6299         java/awt/FileDialog.java,
6300         java/awt/FontFormatException.java,
6301         java/awt/Graphics.java,
6302         java/awt/Graphics2D.java,
6303         java/awt/GraphicsConfigTemplate.java,
6304         java/awt/GraphicsConfiguration.java,
6305         java/awt/GraphicsDevice.java,
6306         java/awt/GridBagLayout.java,
6307         java/awt/GridBagLayoutInfo.java,
6308         java/awt/GridLayout.java,
6309         java/awt/HeadlessException.java,
6310         java/awt/IllegalComponentStateException.java,
6311         java/awt/Image.java,
6312         java/awt/Insets.java,
6313         java/awt/ItemSelectable.java,
6314         java/awt/JobAttributes.java,
6315         java/awt/KeyEventDispatcher.java,
6316         java/awt/KeyEventPostProcessor.java,
6317         java/awt/KeyboardFocusManager.java,
6318         java/awt/Label.java,
6319         java/awt/LayoutManager.java,
6320         java/awt/MenuBar.java,
6321         java/awt/MenuComponent.java,
6322         java/awt/MenuContainer.java,
6323         java/awt/PageAttributes.java,
6324         java/awt/Paint.java,
6325         java/awt/PaintContext.java,
6326         java/awt/Panel.java,
6327         java/awt/Point.java,
6328         java/awt/Polygon.java,
6329         java/awt/PrintGraphics.java,
6330         java/awt/PrintJob.java,
6331         java/awt/Rectangle.java,
6332         java/awt/RenderingHints.java,
6333         java/awt/Shape.java,
6334         java/awt/Stroke.java,
6335         java/awt/SystemColor.java,
6336         java/awt/Toolkit.java,
6337         java/awt/Transparency.java,
6338         java/awt/Window.java,
6339         java/awt/color/CMMException.java,
6340         java/awt/color/ColorSpace.java,
6341         java/awt/color/ICC_ColorSpace.java,
6342         java/awt/color/ICC_Profile.java,
6343         java/awt/color/ProfileDataException.java,
6344         java/awt/datatransfer/FlavorTable.java,
6345         java/awt/datatransfer/MimeTypeParseException.java,
6346         java/awt/datatransfer/Transferable.java,
6347         java/awt/datatransfer/UnsupportedFlavorException.java,
6348         java/awt/dnd/Autoscroll.java,
6349         java/awt/dnd/DnDConstants.java,
6350         java/awt/dnd/DragGestureListener.java,
6351         java/awt/dnd/DragSourceAdapter.java,
6352         java/awt/dnd/DragSourceDropEvent.java,
6353         java/awt/dnd/DragSourceListener.java,
6354         java/awt/dnd/DragSourceMotionListener.java,
6355         java/awt/dnd/DropTargetAdapter.java,
6356         java/awt/dnd/DropTargetContext.java,
6357         java/awt/dnd/DropTargetListener.java,
6358         java/awt/dnd/InvalidDnDOperationException.java,
6359         java/awt/dnd/MouseDragGestureRecognizer.java,
6360         java/awt/dnd/peer/DropTargetContextPeer.java,
6361         java/awt/event/AWTEventListener.java,
6362         java/awt/event/AWTEventListenerProxy.java,
6363         java/awt/event/ActionEvent.java,
6364         java/awt/event/AdjustmentEvent.java,
6365         java/awt/event/AdjustmentListener.java,
6366         java/awt/event/ComponentAdapter.java,
6367         java/awt/event/ComponentEvent.java,
6368         java/awt/event/ComponentListener.java,
6369         java/awt/event/ContainerAdapter.java,
6370         java/awt/event/ContainerEvent.java,
6371         java/awt/event/ContainerListener.java,
6372         java/awt/event/FocusAdapter.java,
6373         java/awt/event/FocusEvent.java,
6374         java/awt/event/FocusListener.java,
6375         java/awt/event/InputEvent.java,
6376         java/awt/event/InputMethodEvent.java,
6377         java/awt/event/InputMethodListener.java,
6378         java/awt/event/InvocationEvent.java,
6379         java/awt/event/ItemEvent.java,
6380         java/awt/event/ItemListener.java,
6381         java/awt/event/KeyAdapter.java,
6382         java/awt/event/KeyEvent.java,
6383         java/awt/event/KeyListener.java,
6384         java/awt/event/MouseAdapter.java,
6385         java/awt/event/MouseEvent.java,
6386         java/awt/event/MouseListener.java,
6387         java/awt/event/MouseMotionAdapter.java,
6388         java/awt/event/MouseMotionListener.java,
6389         java/awt/event/MouseWheelEvent.java,
6390         java/awt/event/MouseWheelListener.java,
6391         java/awt/event/PaintEvent.java,
6392         java/awt/event/TextEvent.java,
6393         java/awt/event/TextListener.java,
6394         java/awt/event/WindowAdapter.java,
6395         java/awt/event/WindowEvent.java,
6396         java/awt/event/WindowFocusListener.java,
6397         java/awt/event/WindowListener.java,
6398         java/awt/event/WindowStateListener.java,
6399         java/awt/font/TextHitInfo.java,
6400         java/awt/geom/CubicCurve2D.java,
6401         java/awt/geom/Dimension2D.java,
6402         java/awt/geom/Ellipse2D.java,
6403         java/awt/geom/IllegalPathStateException.java,
6404         java/awt/geom/Line2D.java,
6405         java/awt/geom/NoninvertibleTransformException.java,
6406         java/awt/geom/PathIterator.java,
6407         java/awt/geom/Point2D.java,
6408         java/awt/geom/QuadCurve2D.java,
6409         java/awt/geom/RectangularShape.java,
6410         java/awt/geom/RoundRectangle2D.java,
6411         java/awt/im/InputContext.java,
6412         java/awt/im/InputMethodHighlight.java,
6413         java/awt/im/InputMethodRequests.java,
6414         java/awt/im/InputSubset.java,
6415         java/awt/im/spi/InputMethod.java,
6416         java/awt/im/spi/InputMethodDescriptor.java,
6417         java/awt/image/BandCombineOp.java,
6418         java/awt/image/BandedSampleModel.java,
6419         java/awt/image/ByteLookupTable.java,
6420         java/awt/image/ComponentSampleModel.java,
6421         java/awt/image/DataBuffer.java,
6422         java/awt/image/DataBufferByte.java,
6423         java/awt/image/DataBufferDouble.java,
6424         java/awt/image/DataBufferFloat.java,
6425         java/awt/image/DataBufferInt.java,
6426         java/awt/image/DataBufferShort.java,
6427         java/awt/image/DataBufferUShort.java,
6428         java/awt/image/ImagingOpException.java,
6429         java/awt/image/Kernel.java,
6430         java/awt/image/LookupTable.java,
6431         java/awt/image/MultiPixelPackedSampleModel.java,
6432         java/awt/image/PackedColorModel.java,
6433         java/awt/image/PixelInterleavedSampleModel.java,
6434         java/awt/image/RGBImageFilter.java,
6435         java/awt/image/Raster.java,
6436         java/awt/image/RasterFormatException.java,
6437         java/awt/image/SampleModel.java,
6438         java/awt/image/ShortLookupTable.java,
6439         java/awt/image/SinglePixelPackedSampleModel.java,
6440         java/awt/image/WritableRaster.java,
6441         java/awt/print/PrinterAbortException.java,
6442         java/awt/print/PrinterException.java,
6443         java/awt/print/PrinterIOException.java,
6444         java/beans/AppletInitializer.java,
6445         java/beans/ExceptionListener.java,
6446         java/beans/PropertyChangeEvent.java,
6447         java/beans/PropertyChangeListenerProxy.java,
6448         java/beans/PropertyChangeSupport.java,
6449         java/beans/PropertyDescriptor.java,
6450         java/beans/VetoableChangeListenerProxy.java,
6451         java/beans/VetoableChangeSupport.java,
6452         java/io/BufferedReader.java,
6453         java/io/ByteArrayInputStream.java,
6454         java/io/ByteArrayOutputStream.java,
6455         java/io/CharArrayReader.java,
6456         java/io/CharArrayWriter.java,
6457         java/io/CharConversionException.java,
6458         java/io/DataInput.java,
6459         java/io/DataInputStream.java,
6460         java/io/DataOutput.java,
6461         java/io/DataOutputStream.java,
6462         java/io/EOFException.java,
6463         java/io/FileInputStream.java,
6464         java/io/FileNotFoundException.java,
6465         java/io/FileOutputStream.java,
6466         java/io/FilenameFilter.java,
6467         java/io/FilterInputStream.java,
6468         java/io/FilterOutputStream.java,
6469         java/io/FilterReader.java,
6470         java/io/FilterWriter.java,
6471         java/io/IOException.java,
6472         java/io/InputStream.java,
6473         java/io/InterruptedIOException.java,
6474         java/io/LineNumberInputStream.java,
6475         java/io/LineNumberReader.java,
6476         java/io/ObjectInputStream.java,
6477         java/io/ObjectStreamException.java,
6478         java/io/OptionalDataException.java,
6479         java/io/OutputStream.java,
6480         java/io/OutputStreamWriter.java,
6481         java/io/PrintStream.java,
6482         java/io/PrintWriter.java,
6483         java/io/PushbackInputStream.java,
6484         java/io/PushbackReader.java,
6485         java/io/RandomAccessFile.java,
6486         java/io/Reader.java,
6487         java/io/SequenceInputStream.java,
6488         java/io/Serializable.java,
6489         java/io/StreamCorruptedException.java,
6490         java/io/StreamTokenizer.java,
6491         java/io/StringBufferInputStream.java,
6492         java/io/StringWriter.java,
6493         java/io/SyncFailedException.java,
6494         java/io/UTFDataFormatException.java,
6495         java/io/UnsupportedEncodingException.java,
6496         java/io/WriteAbortedException.java,
6497         java/io/Writer.java,
6498         java/lang/AbstractMethodError.java,
6499         java/lang/ArithmeticException.java,
6500         java/lang/ArrayIndexOutOfBoundsException.java,
6501         java/lang/ArrayStoreException.java,
6502         java/lang/AssertionError.java,
6503         java/lang/Boolean.java,
6504         java/lang/Byte.java,
6505         java/lang/Class.java,
6506         java/lang/ClassCastException.java,
6507         java/lang/ClassCircularityError.java,
6508         java/lang/ClassLoader.java,
6509         java/lang/ClassNotFoundException.java,
6510         java/lang/CloneNotSupportedException.java,
6511         java/lang/Cloneable.java,
6512         java/lang/Comparable.java,
6513         java/lang/Compiler.java,
6514         java/lang/Double.java,
6515         java/lang/Error.java,
6516         java/lang/Exception.java,
6517         java/lang/ExceptionInInitializerError.java,
6518         java/lang/Float.java,
6519         java/lang/IllegalAccessError.java,
6520         java/lang/IllegalAccessException.java,
6521         java/lang/IllegalArgumentException.java,
6522         java/lang/IllegalMonitorStateException.java,
6523         java/lang/IllegalStateException.java,
6524         java/lang/IllegalThreadStateException.java,
6525         java/lang/IncompatibleClassChangeError.java,
6526         java/lang/IndexOutOfBoundsException.java,
6527         java/lang/InheritableThreadLocal.java,
6528         java/lang/InstantiationError.java,
6529         java/lang/InstantiationException.java,
6530         java/lang/Integer.java,
6531         java/lang/InternalError.java,
6532         java/lang/InterruptedException.java,
6533         java/lang/LinkageError.java,
6534         java/lang/Long.java,
6535         java/lang/NegativeArraySizeException.java,
6536         java/lang/NoClassDefFoundError.java,
6537         java/lang/NoSuchFieldError.java,
6538         java/lang/NoSuchFieldException.java,
6539         java/lang/NoSuchMethodError.java,
6540         java/lang/NoSuchMethodException.java,
6541         java/lang/NullPointerException.java,
6542         java/lang/Number.java,
6543         java/lang/NumberFormatException.java,
6544         java/lang/OutOfMemoryError.java,
6545         java/lang/Process.java,
6546         java/lang/Runnable.java,
6547         java/lang/Runtime.java,
6548         java/lang/RuntimeException.java,
6549         java/lang/RuntimePermission.java,
6550         java/lang/SecurityException.java,
6551         java/lang/SecurityManager.java,
6552         java/lang/Short.java,
6553         java/lang/StackOverflowError.java,
6554         java/lang/StackTraceElement.java,
6555         java/lang/StringBuffer.java,
6556         java/lang/StringIndexOutOfBoundsException.java,
6557         java/lang/ThreadDeath.java,
6558         java/lang/ThreadGroup.java,
6559         java/lang/Throwable.java,
6560         java/lang/UnsatisfiedLinkError.java,
6561         java/lang/UnsupportedOperationException.java,
6562         java/lang/VerifyError.java,
6563         java/lang/VirtualMachineError.java,
6564         java/lang/reflect/AccessibleObject.java,
6565         java/lang/reflect/Array.java,
6566         java/lang/reflect/InvocationTargetException.java,
6567         java/lang/reflect/Member.java,
6568         java/lang/reflect/Modifier.java,
6569         java/lang/reflect/Proxy.java,
6570         java/lang/reflect/ReflectPermission.java,
6571         java/lang/reflect/UndeclaredThrowableException.java,
6572         java/math/BigInteger.java,
6573         java/net/NetworkInterface.java,
6574         java/nio/ByteBufferHelper.java,
6575         java/nio/ByteBufferImpl.java,
6576         java/nio/DirectByteBufferImpl.java,
6577         java/nio/DoubleBufferImpl.java,
6578         java/nio/FloatBufferImpl.java,
6579         java/nio/IntBufferImpl.java,
6580         java/nio/LongBufferImpl.java,
6581         java/nio/ShortBufferImpl.java,
6582         java/nio/channels/Channel.java,
6583         java/nio/channels/IllegalBlockingModeException.java,
6584         java/nio/charset/spi/CharsetProvider.java,
6585         java/security/AccessControlException.java,
6586         java/security/BasicPermission.java,
6587         java/security/DigestException.java,
6588         java/security/DigestInputStream.java,
6589         java/security/DigestOutputStream.java,
6590         java/security/GeneralSecurityException.java,
6591         java/security/Guard.java,
6592         java/security/GuardedObject.java,
6593         java/security/InvalidAlgorithmParameterException.java,
6594         java/security/InvalidKeyException.java,
6595         java/security/InvalidParameterException.java,
6596         java/security/Key.java,
6597         java/security/KeyException.java,
6598         java/security/KeyManagementException.java,
6599         java/security/KeyStoreException.java,
6600         java/security/MessageDigestSpi.java,
6601         java/security/NoSuchAlgorithmException.java,
6602         java/security/NoSuchProviderException.java,
6603         java/security/Permission.java,
6604         java/security/PermissionCollection.java,
6605         java/security/Permissions.java,
6606         java/security/Principal.java,
6607         java/security/PrivateKey.java,
6608         java/security/PrivilegedActionException.java,
6609         java/security/ProviderException.java,
6610         java/security/PublicKey.java,
6611         java/security/SecureRandom.java,
6612         java/security/SecureRandomSpi.java,
6613         java/security/SignatureException.java,
6614         java/security/SignatureSpi.java,
6615         java/security/SignedObject.java,
6616         java/security/Signer.java,
6617         java/security/UnrecoverableKeyException.java,
6618         java/security/UnresolvedPermission.java,
6619         java/security/acl/AclNotFoundException.java,
6620         java/security/acl/LastOwnerException.java,
6621         java/security/acl/NotOwnerException.java,
6622         java/security/cert/CertPath.java,
6623         java/security/cert/CertPathBuilderException.java,
6624         java/security/cert/CertPathValidatorException.java,
6625         java/security/cert/CertStoreException.java,
6626         java/text/BreakIterator.java,
6627         java/text/ChoiceFormat.java,
6628         java/text/CollationElementIterator.java,
6629         java/text/CollationKey.java,
6630         java/text/Collator.java,
6631         java/text/DateFormat.java,
6632         java/text/DateFormatSymbols.java,
6633         java/text/DecimalFormat.java,
6634         java/text/DecimalFormatSymbols.java,
6635         java/text/FieldPosition.java,
6636         java/text/Format.java,
6637         java/text/NumberFormat.java,
6638         java/text/ParseException.java,
6639         java/text/ParsePosition.java,
6640         java/text/StringCharacterIterator.java,
6641         java/util/AbstractCollection.java,
6642         java/util/AbstractList.java,
6643         java/util/AbstractMap.java,
6644         java/util/AbstractSequentialList.java,
6645         java/util/AbstractSet.java,
6646         java/util/ArrayList.java,
6647         java/util/Arrays.java,
6648         java/util/BitSet.java,
6649         java/util/Collection.java,
6650         java/util/Collections.java,
6651         java/util/Comparator.java,
6652         java/util/ConcurrentModificationException.java,
6653         java/util/Currency.java,
6654         java/util/Date.java,
6655         java/util/EmptyStackException.java,
6656         java/util/Enumeration.java,
6657         java/util/EventListener.java,
6658         java/util/EventListenerProxy.java,
6659         java/util/EventObject.java,
6660         java/util/HashMap.java,
6661         java/util/HashSet.java,
6662         java/util/Hashtable.java,
6663         java/util/IdentityHashMap.java,
6664         java/util/Iterator.java,
6665         java/util/LinkedHashSet.java,
6666         java/util/LinkedList.java,
6667         java/util/List.java,
6668         java/util/ListIterator.java,
6669         java/util/ListResourceBundle.java,
6670         java/util/Map.java,
6671         java/util/MissingResourceException.java,
6672         java/util/NoSuchElementException.java,
6673         java/util/Observable.java,
6674         java/util/Observer.java,
6675         java/util/Properties.java,
6676         java/util/PropertyPermissionCollection.java,
6677         java/util/RandomAccess.java,
6678         java/util/Set.java,
6679         java/util/SortedMap.java,
6680         java/util/SortedSet.java,
6681         java/util/Stack.java,
6682         java/util/StringTokenizer.java,
6683         java/util/TooManyListenersException.java,
6684         java/util/TreeMap.java,
6685         java/util/TreeSet.java,
6686         java/util/Vector.java,
6687         java/util/logging/FileHandler.java,
6688         java/util/logging/Level.java,
6689         java/util/prefs/BackingStoreException.java,
6690         java/util/prefs/InvalidPreferencesFormatException.java,
6691         java/util/prefs/Preferences.java,
6692         javax/accessibility/Accessible.java,
6693         javax/accessibility/AccessibleAction.java,
6694         javax/accessibility/AccessibleBundle.java,
6695         javax/accessibility/AccessibleComponent.java,
6696         javax/accessibility/AccessibleContext.java,
6697         javax/accessibility/AccessibleEditableText.java,
6698         javax/accessibility/AccessibleExtendedComponent.java,
6699         javax/accessibility/AccessibleExtendedTable.java,
6700         javax/accessibility/AccessibleHyperlink.java,
6701         javax/accessibility/AccessibleHypertext.java,
6702         javax/accessibility/AccessibleIcon.java,
6703         javax/accessibility/AccessibleKeyBinding.java,
6704         javax/accessibility/AccessibleRelation.java,
6705         javax/accessibility/AccessibleRelationSet.java,
6706         javax/accessibility/AccessibleResourceBundle.java,
6707         javax/accessibility/AccessibleRole.java,
6708         javax/accessibility/AccessibleSelection.java,
6709         javax/accessibility/AccessibleState.java,
6710         javax/accessibility/AccessibleStateSet.java,
6711         javax/accessibility/AccessibleTable.java,
6712         javax/accessibility/AccessibleTableModelChange.java,
6713         javax/accessibility/AccessibleText.java,
6714         javax/accessibility/AccessibleValue.java,
6715         javax/imageio/IIOException.java,
6716         javax/imageio/ImageIO.java,
6717         javax/imageio/spi/IIOServiceProvider.java,
6718         javax/imageio/spi/ImageInputStreamSpi.java,
6719         javax/imageio/spi/ImageOutputStreamSpi.java,
6720         javax/imageio/spi/ImageReaderWriterSpi.java,
6721         javax/imageio/spi/ImageTranscoderSpi.java,
6722         javax/imageio/spi/RegisterableService.java,
6723         javax/imageio/spi/ServiceRegistry.java,
6724         javax/imageio/stream/IIOByteBuffer.java,
6725         javax/imageio/stream/ImageInputStream.java,
6726         javax/imageio/stream/ImageOutputStream.java,
6727         javax/naming/Binding.java,
6728         javax/naming/CannotProceedException.java,
6729         javax/naming/CompositeName.java,
6730         javax/naming/CompoundName.java,
6731         javax/naming/LinkException.java,
6732         javax/naming/LinkRef.java,
6733         javax/naming/NameClassPair.java,
6734         javax/naming/Reference.java,
6735         javax/naming/ReferralException.java,
6736         javax/naming/directory/Attribute.java,
6737         javax/naming/directory/AttributeModificationException.java,
6738         javax/naming/directory/Attributes.java,
6739         javax/naming/directory/DirContext.java,
6740         javax/naming/directory/ModificationItem.java,
6741         javax/naming/directory/SearchControls.java,
6742         javax/naming/directory/SearchResult.java,
6743         javax/naming/event/EventContext.java,
6744         javax/naming/event/EventDirContext.java,
6745         javax/naming/event/NamespaceChangeListener.java,
6746         javax/naming/event/NamingExceptionEvent.java,
6747         javax/naming/event/NamingListener.java,
6748         javax/naming/event/ObjectChangeListener.java,
6749         javax/naming/ldap/Control.java,
6750         javax/naming/ldap/ExtendedResponse.java,
6751         javax/naming/ldap/HasControls.java,
6752         javax/naming/ldap/LdapContext.java,
6753         javax/naming/ldap/UnsolicitedNotification.java,
6754         javax/naming/ldap/UnsolicitedNotificationEvent.java,
6755         javax/naming/ldap/UnsolicitedNotificationListener.java,
6756         javax/naming/spi/DirectoryManager.java,
6757         javax/naming/spi/ResolveResult.java,
6758         javax/naming/spi/Resolver.java,
6759         javax/security/auth/callback/Callback.java,
6760         javax/security/auth/callback/CallbackHandler.java,
6761         javax/security/auth/callback/ChoiceCallback.java,
6762         javax/security/auth/callback/ConfirmationCallback.java,
6763         javax/security/auth/callback/LanguageCallback.java,
6764         javax/security/auth/callback/NameCallback.java,
6765         javax/security/auth/callback/PasswordCallback.java,
6766         javax/security/auth/callback/TextInputCallback.java,
6767         javax/security/auth/callback/TextOutputCallback.java,
6768         javax/security/auth/callback/UnsupportedCallbackException.java,
6769         javax/security/sasl/Sasl.java,
6770         javax/security/sasl/SaslServerFactory.java,
6771         javax/swing/DefaultBoundedRangeModel.java,
6772         javax/swing/JComponent.java,
6773         javax/swing/JList.java,
6774         javax/swing/JProgressBar.java,
6775         javax/swing/JRadioButton.java,
6776         javax/swing/JTextArea.java,
6777         javax/swing/JTextField.java,
6778         javax/swing/JToggleButton.java,
6779         javax/swing/JTree.java,
6780         javax/swing/SpinnerListModel.java,
6781         javax/swing/event/EventListenerList.java,
6782         javax/swing/text/JTextComponent.java,
6783         javax/swing/text/StringContent.java,
6784         javax/swing/text/Utilities.java,
6785         javax/swing/undo/UndoManager.java,
6786         javax/swing/undo/UndoableEditSupport.java,
6787         javax/transaction/HeuristicCommitException.java,
6788         javax/transaction/HeuristicMixedException.java,
6789         javax/transaction/HeuristicRollbackException.java,
6790         javax/transaction/InvalidTransactionException.java,
6791         javax/transaction/NotSupportedException.java,
6792         javax/transaction/RollbackException.java,
6793         javax/transaction/Status.java,
6794         javax/transaction/Synchronization.java,
6795         javax/transaction/SystemException.java,
6796         javax/transaction/Transaction.java,
6797         javax/transaction/TransactionManager.java,
6798         javax/transaction/TransactionRequiredException.java,
6799         javax/transaction/TransactionRolledbackException.java,
6800         javax/transaction/UserTransaction.java,
6801         javax/transaction/xa/XAException.java,
6802         javax/transaction/xa/XAResource.java,
6803         javax/transaction/xa/Xid.java,
6804         javax/xml/XMLConstants.java,
6805         javax/xml/datatype/DatatypeConfigurationException.java,
6806         javax/xml/datatype/DatatypeConstants.java,
6807         javax/xml/datatype/DatatypeFactory.java,
6808         javax/xml/datatype/Duration.java,
6809         javax/xml/datatype/XMLGregorianCalendar.java,
6810         javax/xml/namespace/NamespaceContext.java,
6811         javax/xml/namespace/QName.java,
6812         javax/xml/parsers/DocumentBuilder.java,
6813         javax/xml/parsers/DocumentBuilderFactory.java,
6814         javax/xml/parsers/FactoryConfigurationError.java,
6815         javax/xml/parsers/ParserConfigurationException.java,
6816         javax/xml/parsers/SAXParser.java,
6817         javax/xml/parsers/SAXParserFactory.java,
6818         javax/xml/transform/ErrorListener.java,
6819         javax/xml/transform/OutputKeys.java,
6820         javax/xml/transform/Result.java,
6821         javax/xml/transform/Source.java,
6822         javax/xml/transform/SourceLocator.java,
6823         javax/xml/transform/Templates.java,
6824         javax/xml/transform/Transformer.java,
6825         javax/xml/transform/TransformerConfigurationException.java,
6826         javax/xml/transform/TransformerException.java,
6827         javax/xml/transform/TransformerFactory.java,
6828         javax/xml/transform/TransformerFactoryConfigurationError.java,
6829         javax/xml/transform/URIResolver.java,
6830         javax/xml/transform/dom/DOMLocator.java,
6831         javax/xml/transform/dom/DOMResult.java,
6832         javax/xml/transform/dom/DOMSource.java,
6833         javax/xml/transform/sax/SAXResult.java,
6834         javax/xml/transform/sax/SAXSource.java,
6835         javax/xml/transform/sax/SAXTransformerFactory.java,
6836         javax/xml/transform/sax/TemplatesHandler.java,
6837         javax/xml/transform/sax/TransformerHandler.java,
6838         javax/xml/transform/stream/StreamResult.java,
6839         javax/xml/transform/stream/StreamSource.java,
6840         javax/xml/validation/Schema.java,
6841         javax/xml/validation/SchemaFactory.java,
6842         javax/xml/validation/TypeInfoProvider.java,
6843         javax/xml/validation/Validator.java,
6844         javax/xml/validation/ValidatorHandler.java,
6845         javax/xml/xpath/XPathConstants.java,
6846         javax/xml/xpath/XPathException.java,
6847         javax/xml/xpath/XPathExpression.java,
6848         javax/xml/xpath/XPathExpressionException.java,
6849         javax/xml/xpath/XPathFactory.java,
6850         javax/xml/xpath/XPathFactoryConfigurationException.java,
6851         javax/xml/xpath/XPathFunction.java,
6852         javax/xml/xpath/XPathFunctionException.java,
6853         javax/xml/xpath/XPathFunctionResolver.java:
6854         Fixed usage of @author tag, reworked import statements,
6855         removed CVS tags, changed the modifier order and fixed
6856         HTML usage in javadocs.
6858 2005-02-16  Julian Scheid  <julian@sektor37.de>
6860         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
6861         in.position().
6862         (encodeLoop): Likewise.
6864 2005-02-16  Mark Wielaard  <mark@klomp.org>
6866         * Makefile.am (ordinary_java_source_files): Add new files
6867         gnu/java/security/ber/BER.java,
6868         gnu/java/security/ber/BEREncodingException.java,
6869         gnu/java/security/ber/BERReader.java,
6870         gnu/java/security/ber/BERValue.java,
6871         gnu/java/security/pkcs/PKCS7SignedData.java and
6872         gnu/java/security/pkcs/SignerInfo.java.
6873         * Makefile.in: Regenerated.
6875 2005-02-16  Casey Marshall  <csm@gnu.org>
6877         * gnu/java/security/provider/GnuDSAPrivateKey.java
6878         (encodedKey): new field.
6879         (getFormat): return "PKCS#8".
6880         (getEncoded): implemented.
6881         (toString): check for 'null' values.
6882         * gnu/java/security/provider/GnuDSAPublicKey.java
6883         (encodedKey): new field.
6884         (getFormat): return "X.509".
6885         (getEncoded): implemented.
6886         (toString): check for 'null' values.
6888 2005-02-16  Michael Koch  <konqueror@gmx.de>
6890         * java/util/jar/JarFile.java: Imports reworked.
6892 2005-02-16  Mark Wielaard  <mark@klomp.org>
6894         * java/util/jar/JarFile.java (verify): Make package private.
6895         (signaturesRead): Likewise.
6896         (verified): Likewise.
6897         (entryCerts): Likewise.
6898         (DEBUG): Likewise.
6899         (debug): Likewise.
6900         (entries): Construct new JarEnumeration with reference to this.
6901         (JarEnumeration): Make static.
6902         (JarEnumeration.jarfile): New field.
6903         (JarEnumeration.nextElement): Use and synchronize on jarfile.
6904         Compare verified value to Boolean.TRUE or Boolean.False only
6905         when verify is true.
6906         (getEntry): Make synchronized. Compare value of verified to
6907         Boolean.TRUE.
6908         (getInputStream): Construct EntryInputStream with reference to this.
6909         (getManifest): Make synchronized.
6910         (EntryInputStream): Make static.
6911         (EntryInputStream.jarfile): New field.
6912         (EntryInputStream.EntryInputStream): Check if manifest exists,
6913         before getting attributes.
6914         (eof): Synchronize on jarfile.
6916 2005-02-16  Casey Marshall  <csm@gnu.org>
6918         * java/util/jar/JarFile.java (verify): return if the jar is signed
6919         with an unsupported algorithm.
6921 2005-02-16  Mark Wielaard  <mark@klomp.org>
6923         * java/util/jar/JarFile.java (EntryInputStream): Add actual
6924         InputStream as argument.
6925         (getInputStream): Construct a new EntryInputStream with the result of
6926         super.getInputStream(entry).
6928 2005-02-16  Casey Marshall  <csm@gnu.org>
6930         Signed JAR file support.
6931         * java/net/URLClassLoader.java
6932         (JarURLResource.getCertificates): re-read jar entry to ensure
6933         certificates are picked up.
6934         (findClass): fill in class `signers' field, too.
6935         * java/util/jar/JarFile.java (META_INF): new constant.
6936         (PKCS7_DSA_SUFFIX): new constant.
6937         (PKCS7_RSA_SUFFIX): new constant.
6938         (DIGEST_KEY_SUFFIX): new constant.
6939         (SF_SUFFIX): new constant.
6940         (MD2_OID): new constant.
6941         (MD4_OID): new constant.
6942         (MD5_OID): new constant.
6943         (SHA1_OID): new constant.
6944         (DSA_ENCRYPTION_OID): new constant.
6945         (RSA_ENCRYPTION_OID): new constant.
6946         (signaturesRead): new field.
6947         (verified): new field.
6948         (entryCerts): new field.
6949         (DEBUG): new constant.
6950         (debug): new method.
6951         (JarEnumeration.nextElement): fill in entry certificates, read
6952         signatures if they haven't been read.
6953         (getEntry): likewise.
6954         (getInputStream): verify stream if it hasn't been verified yet.
6955         (readSignatures): new method.
6956         (verify): new method.
6957         (verifyHashes): new method.
6958         (readManifestEntry): new method.
6959         (EntryInputStream): new class.
6960         * gnu/java/io/Base64InputStream.java (decode): new class
6961         method.
6962         * gnu/java/security/der/DERReader.java don't make class
6963         final.
6964         (in): made protected.
6965         (encBuf): likewise.
6966         (readLength): likewise.
6967         * gnu/java/security/ber/BER.java,
6968         * gnu/java/security/ber/BEREncodingException.java,
6969         * gnu/java/security/ber/BERReader.java,
6970         * gnu/java/security/ber/BERValue.java,
6971         * gnu/java/security/pkcs/PKCS7SignedData.java,
6972         * gnu/java/security/pkcs/SignerInfo.java:
6973         new files.
6975 2005-02-16  Tom Tromey  <tromey@redhat.com>
6977         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
6978         copied file on exit.
6980 2005-02-15  Mark Wielaard  <mark@klomp.org>
6982         * java/awt/BasicStroke.java (hashCode): Check for null dash.
6984 2005-02-15  Michael Koch  <konqueror@gmx.de>
6986         * gnu/java/awt/peer/gtk/GtkArg.java,
6987         gnu/java/awt/peer/gtk/GtkArgList.java:
6988         Removed.
6990 2005-02-15  Craig Black  <craig.black@aonix.com>
6992         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
6993         (postMenuActionEvent): Implement to notify ItemListeners.
6994         * java/awt/CheckboxMenuItem.java
6995         (dispatchEventImpl): Update state on ItemEvent.
6996         * java/awt/MenuItem.java
6997         (processActionEvent): Retarget event source.
6999 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7001         * gnu/java/awt/color/ClutProfileConverter.java,
7002         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
7003         gnu/java/awt/peer/gtk/GdkFontPeer.java,
7004         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
7005         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
7006         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
7007         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
7008         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
7009         gnu/java/awt/peer/gtk/GdkTextLayout.java,
7010         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7011         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7012         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7013         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7014         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7015         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
7016         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7017         gnu/java/awt/peer/gtk/GtkFontPeer.java,
7018         gnu/java/awt/peer/gtk/GtkFramePeer.java,
7019         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7020         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
7021         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7022         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7023         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7024         gnu/java/awt/peer/gtk/GtkToolkit.java,
7025         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7026         javax/swing/JPopupMenu.java,
7027         javax/swing/JSpinner.java,
7028         javax/swing/SortingFocusTraversalPolicy.java,
7029         javax/swing/SwingUtilities.java,
7030         javax/swing/plaf/basic/BasicComboBoxEditor.java,
7031         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
7032         javax/swing/tree/DefaultMutableTreeNode.java:
7033         Removed unused imports and expanded starred
7034         imports.
7036 2005-02-15  Mark Wielaard  <mark@klomp.org>
7038         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
7039         IllegalArgumentException when the given String is null.
7041         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
7042         when given keystoke sequence cannot be parsed.
7044         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
7045         if one is installed. Only install the given menubar is not null.
7047         * javax/swing/JViewport.java (getViewSize): Return an empty
7048         Dimension when the view isn't set or preferred component size when
7049         no viewSize is set.
7051         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
7052         empty Dimension when there is no view set.
7053         (minimumLayoutSize): Likewise.
7054         (layoutContainer): Don't try to layout when there is no view.
7056 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7058         * jawt.c: New file.
7059         * include/jawt.h: Likewise.
7060         * include/jawt_md.h: Likewise.
7061         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7062         jawt_md.h files.
7063         * jni/classpath/classpath_jawt.h: Likewise.
7064         * jni/gtk-peer/gtk_jawt.c: Likewise.
7065         * Makefile.am: Build libjawt.so.
7067 2005-02-15  Michael Koch  <konqueror@gmx.de>
7069         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7070         Merged file header with classpath CVS head.
7071         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7072         Merged code formatting with classpath CVS head.
7073         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
7074         Removed debug code.
7075         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
7076         Handle special JNI strings with 2 '\0' at the end.
7077         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7078         Merged file header with classpath CVS head.
7079         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7080         Merged code formatting with classpath CVS head.
7082 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7084         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
7085         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
7086         (handle_response): Use GTK_RESPONSE_ACCEPT.
7088 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7090         * Makefile.am: Fix library build breakage.
7091         * Makefile.in: Regenerate.
7093 2005-02-15  Michael Koch  <konqueror@gmx.de>
7095         * javax/swing/JTabbedPane.java
7096         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
7098 2005-02-15  Michael Koch  <konqueror@gmx.de>
7100         * javax/swing/tree/DefaultMutableTreeNode.java:
7101         Reworked Javadocs all over.
7102         (getPathToRoot): Fixed direction of result array initialization.
7104 2005-02-15  Michael Koch  <konqueror@gmx.de>
7106         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7107          Fix includes for cairo 0.3.0 snappshot.
7108         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7109         Merged file header from classpath CVS HEAD.
7111 2005-02-15  Craig Black  <craig.black@aonix.com>
7113         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7114         (copyState): Pass a JNI global reference to signal handler.
7115         (realize_cb): Use and free JNI global reference.
7116         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7117         (create): Pass a JNI global reference to signal handler.
7118         (selection_changed): Match declaration.
7119         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
7120         (dispose): Do not remove entries from state tables until after widget is
7121         destroyed.
7123 2005-02-15  Michael Koch  <konqueror@gmx.de>
7125         * java/awt/Container.javai (paramString):
7126         If layoutMgr is null just return result of super.paramString().
7127         * java/awt/Scrollbar.java: Reformatted.
7128         * java/awt/im/InputContext.java (static):
7129         Removed redundant initializations.
7131 2005-02-15  Michael Koch  <konqueror@gmx.de>
7133         * javax/swing/ImageIcon.java,
7134         javax/swing/UIManager.java,
7135         javax/swing/text/EditorKit.java,
7136         javax/swing/text/Segment.java:
7137         More whitespace cleanups.
7139 2005-02-15  Michael Koch  <konqueror@gmx.de>
7141         * gnu/java/awt/EmbeddedWindow.java,
7142         gnu/java/awt/image/ImageDecoder.java,
7143         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7144         java/awt/DefaultKeyboardFocusManager.java,
7145         java/awt/Frame.java,
7146         java/awt/image/RGBImageFilter.java,
7147         javax/swing/AbstractButton.java,
7148         javax/swing/ActionMap.java,
7149         javax/swing/ComponentInputMap.java,
7150         javax/swing/DefaultDesktopManager.java,
7151         javax/swing/ImageIcon.java,
7152         javax/swing/InputMap.java,
7153         javax/swing/JButton.java,
7154         javax/swing/JCheckBox.java,
7155         javax/swing/JCheckBoxMenuItem.java,
7156         javax/swing/JEditorPane.java,
7157         javax/swing/JMenu.java,
7158         javax/swing/JMenuItem.java,
7159         javax/swing/JOptionPane.java,
7160         javax/swing/JRootPane.java,
7161         javax/swing/JTable.java,
7162         javax/swing/MenuSelectionManager.java,
7163         javax/swing/RepaintManager.java,
7164         javax/swing/ScrollPaneLayout.java,
7165         javax/swing/SortingFocusTraversalPolicy.java,
7166         javax/swing/UIManager.java,
7167         javax/swing/ViewportLayout.java,
7168         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7169         javax/swing/plaf/basic/BasicInternalFrameUI.java,
7170         javax/swing/plaf/basic/BasicLabelUI.java,
7171         javax/swing/plaf/basic/BasicListUI.java,
7172         javax/swing/plaf/basic/BasicMenuItemUI.java,
7173         javax/swing/plaf/basic/BasicMenuUI.java,
7174         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7175         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7176         javax/swing/plaf/basic/BasicRootPaneUI.java,
7177         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7178         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
7179         javax/swing/plaf/basic/BasicTextUI.java,
7180         javax/swing/table/TableColumnModel.java,
7181         javax/swing/text/AbstractDocument.java,
7182         javax/swing/text/EditorKit.java,
7183         javax/swing/text/Position.java,
7184         javax/swing/text/Segment.java,
7185         javax/swing/text/StyledEditorKit.java,
7186         javax/swing/text/ViewFactory.java:
7187         Cleanup whitespace differences to classpath CVS HEAD.
7189 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7191         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7192         (finalize): Call finish from here.
7193         (produce): Not from here.
7194         * Makefile.am (gtk_c_source_files):
7195         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
7196         * Makefile.in: Regenerate.
7197         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7198         (cairoSetFont):
7199         (cairoDrawGdkTextLayout):
7200         (cairoDrawString):
7201         (getPeerTextMetrics):
7202         (getPeerFontMetrics): Remove.
7203         (setFont): Don't call cairoSetFont.
7204         (cairoDrawGlyphVector): Accept font peer argument.
7205         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
7206         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7207         (ensure_metrics_cairo):
7208         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
7209         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
7210         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
7211         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
7212         (metrics_cairo):
7213         (metrics_surface): Remove.
7214         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
7215         Pass and install font peer.
7217 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7219         * Makefile.am: Create "split library" structure.
7220         * Makefile.in: Regenerate.
7222 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7224         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7225         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7226         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7227         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
7228         Release GDK lock during upcalls.
7230 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
7233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
7234         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
7235         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
7236         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
7237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
7238         * gnu/java/awt/peer/gtk/GdkFontPeer.java
7239         (getGlyphVector):
7240         (getFontMetrics):
7241         (getTextMetrics): New native methods.
7242         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
7243         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
7244         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
7245         * Makefile.in: Regenerate.
7247 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7249         * javax/swing/SwingUtilities.java:
7250         (getAccessibleAt(java.awt.Component, java.awt.Point)):
7251         Implemented and documented.
7252         (getAccessibleChild(java.awt.Component, int)): Likewise.
7253         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
7254         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
7255         (getAccessibleStateSet(java.awt.Component)): Likewise.
7257 2005-02-15  Michael Koch  <konqueror@gmx.de>
7259         * javax/swing/SwingUtilities.java
7260         (getFontMetrics): Removed.
7262 2005-02-15  Michael Koch  <konqueror@gmx.de>
7264         * java/awt/Container.java
7265         (paramString): Implemented.
7266         * javax/swing/AbstractButton.java
7267         (paramString): Implemented.
7268         * javax/swing/JComponent.java
7269         (paramString): Implemented.
7270         * javax/swing/JMenu.java
7271         (paramString): Implemented.
7272         * javax/swing/JMenuBar.java
7273         (paramString): Implemented.
7274         * javax/swing/JMenuItem.java
7275         (paramString): Implemented.
7276         * javax/swing/JPopupMenu.java
7277         (paramString): Implemented.
7279 2005-02-15  Michael Koch  <konqueror@gmx.de>
7281         * javax/swing/JMenu.java
7282         (uiClassID): Removed.
7283         (JMenu): Set invoker on popup menu.
7284         (getUIClassID): Return id directly.
7285         (getItemCount): Simply return getMenuComponentCount().
7286         Fixed javadoc.
7287         (isTopLevelMenu): Simplified.
7288         * javax/swing/JMenuItem.java
7289         (uiClassID): Removed.
7290         (getUIClassID): Return id directly.
7291         * javax/swing/JPopupMenu.java
7292         (uiClassID): Removed.
7293         (JPopupMenu): Always initialize correctly.
7294         (getSubElements): Only return components implementing MenuElement
7295         interface.
7296         (HeavyWeightPopup.hide): Removed.
7298 2005-02-15  Michael Koch  <konqueror@gmx.de>
7300         * java/awt/image/ReplicateScaleFilter.java
7301         (replicatePixels): Made private.
7302         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
7303         (DefaultRGBChooserPanel): Made package private.
7304         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
7305         (RecentSwatchPanel): Likewise.
7306         * javax/swing/event/MouseInputAdapter.java: Reformatted.
7307         (MouseInputAdapter): Made abstract.
7308         * javax/swing/tree/DefaultMutableTreeNode.java
7309         (random): Removed.
7310         (growTree): Likewise.
7312 2005-02-15  Michael Koch  <konqueror@gmx.de>
7314         * java/awt/dnd/DropTarget.java (addDropTargetListener):
7315         Clarified comments.
7317 2005-02-15  Michael Koch  <konqueror@gmx.de>
7319         * javax/swing/JComponent.java (getComponentGraphics):
7320         Removed accidently commited code.
7322 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7324         * java/awt/dnd/DropTarget.java
7325         (addDropTargetListener): Despite documentation, do not throw.
7326         * javax/swing/JComponent.java: Set a default DropTarget.
7328 2005-02-15  Michael Koch  <konqueror@gmx.de>
7330         * javax/swing/AbstractAction.java
7331         (ENABLED_PROPERTY): Removed.
7332         (setEnabled): Replaced constant with real string.
7333         * javax/swing/AbstractButton.java
7334         (createActionPropertyChangeListener.propertyChange): Likewise.
7335         * javax/swing/JComboBox.java
7336         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
7337         (EDITABLE_CHANGED_PROPERTY): Removed.
7338         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
7339         (ENABLED_CHANGED_PROPERTY):Likewise.
7340         (RENDERER_CHANGED_PROPERTY):Likewise.
7341         (EDITOR_CHANGED_PROPERTY):Likewise.
7342         (MODEL_CHANGED_PROPERTY):Likewise.
7343         (uiClassID):Likewise.
7344         (getUIClassID): Replaced constant with real string.
7345         (setModel):Likewise.
7346         (setEditable):Likewise.
7347         (setMaximumRowCount):Likewise.
7348         (setRenderer):Likewise.
7349         (setEditor):Likewise.
7350         (setEnabled):Likewise.
7351         * javax/swing/JLabel.java
7352         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
7353         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
7354         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
7355         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
7356         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
7357         (ICON_CHANGED_PROPERTY): Likewise.
7358         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
7359         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
7360         (TEXT_CHANGED_PROPERTY): Likewise.
7361         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
7362         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
7363         (setText): Replaced constant with real string.
7364         (setIcon): Likewise.
7365         (setDisabledIcon): Likewise.
7366         (setDisplayedMnemonic): Likewise.
7367         (setIconTextGap): Likewise.
7368         (setVerticalAlignment): Likewise.
7369         (setHorizontalAlignment): Likewise.
7370         (setVerticalTextPosition): Likewise.
7371         (setHorizontalTextPosition): Likewise.
7372         (setLabelFor): Replaced constant with real string.
7373         Fire property change event after property got changed.
7374         * javax/swing/JList.java
7375         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
7376         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
7377         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
7378         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
7379         (MODEL_PROPERTY_CHANGED): Likewise.
7380         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
7381         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
7382         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
7383         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
7384         (setFixedCellWidth): Reimplemented.
7385         (setFixedCellHeight): Exit if new value is identical.
7386         Replaced constant with real string.
7387         (setSelectionBackground): Likewise.
7388         (setSelectionForeground): Likewise.
7389         (setPrototypeCellValue): Likewise.
7390         (setCellRenderer): Replaced constant with real string.
7391         (setModel): Likewise.
7392         (setSelectionModel): Likewise.
7393         * javax/swing/JMenuBar.java
7394         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
7395         (MODEL_CHANGED_PROPERTY): Likewise.
7396         (MARGIN_CHANGED_PROPERTY): Likewise.
7397         (setBorderPainted): Reimplemented.
7398         (setMargin): Likewise.
7399         (setSelectionModel): Replaced constant with real string.
7400         * javax/swing/JPopupMenu.java
7401         (LABEL_CHANGED_PROPERTY): Removed.
7402         (VISIBLE_CHANGED_PROPERTY): Likewise.
7403         (borderPainted): Likewise.
7404         (setLabel): Replaced constant with real string.
7405         (setVisible): Exit if new value is identical.
7406         Replaced constant with real string.
7407         * javax/swing/JProgressBar.java
7408         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
7409         (ORIENTATION_CHANGED_PROPERTY): Likewise.
7410         (STRING_CHANGED_PROPERTY): Likewise.
7411         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
7412         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
7413         (setOrientation): Replaced constant with real string.
7414         (setStringPainted): Likewise.
7415         (setString): Likewise.
7416         (setBorderPainted): Likewise.
7417         (setIndeterminate): Likewise.
7418         * javax/swing/JScrollBar.java
7419         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
7420         (MODEL_CHANGED_PROPERTY): Likewise.
7421         (ORIENTATION_CHANGED_PROPERTY): Likewise.
7422         (setOrientation): Replaced constant with real string.
7423         (setModel): Likewise.
7424         (setUnitIncrement): Likewise.
7425         (setBlockIncrement): Likewise.
7426         * javax/swing/JScrollPane.java
7427         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
7428         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
7429         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
7430         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
7431         (LAYOUT_CHANGED_PROPERTY): Likewise.
7432         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
7433         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
7434         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
7435         (VIEWPORT_CHANGED_PROPERTY): Likewise.
7436         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
7437         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
7438         (setComponentOrientation): Replaced constant with real string.
7439         (setColumnHeader): Likewise.
7440         (setHorizontalScrollBar): Likewise.
7441         (setHorizontalScrollBarPolicy): Likewise.
7442         (setRowHeader): Likewise.
7443         (setVerticalScrollBar): Likewise.
7444         (setVerticalScrollBarPolicy): Likewise.
7445         (setWheelScrollingEnabled): Likewise.
7446         (setViewport): Likewise.
7447         (setViewportBorder): Likewise.
7448         * javax/swing/JSlider.java
7449         (INVERTED_CHANGED_PROPERTY): Removed.
7450         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
7451         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
7452         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
7453         (MODEL_CHANGED_PROPERTY): Likewise.
7454         (ORIENTATION_CHANGED_PROPERTY): Likewise.
7455         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
7456         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
7457         (setModel): Replaced constant with real string.
7458         (setOrientation): Likewise.
7459         (setLabelTable): Likewise.
7460         (setInverted): Likewise.
7461         (setMajorTickSpacing): Likewise.
7462         (setMinorTickSpacing): Likewise.
7463         (setPaintTicks): Likewise.
7464         (setPaintLabels): Likewise.
7465         * javax/swing/JTabbedPane.java
7466         (MODEL_CHANGED_PROPERTY): Removed.
7467         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
7468         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
7469         (setModel): Replaced constant with real string.
7470         (setTabPlacement): Likewise.
7471         (setTabLayoutPolicy): Likewise.
7472         * javax/swing/JToolBar.java
7473         (ORIENTATION_CHANGED_PROPERTY): Removed.
7474         (FLOATABLE_CHANGED_PROPERTY): Likewise.
7475         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
7476         (MARGIN_CHANGED_PROPERTY): Likewise.
7477         (ROLLOVER_CHANGED_PROPERTY): Likewise.
7478         (setRollover): Replaced constant with real string.
7479         (setMargin): Likewise.
7480         (setBorderPainted): Likewise.
7481         (setFloatable): Likewise.
7482         (setOrientation): Likewise.
7483         * javax/swing/plaf/basic/BasicComboBoxUI.java
7484         (PropertyChangeHandler.propertyChange): Likewise.
7485         * javax/swing/plaf/basic/BasicComboPopup.java
7486         (PropertyChangeHandler.propertyChange): Likewise.
7487         * javax/swing/plaf/basic/BasicMenuBarUI.java
7488         (PropertyChangeHandler.propertyChange): Likewise.
7489         * javax/swing/plaf/basic/BasicProgressBarUI.java
7490         (PropertyChangeHandler.propertyChange): Likewise.
7491         * javax/swing/plaf/basic/BasicScrollBarUI.java
7492         (PropertyChangeHandler.propertyChange): Likewise.
7493         * javax/swing/plaf/basic/BasicSliderUI.java
7494         (PropertyChangeHandler.propertyChange): Likewise.
7495         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7496         (PropertyChangeHandler.propertyChange): Likewise.
7497         * javax/swing/plaf/basic/BasicToolBarUI.java
7498         (PropertyChangeHandler.propertyChange): Likewise.
7500 2005-02-15  Michael Koch  <konqueror@gmx.de>
7502         * javax/swing/DefaultButtonModel.java
7503         (changeState): Made private.
7504         * javax/swing/DefaultDesktopManager.java
7505         (setWasIcon): Fixed second argument to be java.lang.Boolean.
7506         * javax/swing/JLayeredPane.java
7507         (layerToRange): Made private.
7508         (incrLayer): Likewise.
7509         (decrLayer): Likewise.
7510         * javax/swing/JTable.java
7511         (dragEnabled): Likewise.
7512         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
7513         * javax/swing/KeyStroke.java
7514         (Keystroke): Made private.
7515         * javax/swing/TransferHandler.java
7516         (COMMAND_COPY): Likewise.
7517         (COMMAND_CUT): Likewise.
7518         (COMMAND_PASTE): Likewise.
7520 2005-02-15  Michael Koch  <konqueror@gmx.de>
7522         * javax/swing/JTextField.java
7523         (postActionEvent): Use text in field when actionCommand is null.
7524         (getActionCommand): Removed.
7526 2005-02-15  Michael Koch  <konqueror@gmx.de>
7528         * javax/swing/AbstractSet.java: Removed.
7529         * Makefile.am: Removed javax/swing/AbstractSet.java.
7530         * Makefile.in: Regenerated.
7532 2005-02-15  Michael Koch  <konqueror@gmx.de>
7534         * java/awt/Window.java
7535         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
7536         * java/awt/dnd/DnDConstants.java
7537         (DnDConstants): New private constructor.
7539 2005-02-15  Michael Koch  <konqueror@gmx.de>
7541         * javax/swing/DefaultCellRenderer.java: Removed.
7542         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
7543         * Makefile.in: Regenerated.
7545 2005-02-15  Michael Koch  <konqueror@gmx.de>
7547         * javax/swing/AbstractButton.java
7548         (fireItemStateChanged): Made protected.
7549         (fireActionPerformed): Likewise.
7550         (fireStateChanged): Likewise.
7551         * javax/swing/DefaultButtonModel.java
7552         (fireItemStateChanged): Likewise.
7553         (fireActionPerformed): Likewise.
7554         (fireStateChanged): Likewise.
7555         * javax/swing/JApplet.java
7556         (JApplet): Removed.
7557         (frameInit): Likewise.
7558         (setRootPane): Made protected.
7559         (createRootPane): Likewise.
7560         * javax/swing/JComponent.java
7561         (getClientProperty): Likewise.
7562         (putClientProperty): Likewise.
7563         * javax/swing/JEditorPane.java
7564         (getContentType): Likewise.
7565         (setContentType): Likewise.
7566         * javax/swing/JFrame.java
7567         (setRootPane): Likewise.
7568         (createRootPane): Likewise.
7569         * javax/swing/JInternalFrame.java
7570         (getFocusCycleRootAncestor): Made final. Added @since tag.
7571         (isFocusCycleRoot): Likewise.
7572         (getWarningString): Made final.
7573         * javax/swing/JScrollBar.java
7574         (changeListener): Removed.
7575         (changeEvent): Likewise.
7576         (createChangeListener): Likewise.
7577         (fireStateChanged): Likewise.
7578         (addChangeListener): Likewise.
7579         (removeChangeListener): Likewise.
7580         (getChangeListeners): Likewise.
7581         * javax/swing/JScrollPane.java
7582         (createViewport): Made protected.
7583         * javax/swing/JViewport.java
7584         (addImpl): Likewise.
7585         (setBorder): New method.
7586         * javax/swing/JWindow.java
7587         (setRootPane): Made protected.
7588         (createRootPane): Likewise.
7589         * javax/swing/plaf/basic/BasicButtonUI.java
7590         (installListeners): Likewise.
7591         (uninstallListeners): Likewise.
7592         * javax/swing/plaf/basic/BasicProgressBarUI.java
7593         (incrementAnimationIndex): Likewise.
7594         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7595         (createLayoutManager): Likewise.
7596         * javax/swing/table/DefaultTableCellRenderer.java
7597         (firePropertyChange): Likewise.
7598         * javax/swing/table/JTableHeader.java
7599         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
7600         New constructor.
7601         * javax/swing/text/PlainDocument.java
7602         (reindex): Made private.
7603         * javax/swing/text/PlainView.java
7604         (drawLine): Made protected.
7605         (getTabSize): Likewise.
7606         * javax/swing/text/View.java
7607         (setSize): Removed.
7608         (preferenceChanged): New method.
7609         (getBreakWeight): Likewise.
7610         (breakView): Likewise.
7611         (getViewIndex): Likewise.
7613 2005-02-15  Michael Koch  <konqueror@gmx.de>
7615         * javax/swing/JScrollPane.java
7616         (ScrollBar): Made class protected.
7617         * javax/swing/JSpinner.java
7618         (JSpinner): Added @since tag.
7619         (listenerList): Removed.
7620         * javax/swing/JTable.java
7621         (setValueAt): New method.
7622         (getColumn): Likewise.
7623         * javax/swing/JWindow.java
7624         (rootPaneCheckingEnabled): Renamed from checking.
7626 2005-02-15  Michael Koch  <konqueror@gmx.de>
7628         * javax/swing/plaf/basic/BasicTextUI.java
7629         (RootView.modelToView): Made it public and return a java.awt.Shape.
7630         Handle null subview.
7631         (uninstall): Set textComponent to null when its not possible used
7632         anymore.
7633         * javax/swing/text/View.java
7634         (setParent): Use better argument name.
7635         (getContainer): Get parent via getParent().
7636         (getViewFactory): Likewise.
7637         (getAttributes): Get element via getElement().
7638         (getStartOffset): Likewise.
7639         (getEndOffset): Likewise.
7640         (getResizeWeight): New method.
7641         (getMaximumSpan): Likewise.
7642         (getMinimumSpan): Likewise.
7643         (setSize): Likewise.
7644         (getGraphics): Likewise.
7646 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7648         * java/awt/Checkbox.java:
7649         (AccessibleAWTCheckbox()): Added public constructor
7650         to call superclass.
7651         * java/awt/Choice.java:
7652         (AccessibleAWTChoice): Added class documentation.
7653         (AccessibleAWTChoice()): Added public constructor
7654         to call superclass.
7655         (AccessibleAWTChoice.getAccessibleAction()): Documented.
7656         (AccessibleAWTChoice.getAccessibleRole()): Documented,
7657         and changed role to COMBO_BOX.
7658         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
7659         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
7660         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
7662 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7663             Michael Koch  <konqueror@gmx.de>
7665         * javax/swing/LayoutFocusTraversalPolicy.java,
7666         javax/swing/SortingFocusTraversalPolicy.java:
7667         New classes.
7668         * Makefile.am: Added new classes.
7669         * Makefike.in: Regenerated.
7672 2005-02-15  Michael Koch  <konqueror@gmx.de>
7674         * javax/swing/DebugGraphics.java: Mostly implemented.
7676 2005-02-15  Michael Koch  <konqueror@gmx.de>
7678         * javax/swing/SwingUtilities.java
7679         (findFocusOwner): New method.
7681 2005-02-15  Michael Koch  <konqueror@gmx.de>
7683         * javax/swing/text/DefaultEditorKit.java
7684         (read): Added '\n' after each line.
7685         * javax/swing/text/PlainView.java
7686         (modelToView): Update metrics.
7687         (drawLine): Use offsets from element.
7688         (paint): Update metrics. Draw all lines.
7690 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7692         * java/awt/Checkbox.java:
7693         (AccessibleAWTCheckbox): Added class documentation
7694         * java/awt/Scrollbar.java:
7695         (AccessibleAWTScrollBar): typo corrected and docs added
7696         (AccessibleAWTScrollBar.getAccessibleRole()): documented
7697         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
7698         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
7699         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
7700         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
7701         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
7702         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
7703         (getAccessibleContext()): name of accessible class corrected
7705 2005-02-15  Mark Wielaard  <mark@klomp.org>
7707         * java/awt/BasicStroke.java (hashCode): Implement.
7708         (equals): Document.
7710 2005-02-15  Michael Koch  <konqueror@gmx.de>
7712         * java/awt/print/PrinterJob.java
7713         (pageDialog): Throws java.awt.HeadlessException.
7714         (printDialog): Likewise.
7716 2005-02-15  Mark Wielaard  <mark@klomp.org>
7718         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
7720 2005-02-15  Michael Koch  <konqueror@gmx.de>
7722         * javax/swing/JTable.java
7723         (getValueAt): New method.
7724         * javax/swing/table/JTableHeader.java
7725         (columnAtPoint): New method.
7727 2005-02-15  Michael Koch  <konqueror@gmx.de>
7729         * javax/swing/JTextField.java
7730         (actions): New field.
7731         (static): Initalize actions field.
7732         (getActions): New method.
7734 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7736         * java/awt/Checkbox.java:
7737         (AccessibleAWTCheckbox): name capitalization corrected
7738         and serialization UID added.
7739         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
7740         documented.
7741         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
7742         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
7743         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
7744         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
7745         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
7746         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
7747         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
7748         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
7749         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
7750         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
7751         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
7752         documented
7753         (getAccessibleContext()): name of accessible class corrected
7755 2005-02-15  Sven de Marothy  <sven@physto.se>
7757         * java/awt/geom/doc-files/Area-1.png,
7758         java/awt/geom/doc-files/Ellipse-1.png,
7759         java/awt/geom/doc-files/GeneralPath-1.png:
7760         New files.
7762 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7764         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
7765         Use union to avoid type-punning warning.
7767 2005-02-15  Michael Koch  <konqueror@gmx.de>
7769         * javax/swing/DefaultListSelectionModel.java
7770         (clone): New method.
7772 2005-02-15  Mark Wielaard  <mark@klomp.org>
7774         Reported by Martin Platter <motse@complang.tuwien.ac.at>
7775         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7776         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
7777         Correct method signature of gtkSetFilename.
7779 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
7781         * javax/swing/text/StringContent.java: New file.
7783 2005-02-15  Michael Koch  <konqueror@gmx.de>
7785         * Makefile.am: Added javax/swing/text/StringContent.java.
7786         * Makefile.in: Regenerated.
7788 2005-02-15  Michael Koch  <konqueror@gmx.de>
7790         * gnu/java/awt/ClasspathToolkit.java:
7791         Import statements reworked.
7792         (imageCache): Made it of type java.util.HashMap.
7794 2005-02-15  Michael Koch  <konqueror@gmx.de>
7796         * javax/imageio/stream/MemoryCacheImageInputStream.java:
7797         Reworked import statements.
7799 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7801         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
7802         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
7804         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
7806         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7807         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
7808         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
7809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7810         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7812         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7813         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
7814         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
7815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
7817         Rewrite uses of extern variable to be function calls.
7818         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
7819         function, from extern variable.
7820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7821         (gdk_env): Remove variable, add new function.
7822         (java_vm): Add new variable.
7823         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
7824         java_vm rather than old gdk_env variable.
7826 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
7828         * javax/swing/DefaultListModel.java
7829         (add): fire correct event,
7830         (addElement): corrected interval indices in event,
7831         (clear): corrected upper bound for interval, only fire event if
7832         list is not empty,
7833         (setSize): fire appropriate event.
7835 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7837         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
7838         * gnu/awt/xlib/XToolkit.java: Likewise.
7839         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
7840         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
7841         * gnu/java/awt/ClasspathToolkit.java: Likewise.
7842         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
7843         * java/awt/EventQueue.java (getNextEvent):
7844         Adjust event loop to switch to native mode after 100ms.
7845         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
7846         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
7847         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
7848         Wake up event thread.
7849         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7850         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
7851         Adjust event loop to switch to java mode after 100ms.
7853 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7855         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
7856         accidentally removed in last change.
7858 2005-02-15  Michael Koch  <konqueror@gmx.de>
7860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7861         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
7863 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7865         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7866         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7867         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7868         * jni.cc: Reuse bottom frame between calls, avoid clearing
7869         frame when no local references are made.
7871 2005-02-15  Michael Koch  <konqueror@gmx.de>
7873         * javax/swing/UIDefaults.java (UIDefaults):
7874         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
7875         Fixed HTML entity and removed a redundant comma.
7877 2005-02-15  Michael Koch  <konqueror@gmx.de>
7879         * javax/swing/text/DefaultEditorKit.java
7880         (deinstall): Removed.
7881         (install): Likewise.
7883 2005-02-15  Michael Koch  <konqueror@gmx.de>
7885         * javax/swing/UIDefaults.java (put): Handle value of null.
7887 2005-02-15  Michael Koch  <konqueror@gmx.de>
7889         * java/awt/Robot.java,
7890         java/awt/Scrollbar.java,
7891         java/awt/print/PrinterJob.java,
7892         javax/swing/JTable.java,
7893         javax/swing/text/AbstractDocument.java:
7894         Reworked import statements.
7896 2005-02-15  Michael Koch  <konqueror@gmx.de>
7898         * javax/swing/JEditorPane.java
7899         (read): Implemented.
7900         (write): Likewise.
7901         * javax/swing/text/DefaultEditorKit.java
7902         (page): Renamed from page_url. Made private.
7903         (editorKit): Renamed from kit. Made private.
7904         (ctype): Removed.
7905         (JEditorPane): All constructors reimplemented.
7906         (getContentType): Use content type from editor kit.
7907         (getEditorKit): Return editorKit.
7908         (getEditorKitForContentType):Likewise.
7909         (getPage): Return page.
7910         (setContentType): Reimplemented.
7911         (setEditorKit): Likewise.
7912         (setEditorKitForContentType): Removed wrong implementation.
7913         (setPage): Implemented.
7915 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7917         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
7918         (nativeSetIconImageFromData): Re-add native implementation.
7920 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
7922         * javax/swing/table/DefaultTableModel.java
7923         (DefaultTableModel()): Added Javadocs.
7924         (DefaultTableModel(int, int)): Fixed implementation.
7925         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
7926         for negative rowCount.
7927         (DefaultTableModel(Object[], int)): Added Javadocs.
7928         (DefaultTableModel(Vector, Vector)): Likewise.
7929         (DefaultTableModel(Object[][], Object[])): Likewise.
7930         (getDataVector): Likewise.
7931         (setDataVector(Vector, Vector)): Likewise.
7932         (setDataVector(Object[][], Object[])): Likewise.
7933         (newDataAvailable): Likewise.
7934         (newRowsAdded): Likewise.
7935         (rowsRemoved): Likewise.
7936         (setColumnIdentifiers(Vector)): Allow for null argument.
7937         (setColumnIdentifiers(Object[])): Added Javadocs.
7938         (setNumRows): Likewise.
7939         (setRowCount): Adds new rows if necessary, and sends more specific
7940         TableModelEvent.
7941         (setColumnCount): Allow for null columnIdentifiers.
7942         (addColumn(Object)): Added Javadocs.
7943         (addColumn(Object, Vector)): Handle null columnData.
7944         (addColumn(Object, Object[])): Handle columnData with more or less
7945         entries than rows in the table.
7946         (addRow(Vector)): Fire appropriate event.
7947         (addRow(Object[])): Added Javadocs.
7948         (insertRow(int, Vector)): Fire appropriate event.
7949         (insertRow(int, Object[])): Added Javadocs.
7950         (moveRow): Reimplemented.
7951         (removeRow(int)): Fire appropriate event.
7952         (getColumnCount): Allow for null columnIdentifiers.
7953         (getColumnName): Now returns empty string when column index is too
7954         large.
7955         (isCellEditable): Added Javadocs.
7956         (getValueAt): Likewise.
7957         (setValueAt): Fire more specific event.
7958         (convertToVector): Added Javadocs.
7959         * javax/swing/table/TableModel.java
7960         Added Javadocs.
7962 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7964         * libgcj.spec.in (lib): Add -l-javax-imageio.
7966 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7968         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
7969         references to event queue q with method call q().
7970         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
7971         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
7972         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
7973         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
7974         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
7975         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
7976         (q): New method.
7978 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7980         * gnu/java/awt/ClasspathToolkit.java
7981         (registerImageIOSpis): New method.
7982         * gnu/java/awt/image/ImageDecoder.java
7983         (imageDecoder): New constructor using InputStream
7984         (startProduction): Handle existing InputStream.
7985         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7986         (findSimpleIntegerArray): Make public and static.
7987         (updateBufferedImage): Set each pixel, in a loop.
7988         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7989         Implement ImageIO SPI classes.
7990         (createBufferedImage): Rewrite in terms of SPI classes.
7991         * gnu/java/awt/peer/gtk/GtkToolkit.java
7992         (registerImageIOSpis): New method.
7993         * java/lang/reflect/natMethod.cc
7994         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
7995         which lets JNI call interface methods properly.
7996         * javax/imageio/ImageIO.java
7997         (WriterFormatFilter.filter): Fix copy-and-paste typos.
7998         (WriterMIMETypeFilter.filter): Likewise.
7999         (ImageReaderIterator): Pass extension argument through to SPI.
8000         (getReadersByFilter): Likewise.
8001         (getWritersByFilter): Likewise.
8002         (getImageReadersByFormatName): Likewise.
8003         (getImageReadersByMIMEType): Likewise.
8004         (getImageReadersBySuffix): Likewise.
8005         (getImageWritersByFormatName): Likewise.
8006         (getImageWritersByMIMEType): Likewise.
8007         (getImageWritersBySuffix): Likewise.
8008         (read): Implement.
8009         (write): Implement.
8010         * javax/imageio/ImageReader.java
8011         (progressListeners): Initialize.
8012         (setInput): Implement.
8013         * javax/imageio/ImageWriter.java
8014         (progressListeners): Initialize.
8015         (warningListeners): Likewise.
8016         (warningLocales): Likewise.
8017         (setOutput): Test "isInstance" rather than class equality.
8018         * javax/imageio/spi/IIORegistry.java
8019         (static): Add reader and writer SPIs.
8020         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
8021         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8022         (query_formats): New function.
8023         (save_to_stream): Likewise.
8024         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
8026 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8028         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
8029         Call XFlush.
8030         (keyPress): Likewise.
8031         (keyRelease): Likewise.
8033 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
8035         * javax/swing/JTable.java
8036         (columnAtPoint): New Method. Implemented.
8037         (rowAtPoint): Likewise.
8038         (countSelections): Fixed few small count errors.
8039         (getSelections): Likewise.
8040         (setSelectionMode): Set selection mode for column
8041         selection model in addition to row selection model.
8042         * javax/swing/plaf/basic/BasicTableUI.java:
8043         (getRowForPoint): Removed. Replaced by
8044         JTable.rowAtPoint().
8045         (getColForPoint): Removed. Replaced by
8046         JTable.columnAtPoint().
8047         (updateSelection): Updated to call JTable.columnAtPoint
8048         and JTable.rowAtPoint.
8049         * javax/swing/table/DefaultTableColumnModel.java:
8050         (getSelectedColumns): Implemented.
8051         (getSelectedColumnCount): Implemented.
8053 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8055         * Makefile.am
8056         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
8057         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
8058         * Makefile.in: Regenerate.
8059         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
8060         * gnu/awt/xlib/XFramePeer.java: Likewise.
8061         * gnu/awt/xlib/XToolkit.java: Likewise.
8062         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
8063         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
8064         * gnu/java/awt/ClasspathToolkit.java
8065         (nativeQueueEmpty)
8066         (wakeNativeQueue)
8067         (iterateNativeQueue): New methods.
8068         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
8069         * gnu/java/awt/peer/gtk/GtkToolkit.java
8070         (gtkInit): Absorb from defunct GtkMainThread class.
8071         (static): Run gtkInit in static startup block.
8072         (GtkToolkit): Remove construction of GtkMainThread and queue.
8073         (getSystemEventQueueImpl): Construct queue when requested.
8074         (nativeQueueEmpty)
8075         (wakeNativeQueue)
8076         (iterateNativeQueue): New methods.
8077         * java/awt/Component.java (removeNotify): Remove race.
8078         * java/awt/EventDispatchThread.java
8079         (EventDispatchThread): Don't start on construction.
8080         (run): Remove isInterrupted check.
8081         * java/awt/EventQueue.java (shutdown): New flag.
8082         (isShutdown): New method checking J2SE shutdown condition.
8083         (setShutdown): New method.
8084         (getNextEvent): Restructure to use ClasspathToolkit.
8085         (postEvent): Activate new thread on posting, wake thread on
8086         post of possible shutdown condition event.
8087         * java/awt/Frame.java
8088         (Frame): Call noteFrame in all constructors.
8089         (fireDummyEvent): New helper method.
8090         (addNotify): Fire a dummy event to wake up queue.
8091         (removeNotify): Fire a dummy event to wake up queue.
8092         (noteFrame): New method.
8093         (weakFrames): New static field.
8094         (getFrames): Implement.
8095         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
8096         Remove.
8097         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
8098         Move everything from GtkMainThread into this file
8099         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
8100         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
8101         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
8102         New functions to implement single-threaded queue semantics.
8104 2005-02-15  Michael Koch  <konqueror@gmx.de>
8106         * javax/swing/plaf/metal/MetalLookAndFeel.java
8107         (getControlTextFont): New method.
8108         (getMenuTextFont): Likewise.
8109         (getSubTextFont): Likewise.
8110         (getSystemTextFont): Likewise.
8111         (getUserTextFont): Likewise.
8112         (getWindowTitleFont): Likewise.
8114 2005-02-15  Michael Koch  <konqueror@gmx.de>
8116         * javax/swing/text/AbstractDocument.java
8117         (documentFilter): New field.
8118         (getDocumentFilter): New method.
8119         (setDocumentFilter): Likewise.
8120         (dump): Likewise.
8122 2005-02-15  Michael Koch  <konqueror@gmx.de>
8124         * javax/swing/JTree.java
8125         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
8127 2005-02-15  Michael Koch  <konqueror@gmx.de>
8129         * javax/swing/text/AbstractDocument.java
8130         (AbstractElement.getLength): Fixed off-by-one error.
8131         (AbstractElement.children): Made abstract.
8132         (AbstractElement.getAllowsChildren): Likewise.
8133         (AbstractElement.getElement): Likewise.
8134         (AbstractElement.dumpElement): New private method.
8135         (AbstractElement.dump): New method.
8136         (BranchElememt.getName): Fixed implementation.
8137         (BranchElememt.toString): Likewise.
8138         (BranchElememt.getElement): Fixed arguments.
8139         (LeafElement.getName): Fixed implementation.
8140         (LeafElement.toString): Likewise.
8141         * javax/swing/text/GapContent.java
8142         (GapContent): Put default content into buffer.
8143         * javax/swing/text/PlainDocument.java
8144         (reindex): Use empty attribute sets instead of null.
8145         (createDefaultRoot): Reimplemented.
8146         (insertUpdate): Call super method.
8147         (removeUpdate): Likewise.
8148         (getParagraphElement): Implemented.
8150 2005-02-15  Michael Koch  <konqueror@gmx.de>
8152         * gnu/java/awt/ClasspathToolkit.java
8153         (createRobot): Throws java.awt.AWTException.
8154         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
8155         Added '__attribute__((unused))' to all unused method arguments.
8157 2005-02-15  Michael Koch  <konqueror@gmx.de>
8159         * javax/swing/DefaultBoundedRangeModel.java
8160         (fireValueChanged): Fixed off-by-one error.
8162 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8164         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
8165         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
8166         GdkRobotPeer.java.
8167         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
8168         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
8169         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
8170         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
8171         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8172         (getDefaultScreenDevice): Implement.
8173         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
8174         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
8175         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
8176         * java/awt/Robot.java: Implement.
8177         * java/awt/peer/RobotPeer.java: Rename parameters.
8178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
8179         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8180         (awt_keycode_to_keysym): Make non-static.
8181         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
8182         AWT_BUTTON3_MASK): Declare constants.
8183         (awt_keycode_to_keysym): Declare.
8185         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
8186         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
8187         and is non-empty pass its value to "make check".
8188         (test_mauve_sim): Likewise.
8190 2005-02-15  Michael Koch  <konqueror@gmx.de>
8192         * javax/imageio/IIOParam.java
8193         (setSourceBands): New method.
8194         (setSourceSubsampling): Likewise.
8195         * javax/imageio/ImageReadParam.java
8196         (setDestination): Likewise.
8197         (setDestinationBands): Likewise.
8198         (setSourceProgressivePasses): Likewise.
8199         * javax/imageio/metadata/IIOInvalidTreeException.java
8200         (serialVersionUID): New static field.
8201         * javax/imageio/metadata/IIOMetadataNode.java
8202         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
8203         (parent): Dont initailize with default value explicitely.
8204         (Object): Likewise.
8205         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
8206         (removeAttributeNode): Likewise.
8207         (removeAttributeNS): Likewise.
8208         (setAttribute): Likewise.
8209         (setAttributeNode): Likewise.
8210         (setAttributeNodeNS): Likewise.
8211         (setAttributeNS): Likewise.
8212         (appendChild): Likewise.
8213         (getNodeValue): Likewise.
8214         (insertBefore): Likewise.
8215         (removeChild): Likewise.
8216         (replaceChild): Likewise.
8217         (setPrefix): Likewise.
8219 2005-02-15  Michael Koch  <konqueror@gmx.de>
8221         * javax/swing/LookAndFeel.java
8222         (getDesktopPropertyValue): New method.
8224 2005-02-15  Michael Koch  <konqueror@gmx.de>
8226         * javax/swing/JTree.java
8227         (hasChildren): New instance field.
8229 2005-02-15  Michael Koch  <konqueror@gmx.de>
8231         * javax/swing/JComponent.java
8232         (getToolTipText): New method.
8233         (getTitledBorderText): Likewise.
8234         (getAccessibleKeyBinding): Likewise.
8235         (getVerifyInputWhenFocusTarget): Likewise.
8236         (setVerifyInputWhenFocusTarget): Likewise.
8237         (verifyInputWhenFocusTarget): New instance field.
8239 2005-02-15  Michael Koch  <konqueror@gmx.de>
8241         * javax/swing/DefaultListSelectionModel.java
8242         (fireValueChanged): New method.
8244 2005-02-15  Michael Koch  <konqueror@gmx.de>
8246         * javax/swing/DefaultBoundedRangeModel.java:
8247         Fixed javadocs all over.
8248         (fireStateChanged): Simplified.
8249         * javax/swing/BoundedRangeModel.java:
8250         Reformatted.
8252 2005-02-15  Michael Koch  <konqueror@gmx.de>
8254         * javax/swing/JRootPane.java
8255         (setMenuBar): Added @deprecated tag.
8256         (getMenuBar): Likewise.
8257         * javax/swing/JTable.java
8258         (sizeColumnsToFit): Likewise.
8260 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
8262         * javax/swing/ImageIcon.java (setImage): Implemented.
8264 2005-02-15  Michael Koch  <konqueror@gmx.de>
8266         * javax/swing/JTable.java:
8267         Removed unused imports.
8269 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
8271         (prepareRenderer): Get column's index in dataModel instead
8272         of column's view index.
8273         (getColumnCount): return count of the columns in ColumnModel,
8274         not in dataModel.
8275         (removeColumn): Implemented.
8276         (moveColumm): Likewise.
8277         (setRowHeight): throw IllegalArgumentException if height is
8278         less then 1.
8279         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
8280         (DefaultTableColumnModel):Add call to createSelectionModel().
8281         (addColumn): Fire columnAdded event to registered listeners.
8282         (removeColumn): Fire columnRemoved event to registered listeners.
8283         (moveColumn): Fire columnMoved event to registered listeners.
8284         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
8285         (getColumnIndex): Changed parameter name.
8286         (setColumnSelectionAllowed): Likewise.
8287         (fireColumnAdded): Implemented.
8288         (fireColumnRemoved): Likewise.
8289         (fireColumnMoved): Likewise.
8290         (fireColumnMarginChanged): Likewise.
8291         (getListeners): Changed parameter name.
8292         (propertyChange): Implemented.
8293         (valueChanged): Changed parameter name.
8294         (createSelectionModel): Implemented.
8296 2005-02-15  Michael Koch  <konqueror@gmx.de>
8298         * gnu/java/awt/peer/gtk/GtkToolkit.java:
8299         Explicitely import used classes.
8300         (getLocalGraphicsEnvironment): Simplify.
8301         * java/awt/Window.java (Window):
8302         Enable code to get the default GraphicsConfiguration.
8304 2005-02-15  Michael Koch  <konqueror@gmx.de>
8306         * javax/swing/plaf/metal/DefaultMetalTheme.java
8307         (CONTROL_TEXT_FONT): New static field.
8308         (MENU_TEXT_FONT): Likewise.
8309         (SUB_TEXT_FONT): Likewise.
8310         (SYSTEM_TEXT_FONT): Likewise.
8311         (USER_TEXT_FONT): Likewise.
8312         (WINDOW_TITLE_FONT): Likewise.
8313         (getControlTextFont): New method.
8314         (getMenuTextFont): Likewise.
8315         (getSubTextFont): Likewise.
8316         (getSystemTextFont): Likewise.
8317         (getUserTextFont): Likewise.
8318         (getWindowTitleFont): Likewise.
8319         * javax/swing/plaf/metal/MetalTheme.java
8320         (BLACK): Initialize with Color.BLACK.
8321         (WHITE): Initialize with Color.WHITE.
8322         (getInactiveControlTextColor): Return getControlDisabled().
8323         (getMenuDisabledForeground): Return getSecondary3().
8324         (getControlTextFont): New abstract method.
8325         (getMenuTextFont): Likewise.
8326         (getSubTextFont): Likewise.
8327         (getSystemTextFont): Likewise.
8328         (getUserTextFont): Likewise.
8329         (getWindowTitleFont): Likewise.
8331 2005-02-15  Michael Koch  <konqueror@gmx.de>
8333         * javax/swing/JFormattedTextField.java
8334         (getFocusLostBehavior): Fixed typo in method name.
8335         (setFocusLostBehavior): Likewise.
8337 2005-02-15  Michael Koch  <konqueror@gmx.de>
8339         * javax/swing/TransferHandler.java:
8340         Reworked import statements.
8342 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8344         * java/awt/Button.java,
8345         java/awt/Canvas.java,
8346         java/awt/Checkbox.java,
8347         java/awt/CheckboxMenuItem.java,
8348         java/awt/Choice.java,
8349         java/awt/Dialog.java,
8350         java/awt/Frame.java,
8351         java/awt/Label.java,
8352         java/awt/List.java,
8353         java/awt/Menu.java,
8354         java/awt/MenuBar.java,
8355         java/awt/MenuItem.java,
8356         java/awt/PopupMenu.java,
8357         java/awt/ScrollPane.java,
8358         java/awt/Scrollbar.java,
8359         java/awt/TextArea.java,
8360         java/awt/Window.java (getAccessibleContext): Clean up comments.
8361         Reformat.
8362         * java/awt/Button.java,
8363         java/awt/Checkbox.java,
8364         java/awt/Choice.java,
8365         java/awt/Menu.java,
8366         java/awt/PopupMenu.java,
8367         java/awt/TextArea.java (getAccessibleContext): Only create new
8368         accessible once.
8369         * java/awt/TextComponent.java (getAccessibleContext): Implement.
8371 2005-02-15  Michael Koch  <konqueror@gmx.de>
8373         * java/awt/Button.java,
8374         javax/swing/JApplet.java,
8375         javax/swing/JFormattedTextField.java,
8376         javax/swing/JWindow.java,
8377         javax/swing/JTree.java,
8378         javax/swing/plaf/basic/BasicEditorPaneUI.java,
8379         javax/swing/plaf/basic/BasicTextPaneUI.java,
8380         javax/swing/plaf/basic/BasicTreeUI.java:
8381         Reworked import statements.
8383 2005-02-15  Michael Koch  <konqueror@gmx.de>
8385         * Makefile.am: Put javax.imageio into its own library and link it
8386         against lib-org-w3c-dom.la to fix bootstrapping.
8387         * Makefile.in: Regenerated.
8389 2005-02-15  Michael Koch  <konqueror@gmx.de>
8391         * javax/swing/text/TextAction.java
8392         (getTextComponent): Simplified. Added Javadoc.
8393         (augmentList): Implemented. Added Javadoc.
8394         (getFocusedComponent): Added javadoc.
8396 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8398         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
8399         getAccessibleContext): Implement.
8400         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
8401         getAccessibleContext): Implement.
8403 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8405         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
8406         Implement.
8407         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
8408         Implement.
8409         * java/awt/Window.java (getAccessibleContext): Fix comment.
8410         Remove extra import.
8412 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8414         * java/awt/Window.java (AccessibleAWTWindow): Implement.
8415         (isActive, isFocused, getAccessibleContext): Implement.
8417 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8419         * java/awt/MenuItem.java (getAccessibleContext): Implement.
8420         * java/awt/MenuComponent.java (accessibleContext): Make package
8421         visible.
8422         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
8423         AccessibleAWTCheckboxMenuItem): Implement.
8425 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8427         * java/awt/List.java: Implement AccessibleAWTList,
8428         AccessibleAWTListChild.
8430 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8432         * java/awt/Choice.java: Add implements declaration for
8433         Accessible.
8435 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8437         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
8438         instead of Object.
8440 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8442         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
8443         implemented interface list.
8445 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8447         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
8448         * javax/imageio/metadata/IIOAttr.java: New class.
8449         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
8450         * javax/imageio/metadata/IIONodeList.java: New class.
8451         * Makefile.am: Added new files.
8452         * Makefile.in: Regenerated.
8454 2005-02-15  Michael Koch  <konqueror@gmx.de>
8456         * javax/swing/AbstractAction.java,
8457         javax/swing/AbstractCellEditor.java,
8458         javax/swing/AbstractListModel.java,
8459         javax/swing/DefaultBoundedRangeModel.java,
8460         javax/swing/DefaultButtonModel.java,
8461         javax/swing/DefaultCellEditor.java,
8462         javax/swing/DefaultComboBoxModel.java,
8463         javax/swing/DefaultDesktopManager.java,
8464         javax/swing/JMenu.java,
8465         javax/swing/JSlider.java,
8466         javax/swing/KeyStroke.java,
8467         javax/swing/OverlayLayout.java,
8468         javax/swing/ScrollPaneLayout.java,
8469         javax/swing/SizeRequirements.java,
8470         javax/swing/ViewportLayout.java:
8471         Made serialVersionUID private.
8473 2005-02-15  Michael Koch  <konqueror@gmx.de>
8475         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8476         Reformatted.
8478 2005-02-15  Michael Koch  <konqueror@gmx.de>
8480         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
8482 2005-02-15  Michael Koch  <konqueror@gmx.de>
8484         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
8486 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
8488         * java/awt/EventDispatchThread.java,
8489         java/awt/Toolkit.java:
8490         Don't catch java.lang.ThreadDeath.
8492 2005-02-15  Michael Koch  <konqueror@gmx.de>
8494         * javax/swing/text/PasswordView.java
8495         (drawEchoCharacter): Added javadoc.
8496         (drawSelectedText): Likewise.
8497         (drawUnselectedText): Likewise.
8499 2005-02-15  Michael Koch  <konqueror@gmx.de>
8501         * javax/swing/JRootPane.java
8502         (windowDecorationStyle): New field.
8503         (setMenuBar): New method.
8504         (getMenuBar): Likewise.
8505         (getWindowDecorationStyle): Likewise.
8506         (setWindowDecorationStyle): Likewise.
8508 2005-02-15  Michael Koch  <konqueror@gmx.de>
8510         * javax/swing/DefaultListSelectionModel.java
8511         (leadAnchorNotificationEnabled): Made protected.
8513 2005-02-15  Michael Koch  <konqueror@gmx.de>
8515         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
8516         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
8517         * Makefile.in: Regenerated.
8520 2005-02-15  Michael Koch  <konqueror@gmx.de>
8522         * javax/swing/JFormattedTextField.java: Implemented.
8523         * javax/swing/JWindow.java
8524         (JWindow): New constructors.
8525         (initWindow): Renamed from initFrame.
8526         * javax/swing/UIDefaults.java
8527         (ActiveValue): Made interface static.
8528         (LazyValue): Likewise.
8529         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
8530         (TitlePaneLayout.TitlePaneLayout): New constructor.
8531         * javax/swing/plaf/basic/BasicSliderUI.java
8532         (ChangeHandler): Made public.
8533         (FocusHandler): Likewise.
8534         (PropertyChangeHandler): Likewise.
8535         (ScrollListener): Likewise.
8536         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8537         (FocusHandler): Likewise.
8538         (MouseHandler): Likewise.
8539         * javax/swing/plaf/basic/BasicTextPaneUI.java
8540         (BasicTextPaneUI): Extend BasicEditorPaneUI.
8541         * javax/swing/plaf/basic/BasicToolBarUI.java
8542         (BasicToolBarUI): Simplified. Reworked javadoc.
8543         (canDock): Simplified. Make public.
8544         (DockingListener): Made public.
8545         * javax/swing/text/JTextComponent.java
8546         (navigationFilter): New field.
8547         (getNavigationFilter): New method.
8548         (setNavigationFilter): Likewise.
8550 2005-02-15  Michael Koch  <konqueror@gmx.de>
8552         * javax/swing/plaf/metal/MetalTheme.java
8553         (getControlTextColor): Return getControlInfo().
8554         (getHighlightedTextColor): Return getControlTextColor().
8556 2005-02-15  Michael Koch  <konqueror@gmx.de>
8558         * javax/swing/plaf/basic/BasicButtonListener.java
8559         (BasicButtonListener): New constructor.
8560         * javax/swing/plaf/basic/BasicButtonUI.java
8561         (createButtonListener): Usw new BasicButtonListener constructor.
8563 2005-02-15  Michael Koch  <konqueror@gmx.de>
8565         * javax/imageio/event/package.html,
8566         javax/imageio/metadata/package.html: New files.
8568 2005-02-15  Michael Koch  <konqueror@gmx.de>
8570         * java/awt/image/MemoryImageSource.java: Reformatted.
8572 2005-02-15  Michael Koch  <konqueror@gmx.de>
8574         * javax/swing/tree/TreeCellEditor.java: Refomatted.
8576 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
8578         * java/awt/color/ICC_Profile.java
8579         (finalize): Removed pointless field assignments.
8581 2005-02-15  Michael Koch  <konqueror@gmx.de>
8583         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
8584         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
8585         * Makefile.in: Regenerated.
8587 2005-02-15  Michael Koch  <konqueror@gmx.de>
8589         * javax/swing/text/DefaultStyledDocument.java: New file.
8590         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
8591         * Makefile.in: Regenerated.
8593 2005-02-15  Michael Koch  <konqueror@gmx.de>
8595         * javax/swing/JFileChooser.java
8596         (showDialog): Return CANCEL_OPTION for now.
8597         (showOpenDialog): Likewise.
8598         (showSaveDialog): Likewise.
8600 2005-02-15  Michael Koch  <konqueror@gmx.de>
8602         * javax/swing/JApplet.java
8603         (HIDE_ON_CLOSE): Removed.
8604         (EXIT_ON_CLOSE): Likewise.
8605         (DISPOSE_ON_CLOSE): Likewise.
8606         (DO_NOTHING_ON_CLOSE): Likewise.
8607         (close_action): Likewise.
8608         (getDefaultCloseOperation): Likewise.
8609         (setDefaultCloseOperation): Likewise.
8610         (processWindowEvent): Likewise.
8611         (getPreferredSize): Simplified.
8612         * javax/swing/JInternalFrame.java
8613         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
8614         value.
8615         * javax/swing/JWindow.java
8616         (HIDE_ON_CLOSE): Removed.
8617         (EXIT_ON_CLOSE): Likewise.
8618         (DISPOSE_ON_CLOSE): Likewise.
8619         (DO_NOTHING_ON_CLOSE): Likewise.
8620         (close_action): Likewise.
8621         (processKeyEvent): Likewise.
8622         (setDefaultCloseOperation): Likewise.
8623         (getPreferredSize): Simplified.
8625 2005-02-15  Michael Koch  <konqueror@gmx.de>
8627         * javax/swing/JTextField.java
8628         (getPreferredSize): Re-implemented.
8630 2005-02-15  Michael Koch  <konqueror@gmx.de>
8632         * javax/swing/JLabel.java
8633         (setDisplayedMnemonic): Use only upper case characters.
8634         (setDisplayedMnemonicIndex): Handle index == -1 and fire
8635         PropertyChangeEvent after property got set to the new index.
8637 2005-02-15  Robert Schuster <thebohemian@gmx.net>
8639         * javax/swing/JComboBox.java:
8640         (JComboBox): Removed selection of the
8641         first item in the model.
8643 2005-02-15  Robert Schuster <thebohemian@gmx.net>
8645         * javax/swing/JComboBox.java
8646         added support for no item being selected
8647         (JComboBox): select first or nothing depending on element count
8648         (setModel): cleaned up unneeded "this." usage, added more
8649         docs, made exception behavior match that of the JDK
8650         (setLighWeightPopupEnabled): removed unneeded "this." usage
8651         (setEditable): dito
8652         (setMaximumRowCount): dito
8653         (setRenderer): dito
8654         (setPrototypeDisplayValue): dito
8655         (getSelectedItem): simplified, added more user doc
8656         (setSelectedIndex): corrected exception behavior, added more user doc
8657         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
8658         added performance warning to user doc
8659         (addItem): fixed exception behavior, added user doc
8660         (insertItemAt): dito
8661         (removeItem): dito
8662         (removeItemAt): dito
8663         (removeAll): fixed exception behavior, added user doc, added support
8664         for model not being instance of DefaultComboBoxModel
8665         (getSelectedItemObjects): simplified
8666         (getItemCount): fixed dependency on DefaultComboBoxModel
8667         (getItemAt): fixed dependency on MutableComboBoxModel
8668         * javax/swing/DefaultComboBoxModel.java:
8669         (setSelectedItem): updates selected item only if new
8670         value is null or known (match JDK behavior)
8671         * javax/swing/plaf/basic/BasicComboBoxUI.java:
8672         (paintCurrentValue): renders "" if no item is selected
8674 2005-02-15  Michael Koch  <konqueror@gmx.de>
8676         * javax/swing/plaf/metal/MetalTheme.java,
8677         javax/swing/plaf/metal/DefaultMetalTheme.java:
8678         New files.
8679         * javax/swing/plaf/metal/MetalLookAndFeel.java
8680         * Makefile.am: Added the new files.
8681         * Makefile.in: Regenerated.
8683 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
8685         * javax/swing/JTable.java
8686         (editorComp): New field.
8687         (JTable): Initialize local variables and call updateUI
8688         (selectionBackground): Make protected.
8689         (selectionForeground): Likewise.
8690         (initializeLocalVars): Create default editors and renderers,
8691         initialize editingColumn, editingRow variables.
8692         (createDefaultEditors): New Method.
8693         (createDefaultRenderers): Likewise.
8694         (createDefaultListSelectionModel): Removed
8695         (createDefaultSelectionModel): New Method.
8696         (createDefaultTableHeader): Likewise
8697         (removeColumn): Likewise.
8698         (getEditingColumn): Likewise.
8699         (setEditingColumn): Likewise.
8700         (getEditingRow): Likewise.
8701         (setEditingRow): Likewise.
8702         (getEditorComponent): Likewise.
8703         (isEditing): Likewise.
8704         (setDefaultEditor): Likewise.
8705         (addColumnSelectionInterval): Likewise.
8706         (addRowSelectionInterval): Likewise.
8707         (setColumnSelectionInterval): Likewise.
8708         (setRowSelectionInterval): Likewise.
8709         (removeColumnSelectionInterval): Likewise.
8710         (removeRowSelectionInterval): Likewise.
8711         (isColumnSelected): Likewise.
8712         (isRowSelected): Likewise.
8713         (isCellSelected): Likewise.
8714         (selectAll): Likewise.
8716 2005-02-15  Michael Koch  <konqueror@gmx.de>
8718         * javax/swing/JTable.java
8719         (addColumn): New method.
8720         (getColumnClass): Likewise.
8721         (getColumnName): Likewise.
8723 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
8725         * javax/swing/TransferHandler.java
8726         (createTransferable): Made protected.
8728 2005-02-15  Michael Koch  <konqueror@gmx.de>
8730         * javax/swing/JTable.java,
8731         javax/swing/plaf/basic/BasicTableHeaderUI.java,
8732         javax/swing/plaf/basic/BasicTableUI.java:
8733         Use fixed get/setIntercellSpacing() methods.
8735 2005-02-15  Michael Koch  <konqueror@gmx.de>
8737         * javax/swing/JTable.java
8738         (getIntercellSpacing): Fixed typo in method name.
8739         (setIntercellSpacing): Likewise.
8741 2005-02-15  Michael Koch  <konqueror@gmx.de>
8743         * javax/swing/text/JTextComponent.java
8744         (focusAccelerator): New variable.
8745         (getFocusAccelerator): New method.
8746         (setFocusAccelerator): Likewise.
8748 2005-02-15  Michael Koch  <konqueror@gmx.de>
8750         * javax/swing/JComponent.java
8751         (setTransferHandler): Made public. Fire property change event.
8752         * javax/swing/TransferHandler.java: Implemented.
8753         * javax/swing/text/JTextComponent.java
8754         (DefaultTransferHandler): New inner class.
8755         (defaultTransferHandler): New variable.
8756         (copy): New method.
8757         (cut): Likewise.
8758         (paste): Likewise.
8759         (doTransferAction): Likewise.
8761 2005-02-15  Michael Koch  <konqueror@gmx.de>
8763         * javax/swing/JTree.java
8764         (collapsePath): New method.
8765         (collapseRow): Likewise.
8766         (expandPath): Likewise.
8767         (expandRow): Likewise.
8768         (checkExpandParents): Likewise.
8769         (doExpandParents): Likewise.
8770         (setExpandedState): Likewise.
8771         (makeVisible): Likewise.
8773 2005-02-15  Michael Koch  <konqueror@gmx.de>
8775         * javax/swing/JPasswordField.java: Updated javadocs.
8777 2005-02-15  Michael Koch  <konqueror@gmx.de>
8779         * javax/swing/JLayeredPane.java
8780         (getLayer): Fixed return type, made public.
8781         (getPosition): Use new getLayer().
8782         (SetPosition): Likewise.
8783         (getIndexOf): Likewise.
8784         (remove): Likewise.
8785         * javax/swing/JInternalFrame.java
8786         (getLayer): Use new JLayeredPane.getLayer().
8789 2005-02-15  Michael Koch  <konqueror@gmx.de>
8791         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
8792         (setHeaderValue): Simplified. Do nothing when old value == new value.
8794 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8796         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
8797         against null clip region.
8798         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
8799         gtkWindowSetResizable.
8800         (postConfigureEvent): Only revalidate if frame size has changed.
8801         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
8802         Only revalidate if frame size has changed.
8803         * java/awt/Component.java (reshape): Only repaint and post
8804         component events if component is showing.
8805         * java/awt/Container.java (addImpl): Only post container event if
8806         container is showing.
8807         (remove): Likewise.
8808         * java/awt/Window.java (setLocationRelativeTo): Implement.
8809         (setBoundsCallback): Only post component events if component is
8810         showing.
8811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
8812         Protect against null graphics structure.  Flush gdk event queue.
8814 2005-02-15  Michael Koch  <konqueror@gmx.de>
8816         * javax/imageio/ImageReader.java,
8817         javax/imageio/ImageTranscoder.java,
8818         javax/imageio/ImageWriter.java,
8819         javax/imageio/spi/ImageInputStreamSpi.java,
8820         javax/imageio/spi/ImageOutputStreamSpi.java,
8821         javax/imageio/spi/ServiceRegistry.java,
8822         javax/imageio/stream/ImageInputStream.java,
8823         javax/imageio/stream/ImageOutputStream.java: Updated.
8824         * javax/imageio/IIOException.java,
8825         javax/imageio/IIOImage.java,
8826         javax/imageio/IIOParam.java,
8827         javax/imageio/IIOParamController.java,
8828         javax/imageio/ImageIO.java,
8829         javax/imageio/ImageReadParam.java,
8830         javax/imageio/ImageTypeSpecifier.java,
8831         javax/imageio/ImageWriteParam.java,
8832         javax/imageio/spi/IIORegistry.java,
8833         javax/imageio/spi/ImageReaderSpi.java,
8834         javax/imageio/spi/ImageWriterSpi.java,
8835         javax/imageio/stream/FileCacheImageInputStream.java,
8836         javax/imageio/stream/FileCacheImageOutputStream.java,
8837         javax/imageio/stream/FileImageInputStream.java,
8838         javax/imageio/stream/FileImageOutputStream.java,
8839         javax/imageio/stream/ImageInputStreamImpl.java,
8840         javax/imageio/stream/ImageOutputStreamImpl.java,
8841         javax/imageio/stream/MemoryCacheImageInputStream.java,
8842         javax/imageio/stream/MemoryCacheImageOutputStream.java,
8843         javax/imageio/event/IIOReadProgressListener.java,
8844         javax/imageio/event/IIOReadUpdateListener.java,
8845         javax/imageio/event/IIOReadWarningListener.java,
8846         javax/imageio/event/IIOWriteProgressListener.java,
8847         javax/imageio/event/IIOWriteWarningListener.java,
8848         javax/imageio/metadata/IIOMetadata.java,
8849         javax/imageio/metadata/IIOMetadataController.java,
8850         javax/imageio/metadata/IIOMetadataFormat.java,
8851         javax/imageio/metadata/IIOInvalidTreeException.java,
8852         javax/imageio/metadata/IIOMetadataFormatImpl.java,
8853         javax/imageio/metadata/IIOMetadataNode.java: New files.
8854         * Makefile.am (javax_source_files): Added new files
8855         * Makefile.in: Regenerated.
8857 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8859         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8860         Rework painting into BufferedImages
8861         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
8862         Construct BufferedImage with alpha only when alpha is
8863         present in colormodel.
8864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8865         Rework painting into client-side jint arrays.
8866         * jni/gtk-peer/gtkcairopeer.h:
8867         Likewise.
8869 2005-02-15  Michael Koch  <konqueror@gmx.de>
8871         * javax/swing/DefaultListCellRenderer.java
8872         (serialVersionUID): Made private.
8873         (getListCellRendererComponent): Set horizontal alignment.
8874         * javax/swing/JLabel.java
8875         (setVerticalAlignment): Re-implemented.
8876         (setHorizontalAlignment): Do nothing if old value = new value.
8877         * javax/swing/JList.java
8878         (setCellRenderer): Likewise.
8879         (setModel): Re-implemented.
8880         (setSelectionModel): Likewise.
8882 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
8884         * java/awt/Component.java,
8885         java/awt/geom/Rectangle2D.java:
8886         Javadoc fixes.
8888 2005-02-15  Michael Koch  <konqueror@gmx.de>
8890         * javax/swing/AbstractListModel.java
8891         (fireContentsChanged): Simplified.
8892         (fireIntervalAdded): Likewise.
8893         (fireIntervalRemoved): Likewise.
8894         * javax/swing/DefaultSingleSelectionModel.java:
8895         Reformatted.
8896         (fireStateChanged): Simplified.
8897         * javax/swing/JPopupMenu.java
8898         (setSelectionModel): Set property.
8900 2005-02-15  Michael Koch  <konqueror@gmx.de>
8902         * java/awt/print/Book.java: Reformatted.
8904 2005-02-15  Michael Koch  <konqueror@gmx.de>
8906         * java/awt/geom/Area.java
8907         (QuadSegment.curveArea): Remove unused variables.
8908         (CubicSegment.curveArea): Likewise.
8910 2005-02-15  Michael Koch  <konqueror@gmx.de>
8912         * javax/swing/JTree.java
8913         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
8914         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
8915         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
8916         (EXPANDED): New constant.
8917         (COLLAPSED): Likewise.
8918         (nodeStates): New field.
8919         (cellEditor): New method.
8920         (cellRenderer): Likewise.
8921         (selectionModel): Likewise.
8922         (treeModel): Likewise.
8923         (scrollPathToVisible): Likewise.
8924         (scrollRowToVisible): Likewise.
8925         (isCollapsed): Likewise.
8926         (isExpanded): Likewise.
8927         (clearToggledPaths): Likewise.
8928         (getDescendantToggledPaths): Likewise.
8929         (hasBeenExpanded): Likewise.
8930         (isVisible): Likewise.
8931         (isPathEditable): Likewise.
8933 2005-02-15  Michael Koch  <konqueror@gmx.de>
8935         * javax/swing/JLayeredPane.java: Reformatted.
8937 2005-02-15  Michael Koch  <konqueror@gmx.de>
8939         * javax/swing/tree/DefaultMutableTreeNode.java:
8940         Completely Revised.
8941         * javax/swing/tree/MutableTreeNode.java:
8942         Reformatted.
8944 2005-02-15  Michael Koch  <konqueror@gmx.de>
8946         * javax/swing/JFormattedTextField.java
8947         (setDocument): Call setDocument of super class. Don't fire property
8948         change event.
8950 2005-02-15  Sven de Marothy  <sven@physto.se>
8952         * java/awt/image/IndexColorModel.java:
8953         Add FIXME with respect to alpha handling.
8954         (getAlpha): Default to returning opaque pixels.
8955         * java/awt/image/MultiPixelPackedSampleModel.java
8956         (MultiPixelPackedSampleModel): Corrected parameters, order of
8957         bit shifts and masks, stride length off by one.
8959 2005-02-15  Michael Koch  <konqueror@gmx.de>
8961         * javax/swing/JList.java, javax/swing/JTree.java:
8962         Added much new methods and fixed much methods setting bound properties.
8964 2005-02-16  Mark Wielaard  <mark@klomp.org>
8966         * Makefile.am (gnu_xml_source_files): Removed
8967         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
8968         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
8969         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
8970         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
8971         gnu/xml/dom/DomDocumentFragment.java,
8972         gnu/xml/dom/DomProcessingInstruction.java and
8973         gnu/xml/dom/ls/DomLSException.java.
8974         * Makefile.in: Regenerated.
8976 2005-02-16  Tom Tromey  <tromey@redhat.com>
8978         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
8979         attribute index is out of bounds.
8981 2005-02-16  Chris Burdess  <dog@gnu.org>
8983         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
8984         isDeclared methods. Improved performance of isSpecified methods.
8986 2005-02-16  Chris Burdess  <dog@gnu.org>
8988         Fixes bug libgcj/19864
8989         * gnu/xml/dom/DomAttr.java,
8990         gnu/xml/dom/DomCDATA.java,
8991         gnu/xml/dom/DomCDATASection.java,
8992         gnu/xml/dom/DomCharacterData.java,
8993         gnu/xml/dom/DomDOMException.java,
8994         gnu/xml/dom/DomDoctype.java,
8995         gnu/xml/dom/DomDocument.java,
8996         gnu/xml/dom/DomDocumentConfiguration.java,
8997         gnu/xml/dom/DomDocumentFragment.java,
8998         gnu/xml/dom/DomElement.java,
8999         gnu/xml/dom/DomEx.java,
9000         gnu/xml/dom/DomFragment.java,
9001         gnu/xml/dom/DomImpl.java,
9002         gnu/xml/dom/DomIterator.java,
9003         gnu/xml/dom/DomNamedNodeMap.java,
9004         gnu/xml/dom/DomNode.java,
9005         gnu/xml/dom/DomNsNode.java,
9006         gnu/xml/dom/DomPI.java,
9007         gnu/xml/dom/DomProcessingInstruction.java,
9008         gnu/xml/dom/DomText.java,
9009         gnu/xml/dom/DomLSEx.java,
9010         gnu/xml/dom/DomLSException.java,
9011         gnu/xml/dom/DomLSParser.java,
9012         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
9013         implementation class names to conform to Classpath guidelines.  Make
9014         DomLSException use JDK 1.4+ exception chaining.
9015         * gnu/xml/util/SAXNullTransformerFactory.java,
9016         gnu/xml/xpath/Predicate.java: Use constants relative to
9017         declaring class or interface.
9019 2005-02-16  Andrew Haley  <aph@redhat.com>
9021         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
9022         null, create a new AccessControlContext.
9023         * java/security/SecureClassLoader.java (protectionDomainCache):
9024         new field.
9025         (defineClass): Create a new protection domain and add it to our
9026         cache.
9028         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
9029         addStub() to keep track of the stub we've exported.
9030         (unexportObject): Call deleteStub().
9031         * java/rmi/server/RemoteObject.java (stubs): New field.
9032         (addStub): New method.
9033         (deleteStub): New method.
9034         (toStub): Rewrite.
9036         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
9037         true to findHelper (tryParents).
9038         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
9039         Likewise.
9040         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
9041         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
9042         ProtectionDomain.
9043         If tryParents is false, don't scan parent class loaders.
9045         * java/security/Permissions.java (PermissionsHash.implies):
9046         Iterate over the collection and invoke implies() on each
9047         element.
9049 2005-02-16  Andrew Haley  <aph@redhat.com>
9051         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
9052         fields.
9053         (PersistentByteMap): Set name
9054         Magic number changed to 0x67636a64 ("gcjd").
9055         (init): Force the map to be prime.
9056         (emptyPersistentByteMap): File name was a string, now a File.
9057         (addBytes): Share srings between entries.
9058         (stringTableSize): New method.
9059         (capacity): Scale by load factor.
9060         (force): New method.
9061         (getFile): New method.
9062         (close): New method.
9063         (putAll): New method.
9064         (ByteWrapper): New class.
9065         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
9066         (main): Guess the average string size as 32, not 64.
9067         Copy a database before modifying it, so that we can update a
9068         database in a running system.
9069         If a database isn't big enough, resize it.
9070         "-m": new option: merges databases.
9071         "-a": Create a new detabase if it doesn't exist.
9072         (usage): Correct, add new option.
9073         (addJar): Copy a database before modifying it.
9074         (resizeMap): New method.
9076 2005-02-15  David Daney <ddaney@avtrex.com>
9077             Bryce McKinlay  <mckinlay@redhat.com>
9079         * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
9080         * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
9081         ensure that GC threads inherit the new signal mask.
9082         (block_sigchld): Call JvFail rather than throwing exception if
9083         pthread_sigmask() fails.
9085 2005-02-15  Mark Wielaard  <mark@klomp.org>
9087         * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
9088         file path elements are separated by spaces.
9090 2005-02-15  Mark Wielaard  <mark@klomp.org>
9092         * java/util/jar/Attributes.java (Attributes.Name): Add documentation
9093         to describe attributes without a constant field value in this class.
9095 2005-02-15  Michael Koch  <konqueror@gmx.de>
9097         * java/util/jar/Attributes.java
9098         (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
9100 2005-02-15  Mark Wielaard  <mark@klomp.org>
9102         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
9103         space for parsing CLASS_PATH attribute.
9105 2005-02-15  Mark Wielaard  <mark@klomp.org>
9107         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
9108         aside for "GCJLIBS" in directory where jarfiles are loaded.
9109         (JarURLLoader.getClass): Removed method.
9110         (JarURLLoader.toString): Removed method.
9111         (FileResource.toString): Removed method.
9113 2005-02-15  Mark Wielaard  <mark@klomp.org>
9115         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
9116         and/or cause before throwing.
9118 2005-02-15  Richard Henderson  <rth@redhat.com>
9120         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
9121         (libgcj0_convenience_la_SOURCES): ... here.
9122         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
9123         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
9124         * Makefile.in: Regenerate.
9126 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9128         * jawt.c: New file.
9129         * include/jawt.h: Likewise.
9130         * include/jawt_md.h: Likewise.
9131         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
9132         jawt_md.h files.
9133         * include/Makefile.in: Regenerate.
9134         * jni/classpath/classpath_jawt.h: Likewise.
9135         * jni/gtk-peer/gtk_jawt.c: Likewise.
9136         * Makefile.am: Build libjawt.so.
9137         * Makefile.in: Regenerate.
9139 2005-02-14  Tom Tromey  <tromey@redhat.com>
9141         * testsuite/libjava.lang/PR19921.java: Use correct class name.
9143 2005-02-14  Tom Tromey  <tromey@redhat.com>
9145         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
9146         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
9148 2005-02-14  Tom Tromey  <tromey@redhat.com>
9150         For PR java/19929:
9151         * testsuite/libjava.lang/PR19929.out: New file.
9152         * testsuite/libjava.lang/PR19929.java: New file.
9154 2005-02-14  Anthony Green  <green@redhat.com>
9156         PR libgcj/18116
9157         * testsuite/libjava.jni/PR18116.c: New file.
9158         * testsuite/libjava.jni/PR18116.java: New file.
9159         * testsuite/libjava.jni/PR18116.out: New file.
9161 2005-02-13  Anthony Green  <green@redhat.com>
9163         PR libgcj/18116
9164         * jni.cc (nathash_add): Don't strdup the method signature.
9165         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
9166         method signature.
9167         Update copyright.
9169 2005-02-12  Mark Wielaard  <mark@klomp.org>
9171         Fixes bug libgcj/8170
9172         * java/lang/ClassLoader.java (loadClass): Don't rewrap
9173         ClassNotFoundException.
9174         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
9175         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
9176         (remove_internal): New field superceding remove_interpreter.
9177         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
9178         Remove no-class methods starting with "_Jv_". And Replace null
9179         class or method names with the empty string. Stop at either the
9180         MainThread or a real Thread run() method.
9181         (newElement): Made static.
9182         * java/net/URLClassLoader.java (findClass): Throw
9183         ClassNotFoundExceptions including urls, plus parent using toString().
9184         (thisString): New field.
9185         (toString): New method.
9187 2005-02-10  Tom Tromey  <tromey@redhat.com>
9189         * external/sax/Makefile.in: Rebuilt.
9190         * external/sax/Makefile.am (all-local): Removed.
9191         (BUILT_SOURCES): New variable.
9192         (mostlyclean-local): No error if no classes to delete.
9193         * external/w3c_dom/Makefile.in: Rebuilt.
9194         * external/w3c_dom/Makefile.am (all-local): Removed.
9195         (BUILT_SOURCES): New variable.
9196         (mostlyclean-local): No error if no classes to delete.
9198 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
9200         * testsuite/libjava.mauve/xfails: Updated to reflect current state
9201         of mauve and libjava.
9203 2005-02-09  Tom Tromey  <tromey@redhat.com>
9205         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
9206         jar file with OPEN_DELETE.
9207         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
9208         OPEN_DELETE is used.
9210 2005-02-09  Tom Tromey  <tromey@redhat.com>
9212         * java/util/zip/InflaterInputStream.java (markSupported):
9213         Override.
9214         (mark, reset): Likewise.
9216 2005-02-08  Tom Tromey  <tromey@redhat.com>
9218         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
9219         name or port is missing.
9220         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
9221         AUTHORITY_PORT_GROUP): Updated.
9223 2005-02-08  Tom Tromey  <tromey@redhat.com>
9225         * configure: Rebuilt.
9226         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
9227         AC_CHECK_HEADERS.
9229 2005-02-07  Tom Tromey  <tromey@redhat.com>
9231         * java/lang/natRuntime.cc (insertSystemProperties): Set
9232         sun.boot.class.path earlier.
9234 2005-02-07  Tom Tromey  <tromey@redhat.com>
9236         * defineclass.cc (handleClassBegin): Use
9237         _Jv_RegisterInitiatingLoader.
9238         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
9239         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
9240         class.  Use _Jv_UnregisterInitiatingLoader.
9241         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
9242         New function.
9244 2005-02-07  Mark Wielaard  <mark@klomp.org>
9246         Reported by Timo Lindfors <timo.lindfors@iki.fi>
9247         java/util/regex/Matcher.java (lookingAt): Set position when match
9248         found.
9249         (matches): Implemented through lookingAt().
9251 2005-02-07  Mark Wielaard  <mark@klomp.org>
9253         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
9254         * java/util/regex/Pattern.java (split(CharSequence,int)):
9255         Fix while empties > 0 loops.
9257 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
9259         * gnu/java/nio/charset/ISO_8859_1.java,
9260         gnu/java/nio/charset/US_ASCII.java,
9261         gnu/java/nio/charset/UTF_16.java,
9262         gnu/java/nio/charset/UTF_16_LE.java,
9263         gnu/java/nio/charset/UTF_16_BE.java,
9264         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
9265          and aliases according to
9266          "http://www.iana.org/assignments/character-sets",
9267          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
9268          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
9269         * gnu/java/nio/charset/Provider.java: Made charset lookup
9270          case-insensitive which fixes bug #11740.
9272 2005-02-07  Tom Tromey  <tromey@redhat.com>
9274         PR libgcj/19611:
9275         * Makefile.in: Rebuilt.
9276         * Makefile.am (src.zip): New target.
9277         (install-src.zip): Likewise.
9278         (sourcesdir): New variable.
9280 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
9282         * javax/imageio/metadata/IIOMetadataNode.java:
9283         Implemented.
9284         * javax/imageio/metadata/IIOAttr.java,
9285         javax/imageio/metadata/IIONamedNodeMap.java,
9286         javax/imageio/metadata/IIONodeList.java:
9287         New files
9289 2005-02-06  Graydon Hoare  <graydon@redhat.com>
9291         * gnu/java/awt/ClasspathToolkit.java
9292         (registerImageIOSpis): New method.
9293         * javax/imageio/ImageIO.java
9294         (WriterFormatFilter.filter): Fix copy-and-paste typos.
9295         (WriterMIMETypeFilter.filter): Likewise.
9296         (ImageReaderIterator): Pass extension argument through to SPI.
9297         (getReadersByFilter): Likewise.
9298         (getWritersByFilter): Likewise.
9299         (getImageReadersByFormatName): Likewise.
9300         (getImageReadersByMIMEType): Likewise.
9301         (getImageReadersBySuffix): Likewise.
9302         (getImageWritersByFormatName): Likewise.
9303         (getImageWritersByMIMEType): Likewise.
9304         (getImageWritersBySuffix): Likewise.
9305         (read): Implement.
9306         (write): Implement.
9307         * javax/imageio/ImageReader.java
9308         (progressListeners): Initialize.
9309         (setInput): Implement.
9310         * javax/imageio/ImageWriter.java
9311         (progressListeners): Initialize.
9312         (warningListeners): Likewise.
9313         (warningLocales): Likewise.
9314         (setOutput): Test "isInstance" rather than class equality.
9315         * javax/imageio/spi/IIORegistry.java
9316         (static): Add reader and writer SPIs.
9317         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
9319 2005-02-06  Michael Koch  <konqueror@gmx.de>
9321         * javax/imageio/metadata/IIOInvalidTreeException.java
9322         (IIOInvalidTreeException): Reformatted.
9323         * javax/imageio/spi/IIORegistry.java
9324         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
9325         * javax/imageio/stream/MemoryCacheImageInputStream.java:
9326         Reworked import statements.
9328 2005-02-06  Michael Koch  <konqueror@gmx.de>
9330         * javax/imageio/stream/FileImageOutputStream.java:
9331         Implemented.
9333 2005-02-06  Michael Koch  <konqueror@gmx.de>
9335         * javax/imageio/stream/FileCacheImageInputStream.java,
9336         javax/imageio/stream/FileCacheImageOutputStream.java,
9337         javax/imageio/stream/FileImageInputStream.java,
9338         javax/imageio/stream/ImageInputStreamImpl.java,
9339         javax/imageio/stream/ImageOutputStreamImpl.java,
9340         javax/imageio/stream/MemoryCacheImageInputStream.java,
9341         javax/imageio/stream/MemoryCacheImageOutputStream.java:
9342         Added all missing methods in javax.imageio.stream.
9344 2005-02-02  David Daney  <ddaney@avtrex.com>
9346         * java/net/InetAddress.java (InetAddress): Make a private copy of
9347         the address.
9348         * java/net/Inet4Address.java (getAddress): Return a copy of the
9349         address.
9350         * java/net/Inet6Address.java (Inet6Address): Use private copy of
9351         the address
9352         (getAddress): Return a copy of the address.
9353         (equals): Rewrote.
9355 2005-02-02  Tom Tromey  <tromey@redhat.com>
9357         * Makefile.in: Rebuilt.
9358         * Makefile.am (classes.stamp): New target, broken out from
9359         libgcj.jar target.
9360         ($(all_java_class_files)): Depend on it.
9361         (libgcj-@gcc_version@.jar): Likewise.
9362         (all-recursive): Likewise.
9363         (CLEANFILES): Include classes.stamp.
9365 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
9367         * link.cc: Include <stdio.h>
9369 2005-02-02  Tom Tromey  <tromey@redhat.com>
9371         PR libgcj/19681:
9372         * Makefile.in: Rebuilt.
9373         * Makefile.am (ordinary_java_source_files): Added new class.
9374         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
9375         Use system_instance, not instance.
9376         * gnu/gcj/runtime/SystemClassLoader.java: New file.
9377         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
9378         java.class.path.
9379         (system_instance): New field.
9380         (initialize): Initialize the system loader as well.
9381         (VMClassLoader): Default to LIB_CACHE.
9383 2005-02-02  Tom Tromey  <tromey@redhat.com>
9385         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
9386         * prims.cc: Fixed comment.
9388 2005-02-01  Tom Tromey  <tromey@redhat.com>
9390         * Makefile.in: Rebuilt.
9391         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
9392         (.java.class): Use BOOTCLASSPATH.
9394 2005-02-01  Tom Tromey  <tromey@redhat.com>
9396         * external/w3c_dom/Makefile.am: New file.
9397         * external/w3c_dom/Makefile.in: New file.
9398         * external/sax/Makefile.am: New file.
9399         * external/sax/Makefile.in: New file.
9400         * external/Makefile.in: New file.
9401         * external/Makefile.am: New file.
9402         * external/README: New file from Classpath.
9403         * configure, aclocal.m4, Makefile.in: Rebuilt.
9404         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
9405         * Makefile.am (SUBDIRS): Added external.
9406         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
9407         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
9408         (BOOTCLASSPATH): New variable.
9409         (AM_GCJFLAGS): Use it.
9410         (gnu_xml_source_files): New variable.
9411         (libgcj_la_SOURCES): Use it.
9412         (libgcj_la_LDADD): Include new convenience libraries.
9413         (lib_org_ietf_jgss_la_SOURCES): Removed.
9414         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
9415         (lib_org_ietf_jgss_la_LIBADD): Likewise.
9416         (lib_org_w3c_dom_la_SOURCES): Removed.
9417         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
9418         (lib_org_w3c_dom_la_LIBADD): Likewise.
9419         (lib_org_xml_sax_la_SOURCES): Removed.
9420         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
9421         (lib_org_xml_sax_la_LIBADD): Likewise.
9422         (all_java_source_files): Updated.
9423         (property_files): Likewise.
9424         (libgcj-@gcc_version@.jar): Include classes from external/.
9425         (javax_source_files): Updated.
9426         (ordinary_java_source_files): Updated.
9427         * javax/xml/XMLConstants.java,
9428         javax/xml/datatype/DatatypeConfigurationException.java,
9429         javax/xml/datatype/DatatypeConstants.java,
9430         javax/xml/datatype/DatatypeFactory.java,
9431         javax/xml/datatype/Duration.java,
9432         javax/xml/datatype/XMLGregorianCalendar.java,
9433         javax/xml/datatype/package.html,
9434         javax/xml/namespace/NamespaceContext.java,
9435         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
9436         javax/xml/parsers/DocumentBuilder.java,
9437         javax/xml/parsers/DocumentBuilderFactory.java,
9438         javax/xml/parsers/FactoryConfigurationError.java,
9439         javax/xml/parsers/ParserConfigurationException.java,
9440         javax/xml/parsers/SAXParser.java,
9441         javax/xml/parsers/SAXParserFactory.java,
9442         javax/xml/parsers/package.html,
9443         javax/xml/transform/ErrorListener.java,
9444         javax/xml/transform/OutputKeys.java,
9445         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
9446         javax/xml/transform/SourceLocator.java,
9447         javax/xml/transform/Templates.java,
9448         javax/xml/transform/Transformer.java,
9449         javax/xml/transform/TransformerConfigurationException.java,
9450         javax/xml/transform/TransformerException.java,
9451         javax/xml/transform/TransformerFactory.java,
9452         javax/xml/transform/TransformerFactoryConfigurationError.java,
9453         javax/xml/transform/URIResolver.java,
9454         javax/xml/transform/package.html,
9455         javax/xml/transform/dom/DOMLocator.java,
9456         javax/xml/transform/dom/DOMResult.java,
9457         javax/xml/transform/dom/DOMSource.java,
9458         javax/xml/transform/dom/package.html,
9459         javax/xml/transform/sax/SAXResult.java,
9460         javax/xml/transform/sax/SAXSource.java,
9461         javax/xml/transform/sax/SAXTransformerFactory.java,
9462         javax/xml/transform/sax/TemplatesHandler.java,
9463         javax/xml/transform/sax/TransformerHandler.java,
9464         javax/xml/transform/sax/package.html,
9465         javax/xml/transform/stream/StreamResult.java,
9466         javax/xml/transform/stream/StreamSource.java,
9467         javax/xml/transform/stream/package.html,
9468         javax/xml/validation/Schema.java,
9469         javax/xml/validation/SchemaFactory.java,
9470         javax/xml/validation/TypeInfoProvider.java,
9471         javax/xml/validation/Validator.java,
9472         javax/xml/validation/ValidatorHandler.java,
9473         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
9474         javax/xml/xpath/XPathConstants.java,
9475         javax/xml/xpath/XPathException.java,
9476         javax/xml/xpath/XPathExpression.java,
9477         javax/xml/xpath/XPathExpressionException.java,
9478         javax/xml/xpath/XPathFactory.java,
9479         javax/xml/xpath/XPathFactoryConfigurationException.java,
9480         javax/xml/xpath/XPathFunction.java,
9481         javax/xml/xpath/XPathFunctionException.java,
9482         javax/xml/xpath/XPathFunctionResolver.java,
9483         javax/xml/xpath/XPathVariableResolver.java,
9484         javax/xml/xpath/package.html: New files, from GNU JAXP.
9485         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
9486         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
9487         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
9488         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
9489         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
9490         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
9491         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
9492         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
9493         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
9494         org/w3c/dom/ranges/DocumentRange.java,
9495         org/w3c/dom/ranges/Range.java,
9496         org/w3c/dom/ranges/RangeException.java,
9497         org/w3c/dom/traversal/DocumentTraversal.java,
9498         org/w3c/dom/traversal/NodeFilter.java,
9499         org/w3c/dom/traversal/NodeIterator.java,
9500         org/w3c/dom/traversal/TreeWalker.java,
9501         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
9502         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
9503         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
9504         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
9505         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
9506         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
9507         org/xml/sax/SAXNotRecognizedException.java,
9508         org/xml/sax/SAXNotSupportedException.java,
9509         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
9510         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
9511         org/xml/sax/ext/DeclHandler.java,
9512         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
9513         org/xml/sax/helpers/AttributeListImpl.java,
9514         org/xml/sax/helpers/AttributesImpl.java,
9515         org/xml/sax/helpers/DefaultHandler.java,
9516         org/xml/sax/helpers/LocatorImpl.java,
9517         org/xml/sax/helpers/NamespaceSupport.java,
9518         org/xml/sax/helpers/NewInstance.java,
9519         org/xml/sax/helpers/ParserAdapter.java,
9520         org/xml/sax/helpers/ParserFactory.java,
9521         org/xml/sax/helpers/XMLFilterImpl.java,
9522         org/xml/sax/helpers/XMLReaderAdapter.java,
9523         org/xml/sax/helpers/XMLReaderFactory.java,
9524         org/xml/sax/helpers/package.html: Moved to external/.
9525         * external/sax/README,
9526         external/sax/org/xml/sax/AttributeList.java,
9527         external/sax/org/xml/sax/Attributes.java,
9528         external/sax/org/xml/sax/ContentHandler.java,
9529         external/sax/org/xml/sax/DTDHandler.java,
9530         external/sax/org/xml/sax/DocumentHandler.java,
9531         external/sax/org/xml/sax/EntityResolver.java,
9532         external/sax/org/xml/sax/ErrorHandler.java,
9533         external/sax/org/xml/sax/HandlerBase.java,
9534         external/sax/org/xml/sax/InputSource.java,
9535         external/sax/org/xml/sax/Locator.java,
9536         external/sax/org/xml/sax/Parser.java,
9537         external/sax/org/xml/sax/SAXException.java,
9538         external/sax/org/xml/sax/SAXNotRecognizedException.java,
9539         external/sax/org/xml/sax/SAXNotSupportedException.java,
9540         external/sax/org/xml/sax/SAXParseException.java,
9541         external/sax/org/xml/sax/XMLFilter.java,
9542         external/sax/org/xml/sax/XMLReader.java,
9543         external/sax/org/xml/sax/package.html,
9544         external/sax/org/xml/sax/ext/Attributes2.java,
9545         external/sax/org/xml/sax/ext/Attributes2Impl.java,
9546         external/sax/org/xml/sax/ext/DeclHandler.java,
9547         external/sax/org/xml/sax/ext/DefaultHandler2.java,
9548         external/sax/org/xml/sax/ext/EntityResolver2.java,
9549         external/sax/org/xml/sax/ext/LexicalHandler.java,
9550         external/sax/org/xml/sax/ext/Locator2.java,
9551         external/sax/org/xml/sax/ext/Locator2Impl.java,
9552         external/sax/org/xml/sax/ext/package.html,
9553         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
9554         external/sax/org/xml/sax/helpers/AttributesImpl.java,
9555         external/sax/org/xml/sax/helpers/DefaultHandler.java,
9556         external/sax/org/xml/sax/helpers/LocatorImpl.java,
9557         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
9558         external/sax/org/xml/sax/helpers/NewInstance.java,
9559         external/sax/org/xml/sax/helpers/ParserAdapter.java,
9560         external/sax/org/xml/sax/helpers/ParserFactory.java,
9561         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
9562         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
9563         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
9564         external/sax/org/xml/sax/helpers/package.html,
9565         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
9566         external/w3c_dom/org/w3c/dom/Attr.java,
9567         external/w3c_dom/org/w3c/dom/CDATASection.java,
9568         external/w3c_dom/org/w3c/dom/CharacterData.java,
9569         external/w3c_dom/org/w3c/dom/Comment.java,
9570         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
9571         external/w3c_dom/org/w3c/dom/DOMError.java,
9572         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
9573         external/w3c_dom/org/w3c/dom/DOMException.java,
9574         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
9575         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
9576         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
9577         external/w3c_dom/org/w3c/dom/DOMLocator.java,
9578         external/w3c_dom/org/w3c/dom/DOMStringList.java,
9579         external/w3c_dom/org/w3c/dom/Document.java,
9580         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
9581         external/w3c_dom/org/w3c/dom/DocumentType.java,
9582         external/w3c_dom/org/w3c/dom/Element.java,
9583         external/w3c_dom/org/w3c/dom/Entity.java,
9584         external/w3c_dom/org/w3c/dom/EntityReference.java,
9585         external/w3c_dom/org/w3c/dom/NameList.java,
9586         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
9587         external/w3c_dom/org/w3c/dom/Node.java,
9588         external/w3c_dom/org/w3c/dom/NodeList.java,
9589         external/w3c_dom/org/w3c/dom/Notation.java,
9590         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
9591         external/w3c_dom/org/w3c/dom/Text.java,
9592         external/w3c_dom/org/w3c/dom/TypeInfo.java,
9593         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
9594         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
9595         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
9596         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
9597         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
9598         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
9599         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
9600         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
9601         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
9602         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
9603         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
9604         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
9605         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
9606         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
9607         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
9608         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
9609         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
9610         external/w3c_dom/org/w3c/dom/css/Counter.java,
9611         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
9612         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
9613         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
9614         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
9615         external/w3c_dom/org/w3c/dom/css/Rect.java,
9616         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
9617         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
9618         external/w3c_dom/org/w3c/dom/events/Event.java,
9619         external/w3c_dom/org/w3c/dom/events/EventException.java,
9620         external/w3c_dom/org/w3c/dom/events/EventListener.java,
9621         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
9622         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
9623         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
9624         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
9625         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
9626         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
9627         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
9628         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
9629         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
9630         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
9631         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
9632         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
9633         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
9634         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
9635         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
9636         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
9637         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
9638         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
9639         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
9640         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
9641         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
9642         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
9643         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
9644         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
9645         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
9646         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
9647         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
9648         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
9649         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
9650         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
9651         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
9652         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
9653         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
9654         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
9655         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
9656         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
9657         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
9658         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
9659         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
9660         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
9661         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
9662         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
9663         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
9664         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
9665         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
9666         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
9667         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
9668         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
9669         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
9670         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
9671         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
9672         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
9673         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
9674         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
9675         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
9676         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
9677         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
9678         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
9679         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
9680         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
9681         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
9682         external/w3c_dom/org/w3c/dom/ls/LSException.java,
9683         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
9684         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
9685         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
9686         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
9687         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
9688         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
9689         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
9690         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
9691         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
9692         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
9693         external/w3c_dom/org/w3c/dom/ranges/Range.java,
9694         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
9695         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
9696         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
9697         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
9698         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
9699         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
9700         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
9701         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
9702         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
9703         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
9704         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
9705         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
9706         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
9707         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
9708         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
9709         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
9710         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
9711         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
9712         from Classpath.
9714 2005-01-31  Anthony Green  <green@redhat.com>
9716         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
9717         Support IP_MULTICAST_LOOP.
9718         (setOption): Support IP_MULTICAST_LOOP.
9720         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
9721         SO_REUSEADDR support.
9722         (getOption): Support SO_REUSEADDR.
9724 2005-01-28  Jeroen Frijters  <jeroen@frijters.net>
9726         PR libgcj/19649
9727         * java/util/Date.java
9728         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
9729         constructor.
9730         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
9731         arguments.
9732         (getTimezoneOffset): Inverted sign.
9734 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
9736         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
9737         remove other passing tests and add new XFAILs.
9739 2005-01-24  Tom Tromey  <tromey@redhat.com>
9741         * java/lang/Class.h (next): Updated documentation.  Renamed to
9742         'next_or_version'.
9743         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
9744         _Jv_CheckABIVersion.
9745         (_Jv_RegisterClasses_Counted): Likewise.
9746         (_Jv_RegisterClassHookDefault): Fix starting condition of
9747         duplicate-checking loop.
9748         * include/jvm.h (GCJ_VERSION): New define.
9749         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
9750         (_Jv_CheckABIVersion): New function.
9752 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
9754         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
9755         (libgij_la_LDFLAGS): Add.
9756         * Makefile.in: Rebuilt.
9758 2005-01-24  Roger Sayle  <roger@eyesopen.com>
9760         PR java/19295
9761         * testsuite/libjava.compile/PR19295.java: New test case.
9763 2005-01-19  Tom Tromey  <tromey@redhat.com>
9765         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
9766         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
9767         if 'handler' is valid.
9769 2005-01-17  Tom Tromey  <tromey@redhat.com>
9771         * java/text/MessageFormat.java (scanString): Changed how quoting
9772         is handled.
9773         (scanFormatElement): Likewise.
9775 2004-12-07  Mark Wielaard  <mark@klomp.org>
9777         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
9779 2005-01-15  Michael Koch  <konqueror@gmx.de>
9781         PR libgcj/19444
9782         * java/net/URI.java
9783         (AUTHORITY_REGEXP): New regexp constant.
9784         (AUTHORITY_USERINFO_GROUP): New constant.
9785         (AUTHORITY_HOST_GROUP): Likewise.
9786         (AUTHORITY_PORT_GROUP): Likewise.
9787         (port): Changed default value to -1.
9788         (parseURI): Parse authority part and initialize host,
9789         port and userInfo.
9791 2005-01-14  Robin Green  <greenrd@greenrd.org>
9793         * java/io/File.java (toURI): Generate a URI which we understand.
9795 2005-01-13  Graydon Hoare  <graydon@redhat.com>
9797         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
9798         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
9799         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
9800         * jni.cc: Reuse bottom frame between calls, avoid clearing
9801         frame when no local references are made.
9803 2005-01-13  Michael Koch  <konqueror@gmx.de>
9805         PR libgcj/17784
9806         * java/lang/Thread.java
9807         (Thread): Call checkAccess().
9808         (stop): Fixed argument name to match javadoc.
9809         * java/lang/natThread.cc
9810         (interrupt): Call checkAccess().
9811         (stop): Likewise.
9813 2005-01-11  Michael Koch  <konqueror@gmx.de>
9815         PR libgcj/13972
9816         * java/net/URL.java (URL): Handle specs like
9817         "/redir?http://domain2.com/index.html" which start with a slash.
9819 2005-01-11  Michael Koch  <konqueror@gmx.de>
9821         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
9822         * gnu/java/net/BASE64.java,
9823         gnu/java/net/EmptyX509TrustManager.java,
9824         gnu/java/net/LineInputStream.java,
9825         gnu/java/net/protocol/http/Authenticator.java,
9826         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
9827         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
9828         gnu/java/net/protocol/http/ChunkedInputStream.java,
9829         gnu/java/net/protocol/http/Cookie.java,
9830         gnu/java/net/protocol/http/CookieManager.java,
9831         gnu/java/net/protocol/http/Credentials.java,
9832         gnu/java/net/protocol/http/HTTPConnection.java,
9833         gnu/java/net/protocol/http/HTTPDateFormat.java,
9834         gnu/java/net/protocol/http/HTTPURLConnection.java,
9835         gnu/java/net/protocol/http/Headers.java,
9836         gnu/java/net/protocol/http/Request.java,
9837         gnu/java/net/protocol/http/RequestBodyWriter.java,
9838         gnu/java/net/protocol/http/Response.java,
9839         gnu/java/net/protocol/http/ResponseBodyReader.java,
9840         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
9841         gnu/java/net/protocol/http/SimpleCookieManager.java,
9842         gnu/java/net/protocol/http/event/ConnectionEvent.java,
9843         gnu/java/net/protocol/http/event/ConnectionListener.java,
9844         gnu/java/net/protocol/http/event/RequestEvent.java,
9845         gnu/java/net/protocol/http/event/RequestListener.java: New files.
9846         * gnu/java/net/protocol/http/Connection.java: Removed.
9847         * gnu/java/net/protocol/http/Handler.java,
9848         javax/net/ssl/HttpsURLConnection.java: Updated.
9849         * Makefile.am: Added new files and remove old ones.
9850         * Makefile.in: Regenerated.
9852 2005-01-11  Tom Tromey  <tromey@redhat.com>
9854         PR libgcj/18840:
9855         * java/io/BufferedInputStream.java (read): Repeatedly read to
9856         fill buffer.
9857         (refill): Change test to see if buffer must be grown.
9859 2005-01-10  Tom Tromey  <tromey@redhat.com>
9861         * mauve-libgcj: Exclude some swing tests.
9863 2005-01-10  Tom Tromey  <tromey@redhat.com>
9865         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
9866         * java/lang/Package.java (getPackages): Use VMClassLoader when
9867         appropriate.
9868         (getPackage): Likewise.
9869         * prims.cc (_Jv_CreateJavaVM): Call
9870         _Jv_RegisterBootstrapPackages.
9871         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
9872         * java/lang/VMClassLoader.java (getPackage): Rewrote.
9873         (getPackages): Likewise.
9874         (definedPackages): New field.
9875         (definePackageForNative): New method.
9876         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
9877         * java/lang/natVMClassLoader.cc (loadClass): Updated.
9878         * defineclass.cc (handleClassBegin): Use
9879         ClassLoader.findLoadedClass.
9880         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
9881         Rewrote.
9882         (struct _Jv_LoaderInfo): Removed.
9883         (initiated_classes): Likewise.
9884         (_Jv_UnregisterClass): Don't use initiated_classes.
9885         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
9886         (_Jv_FindClass): Register classes found during boostrap.
9887         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
9888         (bootstrap_class_list): New global.
9889         (bootstrap_index): Likewise.
9890         (_Jv_RegisterBootstrapPackages): New function.
9891         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
9892         definePackageForNative.
9893         (findClass): Updated.
9894         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
9895         New method.
9897 2005-01-10  Tom Tromey  <tromey@redhat.com>
9899         PR libgcj/18868:
9900         * include/jvm.h (_Jv_Linker::find_field): Declare.
9901         (_Jv_Linker::find_field_helper): Likewise.
9902         * link.cc (find_field_helper): New method.
9903         (find_field): Likewise.
9904         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
9905         not found.
9906         (link_symbol_table): Use find_field.
9908 2005-01-10  Michael Koch  <konqueror@gmx.de>
9910         PR libgcj/18014
9911         * java/util/Locale.java (Locale): Don't uppercase variant.
9912         (getISOCountries): Fixed typo in javadoc.
9914 2005-01-10  Michael Koch  <konqueror@gmx.de>
9916         * java/util/SimpleTimeZone.java (checkRule):
9917         Throw IllegalArgumentException on invalid month values.
9918         * java/util/TimeZone.java (setID):
9919         Throw NullPointerException if needed.
9921 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9923         * java/util/SimpleTimeZone.java (getOffset):
9924         offset end date with daylight savings
9926 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
9928         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
9929         * testsuite/libjava.compile/PR19277.xfail: Likewise.
9931 2005-01-09  Michael Koch  <konqueror@gmx.de>
9933         PR libgcj/17069
9934         * java/net/InetAddress.java (getLocalHost):
9935         Throw UnknownHostException if local hostname cannot be determined.
9937 2005-01-06  Tom Tromey  <tromey@redhat.com>
9939         * java/lang/ClassLoader.java (findClass): Fixed documentation.
9941 2005-01-07  Michael Koch  <konqueror@gmx.de>
9943         PR libgcj/18115
9944         * java/nio/Buffer.java (address): New field.
9945         * java/nio/DirectByteBufferImpl.java (address): Removed.
9946         * java/nio/MappedByteBufferImpl.java (address): Likewise.
9947         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
9948         Explicitly initialize Buffer.address if needed.
9949         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
9950         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
9951         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
9952         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
9953         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
9954         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
9955         DirectByteBufferImpl object.
9956         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9957         * testsuite/libjava.jni/directbuffer.c,
9958         testsuite/libjava.jni/directbuffer.java,
9959         testsuite/libjava.jni/directbuffer.out,
9960         testsuite/libjava.jni/bytebuffer.c,
9961         testsuite/libjava.jni/bytebuffer.java,
9962         testsuite/libjava.jni/bytebuffer.out: New files.
9964 2005-01-05  Tom Tromey  <tromey@redhat.com>
9966         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
9967         argument.
9968         (compressedSize): Now 'long'.  Default to -1.
9969         (getCompressedSize): Rewrote.
9970         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
9971         deflate at all if we need input.
9973 2005-01-05  Tom Tromey  <tromey@redhat.com>
9975         PR libgcj/15719:
9976         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
9977         correctly.
9979 2005-01-05  Tom Tromey  <tromey@redhat.com>
9981         * java/lang/natRuntime.cc (insertSystemProperties): Set
9982         java.ext.dirs earlier.
9984 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
9986         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
9987         sync_info element of the object if needed.
9989 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
9991         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
9992         a non-zero exit status from 'false'.
9994 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
9996         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.