2012-01-27 Tom de Vries <tom@codesourcery.com>
[official-gcc.git] / libjava / ChangeLog-2005
blob8333f78dbf5ae26c8c033597414248af6d9ea5bb
1 2005-12-24  David Daney <ddaney@avtrex.com>
2             Tom Tromey  <tromey@redhat.com>
4         PR libgcj/9715, PR libgcj/19132:
5         * java/nio/charset/Charset.java (charsetForName): Try default
6         provider first.
7         (availableCharsets): Re-merged.
8         (providers2): Likewise.
9         (defaultCharset): Likewise.
10         * sources.am, Makefile.in: Rebuilt.
11         * gnu/java/nio/charset/Provider.java: Removed.
12         * java/io/OutputStreamWriter.java
13         (OutputStreamWriter(OutputStream,Charset)): New constructor.
14         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
15         * java/io/InputStreamReader.java
16         (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
17         (InputStreamReader(InputStream,Charset)): Likewise.
18         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
19         BytesToCharsetAdaptor.
20         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
21         CharsetToBytesAdaptor.
22         * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
23         * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
24         * mauve-libgcj: Remove getEncoding exclusion.
26 2005-12-28  Anthony Green  <green@redhat.com>
28         * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
29         as previous patch, but for win32.
31 2005-12-28  Anthony Green  <green@redhat.com>
33         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
34         address and port before attempting anything.
36 2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
38         * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
39         operation atomic.
41 2005-12-22  Andrew Haley  <aph@redhat.com>
43         PR java/25535
44         * testsuite/libjava.lang/PR25535.java: New test.
46 2005-12-22  Tom Tromey  <tromey@redhat.com>
48         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
49         reference NUM_OBJECT_METHODS.
50         * include/jvm.h (NUM_OBJECT_METHODS): Removed.
52 2005-12-18  Anthony Green  <green@redhat.com>
54         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress): 
55         New helper function.
56         (setOption): Use getLocalAddress.  Don't downcast value to
57         InetAddress.
58         (getOption): Use getLocalAddress.
60 2005-12-16  Tom Tromey  <tromey@redhat.com>
62         * java/lang/Class.java (getPackage): Get package from
63         VMClassLoader if needed.
65 2005-12-16  Tom Tromey  <tromey@redhat.com>
67         * testsuite/libjava.jacks/jacks.xfail
68         (8.5.2-accessible-static-member-usage-3): Removed.
70 2005-12-15  Tom Tromey  <tromey@redhat.com>
72         * testsuite/libjava.compile/rh175833.java: New file.
73         * testsuite/libjava.compile/pr25429.java: New file.
75 2005-12-15  Alan Modra  <amodra@bigpond.net.au>
77         * testsuite/lib/libjava.exp: Revert 2005-12-01.
78         * testsuite/libjava.lang/Array_3.xfail: Delete.
80 2005-12-14  Andrew Haley  <aph@redhat.com>
82         * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
83         handle stdout from the child process.
85 2005-12-14  Tom Tromey  <tromey@redhat.com>
87         PR classpath/25389:
88         * java/io/File.java (File): Throw IllegalArgumentException if URI is
89         non-hierarchical.
91 2005-12-12  Andrew Haley  <aph@redhat.com>
93         * java/lang/VMCompiler.java: Directly generate a new instance of
94         gnu.java.security.provider.MD5.
96 2005-12-08  Andrew Haley  <aph@redhat.com>
98         PR libgcj/25265
99         * java/lang/Object.h (throwNoSuchMethodError): New method.
100         * java/lang/Object.java (throwNoSuchMethodError): New method.
101         * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
102         * link.cc (_Jv_ThrowNoSuchFieldError): New.
103         (link_symbol_table): Don't throw a NoSuchFieldError if a field is
104         missing.  Instead, set the otable entry to zero.
105         (link_symbol_table): If we don't find a nonstatic method, insert
106         the vtable offset of Object.throwNoSuchMethodError() into the
107         otable.
109 2005-12-05  Tom Tromey  <tromey@redhat.com>
111         * testsuite/libjava.compile/rh174912.java: New file.
113 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
115         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
116         xfail-byte-exec.
117         * testsuite/libjava.lang/Array_3.xfail: New file.
119 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
121         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
122         to compare _Jv_InterpMethod::run against current func.
124 2005-11-30  Andrew Haley  <aph@redhat.com>
126         * classpath/lib/Makefile.am (resources): Use `cp -p'.
127         Remove `@' from start of line.
129 2005-11-28  Tom Tromey  <tromey@redhat.com>
131         PR java/18278:
132         * testsuite/libjava.jni/pr18278.out: New file.
133         * testsuite/libjava.jni/pr18278.c: New file.
134         * testsuite/libjava.jni/pr18278.java: New file.
135         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
136         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
137         (call): Unwrap return value if needed.
139 2005-11-25  Mark Wielaard  <mark@klomp.org>
141         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
142         gnu/javax/rmi.
143         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
144         gnu/javax/rmi to bc.
145         * gnu/CORBA/ObjectCreator.java: New override file for missing
146         VMStackWalker issue.
147         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
148         * gnu/CORBA/DynAn/RecordAny.java: Likewise
149         * sources.am: Regenerated.
150         * Makefile.in: Regenerated
152 2005-11-25  Andrew Haley  <aph@redhat.com>
154         PR libgcj/25016
155         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
156         struct timespec we pass to pthread_cond_timedwait.
158 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
160         * testsuite/libjava.jacks/jacks.xfail: Remove
161         non-jls-argument-expansion-13 and add
162         non-jls-argument-expansion-error-1 in response to the @file support
163         patch in the main GCC driver.
165 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
167         * sysdep/ia64-frame.h: Removed.
168         * sysdep/ia64.c: Removed.
169         * sysdep/dwarf2-backtrace.cc: Removed.
170         * configure.ac: Remove references to HAVE_BACKTRACE and
171         SUPPLY_BACKTRACE.
172         * Makefile.am: Remove SUPPLY_BACKTRACE support.
173         * configure: Rebuilt.
174         * Makefile.in: Rebuilt.
176 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
178         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
180 2005-11-17  Mark Wielaard  <mark@klomp.org>
182         Imported GNU Classpath gcj-import-20051117.
183         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
184         * sources.am: Regenerated.
185         * Makefile.in: Likewise.
187 2005-11-17  Mark Wielaard  <mark@klomp.org>
189         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
190         * java/net/ServerSocket.java: Likewise.
191         * sources.am: Regenerated.
192         * Makefile.in: Regenerated.
194 2005-11-17  Mark Wielaard  <mark@klomp.org>
196         Fixes bug #24006
197         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
199 2005-11-17  Tom Tromey  <tromey@redhat.com>
201         * java/net/ServerSocket.java (accept): Use correct security manager
202         call.
204 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
206         * java/net/ServerSocket.java
207         (bound): Removed.
208         (local): New field.
209         (bind): Cache local socket address.
210         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
211         Use cached local socket address.
212         (close): bound field was removed.
214 2005-11-17  Tom Tromey  <tromey@redhat.com>
216         * java/net/URLConnection.java (setDoInput): Javadoc fix.
217         (setDoOutput): Likewise.
218         (setContentHandlerFactory): Likewise.
219         (setFileNameMap): Likewise.
221 2005-11-17  Mark Wielaard  <mark@klomp.org>
223         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
225 2005-11-17  Mark Wielaard  <mark@klomp.org>
227         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
228         call urls.add() and addURLImpl() directly on each URL.
230 2005-11-17  Tom Tromey  <tromey@redhat.com>
232         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
234 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
236         * java/net/URLClassLoader.java
237         (Resource.name): Removed field.
238         (JarURLResource.name): Added field.
239         (FileResource.getURL): Use File.toURL() instead of doing it in
240         a way that breaks on Windows.
242 2005-11-17  Roman Kennke  <roman@kennke.org>
244         Reported by: Ingo Proetel  <proetel@aicas.com>
245         * java/net/URLClassLoader.java
246         (findClass): Added null check to avoid NullPointerException.
248 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
250         * java/net/URLClassLoader.java: reordered some API doc comments to
251         suppress Eclipse warnings, and fixed API doc link.
253 2005-11-17  Tom Tromey  <tromey@redhat.com>
255         * java/net/URLClassLoader.java (URLClassLoader): Removed
256         unused constructor.
258 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
260         * java/net/URLClassLoader (findClass): Close InputStream after we're
261         done with it.
263 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
265         Implement -Xss.
266         * include/jvm.h (gcj::stack_size): Declare.
267         (_Jv_StackSize): Declare.
268         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
269         (_Jv_ThreadStart): Set stack size if specified.
270         * prims.cc (gcj::stack_size): Define.
271         (parse_memory_size): Renamed from parse_heap_size.
272         (_Jv_SetStackSize): Parse stack size argument and set 
273         gcj::stack_size.
275 2005-11-17  Mark Wielaard  <mark@klomp.org>
277         * java/text/SimpleDateFormat.java: Removed, fully merged now.
278         * sources.am: Regenerated.
279         * Makefile.in: Regenerated.
281 2005-11-17  Sven de Marothy  <sven@physto.se>
283         * java/text/SimpleDateFormat.java
284         (computeOffset): Allow timezone to be first in the parsed String.
286 2005-11-17  Mark Wielaard  <mark@klomp.org>
288         * java/text/SimpleDateFormat.java (field, size): Make package private.
290 2005-11-17  Tom Tromey  <tromey@redhat.com>
292         * java/text/SimpleDateFormat.java (compileFormat): Correctly
293         handle quoted single quotes.  PR classspath/23183.
295 2005-11-17  Tom Tromey  <tromey@redhat.com>
297         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
299 2005-11-17  Tom Tromey  <tromey@redhat.com>
301         * java/text/DateFormat.java (serialVersionUID): New field.
303 2005-11-17  Mark Wielaard  <mark@klomp.org>
305         * java/text/DateFormat.java (equals): Reimplement.
307 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
309         * java/text/Collator.java: API doc fixes,
310         * java/text/DateFormat.java: likewise,
311         * java/text/DecimalFormatSymbols.java: likewise,
312         * java/text/DateFormatSymbols.java: likewise,
313         * java/text/SimpleDateFormat.java: likewise.
315 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
317         * java/text/Collator.java (getInstance(Locale)):
318         Added default collation pattern to handle case when resource
319         is missing and throw InternalError instead of returning null
320         should parsing fail.
322 2005-11-15  Mark Wielaard  <mark@klomp.org>
324         * java/util/zip/ZipEntry.java: Removed, fully merged now.
325         * java/util/zip/ZipFile.java: Likewise.
326         * sources.am: Regenerated.
327         * Makefile.in: Regenerated.
329 2005-11-15  Tom Tromey  <tromey@redhat.com>
331         classpath/23890:
332         * java/util/Calendar.java (equals): Include other calendar
333         attributes.
334         (hashCode): Updated.
335         * java/util/GregorianCalendar.java (hashCode): New method.
336         (equals): Use super.equals().
338 2005-11-15  Sven de Marothy  <sven@physto.se>
340         * java/util/Calendar (setTimeInMillis): Recompute time fields.
342 2005-11-15  Mark Wielaard  <mark@klomp.org>
344         * java/util/SimpleTimeZone.java: Removed, fully merged now.
345         * java/util/Date.java: Likewise.
346         * sources.am: Regenerated.
347         * Makefile.in: Regenerated.
349 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
351         * java/util/Calendar.java: fixed minor problems in API docs,
352         * java/util/Date.java: likewise,
353         * java/util/ResourceBundle.java: likewise,
354         * java/util/SimpleTimeZone.java: likewise,
356 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
358         * java/io/ObjectInputStream.java
359         (parseContent): Removed bogus println and fixed bug #24422.
360                 
361 2005-11-15  Mark Wielaard  <mark@klomp.org>
363         * java/io/ObjectStreamClass.java: Removed, fully merged now.
364         * sources.am: Regenerated.
365         * Makefile.in: Regenerated.
367 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
369         * java/io/ObjectInputStream.java
370         (processResolution): Pass Error, RuntimeException and
371         ObjectStreamException through to the caller.
372         (readObject): Documentation update.
374 2005-11-15  Mark Wielaard  <mark@klomp.org>
376         Imported GNU Classpath 0.19 + gcj-import-20051115.
377         * sources.am: Regenerated.
378         * Makefile.in: Likewise.
379         * scripts/makemake.tcl: Use glob -nocomplain.
381 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
383         * Makefile.in: Re-generated.
384         * gnu/awt/xlib/XGraphicsDevice.java: New file.
385         * gnu/awt/xlib/XToolkit.java
386         (getLocalGraphicsEnvironment): Implemented. 
387         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
388         * sources.am: Re-generated.
390 2005-15-09  David Daney <ddaney@avtrex.com>
392         PR libgcj/15430
393         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
394         function.
395         (accept): Call it.
396         (close): Call shutdown before closing.
397         (read()): Call read_helper with proper parameters.
398         (read(buffer, int, int)): Likewise.
399         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
400         and timeout parameters.  Make prototype to match. Use 
401         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
402         in two places.
404 2005-11-15  Andrew Haley  <aph@redhat.com>
406         * Merge from Classpath head:
408    2005-09-16  Andrew Haley  <aph@redhat.com>
409    
410            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
411            protected readResolve().  Rewrite accessibility check.
412    
413    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
414    
415            * java/io/ObjectStreamClass.java
416            (findAccessibleMethod): Added code to make method accessible.
417    
418    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
419    
420            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
421            (findAccessibleMethod): Likewise.
422            (cacheMethods): Lookup readResolve and writeReplace using the new
423            findAccessibleMethod().
424    
425 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
427         * java/net/natVMNetworkInterfaceWin32.cc: Include
428         java/net/VMNetworkInterface.h.
430 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
431             David Daney  <ddaney@avtrex.com>
433         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
434         (read): Handle count == 0 case.
436 2005-11-09  Tom Tromey  <tromey@redhat.com>
438         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
439         passes.
441 2005-11-08  Tom Tromey  <tromey@redhat.com>
443         PR libgcj/24587:
444         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
446 2005-11-08  Tom Tromey  <tromey@redhat.com>
448         PR libgcj/23763.  From aeby@graeff.com.
449         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
450         before exec.
452 2005-11-08  Mark Wielaard  <mark@klomp.org>
454         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
456 2005-11-07  David Daney  <ddaney@avtrex.com>
458         * mauve-libgcj: Disable javax.rmi.* and
459         java.io.InputStreamReader.getEncoding.
461 2005-11-04  Tom Tromey  <tromey@redhat.com>
463         PR libgcj/14358, libgcj/24552:
464         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
465         aliases for 'euc_jp' and 'eucjp'.
466         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
467         canonical names in output.
468         (%map): Added UnicodeLittle and UnicodeBig.
470 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
472         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
474 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
476         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
477         library extensions.
479 2005-10-12  Andrew Haley  <aph@redhat.com>
481         PR java/24251
482         * link.cc (ensure_method_table_complete): Install Miranda methods
483         for interfaces too.
485 2005-10-10  Tom Tromey  <tromey@redhat.com>
487         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
488         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
489         Now static.
491 2005-10-05  Richard Henderson  <rth@redhat.com>
493         PR target/23602
494         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
495         but not BACKTRACESPEC.
496         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
498 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
500         * testsuite/lib/jni.exp (gcj_jni_test_one): For
501         darwin, use -shared-libgcc not -lgcc_s, and explain why.
502         (gcj_jni_invocation_test_one): Likewise.
504 2005-09-30  Tom Tromey  <tromey@redhat.com>
506         PR libgcj/24051:
507         * Makefile.in: Rebuilt.
508         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
509         requested.
510         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
511         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
512         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
513         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
514         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
515         * configure: Rebuilt.
516         * configure.ac: Pass --enable-qt-peers when qt is requested.
518 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
520         * configure.ac: Fix typo.
521         * configure: Regenerate.
523 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
525         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
526         __LP64__ is defined rather than __powerpc64__.
527         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
528         (compare_and_swap_release): Likewise.
530 2005-09-28  David Daney  <ddaney@avtrex.com>
532         * HACKING: Update instructions for classpath import.
534 2005-09-27  Tom Tromey  <tromey@redhat.com>
536         PR libgcj/23367:
537         * include/jvm.h (_Jv_FreeMethodCache): Declare.
538         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
539         (struct _Jv_mcache): Likewise.
540         (method_cache): Likewise.
541         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
542         (_Jv_AddMethodToCache): Likewise.
543         (_Jv_FreeMethodCache): New function.
544         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
545         * aclocal.m4, configure, include/config.h.in: Rebuilt.
546         * configure.ac: Invoke GCC_CHECK_TLS.
548 2005-09-27  Tom Tromey  <tromey@redhat.com>
550         * configure, Makefile.in: Rebuilt.
551         * sources.am: Rebuilt.
552         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
553         * configure.ac (TOOLKIT): Handle Qt peers properly.
555 2005-09-23  Tom Tromey  <tromey@redhat.com>
557         Imported Classpath 0.18.
558         * sources.am, Makefile.in: Updated.
559         * Makefile.am (nat_source_files): Removed natProxy.cc.
560         * java/lang/reflect/natProxy.cc: Removed.
561         * gnu/classpath/jdwp/VMFrame.java,
562         gnu/classpath/jdwp/VMIdManager.java,
563         gnu/classpath/jdwp/VMVirtualMachine.java,
564         java/lang/reflect/VMProxy.java: New files.
566 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
568         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
569         list.
571 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
573         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
574         Remove ClasspathToolkit references.
576 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
578         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
579         * gnu/awt/xlib/XFramePeer.java: Likewise.
580         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
582 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
584         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
585         classpath/native/jawt/jawt.c.
586         * Makefile.in: Regenerate.
587         * jawt.c: Remove file.
588         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
589         jawt_md.h.  Add ../classpath/include/jawt.h and
590         ../classpath/include/jawt_md.h.
591         * include/Makefile.in: Regenerate.
592         * include/jawt.h: Regenerate.
593         * include/jawt_md.h: Regenerate.
595 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
597         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
598         `null' parent ClassLoader to parent constructor.
599         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
600         constructor.
602 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
604         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
606 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
608         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
609         Use libjava_find_lib to find the proper libgcj.
611 2005-09-16  Anthony Green  <green@redhat.com>
613         PR libgcj/20198
614         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
615         resources should all have canonicalized names.
617 2005-09-15  Tom Tromey  <tromey@redhat.com>
619         PR libgcj/16032:
620         * interpret.cc (AVAL1U): Resolve pool entry when not direct
621         threaded.
622         (AVAL2U): Likewise.
623         (compile): Handle 'ldc class' specially.
624         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
625         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
626         * defineclass.cc (handleCodeAttribute): Set new field.
627         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
628         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
629         (parse): Check version numbers.
630         (_Jv_ClassReader::is_15): New field.
631         (_Jv_ClassReader): Initialize it.
632         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
634 2005-09-15  Tom Tromey  <tromey@redhat.com>
636         For PR libgcj/23288:
637         * java/net/URLClassLoader.java (definePackage): Correctly order
638         arguments to definePackage.  Look up per-entry Attributes.
639         (getAttributeValue): New method.
641 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
643         PR libgcj/23762
644         * shlibpath.m4: New file.
645         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
646         macro.
647         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
648         [USE_LTDL]: If it was not defined with -D set java.library.path to
649         the value of LTDL_SHLIBPATH_VAR.
651 2005-09-08  Andrew Haley  <aph@redhat.com>
653         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
654         loader.
655         (toString): Likewise.
657 2005-09-08  Andrew Haley  <aph@redhat.com>
659         PR java/22084
660         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
661         R/M field in instruction is 100.
663 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
665         PR libgcj/23761
666         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
667         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
668         lt_dlinit.
669         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
670         Define variable.
671         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
672         _Jv_Module_Load_Path.
674 2005-09-06  Tom Tromey  <tromey@redhat.com>
676         PR libgcj/23739:
677         * testsuite/libjava.jni/pr23739.c: New file.
678         * testsuite/libjava.jni/pr23739.java: New file.
679         * testsuite/libjava.jni/pr23739.out: New file.
680         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
681         * java/lang/reflect/natMethod.cc (invoke): Updated.
682         * java/lang/natClass.cc (isAssignableFrom): Updated.
683         (isInstance): Likewise.
684         (_Jv_IsAssignableFrom): Reversed arguments.
685         (_Jv_IsInstanceOf): Updated.
686         (_Jv_CheckCast): Likewise.
687         (_Jv_CheckArrayStore): Likewise.
688         (_Jv_IsAssignableFromSlow): Reversed arguments.
689         (_Jv_InterfaceAssignableFrom): Likewise.
690         * link.cc (verify_type_assertions): Updated.
691         * prims.cc (_Jv_CheckAccess): Updated.
693 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
695         Testsuite changes for PR java/23431.
696         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
697         8.4.6.2-hiding-5.
698         * testsuite/libjava.compile/PR23431_1.java: New testcase.
699         * testsuite/libjava.compile/PR23431_2.java: Likewise.
700         * testsuite/libjava.compile/PR23431_1.xfail: New file.
701         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
703 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
705         PR libgcj/23549
706         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
707         -disableassertions and -da.
709 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
711         * configure.ac: Replace "*-*-darwin[0-7].*" with
712         "*-*-darwin[[0-7]].*"
713         * configure: Regenerate.
715 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
717         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
718         darwin < 8.
719         * configure: Regenerate.
721 2005-08-23  Roman Kennke  <roman@kennke.org>
723         * java/lang/Character.java
724         (toChars(int)): New JDK1.5 method.
725         (toChars(int, char[], int)): New JDK1.5 method.
726         (charCount): New JDK1.5 method.
727         (isSupplementaryCodePoint): New JDK1.5 method.
728         (isValidCodePoint): New JDK1.5 method.
730 2005-08-23  Tom Tromey  <tromey@redhat.com>
732         * aclocal.m4, Makefile.in: Rebuilt.
733         * Makefile.am (property_files): Added META-INF files.
734         (propertyo_files): Changed definition.
735         ($(propertyo_files)): Updated patterns.
737 2005-08-22  Tom Tromey  <tromey@redhat.com>
739         PR libgcj/22622:
740         * configure: Rebuilt.
741         * configure.ac: Correctly create Configuration.java (for
742         temporary use).
744 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
746         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
747         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
748         * mingwld.m4: ... this new file.
749         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
750         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
752 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
754         PR libgcj/23507
755         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
756         assignment.  Cast operands of compare to function pointer type.
758 2005-08-21  Tom Tromey  <tromey@redhat.com>
760         * HACKING: Updated for hacking classpath in libgcj.
762 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
764         PR libgcj/21692
765         * sysdep/pa/descriptor.h: New file.
766         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
768 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
770         * Makefile.am (extra_ldflags_libjava): New variable to
771         substitute in.
772         (LIBLINK): Add extra_ldflags_libjava to it.
773         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
774         "-Wl,-single_module".
775         * Makefile.in: Regenerate.
776         * aclocal.m4: Regenerate.
777         * configure: Regenerate.
778         * gcj/Makefile.in: Regenerate.
779         * include/Makefile.in: Regenerate.
780         * testsuite/Makefile.in: Regenerate.
782 2005-08-17  Tom Tromey  <tromey@redhat.com>
784         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
785         friend.
786         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
787         * testsuite/libjava.lang/bclink.java: New file.
788         * testsuite/libjava.lang/bclink.out: New file.
789         * link.cc (print_class_loaded): Changed ABI test to look at
790         various _syms fields.
792 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
794         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
795         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
797 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
799         More testsuite adjustments for PR java/19870.
800         * testsuite/libjava.lang/PR19870_2.java: New testcase.
801         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
802         new testcase.
803         * testsuite/libjava.jacks/jacks.xfail: Remove
804         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
806 2005-08-16  Tom Tromey  <tromey@redhat.com>
808         * gnu/xml/xpath/XPathParser.y: Removed.
810 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
812         PR libgcj/23353:
813         * java/lang/natObject.cc (clone): Clear sync_info.
815 2005-07-26  Tom Tromey  <tromey@redhat.com>
817         * gnu/java/net/protocol/ftp/package.html,
818         gnu/javax/swing/text/html/package.html,
819         gnu/javax/swing/text/html/parser/package.html,
820         gnu/javax/swing/text/html/parser/models/package.html,
821         gnu/javax/swing/text/html/parser/support/package.html,
822         gnu/javax/swing/text/html/parser/support/low/package.html,
823         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
824         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
825         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
826         java/awt/geom/doc-files/CubicCurve2D-1.png,
827         java/awt/geom/doc-files/CubicCurve2D-2.png,
828         java/awt/geom/doc-files/CubicCurve2D-3.png,
829         java/awt/geom/doc-files/CubicCurve2D-4.png,
830         java/awt/geom/doc-files/CubicCurve2D-5.png,
831         java/awt/geom/doc-files/Ellipse-1.png,
832         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
833         java/awt/geom/doc-files/GeneralPath-1.png,
834         java/awt/geom/doc-files/QuadCurve2D-1.png,
835         java/awt/geom/doc-files/QuadCurve2D-2.png,
836         java/awt/geom/doc-files/QuadCurve2D-3.png,
837         java/awt/geom/doc-files/QuadCurve2D-4.png,
838         java/awt/geom/doc-files/QuadCurve2D-5.png,
839         javax/imageio/package.html, javax/imageio/event/package.html,
840         javax/imageio/metadata/package.html,
841         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
842         javax/swing/border/doc-files/BevelBorder-1.png,
843         javax/swing/border/doc-files/BevelBorder-2.png,
844         javax/swing/border/doc-files/BevelBorder-3.png,
845         javax/swing/border/doc-files/EmptyBorder-1.png,
846         javax/swing/border/doc-files/EtchedBorder-1.png,
847         javax/swing/border/doc-files/EtchedBorder-2.png,
848         javax/swing/border/doc-files/LineBorder-1.png,
849         javax/swing/border/doc-files/MatteBorder-1.png,
850         javax/swing/border/doc-files/MatteBorder-2.png,
851         javax/swing/border/doc-files/MatteBorder-3.png,
852         javax/swing/border/doc-files/MatteBorder-4.png,
853         javax/swing/border/doc-files/MatteBorder-5.png,
854         javax/swing/border/doc-files/MatteBorder-6.png,
855         javax/swing/border/doc-files/SoftBevelBorder-1.png,
856         javax/swing/border/doc-files/SoftBevelBorder-2.png,
857         javax/swing/border/doc-files/SoftBevelBorder-3.png,
858         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
859         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
860         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
861         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
862         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
863         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
864         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
865         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
866         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
867         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
868         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
869         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
870         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
871         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
872         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
873         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
874         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
875         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
876         javax/swing/plaf/doc-files/ComponentUI-1.dia,
877         javax/swing/plaf/doc-files/ComponentUI-1.png,
878         javax/swing/plaf/doc-files/TreeUI-1.png,
879         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
880         javax/xml/parsers/package.html, javax/xml/transform/package.html,
881         javax/xml/transform/dom/package.html,
882         javax/xml/transform/sax/package.html,
883         javax/xml/transform/stream/package.html,
884         javax/xml/validation/package.html, javax/xml/xpath/package.html:
885         Removed.
887 2005-07-22  Tom Tromey  <tromey@redhat.com>
889         * include/Makefile.in: Rebuilt.
890         * include/Makefile.am (tool_include__HEADERS): Include
891         classpath's jni.h.
893 2005-07-20  Tom Tromey  <tromey@redhat.com>
895         * sources.am, Makefile.in: Rebuilt.
896         * Makefile.am (all_xlib_lo_files): Removed.
897         (all_libgcj_lo_files): Likewise.
898         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
899         (xlib_java_source_files): Removed.
900         (xlib_nat_headers): Updated.
901         * configure: Rebuilt.
902         * configure.ac: Create standard.omit.
903         * standard.omit.in: New file.
904         * standard.omit: Removed.
905         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
906         'package'.
907         (emit_package_rule): Special case xlib peers.
908         (emit_source_var): Likewise.
909         Read standard.omit.in.
910         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
912 2005-07-18  Tom Tromey  <tromey@redhat.com>
914         * HACKING: Updated.
916 2005-07-19  Matthias Klose  <doko@debian.org>
918         * classpath/java/awt/im/InputContext.java (clinit): Initialize
919           line, im.
921 2005-07-18  Tom Tromey  <tromey@redhat.com>
923         PR libgj/21058:
924         * sources.am, Makefile.in: Rebuilt.
925         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
926         file.
927         (emit_source_var): Don't emit patsubst with './'.
929 2005-07-18  Tom Tromey  <tromey@redhat.com>
931         * Makefile.in: Rebuilt.
932         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
934 2005-07-17  Andreas Jaeger  <aj@suse.de>
936         * defineclass.cc (handleClassBegin): Remove unused variable.
938 2005-07-16  Andreas Schwab  <schwab@suse.de>
940         * scripts/makemake.tcl (emit_package_rule): Emit command to create
941         target directory.
942         * Makefile.am (%.lo): Don't create it here.
943         * sources.am, Makefile.in: Regenerated.
945 2005-07-15  Tom Tromey  <tromey@redhat.com>
947         Major merge with Classpath.
948         Removed many duplicate files.
949         * HACKING: Updated.x
950         * classpath: Imported new directory.
951         * standard.omit: New file.
952         * Makefile.in, aclocal.m4, configure: Rebuilt.
953         * sources.am: New file.
954         * configure.ac: Run Classpath configure script.  Moved code around
955         to support.  Disable xlib AWT peers (temporarily).
956         * Makefile.am (SUBDIRS): Added 'classpath'
957         (JAVAC): Removed.
958         (AM_CPPFLAGS): Added more -I options.
959         (BOOTCLASSPATH): Simplified.
960         Completely redid how sources are built.
961         Include sources.am.
962         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
963         * include/jni.h: Removed (in Classpath).
964         * scripts/classes.pl: Updated to look at built classes.
965         * scripts/makemake.tcl: New file.
966         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
967         -I options.
968         (gcj_jni_invocation_compile_c_to_binary): Likewise.
970 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
972         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
973         (eventMask): New field.
974         (XCanvasPeer(Component)): Use attributes field.
975         (setBackground): Implemented.
976         (setEventMask): Process mask only if changed.
977         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
978         (eventLoopThread): New field.
979         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
980         (interrupt): Removed.
981         (run): New method.
982         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
983         and Component events.
984         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
985         field.
986         (configureNotify): Set and clear processingConfigureNotify.
987         (setBounds): Process only if processingConfigureNotify is false.
988         (toBack): Implemented.
989         (toFront): Implemented.
990         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
991         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
992         color.
993         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
994         (wakeNativeQueue): Do nothing.
995         (iterateNativeQueue): Do queue.wait if blocking.
996         * gnu/gcj/xlib/Font.java (loadFont): New method.
997         (loadFontImpl): Renamed native method, was loadFont. 
998         * gnu/gcj/xlib/Window.java (toFront): New method.
999         (toBack): New method.
1000         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
1001         loadFont.
1002         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
1003         (toFront): New method. 
1004         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
1006 2005-07-14  Andrew Haley  <aph@redhat.com>
1008         * gnu/java/net/protocol/file/Connection.java (unquote): New
1009         method.
1010         (connect): Unquote filename.
1011         gnu/java/net/protocol/jar/Connection.java (getInputStream):
1012         Likewise.  
1013         (getJarFile): Likewise.
1015         * java/net/URLConnection.java (getContentHandler): Guard cast with
1016         instaceof.
1018         * java/net/URL.java (URL): If the file part of a spec is absolute,
1019         ignore the file part of its context.
1021 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
1023         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
1024         Implemented VirtualMachine Command Set.
1026 2005-07-14  Tom Tromey  <tromey@redhat.com>
1028         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
1029         Classpath.
1031 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1033         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
1034         Implemented the Field CommandSet.
1035         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
1036         Implemented the InterfaceType CommandSet.
1038 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1040         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
1041         shutdown to jdwp instead of connection.
1043 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
1045         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
1046         New file.
1048 2005-07-08  Colin Walters  <walters@verbum.org>
1050         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
1051         check for abstract classes or interfaces here; JVM spec
1052         says it should throw an exception, so we'll do so later.
1053         * interpret.cc (run): Throw an InstantiationException for
1054         abstract classes and interfaces.
1056 2005-07-08  Andrew Haley  <aph@redhat.com>
1058         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
1059         (regular, non-realtime scheduling), not SCHED_RR (realtime,
1060         round-robin).
1062 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
1064         * gnu/classpath/jdwp/util/Signature.java
1065         (computeFieldSignature): New Method.
1067 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
1069         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
1070         file.
1072 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
1074         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
1075         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
1077 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
1079         * testsuite/libjava.compile/PR21045.java: New test.
1080         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
1081         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
1083 2005-07-06  Tom Tromey  <tromey@redhat.com>
1085         * java/io/InputStreamReader.java (refill): Handle no-progress
1086         case correctly.
1087         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
1089 2005-07-06  Tom Tromey  <tromey@redhat.com>
1091         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
1093 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
1095         * testsuite/libjava.compile/PR19674.java: New test.
1097 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
1099         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
1100         New file.
1102 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
1104         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
1105         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
1106         CommandSets to handle JdwpCommandPackets.
1107         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
1108         Constructor.
1110 2005-07-01  Tom Tromey  <tromey@redhat.com>
1112         * libtool-version: Updated.
1114 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
1116         * gnu/classpath/jdwp/util/JdwpString.java: New file.
1118 2005-06-30  Keith Seitz  <keiths@redhat.com>
1120         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
1121         (myWrite): New abstract method.
1122         (toBytes): Remove.
1123         (myToBytes): Remove.
1124         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
1125         method.
1126         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
1127         method.
1128         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
1129         JdwpPacket.write instead of JdwpPacket.toBytes.
1131 2005-06-30  Keith Seitz  <keiths@redhat.com>
1133         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
1134         method.
1135         (_bytes): New member.
1136         (_doStream): New member.
1137         (JdwpConnection): Initialize new members.
1139 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
1141         * all files: Update for new FSF address.
1143 2005-06-29  Tom Tromey  <tromey@redhat.com>
1145         PR libgcj/22211:
1146         * testsuite/libjava.lang/pr22211.java: New file.
1147         * java/lang/natThread.cc (finish_): Synchronize when updating
1148         alive_flag.
1149         (_Jv_AttachCurrentThread): Likewise.
1150         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
1151         * java/lang/Thread.java (isAlive): Now synchronized.
1153 2005-06-29  Tom Tromey  <tromey@redhat.com>
1155         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
1156         _Jv_CheckCast.
1158 2005-06-28  Robin Green  <greenrd@greenrd.org>
1160         PR java/22189
1161         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
1162         error.
1164 2005-06-27  Tom Tromey  <tromey@redhat.com>
1166         PR java/21540, PR java/13788:
1167         * testsuite/libjava.compile/pr21540.java: New file.
1168         * testsuite/libjava.compile/pr13788.java: New file.
1169         * testsuite/libjava.jacks/jacks.xfail: Updated.
1171 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1173         * testsuite/libjava.mauve/xfails: Updated to reflect current state
1174         of mauve and libjava. 
1176 2005-06-24  Tom Tromey  <tromey@redhat.com>
1178         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
1179         where class' name is NULL.
1180         (_Jv_FindClass): Don't wait for class state.
1181         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
1182         name found.
1183         * include/java-interp.h (_Jv_DefineClass): Updated.
1184         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
1185         (struct _Jv_ClassReader): Likewise.
1186         (found_name): New field.
1187         (handleClassBegin): Set *found_name.
1188         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
1189         (handleClassBegin): Throw error if super class not set.
1190         (read_methods): Correctly call check_tag and prepare_pool_entry.
1192 2005-06-24  Tom Tromey  <tromey@redhat.com>
1194         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
1196 2005-06-24  Tom Tromey  <tromey@redhat.com>
1198         * verify.cc (verify_instructions_0): Correctly handle situation
1199         where PC falls off end.
1201 2005-06-24  Tom Tromey  <tromey@redhat.com>
1203         * interpret.cc (compile): Handle case where table entry is
1204         outside of PC range.
1206 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
1208         * testsuite/libjava.compile/PR20697.java: New test-case.
1210 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
1212         * Makefile.am (SUBDIRS): Use append for conditional.
1213         (toolexeclib_LTLIBRARIES): Likewise.
1214         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
1215         a conditional append.
1216         * Makefile.in: Regenerate.
1218 2005-06-17  Keith Seitz  <keiths@redhat.com>
1220         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
1221         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
1222         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
1223         file.
1224         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
1225         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
1226         file.
1227         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
1228         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
1229         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
1230         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
1231         file.
1232         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
1233         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
1235 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
1237         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
1238         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
1239         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
1240         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
1241         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
1242         * Makefile.in: Regenerate.
1244 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
1246         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
1247         (USING_POSIX_PLATFORM): ... here.
1248         * Makefile.am: Delete USING_ECOS_PLATFORM.
1249         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1250         external/Makefile.in, external/sax/Makefile.in,
1251         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
1253 2005-06-15  Tom Tromey  <tromey@redhat.com>
1255         PR libgcj/17536:
1256         * testsuite/libjava.lang/pr17536.java: New file.
1257         * testsuite/libjava.lang/pr17536.out: New file.
1259 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
1261         PR libgcj/21074:
1262         * gnu/java/net/protocol/http/HTTPURLConnection.java
1263         (getHeaderFieldKey): Check index.
1265 2005-06-15  Tom Tromey  <tromey@redhat.com>
1267         PR libgcj/21906:
1268         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
1269         methods.
1270         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
1271         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
1272         static.
1273         (append_partial_itable): Use it.
1274         (set_vtable_entries): Likewise.
1276 2005-06-15  Tom Tromey  <tromey@redhat.com>
1278         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
1279         last_was_sep in loop.
1281 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1283         * configure.host: Handle Solaris 10/x86.
1285 2005-06-14  Keith Seitz  <keiths@redhat.com>
1287         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
1288         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
1290 2005-06-14  Keith Seitz  <keiths@redhat.com>
1292         * gnu/classpath/jdwp/id/ArrayId.java: New file.
1293         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
1294         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
1295         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
1296         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
1297         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
1298         * gnu/classpath/jdwp/id/JdwpId.java: New file.
1299         * gnu/classpath/jdwp/id/ObjectId.java: New file.
1300         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
1301         * gnu/classpath/jdwp/id/StringId.java: New file.
1302         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
1303         * gnu/classpath/jdwp/id/ThreadId.java: New file.
1305 2005-06-14  Tom Tromey  <tromey@redhat.com>
1307         PR libgcj/19877:
1308         * configure, aclocal.m4, Makefile.in: Rebuilt.
1310 2005-06-14  Tom Tromey  <tromey@redhat.com>
1312         * java/lang/Class.java (getClasses): New method.
1313         (internalGetClasses): Likewise.
1314         (getClassLoader): Updated documentation.
1315         (getDeclaredClasses): New overload; old overload no longer
1316         native.
1317         (_getConstructors): Removed.
1318         (resourcePath): Updated.
1319         * java/lang/natClass.cc (getClasses): Removed.
1320         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
1321         Updated.
1322         (_getConstructors): Removed.
1324 2005-06-13  Jim Huang  <jserv@kaffe.org>
1326         PR libgcj/22036:
1327         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
1328         (_Jv_JNI_NewObject): Likewise.
1330 2005-06-13  Tom Tromey  <tromey@redhat.com>
1332         PR java/21844:
1333         * testsuite/libjava.lang/pr21844.java: New file.
1334         * testsuite/libjava.lang/pr21844.out: New file.
1336 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
1338         PR libgcj/21949
1339         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
1340         From Gary Benson.
1342 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1344         * java/text/MessageFormat.java (parse): When parsing strings, check
1345         for an empty pattern trailer.
1347 2005-06-06  Keith Seitz  <keiths@redhat.com>
1349         * gnu/classpath/jdwp/util/Signature.java: New file.
1350         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
1352 2005-06-05  Anthony Green  <green@redhat.com>
1354         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
1355         fall-through bug.
1357 2005-06-04  Anthony Green  <green@redhat.com>
1359         * java/net/URLClassLoader.java: import gnu.gcj.Core,
1360         and gnu.java.net.protocol.core.CoreInputStream.
1361         (CureURLLoader): New class.
1362         (CoreResource): New class.
1363         (addURLImpl): Add special treatment for the "core" protocol.
1364         * gnu/gcj/natCore.cc (find): New method.
1365         * gnu/gcj/Core.java (find): New method.
1367 2005-06-03  Keith Seitz  <keiths@redhat.com>
1369         * gnu/classpath/jdwp/transport/ITransport.java: New file.
1370         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
1371         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
1373 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
1375         * jawt.c: Remove malloc.h, covered by stdlib.h.
1377         * testsuite/libjava.jni/jni.exp
1378         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
1379         the build process.
1381 2005-06-02  Keith Seitz  <keiths@redhat.com>
1383         * gnu/classpath/jdwp/transport/TransportException.java: New file.
1385 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
1387         * mauve-libgcj: Remove implemented classes from the fail section.
1388         Add two new not implemented to it.
1390 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
1392         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
1393         AC_SUBST definition from configure.host.
1394         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
1395         to -fomit-frame-pointer on 32-bit x86 targets.
1397 2005-06-01  Tom Tromey  <tromey@redhat.com>
1399         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
1401 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1403         PR libgcj/20435:
1404         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
1405         (static): Add possessive matching to JAVA_1_4 syntax.
1406         * gnu/regexp/RETokenRepeated.java (possessive): New field.
1407         (makePossessive, isPossessive): New methods.
1408         (match): Don't back off during possessive matching.
1409         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
1410         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
1411         to JAVA_1_4.
1413 2005-06-01  Keith Seitz  <keiths@redhat.com>
1415         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
1416         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
1417         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
1419 2005-06-01  Tom Tromey  <tromey@redhat.com>
1421         PR libgcj/21785:
1422         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
1423         (currentLoader): New method.
1424         * java/io/ObjectInputStream.java (resolveProxyClass): Use
1425         currentLoader.
1426         (currentLoader): Now native.
1427         (currentClassLoader): Removed.
1428         * testsuite/libjava.lang/pr21785.java: New file.
1429         * testsuite/libjava.lang/pr21785.out: New file.
1431 2005-06-01  Tom Tromey  <tromey@redhat.com>
1433         PR libgcj/21753:
1434         * java/lang/natString.cc (substring): Changed sharing heuristic.
1436 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
1438         PR libgcj/21821
1439         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
1440         MAXPATHLEN. Format exception message using a StringBuffer instead.
1442 2005-05-29  Michael Koch  <konqueror@gmx.de>
1444         PR libgcj/20273:
1445         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
1447 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1449         * ChangeLog: Fix typo.
1451 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
1453         Testsuite adjustments for PR java/19870.
1454         * testsuite/libjava.lang/PR19870.java: New testcase.
1455         * testsuite/libjava.lang/PR19870.out: Expected output for the
1456         testcase.
1457         * testsuite/libjava.jacks/jacks.xfail: Add
1458         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
1461 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
1463         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
1464         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
1465         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
1466         classes.
1467         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
1468         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
1469         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
1470         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
1472 2005-05-25  Richard Henderson  <rth@redhat.com>
1474         PR libgcj/21692
1475         * sysdep/descriptor-n.h: New file.
1476         * sysdep/descriptor-y.h: New file.
1477         * sysdep/powerpc/descriptor.h: New file.
1478         * configure.host: Set $descriptor_h appropriate for the host.
1479         * configure.ac: Link it.
1480         * configure: Regenerate.
1481         * stacktrace.cc: Include sysdep/descriptor.h.
1482         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
1484 2005-05-25  Chris Burdess  <dog@gnu.org>
1486         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
1487         end entity callbacks.
1489 2005-05-24  Gary Benson  <gbenson@redhat.com>
1491         PR libgcj/21736:
1492         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
1493         Handle DateFormat.DEFAULT case correctly.
1495 2005-05-21  Tom Tromey  <tromey@redhat.com>
1497         PR libgcj/21703:
1498         * java/lang/ref/natReference.cc (find_slot): Handle case where
1499         table has no NULL entries.
1500         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
1501         table has no NULL entries.
1503 2005-05-22  Andreas Jaeger  <aj@suse.de>
1505         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
1506         avoid warnings.
1508 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
1510         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
1512 2005-05-19  Richard Henderson  <rth@redhat.com>
1514         * exception.cc: Revert 05-17 gcc_unreachable change.
1516 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
1518         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
1519         _Jv_RegisterInitiatingLoader to register array classes, not
1520         _Jv_RegisterClass.
1521         (_Jv_RegisterInitiatingLoader): Give up if called very early during
1522         bootstrapping. Add a FIXME to handle this case better.
1524 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
1526         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
1527         convenience library.
1528         (libgcj_la_SOURCES): New. Move sources here.
1529         (libgcj.la): Remove rule.
1531 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1533         PR libgcj/19729
1534         * gnu/java/security/provider/DSASignature.java: Import updates
1535         from GNU Crypto.
1537 2005-05-18  Anthony Green  <green@redhat.com>
1539         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
1540         classpath_jawt_object_unlock, classpath_jawt_create_lock,
1541         classpath_jawt_destroy_lock): New functions.
1542         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
1543         classpath_jawt_object_unlock, classpath_jawt_create_lock,
1544         classpath_jawt_destroy_lock): New functions.
1545         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
1546         field.
1547         * jawt.c: #include malloc.h.
1548         (_Jv_Lock): Use lock.
1549         (_Jv_Unlock): Ditto.
1550         (_Jv_GetDrawingSurface): Initialize lock.
1551         (_Jv_FreeDrawingSurface): Destroy lock.
1552         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
1554 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
1556         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
1557         * Makefile.in: Regenerate.
1559 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
1561         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
1562         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
1563         * aclocal.m4, configure, config.h.in, include/config.h.in,
1564         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1565         external/Makefile.in, external/sax/Makefile.in,
1566         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
1568 2005-05-17  David Daney  <ddaney@avtrex.com>
1570         PR libgcj/18220
1571         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
1573 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
1575         * exception.cc (abort): Remove std::abort hack.
1576         (gcc_unreacheable): Define.
1578 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
1580         * Makefile.am (Makefile.deps): Do not create native.list and
1581         bytecodes.list.
1582         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
1583         * Makefile.in: Regenerate.
1585 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
1587         * configure.ac (--enable-libgcj-multifile): Remove.
1589         * Makefile.am (all_native_compiled_source_files,
1590         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
1591         all_libgcj_lo_files, all_xlib_lo_files,
1592         all_java_deps_files, all_java_stamp_files,
1593         all_java_filelist_files): New variables.
1594         (EXTRA_DIST): New Automake variable.
1595         (CLEANFILES): Add .stamp, .list and .lo files.
1596         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
1597         (classes.stamp): Depend on $(all_java_stamp_files).
1598         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
1599         going through write_entries_to_file.
1601         (all_java_source_files, all_property_files): Move earlier.
1602         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
1603         all_java_class_files): Remove.
1604         (gtk_awt_peer_sources): Rename to...
1605         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
1607         (ONESTEP): Remove.
1608         (libgcj0_convenience_la_SOURCES): Remove Java source files.
1609         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
1610         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
1611         (libgcj_la_SOURCES): Remove.
1612         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
1613         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
1614         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
1616         * configure: Regenerate.
1617         * Makefile.in: Regenerate.
1618         * external/Makefile.in: Regenerate.
1619         * external/sax/Makefile.in: Regenerate.
1620         * external/w3c_dom/Makefile.in: Regenerate.
1621         * gcj/Makefile.in: Regenerate.
1622         * include/Makefile.in: Regenerate.
1623         * libltdl/Makefile.in: Regenerate.
1624         * testsuite/Makefile.in: Regenerate.
1626 2005-05-16  Tom Tromey  <tromey@redhat.com>
1628         * java/nio/charset/Charset.java (encode, decode): Synchronize on
1629         'this', not the class.
1631 2005-05-16  Tom Tromey  <tromey@redhat.com>
1633         * gnu/java/net/protocol/http/Headers.java (parse): Include final
1634         character of line.
1636 2005-05-16  Tom Tromey  <tromey@redhat.com>
1638         PR libgcj/21606:
1639         * java/net/URI.java (unquote): Handle lower-case letters as well.
1641 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
1643         PR libgcj/20504
1644         * gnu/regexp/RE.java: Add support for quoting constructs.
1646 2005-05-15  Tom Tromey  <tromey@redhat.com>
1648         * java/lang/String.java (startsWith): Fixed javadoc.
1650 2005-05-15  Tom Tromey  <tromey@redhat.com>
1652         PR java/21519:
1653         * testsuite/libjava.compile/pr21519.java: New file.
1654         * testsuite/libjava.compile/pr21519.no-link: New file.
1656 2005-05-15  Tom Tromey  <tromey@redhat.com>
1658         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
1660 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
1662         PR libgcj/21557
1663         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
1664         interrupt status flag if _Jv_CondWait is interrupted.
1666 2005-05-13  Tom Tromey  <tromey@redhat.com>
1668         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
1669         element in path.
1671 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
1673         * include/jvm.h (gcj::verifyClasses): Declare.
1674         * link.cc (gcj::verbose_class_flag): Moved.
1675         * prims.cc (gcj::verifyClasses): Define here.
1676         (gcj::verbose_class_flag): Move definition here.
1677         (_Jv_Linker::wait_for_state): Don't call verify_class
1678         if gcj::verifyClasses is not set.
1679         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
1681 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
1683         * gij.cc (main): Recognize '-verify', '-noverify', and
1684         '-verifyremote'
1686 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
1688         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
1690 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1692         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
1693         libgcjawt.la.
1695 2005-05-11  Tom Tromey  <tromey@redhat.com>
1697         * external/w3c_dom/Makefile.in: Rebuilt.
1698         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
1699         -fbootstrap-classes.
1700         * external/sax/Makefile.in: Rebuilt.
1701         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
1702         -fbootstrap-classes.
1703         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
1704         friend.
1705         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
1706         Call _Jv_CopyClassesToSystemLoader.
1707         * java/lang/natClassLoader.cc (system_class_list): New global.
1708         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
1709         classes differently.
1710         (_Jv_CopyClassesToSystemLoader): New function.
1711         (SYSTEM_LOADER_INITIALIZED): New define.
1712         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
1713         (_Jv_CheckABIVersion): Use it.
1714         (_Jv_ClassForBootstrapLoader): New function.
1715         * Makefile.in: Rebuilt.
1716         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
1718 2005-05-10  Tom Tromey  <tromey@redhat.com>
1720         * gcj/javaprims.h: Updated.
1721         * java/lang/String.java (String(StringBuilder)): New constructor.
1722         * java/lang/natStringBuilder.cc: New file.
1723         * java/lang/StringBuilder.java: New file.
1724         * Makefile.in: Rebuilt.
1725         * Makefile.am (core_java_source_files): Added StringBuilder.java.
1726         (nat_source_files): Added natStringBuilder.cc.
1728 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
1730         PR java/21436
1731         * testsuite/libjava.jacks/jacks.xfail: Adjust.
1733 2005-05-09  Mike Stump  <mrs@apple.com>
1735         * configure: Regenerate.
1737 2005-05-09  David Daney  <ddaney@avtrex.com>
1739         * java/util/BitSet.java (get(int, int)): Fix breakage when
1740         requested set doesn't start on a multiple of 64.
1742 2005-05-07  Matthias Klose  <doko@debian.org>
1744         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
1746 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1748         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
1749         * Makefile.in: Regenerate.
1750         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
1751         (createCompatibleVolatileImage(int,int)): Implement.
1752         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
1753         Likewise.
1754         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
1755         New fields.
1756         (createVolatileImage): Implement.
1757         (createBuffers): Likewise.
1758         (getBackBuffer): Likewise.
1759         (flip): Likewise.
1760         (destroyBuffers): Likewise.
1761         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
1762         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
1763         (CanvasFlipBufferStrategy): Likewise.
1764         (createBufferStrategy(int)): New method.
1765         (createBufferStrategy(int,BufferCapabilities)): Likewise.
1766         * java/awt/Component.java (BltBufferStrategy): Implement and
1767         document class.
1768         (FlipBufferStrategy): Likewise.
1769         * java/awt/Window.java (WindowBltBufferStrategy): New class.
1770         (WindowFlipBufferStrategy): Likewise.
1771         (createBufferStrategy(int)): New method.
1772         (createBufferStrategy(int,BufferCapabilities)): Likewise.
1773         (getBufferStrategy): Likewise.
1774         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
1775         front to frontCaps and back to backCaps.
1777 2005-05-06  Michael Koch  <konqueror@gmx.de>
1779         * java/awt/BufferCapabilities.java
1780         (BufferCapabilities): Merged javadoc.
1782 2005-05-06  Michael Koch  <konqueror@gmx.de>
1784         * java/util/Locale.java
1785         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
1786         (getLocale): New methods. Use it everywhere where instances of Locales
1787         are needed.
1788         (getDisplayLanguage): Merged javadoc.
1789         (getDisplayCountry): Likewise.
1790         (getDisplayVariant): Likewise.
1792 2005-05-06  Archie Cobbs  <archie@dellroad.org>
1794         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1795         use DeleteLocalRef() to avoid exhausting local native references.
1797 2005-05-06  Mark Wielaard  <mark@klomp.org>
1799         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1800         (window_delete_cb): Don't use C++ style comments.
1802 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
1804         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
1805         copyright header.
1807 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
1809         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1810         (window_delete_cb): Made the function return TRUE.
1812 2005-05-06  Roman Kennke  <roman@kennke.org>
1814         * javax/swing/text/PlainView.java
1815         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
1816         offset parameter.
1817         * javax/swing/text/Utilities.java
1818         (drawTabbedText): Initilialize local variable pos correctly.
1820 2005-05-06  Roman Kennke  <roman@kennke.org>
1822         * javax/swing/text/AbstractDocument.java
1823         (LeafElement): Made start and end package private fields for
1824         effective reindexing.
1825         * javax/swing/text/PlainDocument.java
1826         (constructor): The field rootElement is always BranchElement,
1827         so we handle it as such.
1828         (removeUpdate): Rewritten reindexing for removeUpdate so that
1829         the actual removal is taken into account.
1831 2005-05-06  Roman Kennke  <roman@kennke.org>
1833         * javax/swing/text/GapContent.java:
1834         Removed debugging output stuff, which I accidentally left in.
1836 2005-05-06  Roman Kennke  <roman@kennke.org>
1838         * javax/swing/text/GapContent.java:
1839         Implemented a real GapContent. Only the public methods have
1840         been implemented so far and still no UndoableEdit support.
1842 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1844         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
1845         the typo.
1847 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1849         * java/awt/image/BufferStrategy.java: Document.
1851         * java/awt/BufferCapabilities.java: Document.
1853 2005-05-04  Tom Tromey  <tromey@redhat.com>
1855         * java/nio/channels/FileLock.java (toString): Entirely avoid
1856         String "+".
1858 2005-05-04  Andrew Overholt  <overholt@redhat.com>
1860         * java/nio/channels/FileLock.java (toString): Re-implement using
1861         StringBuffer.
1863 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1865         * java/awt/ImageCapabilities.java: Document.
1867         * java/awt/image/VolatileImage.java: Unindent copyright header.
1869 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1871         * java/awt/image/VolatileImage.java: Document.
1873 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1875         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1876         (init_glib_threads): Check if threading system is already
1877         initialized.
1879 2005-05-03  Andrew Overholt  <overholt@redhat.com>
1881         PR libgcj/21372:
1882         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
1883         could not be acquired.
1884         * java/nio/channels/FileLock.java (toString): Re-implement to be
1885         in line with other implementations.
1887 2005-05-03  Tom Tromey  <tromey@redhat.com>
1889         * java/lang/VMSecurityManager.java (currentClassLoader): Use
1890         'systemClasssLoader' directly.
1892 2005-05-03  Tom Tromey  <tromey@redhat.com>
1894         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
1895         call VMClassLoader.getSystemClassLoader.
1897 2005-04-29  Michael Koch  <konqueror@gmx.de>
1899         * java/net/NetworkInterface.java
1900         (static): Removed.
1901         (NetworkInterface(String,InetAddress)): Made package-private.
1902         (NetworkInterface(String,InetAddress[])): New constructor.
1903         (getRealNetworkInterfaces): Removed.
1904         (getByName): Use VMNetworkInterface.getInterfaces().
1905         (getByInetAddress): Likewise.
1906         (getNetworkInterfaces): Likewise.
1907         * java/net/VMNetworkInterface.java,
1908         java/net/natVMNetworkInterfaceNoNet.cc,
1909         java/net/natVMNetworkInterfacePosix.c,c
1910         java/net/natVMNetworkInterfaceWin32.cc: New files.
1911         * java/net/natNetworkInterfaceNoNet.cc,
1912         java/net/natNetworkInterfacePosix.cc,
1913          java/net/natNetworkInterfaceWin32.cc: Removed.
1914         * configure.ac
1915         * Makefile.am
1916         * configure, Makefile.in: Regenerated.
1918 2005-04-29  Andrew Haley  <aph@redhat.com>
1920         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
1922 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
1924         * java/nio/channels/FileChannelImpl.java
1925         (FileChannelImpl(String, int)): Removed.
1926         (FileChannelImpl(File, int)): Added. Check if opened file is a
1927         directory.
1928         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
1929         Call FileChannelImpl(File, int).
1930         * java/io/FileOutputStream.java (FileInputStream): Call
1931         FileChannelImpl(File, int).
1932         * java/io/RandomAccessFile.java (RandomAccessFile):
1933         Call FileChannelImpl(File, int). Switched constructors around.
1935 2005-04-27  Andrew Haley  <aph@redhat.com>
1937         PR java/19285
1938         * prims.cc (_Jv_ResolvePoolEntry): New function.
1939         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
1940         * link.cc (_Jv_Linker::find_field): New arg: found_class.
1941         (resolve_pool_entry): Initialize the class in which a field is
1942         found.
1943         (link_symbol_table): Pass new arg to found_class.
1945 2005-04-29  Michael Koch  <konqueror@gmx.de>
1947         * java/nio/charset/Charset.java
1948         (provider): Reformatted.
1950 2005-04-29  Michael Koch  <konqueror@gmx.de>
1952         * gnu/java/net/protocol/http/HTTPConnection.java:
1953         (userAgent): Initialize from system properties.
1954         (initUserAgent): Removed.
1956 2005-04-29  Mark Wielaard  <mark@klomp.org>
1958         * java/util/ResourceBundle.java (getObject): Clarify
1959         MissingResourceException detailed message.
1960         (tryBundle(String,ClassLoader)): Likewise.
1962 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
1964         * java/beans/FeatureDescriptor.java:
1965         (getShortDescription): Implemented fallback mechanism and fixed
1966         documentation (fixes bug #12637).
1967         (getDisplayName): Dito.
1969 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
1971         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
1972         will now be set correctly.
1973         (flushCaches): Now flushes all cached intermediate data.
1975 2005-04-28  Michael Koch  <konqueror@gmx.de>
1977         * java/net/InetAddress.java
1978         (aton): Fixed javadoc.
1979         (lookup): Likewise.
1981 2005-04-28  Tom Tromey  <tromey@redhat.com>
1983         * javax/swing/Timer.java
1984         (drainEvents, queueEvent): Now package-private.
1986 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
1988         * javax/swing/Timer.java
1989         (constructor): Assigning initialDelay.
1991 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
1993         * javax/swing/Timer.java
1994         (Waker.run): firing the first action event.
1996 2005-04-28  Michael Koch  <konqueror@gmx.de>
1998         * javax/swing/Timer.java: Reordered all fields and methods,
1999         Added more javadocs.
2001 2005-04-28  Michael Koch  <konqueror@gmx.de>
2003         * javax/swing/Timer.java: Javadocs merged
2004         from GNU classpath.
2006 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
2008         * gnu/java/net/protocol/file/Connection.java
2009         (StaticData): New inner class to contain statics.
2010         (connect, getHeaderField): Modified to use StaticData.
2012 2005-04-28  Michael Koch  <konqueror@gmx.de>
2014         * gnu/java/net/protocol/file/Connection.java
2015         (lineSeparator): Initialize with SystemProperties.getProperty().
2017 2005-04-27  Chris Burdess  <dog@gnu.org>
2019         * gnu/java/net/protocol/file/Connection.java: Return correct content
2020         length for directory listing.
2021         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
2022         #11285: return valid URLs for directories.i
2024 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
2026         * Makefile.am (ordinary_java_source_files): Add
2027         gnu/java/net/protocol/https/Handler.java.
2028         * Makefile.in: Regenerate.
2029         * java/net/URL.java: Remove org.metastatic.jessie from default
2030         protocol search path.
2032 2005-04-27  Chris Burdess  <dog@gnu.org>
2034         * gnu/java/net/protocol/https/Handler.java: New file.
2036 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
2038         * javax/imageio/spi/IIORegistry.java (IIORegistry):
2039         Don't assume that awt Toolkit is always ClasspathToolkit.
2041 2005-04-27  Chris Burdess  <dog@gnu.org>
2043         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
2044         absolute and relative paths in Location header.
2046 2005-04-27  Chris Burdess  <dog@gnu.org>
2048         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
2049         FileNotFoundException and implement getErrorStream on 404.
2051 2005-04-27  Sven de Marothy <sven@physto.se>
2053         * java/util/TimeZone.java,
2054         (getDefaultDisplayName): Fix previous fix.
2056 2005-04-27  Sven de Marothy <sven@physto.se>
2058         * java/util/TimeZone.java,
2059         (getDefaultDisplayName): Don't print zero offsets.
2061 2005-04-27  Roman Kennke  <roman@kennke.org>
2063         * javax/swing/plaf/basic/BasicScrollBarUI
2064         (getThumbBounds): Do not make thumb smaller than
2065         minimumThumbSize.
2066         * javax/swing/plaf/metal/MetalLookAndFeel
2067         (initComponentDefaults): Added color defaults for ScrollBar.
2068         * javax/swing/plaf/metal/MetalScrollBarUI
2069         (paintThumb): Added.
2070         (getMinimumThumbSize): Added.
2072 2005-04-27  Roman Kennke  <roman@kennke.org>
2074         * javax/swing/plaf/metal/MetalLookAndFeel
2075         (initComponentDefaults): Added some default colors.
2077 2005-04-27  Roman Kennke  <roman@kennke.org>
2079         * javax/swing/plaf/basic/BasicScrollBarUI.java
2080         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
2081         to 'ScrollBar.thumbShadow'. The formes does not exist.
2082         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
2084 2005-04-27  Roman Kennke  <roman@kennke.org>
2086         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
2087         * javax/swing/BoxLayout.java: Likewise.
2088         * javax/swing/UIManager.java: Likewise.
2089         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2090         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
2091         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2092         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
2093         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
2094         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
2095         * javax/swing/text/Document.java: Likewise.
2096         * javax/swing/text/GapContent.java: Likewise.
2097         * javax/swing/text/SimpleAttributeSet.java: Likewise.
2098         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
2100 2005-04-27  Roman Kennke  <roman@kennke.org>
2102         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2103         (getPropertyPrefix): Added.
2105 2005-04-27  Roman Kennke  <roman@kennke.org>
2107         * javax/swing/plaf/basic/BasicButtonUI.java
2108         (getPropertyPrefix): Added.
2109         (installDefaults): Use getPropertyPrefix instead of hard-coded
2110         prefix.
2112 2005-04-27  Roman Kennke  <roman@kennke.org>
2114         * javax/swing/JToggleButton.java
2115         (JToggleButton): Removed horizontalAlignment setting, this
2116         was wrong. Added setting of an actionCommand, ToggleButtons
2117         have "" as default actionCommand.
2119 2005-04-27  Michael Koch  <konqueror@gmx.de>
2121         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
2122         to work around CNI limitation.
2124 2005-04-27  Sven de Marothy  <sven@physto.se>
2126         * java/nio/charset/Charset.java:
2127         (defaultCharset()): New method.
2128         Status updated to 1.5
2130 2005-04-27  Sven de Marothy  <sven@physto.se>
2132         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
2134 2005-04-27  Sven de Marothy  <sven@physto.se>
2136         * java/nio/charset/Charset.java: Reset cached de/encoders.
2138 2005-04-27  Robert Schuster <thebohemian@gmx.net>
2140         * java/nio/charset/Charset.java (forName): Throws
2141         IllegalArgumentException when argument is null
2142         and added documentation.
2144 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2146         * java/nio/charset/Charset.java (providers):
2147         New method to make an array of CharsetProviders defined in
2148         META-INF/services/java.nio.charset.spi.CharsetProvider.
2149         (charsetForName, availableCharsets): Use the
2150         new method providers().
2152 2005-04-26  Michael Koch  <konqueror@gmx.de>
2154         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
2155         Fixed typos in javadocs.
2156         (isSiteLocalAddress): Fixed handling of byte values.
2157         (isMCLinkLocal): Likewise.
2158         * java/net/Inet4Address.java
2159         (isMulticastAddress): Call super method.
2160         (isLoopbackAddress): Likewise.
2161         (isAnyLocalAddress): Likewise.
2162         (isLinkLocalAddress): Likewise.
2163         (isSiteLocalAddress): Likewise.
2164         (isMCGlobal): Likewise.
2165         (isMCNodeLocal): Likewise.
2166         (isMCLinkLocal): Likewise.
2167         (isMCSiteLocal): Likewise.
2168         (isMCOrgLocal): Likewise.
2169         (getHostAddress): Likewise.
2171 2005-04-26  Sven de Marothy  <sven@physto.se>
2173         * java/net/InetAddress.java
2174         (toString): Don't print empty hostnames.
2176 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
2178         PR libgcj/21136:
2179         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
2180         'false' to native lock().
2181         (lock): Pass 'true' to native lock().
2183 2005-04-26  Michael Koch  <konqueror@gmx.de>
2185         * java/net/InetAddress.java:
2186         Fixed typos in javadocs.
2188 2005-04-26  Andrew Haley  <aph@redhat.com>
2190         PR libgcj/21020:
2191         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
2192         field's type.
2194 2005-04-26  Tom Tromey  <tromey@redhat.com>
2196         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
2197         gnu): Now package-private.
2198         * javax/swing/text/html/parser/DocumentParser.java (parser,
2199         callBack, gnu): Now package-private.
2200         * javax/swing/text/StringContent.java (content, setOffset,
2201         checkLocation): Now package-private.
2202         * javax/swing/text/JTextComponent.java (doc): Now
2203         package-private.
2204         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
2205         lastGoodOrientation, origParent, borders, cachedBounds,
2206         cachedOrientation, DragWindow): Now package-private.
2207         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
2208         decrButton, viewport, panel, currentScrollLocation, layoutManager,
2209         tabAreaRect, contentRect, createIncreaseButton,
2210         createDecreaseButton, findPointForIndex): Now package-private.
2211         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
2212         (currentDividerLocation, moveDividerTo): Now package-private.
2213         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
2214         package-private.
2215         * javax/swing/plaf/basic/BasicScrollBarUI.java
2216         (calculatePreferredSize, valueForYPosition, valueForXPosition):
2217         Now package-private.
2218         * javax/swing/plaf/basic/BasicPopupMenuUI.java
2219         (topWindowListener): Now package-private.
2220         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
2221         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
2222         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
2223         package-private.
2224         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
2225         package-private.
2226         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
2227         Now package-private.
2228         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
2229         package-private.
2230         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
2231         borderInsets): Now package-private.
2232         (arrowButtonWidth): Likewise.  Now a constant.
2233         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
2234         makeTabs, updatePreviewPanel): Now package-private.
2235         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
2236         darkShadow, highlight): Now package-private.
2237         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
2238         (addColorToQueue): Now package-private.
2239         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
2240         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
2241         GSpinner, BSpinner): Now package-private.
2242         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
2243         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
2244         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
2245         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
2246         updateTrack): Now package-private.
2247         * javax/swing/TransferHandler.java (clipboard): Now
2248         package-private.
2249         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
2250         package-private.
2251         * javax/swing/Timer.java (drainEvents, queueEvent): Now
2252         package-private.
2253         * javax/swing/RepaintManager.java (globalManager): Now
2254         package-private.
2255         * javax/swing/JFormattedTextField.java (editValid): Now
2256         package-private.
2257         * javax/swing/JColorChooser.java (makeModal): Now
2258         package-private.
2259         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
2260         index, path): Now package-private.
2261         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
2262         lineQuadIntersect, lineCubicIntersect, linesIntersect,
2263         pointEquals): Now package-private.
2264         * java/awt/geom/Arc2D.java (type): Now package-private.
2265         * java/awt/Window.java (windowFocusOwner): Now package-private.
2266         * java/awt/TextComponent.java (editable, selectionStart,
2267         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
2268         package-private.
2269         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
2270         package-private.
2271         * java/awt/MenuComponent.java (focusListener): Now
2272         package-private.
2273         * java/awt/Frame.java (state): Now package-private.
2274         * java/awt/Choice.java (pItems): Now package-private.
2275         * java/awt/Checkbox.java (state): Now package-private.
2276         * java/awt/Button.java (actionCommand, label): Now
2277         package-private.
2278         * gnu/javax/swing/text/html/parser/support/Parser.java
2279         (attributes, _handleEndTag_remaining, _handleStartTag): Now
2280         package-private.
2281         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
2282         package-private.
2283         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
2284         clip, transform, font, comp): Now package-private.
2286 2005-04-26  Tom Tromey  <tromey@redhat.com>
2288         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
2289         static way.
2291 2005-04-26  Mark Wielaard  <mark@klomp.org>
2293         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
2294         to MalformedURLException.
2296 2005-04-26  Michael Koch  <konqueror@gmx.de>
2298         * java/security/AccessControlContext.java:
2299         Reformated.
2300         (protectedDomains): Renamed from 'protectionDomain'.
2301         * java/security/AccessController.java:
2302         Reformatted.
2304 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
2306         * gnu/java/security/action/GetSecurityPropertyAction.java
2307         (GetSecurityPropertyAction): Implement PrivilegedAction instead
2308         of extending GetPropertyAction.
2309         (name): New field.
2310         (value): Likewise.
2311         (setParamters): New methods.
2312         (GetSecurityPropertyAction): Use new setParameters methods.
2314 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
2316         * java/security/Security.java,
2317         java/security/cert/X509CRLSelector.java,
2318         java/security/cert/X509CertSelector.java:
2319         Modified to use SystemProperties.
2321 2005-04-26  Michael Koch  <konqueror@gmx.de>
2323         * java/lang/System.java
2324         (setSecurityManager): Fixed comment.
2325         (getSecurityManager): Removed obsolete comment.
2327 2005-04-25  Tom Tromey  <tromey@redhat.com>
2329         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
2331 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
2333         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2334         (connectSignals): Realize the window widget after connecting
2335         signals.
2337 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
2339         * java/awt/GraphicsEnvironment.java
2340         (localGraphicsEnvironment): New field.
2341         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
2342         property.
2343         (isHeadless): Added support for java.awt.headless property.
2344         (isHeadlessInstance): Call headless().
2346 2005-04-25  Roman Kennke  <roman@kennke.org>
2348         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
2349         (getDisplayMode): Added. Returns the current display mode.
2350         (isFullScreenSupported): Added.
2351         * java/awt/GraphicsDevice.java
2352         (setFullScreenWindow): Implemented a primitive fullscreen mode.
2353         This resizes and relocates the fullscreen window so that it uses
2354         the whole screen. This is not a fully accelerated fullscreen
2355         exclusive mode.
2357 2005-04-25  Michael Koch  <konqueror@gmx.de>
2359         * java/lang/Runtime.java,
2360         java/lang/SecurityManager.java,
2361         java/lang/System.java,
2362         java/lang/ThreadGroup.java:
2363         Replaced java.lang.Runtime.securityManager by
2364         java.lang.SecurityManager.current (as used in GNU classpath).
2366 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
2368         * java/awt/Transparency.java
2369         (getTransparency): fixed API docs.
2371 2005-04-25  Archie Cobbs  <archie@dellroad.org>
2373         * java/lang/Throwable.java: simplify initializing cause in constructor
2375 2005-04-25  Michael Koch  <konqueror@gmx.de>
2377         * gnu/classpath/SystemProperties.java: New file.
2378         * gnu/classpath/natSystemProperties.cc: New file.
2379         * java/lang/Runtime.java
2380         (defaultProperties): Removed.
2381         (static): Likewise.
2382         (): Made thrown exceptions more verbose.
2383         (insertSystemProperties): Removed.
2384         * java/lang/System.java
2385         (static): Likewise.
2386         (properties): Likewise.
2387         (setSecurityManager): Reordered modifiers.
2388         (getenv): Improved javadoc.
2389         (): Likewise.
2390         (isWordsBigEndian): Removed.
2391         * java/lang/natRuntime.cc
2392         (_Jv_SetDLLSearchPath): Likewise.
2393         (file_encoding): Likewise.
2394         (default_file_encoding): Likewise.
2395         (getpwuid_adaptor): Likewise.
2396         (insertSystemProperties): Likewise.
2397         * java/lang/natSystem.cc
2398         (isWordsBigEndian): Likewise.
2399         * Makefile.am
2400         (ordinary_java_source_files):
2401         Added gnu/classpath/SystemProperties.java.
2402         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
2403         * Makefile.in: Regenerated.
2405 2005-04-25  Roman Kennke  <roman@kennke.org>
2407         * javax/swing/plaf/basic/BasicScrollBarUI.java
2408         (initDefaults): Initialize thumb*Color fields correctly.
2410 2005-04-25  Roman Kennke  <roman@kennke.org>
2412         * javax/swing/text/GapContent.java:
2413         Added API comments.
2415 2005-04-25  Roman Kennke  <roman@kennke.org>
2417         * javax/swing/plaf/metal/MetalBorders.java:
2418         Added inner class ScrollPaneBorder.
2419         * javax/swing/plaf/metal/MetalLookAndFeel.java
2420         (initComponentDefaults): Added default for "ScrollPane.border"
2421         to use the new ScrollPaneBorder.
2423 2005-04-25  Roman Kennke  <roman@kennke.org>
2425         * javax/swing/text/AbstractDocument.java:
2426         Added FIXME comments. This class still has to be
2427         implemented thread-safe.
2429 2005-04-25  Roman Kennke  <roman@kennke.org>
2431         * javax/swing/tree/DefaultTreeSelectionModel.java
2432         (DefaultTreeSelectionModel): Initialize listenerList here.
2434 2005-04-25  Roman Kennke  <roman@kennke.org>
2436         * javax/swing/plaf/metal/MetalTextFieldUI.java
2437         (createUI): Return one instance per Component instead of a
2438         shared instance.
2440 2005-04-25  Roman Kennke  <roman@kennke.org>
2442         * javax/swing/text/Document.java:
2443         Added API documentation comments.
2445 2005-04-25  Roman Kennke  <roman@kennke.org>
2447         * javax/swing/text/AbstractDocument.java
2448         (getDocumentProperties): Implemented.
2449         (setDocumentProperties): Implemented.
2450         (getProperty): Implemented.
2451         (putProperty): Implemented.
2453 2005-04-25  Roman Kennke  <roman@kennke.org>
2455         * javax/swing/BoxLayout
2456         (preferredLayoutSize): Fixed computation so that it correctly
2457         adds the top and bottom insets of the container.
2459 2005-04-25  Roman Kennke  <roman@kennke.org>
2461         * javax/swing/plaf/basic/BasicMenuItemUI.java
2462         (paintText): Make use of the 'selectionForeground' UI default
2463         for text painting.
2465 2005-04-25  Roman Kennke  <roman@kennke.org>
2467         * javax/swing/plaf/basic/BasicLookAndFeel.java
2468         (initSystemColorDefaults): Modified colors to match the
2469         BasicLookAndFeel in the reference implementation.
2470         (initComponentDefaults): Likewise.
2472 2005-04-25  Tom Tromey  <tromey@redhat.com>
2474         * include/jni.h (_Jv_va_list): Removed.
2475         Moved configuration code...
2476         * include/jni_md.h: ... here.  New file.
2477         * include/Makefile.in: Rebuilt.
2478         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
2480 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
2482         * java/io/FileInputStream.java (FileInputStream(File)),
2483         java/io/FileOutputStream.java (FileOutputStream(File)):
2484         Removed unnecessary File.isDirectory() check.
2486 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
2488         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
2489         gij if get_multilibs fails.
2491 2005-04-22  Anthony Green  <green@redhat.com>
2493         * jni.cc (natrehash): Don't bother clearing memory again.
2494         * interpret.cc (do_allocate_static_fields): Ditto.
2495         * java/lang/natString.cc (rehash): Ditto.
2497 2005-04-22  Roman Kennke  <roman@kennke.org>
2499         * javax/swing/plaf/basic/BasicLookAndFeel.java
2500         (initComponentDefaults): Changed Button.border to be
2501         BasicBorders.getButtonBorder as it should be.
2503 2005-04-22  Roman Kennke  <roman@kennke.org>
2505         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
2506         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
2507         should according to a mauve testcase, instead of the preferred
2508         size.
2510 2005-04-22  Roman Kennke  <roman@kennke.org>
2512         * javax/swing/JMenu.java
2513         (add): add(Component) now calls PopupMenu.insert(..) instead of
2514         PopupMenu.add(..). add(..) is not implemented for Component,
2515         so JComponent.add(..) is called instead, adding the component
2516         in the wrong place.
2518 2005-04-22  Roman Kennke  <roman@kennke.org>
2520         * javax/swing/plaf/basic/BasicButtonListener.java
2521         (mousePressed): replaced query to getModifiersEx with getModifiers.
2522         This method relied on faulty behaviour in getModifierEx.
2523         (mouseReleased): replaced query to getModifiersEx with getModifiers.
2524         This method relied on faulty behaviour in getModifierEx.
2526 2005-04-22  Roman Kennke  <roman@kennke.org>
2528         * javax/swing/plaf/metal/MetalLookAndFeel.java
2529         (getDefaults): Call addCustomEntriesToTable on the theme.
2531 2005-04-22  Roman Kennke  <roman@kennke.org>
2533         * javax/swing/tree/DefaultTreeSelectionModel.java
2534         (constructor): Added implementation.
2535         (getRowMapper): Added implementation.
2536         (setSelectionMode): Added implementation.
2537         (getSelectionMode): Added implementation.
2538         (getSelectionPath): Added implementation.
2539         (getSelectionPaths): Added implementation.
2540         (getSelectionCount): Added implementation.
2541         (isSelectionEmpty): Added implementation.
2542         (getSelectionRows): Added implementation.
2543         (getMinSelectionRow): Added implementation.
2544         (getMaxSelectionRow): Added implementation.
2545         (getLeadSelectionRow): Added implementation.
2546         (getLeadSelectionPath): Added implementation.
2548 2005-04-22  Casey Marshall <csm@gnu.org>
2550         * gnu/java/security/der/DERValue.java
2551         (getValueAs): new method.
2552         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
2553         (<init>): read both dates with 'DERValue.getValueAs', with
2554         'GENERALIZED_TIME' as the argument.
2556 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
2558         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
2559         be null, check for that case and don't deference it.
2561 2005-04-22  Sven de Marothy  <sven@physto.se>
2563         * java/util/logging/LogManager.java: Reformatted.
2564         (readConfiguration): If a logger for a key is not found, create one.
2566 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2568         * java/rmi/Naming.java:
2569         Added class documentation.
2570         (lookup(String)): Call parseURL and getName.
2571         (bind(String,java.rmi.Remote)): Likewise.
2572         (unbind(String)): Likewise.
2573         (rebind(String, java.rmi.Remote)): Likewise.
2574         (list(String)): Call parseURL.
2575         (parseURL(String)): New method to handle parsing and defaults.
2576         (getName(java.net.URL)): New method to handle finding the service name.
2578 2005-04-21  Tom Tromey  <tromey@redhat.com>
2580         * java/lang/natClass.cc (initializeClass): Link class.
2582 2005-04-21  Tom Tromey  <tromey@redhat.com>
2584         * java/lang/AssertionError.java: Typo fix.
2586 2005-04-21  Tom Tromey  <tromey@redhat.com>
2588         * java/lang/VMClassLoader.java (transformException): Removed.
2589         (resolveClass): No longer native.  Now does nothing.
2590         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
2592 2005-04-21  Anthony Green  <green@redhat.com>
2594         PR libgcj/21115
2595         * testsuite/libjava.special/special.exp,
2596         testsuite/libjava.special/pr21115I.java,
2597         testsuite/libjava.special/pr21115.java,
2598         testsuite/libjava.special/pr21115.out: New files.
2600 2005-04-21  Chris Burdess  <dog@gnu.org>
2602         * gnu/java/net/CRLFInputStream.java: Rewrite to return
2603         CRLF-delimited chunks.
2605 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2607         * java/net/URI.java:
2608         Added class documentation.
2609         (parseURI(String)): Only handle scheme-specific parts
2610         if URI is not opaque.  Allow for parts that can't be null.
2611         (toString()): Output the scheme-specific part whole, rather
2612         than as its possibly non-existent components.
2614 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2616         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
2617         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
2618         Adjusted to match new regexp.
2620 2005-04-20  Michael Koch  <konqueror@gmx.de>
2622         * gnu/java/net/protocol/file/Connection.java,
2623         gnu/java/net/protocol/jar/Connection.java:
2624         Reorganized import statements. Fixed @author tags.
2626 2005-04-20  Chris Burdess  <dog@gnu.org>
2628         * java/io/DataOutputStream.java (writeUTF): Use block write for
2629         output.
2631 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2633         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
2634         (readLine): Changed newline handling.
2636 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2638         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
2639         ColorModel,byte[],int,int): Fixed byte to int conversion.
2641 2005-04-20  Michael Koch  <konqueror@gmx.de>
2643         * java/io/FilePermission.java
2644         (serialVersionUID): Made private.
2645         (ALL_FILES): New constant.
2646         (implies): Handle '<<ALL FILES>>' case.
2648 2005-04-20  Sven de Marothy  <sven@physto.se>
2650         * gnu/java/awt/peer/gtk/GdkGraphics.java:
2651         (drawImage): Don't notify the image observer for offscreen images.
2652         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
2653         (setPixels): Don't notify the image observer.
2655 2005-04-20  Sven de Marothy  <sven@physto.se>
2657         * java/nio/ByteBufferImpl.java:
2658         (putChar): Inlined for speed.
2659         (put, get): Bulk methods can use arraycopy.
2660         * java/nio/CharBufferImpl.java:
2661         (put, get): Bulk methods can use arraycopy.
2663 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2665         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
2666         and field updates.
2667         * java/nio/CharBufferImpl.java
2668         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
2669         (get(), put(char)): Inlined checks and field updates. Fixed to
2670         take array_offset into account.
2671         (get(int), put(int, char)): Fixed to take array_offset into account.
2673 2005-04-20  Sven de Marothy  <sven@physto.se>
2675         * java/text/SimpleDateFormat.java:
2676         (formatWithAttribute): Pad year before truncating digits.
2678 2005-04-20  Michael Koch  <konqueror@gmx.de>
2680         * gnu/java/net/PlainDatagramSocketImpl.java:
2681         Merged copyright header.
2682         * gnu/java/net/PlainSocketImpl.java:
2683         Reorganized import statements. Fixed @author tags.
2685 2005-04-20  Michael Koch  <konqueror@gmx.de>
2687         * gnu/java/lang/ClassHelper.java,
2688         gnu/java/lang/reflect/TypeSignature.java:
2689         Fixed @author tag.
2691 2005-04-20  Michael Koch  <konqueror@gmx.de>
2693         * gnu/java/beans/IntrospectionIncubator.java:
2694         Fixed HTML tags in javadocs.
2696 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
2698         * gnu/java/beans/IntrospectionIncubator.java
2699         (addToPropertyHash, addToListenerHash): Don't confuse get(),
2700         set(), is(), add() and remove() with properties or events.
2702 2005-04-20  Michael Koch  <konqueror@gmx.de>
2704         * gnu/java/awt/image/XBMDecoder.java:
2705         Fixed modifier order.
2707 2005-04-20  Roman Kennke  <roman@kennke.org>
2709         * javax/swing/plaf/basic/BasicButtonUI.java
2710         (paint): This should not care about margin and insets
2711         at the same time, as insets already include the margin
2712         through the border.
2713         * javax/swing/plaf/basic/BasicGraphicsUtils.java
2714         (getPreferredButtonSize): Likewise.
2715         * javax/swing/plaf/metal/MetalBorders.java
2716         (getBorderInsets): Likewise.
2718 2005-04-20  Roman Kennke  <roman@kennke.org>
2720         * javax/swing/plaf/basic/BasicOptionPaneUI.java
2721         (createMessageArea): The JPanel that holds the message area
2722         doesn't need to override getPreferredSize. This prevents some
2723         message components from rendering nicely.
2725 2005-04-20  Roman Kennke  <roman@kennke.org>
2727         * javax/swing/plaf/metal/MetalInternalFrameUI.java
2728         (createUI): Do not share instances between components.
2729         * javax/swing/plaf/metal/MetalSliderUI.java
2730         (createUI): Do not share instances between components.
2732 2005-04-20  Roman Kennke  <roman@kennke.org>
2734         * javax/swing/plaf/metal/MetalBorders:
2735         (PopupMenuBorder): Added.
2736         * javax/swing/plaf/metal/MetalLookAndFeel
2737         (initComponentDefaults): Added PopupMenuBorder.
2739 2005-04-20  Roman Kennke  <roman@kennke.org>
2741         * javax/swing/tree/DefaultTreeSelectionModel.java:
2742         Added API documentation all over the class.
2744 2005-04-20  Roman Kennke  <roman@kennke.org>
2746         * javax/swing/plaf/basic/BasicScrollPaneUI.java
2747         (installDefaults): Link managed JScrollPane in instance field.
2748         (uninstallDefaults): Unlink managed JScrollPane in instance field.
2750 2005-04-20  Roman Kennke  <roman@kennke.org>
2752         * javax/swing/plaf/basic/BasicScrollBarUI.java
2753         (PropertyChangeHandler.propertyChange): Add default
2754         to switch statement to avoid errors with unusual values
2755         for orientation.
2756         (installComponents): Likewise.
2758 2005-04-20  Roman Kennke  <roman@kennke.org>
2760         * javax/swing/plaf/metal/MetalScrollBarUI.java:
2761         (createUI): Instances cannot be shared among JScrollPanes.
2763 2005-04-20  Roman Kennke  <roman@kennke.org>
2765         * javax/swing/plaf/metal/MetalLookAndFeel.java
2766         (initComponentDefaults): Added defaults for Menu, MenuBar
2767         MenuEntry fonts.
2769 2005-04-20  Roman Kennke  <roman@kennke.org>
2771         * javax/swing/plaf/basic/BasicScrollBarUI.java
2772         (installUI): Install listeners after everything all, otherwise
2773         we get strange NPEs in some situations, especially with
2774         custom L&Fs.
2775         (createIncreaseButton): Orientation is expected to be
2776         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2777         HORIZONTAL or VERTICAL.
2778         (createDecreaseButton): Orientation is expected to be
2779         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2780         HORIZONTAL or VERTICAL.
2781         (installComponents): Orientation for buttons is expected to be
2782         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
2783         HORIZONTAL or VERTICAL.
2785 2005-04-20  Roman Kennke  <roman@kennke.org>
2787         * javax/swing/JToolBar.java
2788         (addImpl): Adjust added AbstractButtons to look and feel like
2789         toolbar buttons.
2790         * javax/swing/plaf/metal/MetalBorders.java:
2791         Adjusted insets of ButtonBorder.
2792         (RolloverMarginBorder): Added class for toolbar buttons.
2793         (getButtonBorder): Adjusted factory method to return a shared
2794         instance of button border.
2795         (getToolbarButtonBorder): Added factory method to return a shared
2796         instance of toolbar button border.
2797         (getMarginBorder): Added factory method to return a shared
2798         instance of margin border.
2799         * javax/swing/plaf/metal/MetalButtonUI.java
2800         (installDefauls): If button is child of a JToolBar then set
2801         special border on this button.
2803 2005-04-20  Michael Koch  <konqueror@gmx.de>
2805         * java/net/URLConnection.java
2806         (getContent): Fixed javadoc comment.
2808 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2810         * java/net/URL.java:
2811         (toURI()): Implemented.
2813 2005-04-19  Michael Koch  <konqueror@gmx.de>
2815         * java/net/InetAddress.java
2816         (InetAddress): Fixed javadoc comment.
2817         (aton): Likewise.
2818         (lookup): Added javadoc.
2819         (getFamily): Likewise.
2820         * java/net/ServerSocket.java
2821         (getChannel): Improved javadoc comment.
2823 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2825         * gnu/xml/dom/html2/DomHTMLParser.java:
2826         Changed 'enum' references to become 'enumeration'.
2828 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2830         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
2832 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2834         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
2835         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
2836         * gnu/javax/swing/text/html/parser/htmlValidator.java:
2837         (validateParameters(TagElement,htmlAttributeSet)):
2838         Replaced 'enum' with 'enumeration'.
2839         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
2840         Likewise.
2842 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2844         * javax/swing/text/html/parser/Entity.java (getType): New method.
2845         * javax/swing/text/html/parser/DocumentParser.java:
2846         Inherit from javax.swing.text.html.parser.Parser.
2848 2005-04-19  Chris Burdess  <dog@gnu.org>
2850         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
2851         check for HTML/XHTML namespace.
2853 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2855         * javax/swing/text/html/parser/Parser.java,
2856         javax/swing/text/html/parser/Entity.java:
2857         Inheriting from DTDConstants.
2858         * javax/swing/text/html/parser/AttributeList.java
2859         (getValues): Changed return type.
2860         * javax/swing/text/html/parser/DocumentParser
2861         (parse): Adding the callback parameter that receives
2862         the parsing events.
2864 2005-04-19  Chris Burdess  <dog@gnu.org>
2866         * gnu/xml/dom/DomImpl.java,
2867         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2868         gnu/xml/dom/html2/DomHTMLDocument.java,
2869         gnu/xml/dom/html2/DomHTMLElement.java,
2870         gnu/xml/dom/html2/DomHTMLFormElement.java,
2871         gnu/xml/dom/html2/DomHTMLFrameElement.java,
2872         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2873         gnu/xml/dom/html2/DomHTMLImpl.java,
2874         gnu/xml/dom/html2/DomHTMLInputElement.java,
2875         gnu/xml/dom/html2/DomHTMLObjectElement.java,
2876         gnu/xml/dom/html2/DomHTMLOptionElement.java,
2877         gnu/xml/dom/html2/DomHTMLSelectElement.java,
2878         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2879         gnu/xml/dom/html2/DomHTMLTableElement.java,
2880         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2881         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2882         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
2883         UI events, and tree utility functions.
2885 2005-04-19  Michael Koch  <konqueror@gmx.de>
2887         * gnu/javax/swing/text/html/parser/HTML_401F.java,
2888         gnu/javax/swing/text/html/parser/gnuDTD.java,
2889         gnu/javax/swing/text/html/parser/models/node.java:
2890         Reworked import statements.
2892 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
2894         * javax/swing/text/html/HTMLDocument.java: New file.
2896 2005-04-19  Michael Koch  <konqueror@gmx.de>
2898         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
2899         Reformatted.
2900         * javax/swing/text/html/parser/AttributeList.java:
2901         Fixed order of modifiers.
2902         (AttributeList): Made final.
2903         * javax/swing/text/html/parser/ContentModel.java:
2904         Fixed html characters in javadocs.
2905         * javax/swing/text/html/parser/DTD.java
2906         (DTD): Don't implement java.io.Serializable directly.
2907         (getElement): Simplified.
2908         * javax/swing/text/html/parser/DTDConstants.java:
2909         Reformatted file.
2910         * javax/swing/text/html/parser/Element.java:
2911         Fixed order of modifiers.
2912         * javax/swing/text/html/parser/Parser.java:
2913         Reformatted. Don't use fully-qualified class names.
2914         * javax/swing/text/html/parser/ParserDelegator.java:
2915         Fixed order of modifiers.
2916         * javax/swing/text/rtf/RTFParser.java:
2917         Re-ordered import statements.
2918         * javax/swing/text/rtf/RTFScanner.java:
2919         Removed unused import statement.
2921 2005-04-19  Chris Burdess  <dog@gnu.org>
2923         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
2924         gnu/xml/dom/html2/DomHTMLCollection.java,
2925         gnu/xml/dom/html2/DomHTMLDocument.java,
2926         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
2927         types.
2928         * gnu/xml/dom/html2/DomHTMLDListElement.java,
2929         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
2930         gnu/xml/dom/html2/DomHTMLDivElement.java,
2931         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
2932         gnu/xml/dom/html2/DomHTMLFontElement.java,
2933         gnu/xml/dom/html2/DomHTMLFormElement.java,
2934         gnu/xml/dom/html2/DomHTMLFrameElement.java,
2935         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
2936         gnu/xml/dom/html2/DomHTMLHRElement.java,
2937         gnu/xml/dom/html2/DomHTMLHeadElement.java,
2938         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
2939         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
2940         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2941         gnu/xml/dom/html2/DomHTMLImageElement.java,
2942         gnu/xml/dom/html2/DomHTMLInputElement.java,
2943         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
2944         gnu/xml/dom/html2/DomHTMLLIElement.java,
2945         gnu/xml/dom/html2/DomHTMLLabelElement.java,
2946         gnu/xml/dom/html2/DomHTMLLegendElement.java,
2947         gnu/xml/dom/html2/DomHTMLLinkElement.java,
2948         gnu/xml/dom/html2/DomHTMLMapElement.java,
2949         gnu/xml/dom/html2/DomHTMLMenuElement.java,
2950         gnu/xml/dom/html2/DomHTMLMetaElement.java,
2951         gnu/xml/dom/html2/DomHTMLModElement.java,
2952         gnu/xml/dom/html2/DomHTMLOListElement.java,
2953         gnu/xml/dom/html2/DomHTMLObjectElement.java,
2954         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
2955         gnu/xml/dom/html2/DomHTMLOptionElement.java,
2956         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
2957         gnu/xml/dom/html2/DomHTMLParamElement.java,
2958         gnu/xml/dom/html2/DomHTMLPreElement.java,
2959         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
2960         gnu/xml/dom/html2/DomHTMLScriptElement.java,
2961         gnu/xml/dom/html2/DomHTMLSelectElement.java,
2962         gnu/xml/dom/html2/DomHTMLStyleElement.java,
2963         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
2964         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2965         gnu/xml/dom/html2/DomHTMLTableColElement.java,
2966         gnu/xml/dom/html2/DomHTMLTableElement.java,
2967         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2968         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2969         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
2970         gnu/xml/dom/html2/DomHTMLTitleElement.java,
2971         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2973 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
2975         * javax/swing/text/ChangedCharSetException.java,
2976         javax/swing/text/html/HTMLEditorKit.java,
2977         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
2978         javax/swing/text/html/parser/AttributeList.java,
2979         javax/swing/text/html/parser/ContentModel.java,
2980         javax/swing/text/html/parser/DocumentParser.java,
2981         javax/swing/text/html/parser/DTD.java,
2982         javax/swing/text/html/parser/DTDConstants.java,
2983         javax/swing/text/html/parser/Element.java,
2984         javax/swing/text/html/parser/Entity.java,
2985         javax/swing/text/html/parser/Parser.java,
2986         javax/swing/text/html/parser/TagElement.java,
2987         gnu/javax/swing/text/html/package.html,
2988         gnu/javax/swing/text/html/parser/gnuDTD.java,
2989         gnu/javax/swing/text/html/parser/HTML_401F.java,
2990         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2991         gnu/javax/swing/text/html/parser/htmlValidator.java,
2992         gnu/javax/swing/text/html/parser/package.html,
2993         gnu/javax/swing/text/html/parser/models/list.java,
2994         gnu/javax/swing/text/html/parser/models/node.java,
2995         gnu/javax/swing/text/html/parser/models/noTagModel.java,
2996         gnu/javax/swing/text/html/parser/models/package.html,
2997         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
2998         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
2999         gnu/javax/swing/text/html/parser/models/transformer.java,
3000         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
3001         gnu/javax/swing/text/html/parser/support/package.html,
3002         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
3003         gnu/javax/swing/text/html/parser/support/Parser.java,
3004         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
3005         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
3006         gnu/javax/swing/text/html/parser/support/low/Constants.java,
3007         gnu/javax/swing/text/html/parser/support/low/Location.java,
3008         gnu/javax/swing/text/html/parser/support/low/node.java,
3009         gnu/javax/swing/text/html/parser/support/low/package.html,
3010         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
3011         gnu/javax/swing/text/html/parser/support/low/pattern.java,
3012         gnu/javax/swing/text/html/parser/support/low/Queue.java,
3013         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
3014         New files.
3015         * javax/swing/text/html/HTML.java,
3016         javax/swing/text/html/parser/ParserDelegator.java:
3017         New files (replacing).
3018         * javax/swing/text/html/package.html,
3019         javax/swing/text/html/parser/package.html: Documenting the
3020         packages.
3022 2005-04-19  Chris Burdess  <dog@gnu.org>
3024         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
3025         gnu/xml/dom/html2/DomHTMLAppletElement.java,
3026         gnu/xml/dom/html2/DomHTMLAreaElement.java,
3027         gnu/xml/dom/html2/DomHTMLBaseElement.java,
3028         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
3029         gnu/xml/dom/html2/DomHTMLBodyElement.java,
3030         gnu/xml/dom/html2/DomHTMLBRElement.java,
3031         gnu/xml/dom/html2/DomHTMLButtonElement.java,
3032         gnu/xml/dom/html2/DomHTMLCollection.java,
3033         gnu/xml/dom/html2/DomHTMLDocument.java,
3034         gnu/xml/dom/html2/DomHTMLElement.java: New files.
3036 2005-04-19  Michael Koch  <konqueror@gmx.de>
3038         * Makefile.am: Added new files.
3039         * Makefile.in: Regenerated.
3041 2005-04-19  Roman Kennke  <roman@kennke.org>
3043         * javax/swing/text/JTextComponent.java
3044         (JTextComponent): Added repaintListener which issues repaint
3045         requests when the underlying document changes.
3046         (setDocument): Adds repaintListener to document when the
3047         document is changed.
3048         * javax/swing/text/DefaultEditorKit.java:
3049         Removed repaint calls on JTextComponent. This is now handled
3050         through a DocumentListener in JTextComponent that repaints
3051         the component when needed.
3053 2005-04-19  Roman Kennke  <roman@kennke.org>
3055         PR libgcj/21064
3056         * javax/swing/text/StyleContext.java
3057         (NamedStyle.setResolveParent): Added null
3058         pointer check.
3060 2005-04-19  Michael Koch  <konqueror@gmx.de>
3062         * java/rmi/server/RemoteObject.java:
3063         Removed unused import statement.
3065 2005-04-19  Michael Koch  <konqueror@gmx.de>
3067         * java/net/URL.java: Formatting cleanups.
3069 2005-04-19  Michael Koch  <konqueror@gmx.de>
3071         * java/awt/FontMetrics.java: Reformatted.
3072         (getFontRenderContext): Handle case when java.awt.Graphics context is
3073         given.
3075 2005-04-19  Michael Koch  <konqueror@gmx.de>
3077         * java/awt/FontMetrics.java
3078         (getStringBounds): New methods.
3081 2005-04-19  Michael Koch  <konqueror@gmx.de>
3083         * gnu/java/security/x509/X509Certificate.java
3084         (parse): Handle val == null case.
3086 2005-04-19  Roman Kennke  <roman@kennke.org>
3088         * javax/swing/plaf/metal/MetalLookAndFeel.java
3089         (initComponentDefaults): Added defaults for Menu, MenuBar
3090         MenuEntry fonts.
3092 2005-04-19  Roman Kennke  <roman@kennke.org>
3094         * javax/swing/plaf/metal/MetalLookAndFeel.java
3095         (initComponentDefaults): Added Label.font.
3096         (initSystemColorDefaults): Added this method and adjusted the
3097         general control color.
3099 2005-04-19  Roman Kennke  <roman@kennke.org>
3101         * javax/swing/plaf/metal/MetalBorders.java:
3102         Added.
3103         * javax/swing/plaf/metal/MetalButtonUI.java:
3104         (installDefaults): Install button font.
3105         * javax/swing/plaf/metal/MetalLookAndFeel.java:
3106         (initComponentDefaults): Added button border, font and margin.
3107         Changed components background color to the Metal current themes
3108         standard color.
3110 2005-04-19  Roman Kennke  <roman@kennke.org>
3112         * javax/swing/plaf/metal/MetalLookAndFeel.java
3113         (initComponentDefaults): Added to set Metal specific component
3114         defaults.
3116 2005-04-19  Mark Wielaard  <mark@klomp.org>
3118         * javax/swing/plaf/metal/MetalLookAndFeel.java
3119         (initClassDefaults): Call super.initClassDefaults().
3121 2005-04-19  Roman Kennke  <roman@kennke.org>
3123         * javax/swing/plaf/metal/MetalLookAndFeel.java
3124         (initClassDefaults): Added to include the *UI classes.
3126 2005-04-19  Roman Kennke  <roman@kennke.org>
3128         * javax/swing/plaf/metal/MetalComboBoxUI.java:
3129         Added.
3130         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
3131         Added.
3132         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
3133         Added.
3134         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
3135         Added.
3136         * javax/swing/plaf/metal/MetalProgressBarUI.java:
3137         Added.
3138         * javax/swing/plaf/metal/MetalRootPaneUI.java:
3139         Added.
3140         * javax/swing/plaf/metal/MetalScrollBarUI.java:
3141         Added.
3142         * javax/swing/plaf/metal/MetalSeparatorUI.java:
3143         Added.
3144         * javax/swing/plaf/metal/MetalSliderUI.java:
3145         Added.
3146         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
3147         Added.
3148         * javax/swing/plaf/metal/MetalTextFieldUI.java:
3149         Added.
3150         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
3152 2005-04-19  Roman Kennke  <roman@kennke.org>
3154         * javax/swing/plaf/metal/MetalButtonUI.java:
3155         Added skeleton class.
3156         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
3157         Added skeleton class.
3158         * javax/swing/plaf/metal/MetalLabelUI.java:
3159         Added skeleton class.
3160         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
3161         Added skeleton class.
3162         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
3163         Added skeleton class.
3164         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
3165         Added skeleton class.
3167 2005-04-19  Roman Kennke  <roman@kennke.org>
3169         * javax/swing/UIDefaults.java:
3170         Added API documentation for all methods.
3172 2005-04-19  Roman Kennke  <roman@kennke.org>
3174         * javax/swing/UIDefaults.java
3175         (put): Now uses new checkAndPut method instead of checking
3176         directly.
3177         (putDefaults): Fixed so that it accepts null-values and
3178         treats them like remove(key).
3179         (checkAndPut): Added. This checks for null-values and calls
3180         put or remove.
3182 2005-04-19  Michael Koch  <konqueror@gmx.de>
3184         * Makefile.am: Added new files.
3185         * Makefile.in: Regenerated.
3187 2005-04-19  Mark Wielaard  <mark@klomp.org>
3189         * java/lang/natRuntime.cc (insertSystemProperties): Set
3190         java.class.path to CLASSPATH only when not empty. Fall back to
3191         default path "." when java.class.path is empty.
3193 2005-04-19  Michael Koch  <konqueror@gmx.de>
3195         * javax/swing/text/rtf/ControlWordToken.java,
3196         javax/swing/text/rtf/RTFEditorKit.java,
3197         javax/swing/text/rtf/RTFParseException.java,
3198         javax/swing/text/rtf/RTFParser.java,
3199         javax/swing/text/rtf/RTFScanner.java,
3200         javax/swing/text/rtf/TextToken.java,
3201         javax/swing/text/rtf/Token.java: New files.
3202         * Makefile.am: Added new files.
3203         * Makefile.in: Regenerated.
3205 2005-04-19  Michael Koch  <konqueror@gmx.de>
3207         * java/awt/geom/QuadCurve2D.java:
3208         Fixed Brian Gough's name for real.
3210 2005-04-19  Roman Kennke  <roman@kennke.org>
3212         * javax/swing/UIManager.java:
3213         Make the UIManager respect the swing.defaultlaf system
3214         property.
3216 2005-04-19  Tom Tromey  <tromey@redhat.com>
3218         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
3219         not _Jv_InitClass.
3221 2005-04-19  Roman Kennke  <roman@kennke.org>
3223         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3224         Fixed tabs to spaces.
3226 2005-04-19  Roman Kennke  <roman@kennke.org>
3228         * javax/swing/plaf/basic/BasicMenuUI.java
3229         (getMaximumSize): Now returns preferredSize because JMenu should
3230         never be bigger than that.
3231         * javax/swing/JRootPane
3232         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
3234 2005-04-19  Roman Kennke  <roman@kennke.org>
3236         * javax/swing/JRootPane.java:
3237         Fixed various tabs to be spaces.
3238         (RootLayout.layoutContainer): Made menubar left aligned.
3240 2005-04-19  Roman Kennke  <roman@ontographics.com>
3242         * javax/swing/JList.java
3243         (getPreferredScrollableViewportSize):
3244         The previous implementation was merely guessing the size,
3245         now it respects layoutOrientation, visibleRowCount
3246         and preferredSize.
3247         (getScrollableTracksViewportHeight):
3248         Reimplemented so that layoutOrientation, visibleRowCount
3249         and preferred size are respected.
3250         (getScrollableTracksViewportWidth):
3251         Reimplemented so that layoutOrientation, visibleRowCount
3252         and preferred size are respected.
3253         * javax/swing/plaf/basic/BasicListUI.java
3254         (getPreferredSize):
3255         Improved calculation of preferredSize when JList is
3256         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
3257         (getCellBounds):
3258         The previous implementation assumed a layoutOrientation of
3259         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
3260         JList.VERTICAL_WRAP.
3262 2005-04-19  Roman Kennke  <roman@ontographics.com>
3264         * javax/swing/plaf/basic/BasicListUI.java
3265         (paintCell): use CellRendererPane for painting the cells.
3267 2005-04-19  Roman Kennke  <roman@ontographics.com>
3269         * javax/swing/plaf/basic/BasicListUI:
3270         fixed modifiers of several fields, methods and inner
3271         classes to match the 'spec'.
3272         (getMaximumSize): removed. It's not in the spec and the
3273         implementations was superfluous.
3275 2005-04-19  Roman Kennke  <roman@ontographics.com>
3277         * javax/swing/plaf/basic/BasicListUI:
3278         make BasicListUI capable of wrapping lists
3279         (layoutOrientation property of javax.swing.JList)
3281 2005-04-19  Roman Kennke  <roman@ontographics.com>
3283         * javax/swing/plaf/basic/BasicListUI
3284         (updateLayoutState,paint): make BasicListUI aware of the
3285         width of the rendered JList.
3287 2005-04-19  Roman Kennke  <roman@kennke.org>
3289         * javax/swing/ImageIcon.java
3290         Added API documentation.
3292 2005-04-19  Roman Kennke  <roman@kennke.org>
3294         * javax/swing/text/ImageIcon.java
3295         (ImageIcon): Use setImage instead of direct assignment.
3296         (setImage): Call loadImage to make sure that the image is loaded.
3297         (loadImage): Waits for the image to complete loading.
3298         (getImageLoadStatus): Added. Returns the load status of the
3299         image.
3301 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3303         * javax/swing/JTextArea.java (replaceRange):
3304         Fixing doc.remove(start, length) misinterpretation.
3306 2005-04-19  Roman Kennke  <roman@ontographics.com>
3308         * javax/swing/CellRendererPane.java:
3309         implemented all methods of this class.
3310         reformatted all wrong formatted code.
3312 2005-04-19  Roman Kennke  <roman@kennke.org>
3314         * javax/swing/BoxLayout.java:
3315         (layoutContainer): Made this layout manager respect the
3316         minimum, maximum and preferred size more correctly.
3318 2005-04-19  Roman Kennke  <roman@ontographics.com>
3320         * javax/swing/BoxLayout.java:
3321         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
3322         layoutContainer): Make these methods and thereby the
3323         BoxLayout respect the insets (like borders) of the
3324         component that is laid out.
3326 2005-04-19  Roman Kennke  <roman@kennke.org>
3328         * javax/swing/JComponent.java:
3329         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
3330         Untabified the file.
3332 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3334         * javax/swing/JComboBox.java (constructors): selecting the
3335         first item if the box was constructed from the provided
3336         non - empty array or vector.
3338 2005-04-19  Michael Koch  <konqueror@gmx.de>
3340         * gnu/java/awt/peer/gtk/GdkGraphics.java
3341         (getClipBounds): Handle clip being null.
3342         (setClip): Likewise.
3343         * java/beans/beancontext/BeanContextSupport.java
3344         (add): Implemented.
3345         (addAll): Likewise.
3346         (clear): Likewise.
3347         (removeAll): Likewise.
3348         (retainAll): Likewise.
3350 2005-04-19  Michael Koch  <konqueror@gmx.de>
3352         * java/beans/beancontext/BeanContextServicesSupport.java
3353         (BeanContextServicesSupport): Reimplemented.
3354         (addBeanContextServicesListener): Implemented.
3355         (initialize): Likewise.
3356         (removeBeanContextServicesListener): Likewise.
3357         * java/beans/beancontext/BeanContextSupport.java
3358         (add): Likewise.
3359         (addBeanContextMembershipListener): Likewise.
3360         (getLocale): Likewise.
3361         (initialize): Likewise.
3362         (iterator): Likewise.
3363         (remove): Likewise.
3364         (toArray): Likewise.
3366 2005-04-19  Roman Kennke  <roman@kennke.org>
3368         * java/awt/MediaTracker.java:
3369         Reindented tabs to spaces.
3371 2005-04-19  Roman Kennke  <roman@kennke.org>
3373         * java/awt/MediaTracker.java
3374         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
3375         confused the media tracker and lead to lockups. The LOADING
3376         bit is handled on other places.
3377         (addImage): Removed the 'start image tracking' stuff. This
3378         is not necessary and could confuse the media tracker.
3379         (checkAll): Improved the check for image status so that
3380         images that already complete images are detected. Also now
3381         are really all images checked and if necessary loaded. Before
3382         the method bailed out after the first incomplete image.
3383         (statusAll): Detect images that are complete after the
3384         call to Component.prepareImage(..).
3385         (checkID): The same as in checkAll.
3386         (statusID): The same as in statusAll.
3388 2005-04-19  Roman Kennke  <roman@kennke.org>
3390         * java/awt/MediaTracker.java
3391         (addImage): Synchronized list access.
3392         (waitForAll): Fixed comparison of time (changed < to >).
3393         (waitForID): Fixed comparison of time (changed < to >).
3394         (removeImage): Synchronized list access.
3396 2005-04-19  Roman Kennke  <roman@kennke.org>
3398         * java/awt/MediaTracker.java
3399         Added API documentation.
3401 2005-04-19  Roman Kennke  <roman@kennke.org>
3403         * java/awt/MediaTracker.java
3404         (MediaEntry.imageUpdate): Fixed flags. The different flags
3405         must not be ORed together.
3406         (checkAll): Modified to handle different meaning of the flags.
3407         (waitForAll): Fixed so that it waits maximum the
3408         specified amount of milliseconds.
3409         (statusAll): Modified to handle different meaning of the flags.
3410         (waitForID): Fixed so that it waits maximum the
3411         specified amount of milliseconds.
3413 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
3415         * java/awt/Font.java (decode): Handle null argument and allow
3416         space as delimiter.
3418 2005-04-19  Robert Schuster <thebohemian@gmx.net>
3420         * java/beans/EventHandler.java: Reworked documentation.
3421         (invoke): Fixed behavior to match spec.
3423 2005-04-19  Michael Koch  <konqueror@gmx.de>
3425         * java/awt/print/PrinterJob.java
3426         (pageDialog): New method.
3427         (printDialog): Implemented.
3429 2005-04-19  Michael Koch  <konqueror@gmx.de>
3431         * java/awt/image/ConvolveOp.java:
3432         Removed comment added by eclipse.
3434 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
3436         * java/awt/image/IndexColorModel.java
3437         (getRGB): Check if pixel is negative.
3439 2005-04-19  Michael Koch  <konqueror@gmx.de>
3441         * java/awt/image/RasterOp.java:
3442         Fixed wrong formatting.
3444 2005-04-18  Roman Kennke  <roman@kennke.org>
3446         * java/awt/Compmonent.java
3447         (setComponentOrientation): Made this property firing a
3448         PropertyChangeEvent.
3450 2005-04-18  Roman Kennke  <roman@kennke.org>
3452         * java/awt/BorderLayout.java
3453         (calcSize): Check for overflow when component sizes are added.
3455 2005-04-18  Robert Schuster <thebohemian@gmx.net>
3457         * java/awt/AWTEvent.java (toString): Added case
3458         for source not being an AWT component.
3460 2005-04-18  Chris Burdess  <dog@gnu.org>
3462         * gnu/java/net/BASE64.java: Truncate encoded byte array.
3464 2005-04-18  Michael Koch  <konqueror@gmx.de>
3466         gnu/java/awt/EmbeddedWindowSupport.java,
3467         gnu/java/net/HeaderFieldHelper.java,
3468         gnu/java/net/URLParseError.java,
3469         gnu/java/net/protocol/file/Handler.java,
3470         gnu/java/net/protocol/jar/Handler.java:
3471         Fixed usage of @author tag.
3473 2005-04-18  Michael Koch  <konqueror@gmx.de>
3475         * gnu/xml/aelfred2/XmlParser.java:
3476         Reverted my typo fix.
3478 2005-04-18  Michael Koch  <konqueror@gmx.de>
3480         * java/awt/geom/CubicCurve2D.java,
3481         java/awt/geom/QuadCurve2D.java:
3482         Fixed mentioning of Brian Gouph.
3484 2005-04-18  Michael Koch  <konqueror@gmx.de>
3486         * gnu/java/awt/Buffers.java,
3487         gnu/java/awt/image/ImageDecoder.java,
3488         gnu/java/awt/image/XBMDecoder.java,
3489         gnu/java/awt/peer/ClasspathFontPeer.java,
3490         gnu/java/net/CRLFInputStream.java,
3491         gnu/java/net/EmptyX509TrustManager.java,
3492         gnu/java/net/LineInputStream.java,
3493         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3494         gnu/java/net/protocol/ftp/BlockInputStream.java,
3495         gnu/java/net/protocol/ftp/CompressedInputStream.java,
3496         gnu/java/net/protocol/ftp/DTP.java,
3497         gnu/java/net/protocol/ftp/DTPInputStream.java,
3498         gnu/java/net/protocol/ftp/FTPConnection.java,
3499         gnu/java/net/protocol/ftp/FTPURLConnection.java,
3500         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3501         gnu/java/net/protocol/ftp/StreamInputStream.java,
3502         gnu/java/net/protocol/http/ChunkedInputStream.java,
3503         gnu/java/net/protocol/http/HTTPConnection.java,
3504         gnu/java/net/protocol/http/HTTPURLConnection.java,
3505         gnu/java/net/protocol/http/Headers.java,
3506         gnu/java/net/protocol/http/Request.java,
3507         gnu/java/nio/ChannelInputStream.java,
3508         gnu/java/nio/ChannelOutputStream.java,
3509         gnu/java/nio/InputStreamChannel.java,
3510         gnu/java/nio/OutputStreamChannel.java,
3511         gnu/java/nio/SelectorProviderImpl.java,
3512         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
3513         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
3514         gnu/java/rmi/dgc/DGCImpl.java,
3515         gnu/java/rmi/registry/RegistryImpl.java,
3516         gnu/java/rmi/server/ProtocolConstants.java,
3517         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
3518         gnu/java/rmi/server/RMIIncomingThread.java,
3519         gnu/java/rmi/server/RMIObjectInputStream.java,
3520         gnu/java/rmi/server/RMIObjectOutputStream.java,
3521         gnu/java/rmi/server/RMIVoidValue.java,
3522         gnu/java/rmi/server/UnicastConnectionManager.java,
3523         gnu/java/rmi/server/UnicastRef.java,
3524         gnu/java/rmi/server/UnicastRemoteCall.java,
3525         gnu/java/rmi/server/UnicastRemoteStub.java,
3526         gnu/java/rmi/server/UnicastServerRef.java,
3527         gnu/java/security/OID.java,
3528         gnu/java/security/der/DERReader.java,
3529         gnu/java/security/provider/CollectionCertStoreImpl.java,
3530         gnu/java/security/provider/DSAParameterGenerator.java,
3531         gnu/java/security/provider/DefaultPolicy.java,
3532         gnu/java/security/provider/EncodedKeyFactory.java,
3533         gnu/java/security/provider/GnuDHPublicKey.java,
3534         gnu/java/security/provider/GnuDSAPrivateKey.java,
3535         gnu/java/security/provider/GnuDSAPublicKey.java,
3536         gnu/java/security/provider/GnuRSAPrivateKey.java,
3537         gnu/java/security/provider/GnuRSAPublicKey.java,
3538         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3539         gnu/java/security/provider/RSA.java,
3540         gnu/java/security/provider/SHA1PRNG.java,
3541         gnu/java/security/provider/SHA1withRSA.java,
3542         gnu/java/security/provider/X509CertificateFactory.java,
3543         gnu/java/security/x509/GnuPKIExtension.java,
3544         gnu/java/security/x509/X500DistinguishedName.java,
3545         gnu/java/security/x509/X509CRL.java,
3546         gnu/java/security/x509/X509CRLEntry.java,
3547         gnu/java/security/x509/X509CertPath.java,
3548         gnu/java/security/x509/X509CertSelectorImpl.java,
3549         gnu/java/security/x509/X509Certificate.java,
3550         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3551         gnu/java/security/x509/ext/BasicConstraints.java,
3552         gnu/java/security/x509/ext/CRLNumber.java,
3553         gnu/java/security/x509/ext/CertificatePolicies.java,
3554         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
3555         gnu/java/security/x509/ext/Extension.java,
3556         gnu/java/security/x509/ext/GeneralNames.java,
3557         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
3558         gnu/java/security/x509/ext/KeyUsage.java,
3559         gnu/java/security/x509/ext/PolicyConstraint.java,
3560         gnu/java/security/x509/ext/PolicyMappings.java,
3561         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
3562         gnu/java/security/x509/ext/ReasonCode.java,
3563         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
3564         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
3565         Reorganized import statements.
3567 2005-04-18  Michael Koch  <konqueror@gmx.de>
3569         * gnu/java/awt/color/CieXyzConverter.java,
3570         gnu/java/awt/color/ClutProfileConverter.java,
3571         gnu/java/awt/color/ColorLookUpTable.java,
3572         gnu/java/awt/color/ColorSpaceConverter.java,
3573         gnu/java/awt/color/GrayProfileConverter.java,
3574         gnu/java/awt/color/GrayScaleConverter.java,
3575         gnu/java/awt/color/LinearRGBConverter.java,
3576         gnu/java/awt/color/ProfileHeader.java,
3577         gnu/java/awt/color/PyccConverter.java,
3578         gnu/java/awt/color/RgbProfileConverter.java,
3579         gnu/java/awt/color/SrgbConverter.java,
3580         gnu/java/awt/color/TagEntry.java,
3581         gnu/java/awt/color/ToneReproductionCurve.java:
3582         Standardized file headers.
3584 2005-04-16  Tom Tromey  <tromey@redhat.com>
3586         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
3587         'ANY' package-private.
3589 2005-04-15  Tom Tromey  <tromey@redhat.com>
3591         * Makefile.in: Rebuilt.
3592         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
3593         (libgcj0_convenience_la_LIBADD): ... here.
3595 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
3597         * gij.cc (version): Properly quote java version.
3598         (main): Fix typo in comment.
3600 2005-04-13  Mark Wielaard  <mark@klomp.org>
3602         * java/lang/natRuntime.cc (insertSystemProperties): Set
3603         java.class.path to CLASSPATH if not already set.
3605 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3607         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
3609 2005-04-12  Mike Stump  <mrs@apple.com>
3611         * configure: Regenerate.
3613 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
3615         PR libgcj/20958
3616         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
3617         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
3619 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
3621         PR libgcj/20975
3622         * scripts/TexinfoDoclet.java: Removed.
3623         * Makefile.am (texinfo): Removed.
3624         * Makefile.in: Regenerated.
3626 2005-04-11  Michael Koch  <konqueror@gmx.de>
3628         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
3629         Fixed wrong casting.
3631 2005-04-06  Andrew Haley  <aph@redhat.com>
3633         * testsuite/libjava.lang/bytearray.java: New file.
3634         * testsuite/libjava.lang/bytearray.out: New file.
3635         * java/lang/ClassLoader.java (loadClassFromSig): Declare
3636         (loadClass): Use it.
3637         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
3639 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
3641         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
3642         gcj-dbtool dependency
3643         * Makefile.in: Regenerated
3645 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
3647         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
3648         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
3650 2005-04-05  Andrew Haley  <aph@redhat.com>
3652         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
3653         (Tokenizer): New class.
3654         (getFiles): New method.
3655         (main): Add "-" argument.
3656         Add "-0" argument.
3657         Read list of files from stdin when merging map databases.
3658         (usage):  Add "-" argument.
3659         Add "-0" argument.
3660         Minor corrections.
3662 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
3664         PR libgcj/20750
3665         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
3666         * Makefile.in: Regenerate.
3667         * configure.ac: Add --with-java-home option.
3668         * configure: Regenerate.
3669         * external/Makefile.in: Regenerate.
3670         * external/sax/Makefile.in: Regenerate.
3671         * external/w3c_dom/Makefile.in: Regenerate.
3672         * gcj/Makefile.in: Regenerate.
3673         * include/Makefile.in: Regenerate.
3674         * testsuite/Makefile.in: Regenerate.
3675         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
3676         to JAVA_HOME macro.
3678 2005-04-05  Tom Tromey  <tromey@redhat.com>
3680         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
3681         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
3682         Rewrote to use _Jv_FindClassFromSignature.
3683         * verify.cc (resolve): throw NoClassDefFoundError.
3684         * link.cc (resolve_field): Throw NoClassDefFoundError.
3685         (find_field): Likewise.
3686         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
3687         Handle error cases.  Added 'endp' argument.
3688         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
3690 2005-04-05  Tom Tromey  <tromey@redhat.com>
3692         * Makefile.in: Rebuilt.
3693         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
3694         gtk_awt_peer_sources.
3695         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
3696         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
3697         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
3698         (gtk-awt-peer.lo): New target.
3700 2005-04-04  Steve Pribyl <steve@netfuel.com>
3702         PR libgcj/20761
3703         * configure.ac: Fix fastjar definition for cross builds.
3704         * configure: Rebuilt.
3706 2005-04-04  Tom Tromey  <tromey@redhat.com>
3708         * java/lang/ClassLoader.java (loadClass): Resolve class even if
3709         it was already found.
3711 2005-04-04  Tom Tromey  <tromey@redhat.com>
3713         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
3714         org.metastatic.jessie.
3716 2005-04-02  Anthony Green  <green@redhat.com>
3718         PR libgcj/20727
3719         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
3721 2005-04-02  Mark Wielaard  <mark@klomp.org>
3723         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
3724         Attributes and attribute order doesn't matter.
3725         (BasicAttributesEnumeration.where): Initialize to zero.
3726         (BasicAttributesEnumeration.nextElement): Update and compare where
3727         appropriately (zero based).
3729 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
3731         PR libgcj/20090, PR libgcj/20526
3732         * gij.cc (nonstandard_opts_help): New function.
3733         (add_option): New function.
3734         (main): Support java options.  Set java.class.path.  Don't set
3735         _Jv_Jar_Class_Path.
3736         * prims.cc (parse_x_arg): New function.
3737         (parse_init_args): Call parse_x_arg for -X and _ options, when
3738         ignoreUnrecognized is true.
3739         (new _Jv_RunMain): New vm_args variant.
3740         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
3741         (_Jv_Jar_Class_Path): Remove variable.
3742         * include/java-props.h: Likewise.
3743         * include/cni.h (JvRealloc): New function.
3744         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
3745         * java/lang/natRuntime.cc (insertSystemProperties): Remove
3746         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
3747         macros.
3748         * configure.ac (JV_VERSION): Define.
3749         (JV_API_VERSION): Likewise.
3750         * configure: Regenerate.
3751         * include/config.h.in: Regenerate.
3753 2005-04-01 Mark Anderson <mark@panonet.net>
3755         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
3756         -Infinity as parameters.
3758 2005-04-01  Michael Koch  <konqueror@gmx.de>
3760         * java/io/PipedInputStream.java
3761         (read): Make sure a positive byte value is returned. Revised javadoc.
3762         Thanks to Olafur Bragason for reporting these bugs.
3764 2005-04-01  Tom Tromey  <tromey@redhat.com>
3766         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
3767         Updated for name change.
3768         (nativeFindClass): New method.
3769         (loadClass): Use nativeFindClass.
3770         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
3771         form of loadClass.
3772         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
3773         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
3774         VMClassLoader.
3775         (initialize): New method.
3776         (nativeFindClass): Declare.
3777         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
3778         * gnu/gcj/runtime/VMClassLoader.java: Removed.
3779         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
3780         VMClassLoader.java.
3781         (definePackageForNative): Removed.
3782         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
3783         Moved to VMClassLoader.java.
3784         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
3785         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
3786         (ordinary_java_source_files): Added ExtensionClassLoader.java,
3787         removed VMClassLoader.java.
3788         (nat_source_files): Removed natVMClassLoader.cc.
3790 2005-04-01  Tom Tromey  <tromey@redhat.com>
3792         * Makefile.in: Rebuilt.
3793         * Makefile.am (db_pathtail): Use $(gcc_version), not
3794         @gcc_version@.
3796 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
3798         * java/util/Timer.java
3799         (run): Stop the queue if a task throws an exception.
3801 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3803         * javax/swing/text/JTextComponent.java (viewToModel): New method.
3805 2005-03-29  Ian Lance Taylor  <ian@airs.com>
3807         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
3808         * external/sax/Makefile.in: Rebuild.
3809         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
3810         "-fclasspath=".
3811         * external/w3c_dom/Makefile.in: Rebuild.
3813 2005-03-29  Tom Tromey  <tromey@redhat.com>
3815         * java/lang/natRuntime.cc (insertSystemProperties): Set
3816         gnu.gcj.runtime.endorsed.dirs.
3817         * Makefile.in: Rebuilt.
3818         * Makefile.am (ordinary_java_source_files): Added
3819         HelperClassLoader.java.
3820         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
3821         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
3822         HelperClassLoader.
3823         (init): Use addDirectoriesFromProperty.
3824         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
3825         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
3826         gnu.gcj.runtime.endorsed.dirs.
3827         * gnu/gcj/runtime/HelperClassLoader.java: New file.
3829 2005-03-26  Chris Burdess  <dog@gnu.org>
3831         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
3832         required.
3834 2005-03-13  Michael Koch  <konqueror@gmx.de>
3836         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
3838 2005-03-11  Chris Burdess  <dog@gnu.org>
3840         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3841         warnings.
3843 2005-02-27  Chris Burdess  <dog@gnu.org>
3845         * gnu/xml/aelfred2/JAXPFactory.java,
3846         gnu/xml/aelfred2/SAXDriver.java,
3847         gnu/xml/aelfred2/XmlParser.java,
3848         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
3849         formatting conventions. Replaced arrays of Object with struct-like
3850         classes for easier maintainability. Made SAXDriver.stringInterning
3851         package private to allow access from XmlParser inside the loop without
3852         a method call overhead.
3854 2005-03-11  Chris Burdess  <dog@gnu.org>
3856         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
3857         warnings.
3859 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
3861         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
3862         settings to sub Makefiles.
3863         (GCJH, ZIP): Prefix with top_builddir.
3864         * configure: Rebuild.
3865         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
3866         * external/w3c_dom/Makefile.in: Rebuild.
3867         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
3868         * external/sax/Makefile.in: Rebuild.
3870 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
3872         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3873         libsocket to the libraries to link for Solaris.
3875 2005-03-28  Per Bothner  <per@bothner.com>
3877         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
3878         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
3880 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
3882         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
3883         to fix a ONESTEP fallout.
3884         * Makefile.in: Regenerate.
3886 2005-03-25  Mike Stump  <mrs@apple.com>
3888         * configure.ac: Fix ZIP and GCJH at configure time to absolute
3889         paths like we do for the compiler, as we use it in external/sax
3890         and it doesn't get MULTIBUILDTOP right when multilibing.
3892 2005-03-24  Anthony Green  <green@redhat.com>
3894         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
3895         -p option.
3896         (usage): Add [LIBDIR] to help output.
3897         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
3898         * Makefile.am (AM_CXXFLAGS): Define
3899         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
3900         (db_pathtail): New macro.
3902 2005-03-24  Tom Tromey  <tromey@redhat.com>
3904         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
3905         add sax and w3c libraries.
3906         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
3907         libw3c-gcj.la.
3908         * external/w3c_dom/Makefile.in: Rebuilt.
3909         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
3910         AM_GCJFLAGS.
3911         (libw3c_gcj_la_LDFLAGS): New variable.
3912         (noinst_LTLIBRARIES): Renamed.
3913         * external/sax/Makefile.in: Rebuilt.
3914         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
3915         AM_GCJFLAGS.
3916         (libsax_gcj_la_LDFLAGS): New variable.
3917         (noinst_LTLIBRARIES): Renamed.
3919 2005-03-23  Tom Tromey  <tromey@redhat.com>
3921         * Makefile.in: Rebuilt.
3922         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
3923         (libgcj0_convenience_la_SOURCES): Don't include
3924         gnu_xml_source_files.
3925         (libgcj0_convenience_la_LIBADD): New variable.
3926         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
3927         (all_java_source_files): javax_imageio_source_files,
3928         javax_xml_source_files, and gnu_java_beans_source_files.
3929         ($(gnu_xml_source_files:.java=.lo)): Removed target.
3930         (gnu-xml.lo): New target.
3931         (javax-imageio.lo): Likewise.
3932         (javax-xml.lo): Likewise.
3933         (gnu-java-beans.lo): Likewise.
3934         (gnu_java_beans_source_files): New variable.
3935         (javax_imageio_source_files): Likewise.
3936         (javax_xml_source_files): Likewise.
3937         (javax_source_files): Moved files to other variable.
3938         (awt_java_source_files): Likewise.
3939         (ordinary_java_source_files): Added BootClassLoader.java.
3940         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
3941         not system class loader.
3942         (initBootLoader): New method.
3943         (loadClass): Search bootLoader.
3944         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
3945         boot loader, not system class loader.
3946         (_Jv_UnregisterInitiatingLoader): Likewise.
3947         (_Jv_FindClass): Likewise.  Ensure entries in
3948         bootstrap_class_list are unique.
3949         * java/lang/natClass.cc (getClassLoader): Don't special case
3950         system class loader.
3951         * java/lang/VMClassLoader.java (bootLoader): New field.
3952         (getResource): Use bootLoader.
3953         (getResources): Likewise.
3954         (initBootLoader): Declare.
3955         * gnu/gcj/runtime/BootClassLoader.java: New file.
3956         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
3957         (EMPTY_ENUMERATION): Now package-private.
3958         * external/w3c_com/Makefile.in: Rebuilt.
3959         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
3960         (w3c.jar): New target.
3961         (classes.stamp): Updated.
3962         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3963         Changed name of library.
3964         (libw3c_gcj_la_SOURCES): New variable.
3965         (libw3c_gcj_la_GCJFLAGS): Likewise.
3966         (source_files): Renamed from lib3c_convenience_la_SOURCES.
3967         * external/sax/Makefile.in: Rebuilt.
3968         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
3969         (sax.jar): New target.
3970         (classes.stamp): Updated.
3971         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3972         Changed name of library.
3973         (libsax_gcj_la_SOURCES): New variable.
3974         (libsax_gcj_la_GCJFLAGS): Likewise.
3975         (source_files): Renamed from libsax_convenience_la_SOURCES.
3976         * stacktrace.cc (non_system_trace_fn): Don't look at system class
3977         loader.
3978         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
3979         loader.
3980         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
3982 2005-03-23  Sven de Marothy  <sven@physto.se>
3984         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
3985         PR libgcj/11085:
3986         * java/util/Calendar.java
3987         (set): Use starting day of week when one is needed if none is given.
3988         * java/text/SimpleDateFormat.java
3989         (parse): Handle 1-12 and 1-24 timestamps correctly.
3990         * java/util/GregorianCalendar.java
3991         (computeTime, computeFields): HOUR should be in 0-11 format.
3992         (nonLeniencyCheck): Adjust leniency checking to that fact.
3993         (getLinearDay): Should be private.
3995 2005-03-23  Tom Tromey  <tromey@redhat.com>
3997         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3998         (_Jv_CheckABIVersion): Use it.
4000 2005-03-22  Mike Stump  <mrs@apple.com>
4002         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
4004         * include/posix.h: .dylib is used on all Apple MACH platforms.
4005         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
4007 2005-03-22  Tom Tromey  <tromey@redhat.com>
4009         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
4011 2005-03-21  Tom Tromey  <tromey@redhat.com>
4013         * java/lang/VMCompiler.java (static block): Also catch
4014         BufferUnderflowException.
4016 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
4018         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
4019         set tool_include_dir.  In all substitutions, leave $(gcc_version)
4020         to be expanded by the Makefile.
4021         * aclocal.m4, configure: Regenerate.
4022         * Makefile.am: Set gcc_version.  Replace all uses of
4023         @gcc_version@ with $(gcc_version).
4024         * external/Makefile.am, external/sax/Makefile.am
4025         * external/w3c_dom/Makefile.am, gcj/Makefile.am
4026         * testsuite/Makefile.am: Set gcc_version.
4027         * include/Makefile.am: Set gcc_version and tool_include_dir.
4028         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
4029         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
4030         * testsuite/Makefile.in: Regenerate.
4032 2005-03-17  Andrew Haley  <aph@redhat.com>
4034         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
4035         arg: klass.
4036         Pass klass to _Jv_StackTrace::GetClassContext().
4037         * java/lang/ClassLoader.java (getParent): Pass class to
4038         VMSecurityManager.getClassContext()
4039         (getSystemClassLoader): Likewise.
4040         * java/lang/Package.java (getPackage): Likewise.
4041         (getPackages): Likewise.
4042         * java/lang/SecurityManager.java (getClassContext): Likewise.
4043         (currentClassLoader): Likewise.
4044         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
4045         (currentClassLoader) Add new arg: caller.
4046         Pass caller to VMSecurityManager.getClassContext.
4048         * stacktrace.cc (GetClassContext): Correct calculation of
4049         jframe_count.
4051         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
4052         im->source_file_name.
4054 2005-03-16  Andrew Haley  <aph@redhat.com>
4056         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
4058 2005-03-16  Tom Tromey  <tromey@redhat.com>
4060         * link.cc (ensure_class_linked): Removed #ifdef.
4061         (print_class_loaded): Likewise.
4062         (wait_for_state): Likewise.
4063         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
4064         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
4065         * include/java-interp.h: ... here.
4067 2005-03-16  Tom Tromey  <tromey@redhat.com>
4069         * gnu/java/lang/MainThread.java (run): Load main class using
4070         system class loader.
4072 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
4074         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
4075         lgcc_s to the libraries to link for Darwin.
4077 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
4079         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
4080         interpreter-specific code with #ifdef INTERPRETER.
4081         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
4082         (_Jv_StackTrace::FillInFrameInfo): Likewise.
4083         (_Jv_StackTrace::non_system_trace_fn): Likewise.
4084         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
4085         #ifdef INTERPRETER. Also protect declarations that use it.
4086         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
4087         #ifdef INTERPRETER block.
4089 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
4091         PR libgcj/20251
4092         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
4093         * Makefile.in: Rebuilt.
4095 2005-03-15  David Daney  <ddaney@avtrex.com>
4097         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
4098         count == 0 case.
4100 2005-03-15  David Daney  <ddaney@avtrex.com>
4102         * java/io/BufferedInputStream.java (available): Use 'in' instead
4103         of 'super' for underlying stream access.
4104         (close): Ditto.
4105         (read(byte[], int, int)): Ditto.
4106         (refill): Ditto.
4107         (skip): Call skip on underlying stream when possible.
4109 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
4111         * stacktrace.cc (GetCallerInfo): Return nothing in case of
4112         SJLJ_EXCEPTIONS is defined.
4114 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
4116         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
4117         tests.
4119 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
4121         * testsuite/lib/libjava.exp (libjava_init): Use the same target
4122         check for Darwin.
4123         (libjava_arguments): Likewise.
4125         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
4126         (gcj_jni_test_one): Likewise.
4127         (gcj_jni_invocation_compile_c_to_binary): Likewise.
4128         Add flags to keep the Darwin linker quiet.
4129         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
4130         Add -liconv for Darwin.
4132 2005-03-11  Tom Tromey  <tromey@redhat.com>
4134         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
4135         (_Jv_CheckABIVersion): Use it.
4137 2005-03-11  Tom Tromey  <tromey@redhat.com>
4139         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
4140         (usage): Document '-p'.
4141         * Makefile.in: Rebuilt.
4142         * Makefile.am (dbexecdir): New variable.
4143         (db_name): Likewise.
4144         (dbexec_DATA): Likewise.
4145         ($(db_name)): New target.
4146         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
4147         * java/lang/natRuntime.cc (insertSystemProperties): Set default
4148         system database.
4150 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
4152         * exception.cc: Remove stray MethodRef.h include.
4153         * java/lang/natClass.cc: Likewise.
4154         * gnu/gcj/runtime/MethodRef.java: Removed.
4155         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
4156         gnu/gcj/runtime/natStackTrace.cc: Really removed.
4157         * java/lang/natRuntime.cc (_load): Remove unsed variable.
4158         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
4159         * Makefile.in: Rebuilt.
4161 2005-03-10  Tom Tromey  <tromey@redhat.com>
4163         * Makefile.in: Rebuilt.
4164         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
4166 2005-03-10  Chris Burdess  <dog@bluezoo.org>
4168         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
4169         not currently parsing the DTD.
4171 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
4173         New Stack Trace infrastructure.
4174         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
4175         (gnu/gcj/runtime/StackTrace.java): Removed.
4176         (ordinary_java_source_files): Remove obsolete files.
4177         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
4178         * configure.host (fallback_backtrace_h): Set backtrace header
4179         for mingw and cygwin targets.
4180         * configure.ac: Make symlink for fallback backtrace headers.
4181         * Makefile.in, configure: Rebuilt.
4182         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
4183         Read 'LineNumberTable' attribute.
4184         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
4185         attribute.
4186         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
4187         table fields.
4188         * exception.cc: Remove unused include.
4189         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
4190         (SAVE_PC): New macro. Save current PC in the interpreter frame.
4191         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
4192         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
4193         table to direct threaded instruction values.
4194         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
4195         (_Jv_InterpMethod::run): No longer member function. All
4196         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
4197         is made or where an instruction could throw.
4198         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
4199         in line_table.
4200         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
4201         (catch_fpe): Likewise.
4202         * stacktrace.cc: New file. Stack trace code now here.
4203         * gnu/gcj/runtime/MethodRef.java:
4204         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
4205         calls addr2line to look up PC addresses in a given binary or shared
4206         library.
4207         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
4208         gnu/gcj/runtime/natStackTrace.cc: Removed.
4209         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
4210         this function name is specially recognised by the stack trace code
4211         and shouldn't be changed.
4212         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
4213         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
4214         (_Jv_InterpMethod::run): Update declaration.
4215         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
4216         friends.
4217         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
4218         * include/java-stack.h: New file. Declarations for stack tracing.
4219         * include/jvm.h (_Jv_Frame_info): Removed.
4220         * java/lang/Class.h: Update friend declarations.
4221         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
4222         exception message.
4223         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
4224         (getStackTrace): Now native.
4225         (data): New RawDataManaged field.
4226         * java/lang/natClass.cc: Update includes.
4227         (forName): Use _Jv_StackTrace::GetCallingClass for
4228         calling-classloader check.
4229         (getClassLoader): Likewise.
4230         * java/lang/natRuntime.cc: Update includes.
4231         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
4232         * java/lang/natVMSecurityManager.cc: Update includes.
4233         (getClassContext): Use _Jv_StackTrace::GetClassContext.
4234         * java/lang/natVMThrowable.cc: New file. Native methods for
4235         VMThrowable.
4236         * java/lang/reflect/natArray.cc: Update includes.
4237         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
4238         accessibility check.
4239         * java/lang/reflect/natConstructor.cc: Update includes.
4240         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
4241         accessibility check.
4242         * java/lang/reflect/natField.cc: Update includes.
4243         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
4244         accessibility check.
4245         * java/lang/reflect/natMethod.cc: Update includes.
4246         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
4247         accessibility check.
4248         * java/util/natResourceBundle.cc: Update includes.
4249         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
4250         * java/util/logging/natLogger.cc: Update includes. Use
4251         _Jv_StackTrace::GetCallerInfo to get call-site info.
4252         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
4253         implementation.
4254         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
4255         implementation.
4257 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
4259         * testsuite/libjava.compile/PR20312.java: New file.
4260         * testsuite/libjava.compile/PR20312.xfail: Likewise.
4261         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
4263 2005-03-09  Andrew Haley  <aph@redhat.com>
4265         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
4266         New.
4267         (smallTransferTo): New.
4268         (transferFrom): Loop around smallTransferFrom, copying pageSize
4269         bytes each time.
4270         (transferTo): Likewise.
4272 2005-03-09  David Daney  <ddaney@avtrex.com>
4274         PR libgcj/20389
4275         Merge BufferedInputStream from GNU Classpath.
4276         * java/io/BufferedInputStream.java (marktarget): Field removed.
4277         (CHUNKSIZE): Field removed.
4278         (bufferSize): New field.
4279         (BufferedInputStream): Initialize fields.
4280         (close): Invalidate mark and buffer indexes.
4281         (mark):  Rewritten.
4282         (read()): Move mark handling code to refill.
4283         (read(byte[], int, int)): Ditto.
4284         (skip): Ditto and simplify EOF testing.
4285         (refill): Rewritten.
4286         * java/io/InputStreamReader.java (refill): Removed mark and reset
4287         of internal BufferedInputStream.
4289 2005-03-09  Tom Tromey  <tromey@redhat.com>
4291         * java/lang/natVMClassLoader.cc (defineClass): Reference
4292         'systemClassLoader' field directly.
4293         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
4294         field directly.
4295         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
4296         Reference 'systemClassLoader' field directly.
4297         (_Jv_UnregisterInitiatingLoader): Likewise.
4298         (_Jv_FindClass): Likewise.
4300 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
4302         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
4304         * java/lang/mprec.h: Remove commented headers. Fix comment to match
4305         the file in GNU Classpath style.
4307 2005-03-09  Tom Tromey  <tromey@redhat.com>
4309         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
4310         (toString): Synchronize.
4312 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
4314         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
4315         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
4317 2005-03-07  Tom Tromey  <tromey@redhat.com>
4319         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
4320         (usage): Document '-f'.
4322 2005-03-07  Tom Tromey  <tromey@redhat.com>
4324         * java/lang/VMCompiler.java (md5Digest): New field.
4325         (compileClass): Clone md5Digest instead of looking up a new one.
4327 2005-03-07  Tom Tromey  <tromey@redhat.com>
4329         PR java/20215:
4330         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
4331         * link.cc (find_field_helper): Added 'type' argument.
4332         (find_field): Updated.
4334 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
4335         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
4336         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
4337         throw UnsupportedOperationException, fixed comments.
4338         (setFont, setForeground): Fixed comments.
4339         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
4340         return type to boolean.
4341         (getNextEvent): Fixed javadocs.
4342         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
4343         (nativeQueueEmpty): Removed unused code.
4344         (iterateNativeQueue): Removed outer loop.
4346 2005-03-06  Roger Sayle  <roger@eyesopen.com>
4348         PR libgcj/20155
4349         * Makefile.am (libgcj0_convenience.la): Revert last change.
4350         * Makefile.in: Regenerate.
4352 2005-03-05  Anthony Green  <green@redhat.com>
4354         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
4355         classpath_jawt_lock, classpath_jawt_unlock): New functions.
4356         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
4357         (_Jv_GetDrawingSurface): Set visualID.
4358         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
4359         (JAWT_GetAWT): Set Lock and Unlock.
4360         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
4361         visualID.
4362         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
4363         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
4364         JAWT_LOCK_SURFACE_CHANGED): New macros.
4365         (struct _JAWT): Add Lock and Unlock.
4367 2005-03-05  Roger Sayle  <roger@eyesopen.com>
4368             Alexandre Oliva  <aoliva@redhat.com>
4369             Kelley Cook  <kcook@gcc.gnu.org>
4371         PR libgcj/20155
4372         * Makefile.am (libgcj0_convenience.la): New rule to create a file
4373         of the object files to link to avoid exceeding the command line
4374         length limits on some platforms.
4375         (clean-local): Clean up objectlist files.
4376         * Makefile.in: Regenerate.
4378 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
4380         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
4381         spec_case. Initialize pointer mlo.
4383         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
4384         delta.
4386         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
4388         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
4389         and k.
4391         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
4392         uninitialized variable z.
4394         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
4395         possible unused variables.
4397         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
4399         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
4401 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
4403         PR libgcj/20292
4404         * testsuite/libjava.jni/jni.exp
4405         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
4406         flags.
4407         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
4409 2005-02-23  David Daney  <ddaney@avtrex.com>
4411         * configure.host: Don't use -mxgot for MIPS builds.
4413 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
4415         PR bootstrap/17383
4416         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
4417         (COMPPATH): Removed.
4418         (ZIP, GCJH): Replace it with ../$(host_subdir).
4419         (built_gcc_dir): Add $(host_subdir).
4420         * configure: Regenerate.
4421         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4422         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
4423         external/w3c_dom/Makefile.in: Regenerate.
4425 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
4427         * java/awt/font/TextAttribute.java: changed names to lower case;
4428         (readResolve): implemented.
4429         Added doc comments all over.
4431 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4433         PR libgcj/16923
4434         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
4435         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
4436         value.  Move argument parsing code to prims.cc.
4437         * prims.cc (no_properties): Remove.
4438         (_Jv_Compiler_Properties): Initialize to NULL.
4439         (_Jv_Properties_Count): Initialize to 0.
4440         (parse_verbose_args): New function.
4441         (parse_init_args): New function.
4442         (_Jv_CreateJavaVM): Call parse_init_args.
4443         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
4444         * gcj/cni.h (JvVMOption): New struct.
4445         (JvVMInitArgs): Likewise.
4446         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
4447         void*.
4448         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
4449         (_Jv_VMInitArgs): Likewise.
4450         * include/java-props.h (_Jv_Properties_Count): Declare.
4451         * java/lang/natRuntime.cc (insertSystemProperties): Use
4452         _Jv_Properties_Count in for loop exit condition.
4453         * testsuite/libjava.jni/jni.exp
4454         (gcj_invocation_compile_c_to_binary): New procedure.
4455         (gcj_invocation_test_one): Likewise.
4456         (gcj_jni_run): Run JNI invocation API tests.
4457         * testsuite/libjava.jni/invocation/PR16923.c,
4458         testsuite/libjava.jni/invocation/PR16923.java,
4459         testsuite/libjava.jni/invocation/PR16923.out: New test.
4461 2005-02-23  Michael Koch  <konqueror@gmx.de>
4463         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
4464         * Makefile.in: Regenerated.
4466 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
4468         * gnu/java/nio/ChannelReader: Fixed comments.
4470 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
4472         * java/nio/channels/Channels: Added FIXMEs about
4473         stub method implementation.
4474         (newReader): Implemented.
4475         * gnu/java/nio/ChannelReader: New class.
4477 2005-02-23  Michael Koch  <konqueror@gmx.de>
4479         * java/text/SimpleDateFormat.java:
4480         Removed unused import.
4482 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4484         PR libgcj/20029:
4485         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
4486         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
4487         * Makefile.in: Regenerate.
4488         * configure.ac: Check for libXtst.
4489         * configure: Regenerate.
4491 2005-02-22  Mark Wielaard  <address@bogus.example.com>
4493         * java/security/AlgorithmParameterGenerator.java (getInstance):
4494         Mention provider when throwing NoSuchProviderException.
4495         * java/security/AlgorithmParameters.java (getInstance): Likewise.
4496         * java/security/KeyFactory.java (getInstance): Likewise.
4497         * java/security/KeyStore.java (getInstance): Likewise.
4498         * java/security/SecureRandom.java (getInstance): Likewise.
4499         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
4501 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
4503         * java/lang/reflect/Proxy.java,
4504         java/net/URL.java,
4505         java/security/SecureRandom.java,
4506         java/util/Timer.java,
4507         java/util/prefs/AbstractPreferences.java:
4508         Don't catch java.lang.ThreadDeath.
4510 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
4512         * java/awt/font/TransformAttribute.java,
4513         (TransformAttribute(AffineTransform)): throw
4514         IllegalArgumentException for null transform.
4515         (getTransform): return a copy of transform.
4516         Added doc comments to all.
4518 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
4520         * java/io/Externalizable.java,
4521         java/io/Serializable.java
4522         (serialVersionUID): Removed.
4523         * java/rmi/server/RemoteObject.java,
4524         java/rmi/server/UID.java
4525         (serialVersionUID): Made private.
4526         * java/rmi/server/RemoteRef.java,
4527         java/rmi/server/ServerRef.java
4528         (serialVersionUID): Set proper value.
4529         * java/security/interfaces/DSAPrivateKey.java,
4530         java/security/interfaces/DSAPublicKey.java,
4531         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
4532         java/security/interfaces/RSAPrivateCrtKey.java,
4533         java/security/interfaces/RSAPrivateKey.java,
4534         java/security/interfaces/RSAPublicKey.java,
4535         javax/crypto/SecretKey.java
4536         (serialVersionUID): Added.
4538 2005-02-22  Tom Tromey  <tromey@redhat.com>
4540         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
4542 2005-02-22  Tom Tromey  <tromey@redhat.com>
4544         PR java/20056:
4545         * verify.cc (type::EITHER): New constant.
4546         (check_field_constant): Use it.
4547         (type::compatible): Handle it.
4549 2005-02-22  Michael Koch  <konqueror@gmx.de>
4551         * gnu/java/security/PolicyFile.java,
4552         gnu/java/security/pkcs/PKCS7SignedData.java,
4553         gnu/java/security/pkcs/SignerInfo.java:
4554         Fixed copyright header.
4556 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
4558         * java/beans/PropertyDescriptor.java
4559         (PropertyDescriptor,setReadMethod): Set propertyType.
4561 2005-02-22  Michael Koch  <konqueror@gmx.de>
4563         * java/nio/DirectByteBufferImpl.java
4564         (owner): Fixed formatting of javadoc.
4565         * java/text/DateFormat.java
4566         (getAvailableLocales): Fixed formatting.
4567         * java/text/SimpleDateFormat.java:
4568         Fixed formatting and import statement order.
4569         * java/util/Calendar.java
4570         (Calendar): Fixed javadoc to be HTML compliant.
4571         * java/util/SimpleTimeZone.java:
4572         Fixed javadocs.
4574 2005-02-22  Roman Kennke <roman@ontographics.com>
4576         * javax/swing/plaf/basic/BasicLookAndFeel.java
4577         (initComponentDefaults): Fixed Button left and right margin.
4579 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4581         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
4582         empty Runnable.
4584         PR libgcj/17952:
4585         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4586         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4587         (getWidth): New method.
4588         (getHeight): Likewise.
4589         (create): Remove width, height and insets parameters.  Move size
4590         setup ...
4591         (realize_cb): ... here.  New function.
4592         (connectSignals): Connect realize_cb.
4593         (request_frame_extents): Remove FIXME.  Move
4594         postInsetsChangedEvent lookup ...
4595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
4596         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
4597         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
4598         jmethodID.
4599         (windowGetWidthID): Likewise.
4600         (windowGetHeightID): Likewise.
4602 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4604         PR libgcj/19842
4605         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4606         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
4608 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
4610         Merge serialization from GNU Classpath.
4611         * gcj/method.h: Add missing #includes.
4612         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
4613         primitive class IDs on the stream here...
4614         (resolveClass): ...not here.
4615         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
4616         fields.
4617         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
4618         setLongNative, setIntNative, setShortNative, setCharNative,
4619         setByteNative, setBooleanNative, setObjectNative): New native methods.
4620         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
4621         setLongNative, setIntNative, setShortNative, setCharNative,
4622         setByteNative, setBooleanNative, setObjectNative): Implement them.
4623         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
4624         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
4625         the constructor here.
4626         (callConstructor): Removed.
4627         (getCallersClassLoader): Removed.
4628         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
4629         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
4630         to control whether setting final field values is permitted. Call
4631         getAddr() with checkFinal parameter instead of setAddr().
4632         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
4633         only if not done already.
4634         (getAddr): Add checkFinal parameter. Do the final field check only if
4635         checkFinal is set.
4636         (setAddr): Removed.
4638 2005-02-21  Mark Wielaard  <mark@klomp.org>
4640         # Fixes bug #11957
4641         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
4642         twice.
4644 2005-02-21  Mark Wielaard  <mark@klomp.org>
4646         Fixes bug #11618.
4647         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
4648         without a super class and us ObjectStreamClass.lookupForClassObject().
4649         (resolveClass): Check for primitive types.
4650         (lookupClass): Return null when argument is null.
4652 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
4654         * java/io/ObjectInputStream.java
4655         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
4657 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
4659         * java/io/ObjectOutputStream.java
4660         (writeObject, callWriteMethod): Replaced reflection with accessing
4661         cached info in ObjectStreamClass.
4662         (getMethod): Removed.
4663         * java/io/ObjectStreamClass.java
4664         (findMethod): Added check to make sure the method found has the
4665         right modifiers.
4666         (cacheMethods): Added writeReplace and writeObject methods.
4667         (setFlags): Look at new writeObjectMethod field instead of doing
4668         reflection again.
4669         (writeReplaceMethod): New field.
4670         (writeObjectMethod): New field.
4672 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
4673         Jeroen Frijters  <jeroen@frijters.net>
4675         * java/io/ObjectInputStream.java
4676         (newObject): Changed prototype. Get a constructor reflect object
4677         directly.
4678         (callConstructor): Removed.
4679         (allocateObject): Changed prototype.
4680         (readClassDescriptor): Build the constructor reflection directly.
4681         (readObject): Invoke newObject using the new prototype.
4683         * java/io/ObjectStreamClass.java
4684         (firstNonSerializableParent): Removed.
4685         (firstNonSerializableParentConstructor): Added.
4687 2005-02-21  Mark Wielaard  <mark@klomp.org>
4689         * gnu/java/locale/LocaleInformation_en.java: Extend
4690         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
4692 2005-02-21  Mark Wielaard  <mark@klomp.org>
4694         * java/text/SimpleDateFormat.java
4695         (SimpleDateFormat(String, DateFormatSymbols)): Throw
4696         NullPointerException when formatData is null.
4698 2005-02-21  Mark Wielaard  <mark@klomp.org>
4700         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
4701         taking dstSavings into account.
4703 2005-02-21  Sven de Marothy <sven@physto.se>
4705         * java/text/SimpleDateFormat.java,
4706         (parse): Set correct DST_OFFSET to the correct value.
4708 2005-02-21  Mark Wielaard  <mark@klomp.org>
4710         * java/util/SimpleTimeZone.java (checkRule): Throw
4711         IllegalArgumentException when month out of range.
4713 2005-02-21  Sven de Marothy  <sven@physto.se>
4715         * java/util/GregorianCalendar.java,
4716         (add): Don't set fields directly anymore. Use set()
4718 2005-02-21  Mark Wielaard  <mark@klomp.org>
4720         * java/text/SimpleDateFormat.java (CompiledField.toString):
4721         Use StringBuffer, not StringBuilder.
4722         (toString): Likewise.
4724 2005-02-21  Sven de Marothy  <sven@physto.se>
4726         * java/util/Calendar.java
4727         (clear): Dates should clear to local time.
4728         * java/util/GregorianCalendar.java
4729         (computeTime): Fix priority problem with DAY_OF_WEEK,
4730         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
4732 2005-02-21  Sven de Marothy  <sven@physto.se>
4734         * java/util/Calendar.java
4735         (Calendar): Constructor should clear fields.
4737 2005-02-21  Sven de Marothy  <sven@physto.se>
4739         * java/text/SimpleDateFormat.java
4740         (parse): Tweak handling of 2-year dates
4741         * java/util/Calendar.java
4742         (clear): Clear fields to correct value.
4743         * java/util/GregorianCalendar.java
4744         (computeTime): Correct handling of time zones.
4745         Correct field minimum values.
4747 2005-02-21  Sven de Marothy  <sven@physto.se>
4749         * java/util/Calendar.java
4750         (set) Invalidate all fields on first call to set().
4752 2005-02-21  Sven de Marothy  <sven@physto.se>
4754         * java/util/GregorianCalendar.java
4755         (computeTime): Fixed handling of time zones.
4757 2005-02-21  Sven de Marothy  <sven@physto.se>
4759         * java/util/Calendar.java
4760         (clear): Set values to Epoch instead of zero.
4761         (set): Set isSet to the relevant field pattern instead of just
4762         the field.
4763         * java/util/GregorianCalendar.java
4764         (getBundle): Removed.
4765         (getDayOfYear): Removed.
4766         (getFirstDayOfMonth): New private method.
4767         (nonLeniencyCheck): New private method.
4768         (computeTime): Correct handling of insufficient data.
4770 2005-02-21  Sven de Marothy <sven@physto.se>
4772         * java/util/Calendar.java: Invalidate ERA field on setting
4773         the YEAR.
4774         * java/util/SimpleTimeZone.java:
4775         (getDaysInMonth): Reimplemented.
4776         * java/util/GregorianCalendar.java:
4777         (getLinearTime): Removed.
4778         (isLeapYear(int,boolean)): Removed.
4779         (before(), after()): Removed.
4780         (computeTime): Reimplemented.
4782 2005-02-21  Sven de Marothy <sven@physto.se>
4784         * java/util/Calendar.java: Reformatted.
4785         * java/util/GregorianCalendar.java: Reformatted.
4786         * java/util/SimpleTimeZone.java: Reformatted.
4788 2005-02-21  Sven de Marothy <sven@physto.se>
4790         * java/util/GregorianCalendar.java
4791         (GregorianCalendar): Update fields in the constructor
4793 2005-02-21  Noa Resare  <noa@resare.com>
4795         * java/util/Calendar.java (explicitDSTOffset): New instance field.
4796         (set(int,int)): Set and use new field.
4797         (set(int,int,int)): Check new field.
4799 2005-02-21  Noa Resare  <address@hidden>
4801         * java/util/Calendar.java(set):
4802         Fix for DST related regression.
4804 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
4806         * java/util/Calendar.java
4807         (setTimeInMillis): Added call to clear, removed computeFields call.
4808         * java/util/Date.java
4809         (Date(int,int,int,int,int,int)): Removed workaround for
4810         GregorianCalendar bug.
4811         * java/util/GregorianCalendar.java
4812         (GregorianCalendar): Chained all constructors to a (new)
4813         common constructor.
4814         (computeTime): Fixed support for lenient month treatment.
4815         (getLinearDay): Return long instead of int.
4816         (calculateDay): Added fields argument and changed day argument
4817         to long.
4819 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4821         * java/text/SimpleDateFormat.java
4822         Lots of documentation updates.
4823         (readObject(java.io.ObjectInputStream)): Wraps
4824         IllegalArgumentException as specified.
4825         (compileFormat(String)): Uses standardChars
4826         rather than the local pattern characters.
4827         Throws IllegalArgumentException rather than
4828         storing a -1 field.
4829         (toString()): Extended to include all variables
4830         in a better format.
4831         (translateLocalizedPattern(String, String, String)):
4832         Renamed to better define the use of this method.
4834 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4836         * java/text/DateFormat.java:
4837         Documented pattern character offset constants and
4838         added new ones.
4839         (Field): Added new static fields for new pattern chars.
4840         * java/text/SimpleDateFormat.java:
4841         (CompiledField): Changed name of FieldSizePair class
4842         to CompiledField after adding the character as an
4843         attribute.  Changed fields to private and added
4844         accessors to give encapsulation.
4845         (CompiledField.CompiledField(int,int,char)): Extended
4846         with character field.
4847         (CompiledField.getField()): New accessor method.
4848         (CompiledField.getSize()): New acceessor method.
4849         (CompiledField.getCharacter()): New accessor method.
4850         (CompiledField.toString()): Added primarily for debugging.
4851         (standardChars): Now uses extended 24 character sequence.
4852         (compileFormat(String)): Changed to use CompiledField.
4853         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
4854         java.text.FieldPosition)): Changed to use CompiledField.
4855         New handler for RFC 822 timezones added.
4857 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4859         * java/text/SimpleDateFormat.java:
4860         (parse(String, java.text.ParsePosition)):
4861         Changed 'E' and 'M' cases to use both
4862         short and long names.  Extended 'z'
4863         case to also handle 'Z', and deal
4864         with simple GMT offsets such as +0100.
4865         (computeOffset(String)): New private method,
4866         which converts a GMT offset specification,
4867         such as GMT-0500 to a numeric offset in
4868         milliseconds.
4869         * java/util/TimeZone.java:
4870         (timezones()): Added "CEST", the daylight
4871         savings time version of "CET", or Central
4872         European Time.
4874 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4876         * java/text/SimpleDateFormat.java:
4877         (parse): Set the DST offset to 0 when parsing
4878         GMT offset timezones.
4880 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4882         * java/text/SimpleDateFormat.java:
4883         (parse): Use offset to set ZONE_OFFSET
4884         rather than the DST_OFFSET, so that
4885         GMT offset timezones change the right
4886         one.
4888 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4890         * java/text/SimpleDateFormat.java:
4891         (getDateFormatSymbols()): return a copy
4892         (setDateFormatSymbols(java.text.DateFormatSymbols)):
4893         throw exception on null input
4894         (clone()): implemented to clone
4895         internal fields
4897 2005-02-21  Sven de Marothy <sven@physto.se>
4899         * java/text/SimpleDateFormat.java
4900         (parse): comparison should be case-insensitive, ignore null
4901         strings.
4903 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
4905         * gnu/java/beans/IntrospectionIncubator.java
4906         (addMethod) Reverts the patch that ntroduced a regression (see bug
4907         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
4909 2005-02-21  Michael Koch  <konqueror@gmx.de>
4911         * java/awt/Checkbox.java
4912         (next_checkbox_number): New static variable.
4913         (generateName): New method.
4914         (getUniqueLong): Likewise.
4915         * java/awt/Window.java
4916         (next_window_number): New static variable.
4917         (generateName): New method.
4918         (getUniqueLong): Likewise.
4920 2005-02-21  Mark Wielaard  <mark@klomp.org>
4922         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
4923         exists.
4925 2005-02-21  Andrew Haley  <aph@redhat.com>
4927         * Makefile.in: Rebuilt.
4928         * Makefile.am (nat_source_files): Added natLogger.cc.
4929         * java/util/logging/natLogger.cc: New file.
4930         * java/util/logging/Logger.java (getCallerStackFrame): Now
4931         native.
4933 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
4935         * Makefile.am (all_property_files): Remove left over.
4936         (classes.stamp): Add stamp for the ONESTEP build, also known as
4937         --enable-libgcj-multifile.
4938         * Makefile.in: Regenerated.
4940 2005-02-21  Michael Koch  <konqueror@gmx.de>
4942         * java/awt/Button.java,
4943         java/awt/Container.java,
4944         java/awt/Font.java,
4945         java/awt/Frame.java,
4946         java/text/CollationElementIterator.java,
4947         java/text/RuleBasedCollator.java,
4948         java/util/PropertyPermission.java:
4949         Fixed formatting issues all over.
4951 2005-02-21  Mark Wielaard  <mark@klomp.org>
4953         * java/io/FileDescriptor.java (sync): Add real exception to
4954         SyncFailedException.
4956 2005-02-21  Michael Koch  <konqueror@gmx.de>
4958         * java/io/InputStreamReader.java:
4959         Fixed @author tag.
4961 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
4963         PR libgcj/19728:
4964         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
4966 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
4968         * libraries/javalib/gnu/regexp/RE.java,
4969         libraries/javalib/java/io/ObjectInputStream.java,
4970         libraries/javalib/java/security/AllPermission.java,
4971         libraries/javalib/java/security/BasicPermission.java,
4972         libraries/javalib/java/security/Permissions.java,
4973         libraries/javalib/java/text/MessageFormat.java:
4974         Made 'inner' classes real public static inner classes,
4975         and made them final where possible, or removed them
4976         where unused.
4978 2005-02-20  Michael Koch  <konqueror@gmx.de>
4980         * gnu/java/text/FormatCharacterIterator.java:
4981         Removed redundant modifiers.
4983 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4985         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
4986         snprintf.
4988 2005-02-19  Michael Koch  <konqueror@gmx.de>
4990         * Makefile.am: Added new files in gnu/java/beans and
4991         java/beans/XMLDecoder.java.
4992         * Makefile.in: Regenerated.
4994 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
4996         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
4997         assignment behavior by using java.lang.reflect.Array.set()
4998         directly.
5000 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
5002         * gnu/java/beans/EmptyBeanInfo.java,
5003         gnu/java/beans/info/ComponentBeanInfo.java:
5004         Removed unused files.
5006 2005-02-19  Robert Schuster <thebohemian@gmx.net>
5008         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
5009         of AppletStub for java.beans.Beans.instantiate.
5010         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
5011         of AppletContext.
5012         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
5013         to be conformant with Javadoc guidelines.
5014         (instantiate): Added two more overloaded variants, reworked user
5015         documentation, fixed exception behavior, fixed behavior when
5016         deserializing null.
5018 2005-02-19  Mark Wielaard  <mark@klomp.org>
5020         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
5021         failing methods.
5022         * gnu/java/beans/decoder/DummyContext.java: Likewise.
5024 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
5026         * gnu/java/beans/decoder/AbstractContext.java,
5027         gnu/java/beans/decoder/AbstractCreatableContext.java,
5028         gnu/java/beans/decoder/AbstractElementHandler.java,
5029         gnu/java/beans/decoder/AbstractObjectContext.java,
5030         gnu/java/beans/decoder/ArrayContext.java,
5031         gnu/java/beans/decoder/ArrayHandler.java,
5032         gnu/java/beans/decoder/AssemblyException.java,
5033         gnu/java/beans/decoder/BooleanHandler.java,
5034         gnu/java/beans/decoder/ByteHandler.java,
5035         gnu/java/beans/decoder/CharHandler.java,
5036         gnu/java/beans/decoder/ClassHandler.java,
5037         gnu/java/beans/decoder/ConstructorContext.java,
5038         gnu/java/beans/decoder/Context.java,
5039         gnu/java/beans/decoder/DecoderContext.java,
5040         gnu/java/beans/decoder/DefaultExceptionListener.java,
5041         gnu/java/beans/decoder/DoubleHandler.java,
5042         gnu/java/beans/decoder/DummyContext.java,
5043         gnu/java/beans/decoder/DummyHandler.java,
5044         gnu/java/beans/decoder/ElementHandler.java,
5045         gnu/java/beans/decoder/FloatHandler.java,
5046         gnu/java/beans/decoder/GrowableArrayContext.java,
5047         gnu/java/beans/decoder/IndexContext.java,
5048         gnu/java/beans/decoder/IntHandler.java,
5049         gnu/java/beans/decoder/JavaHandler.java,
5050         gnu/java/beans/decoder/LongHandler.java,
5051         gnu/java/beans/decoder/MethodContext.java,
5052         gnu/java/beans/decoder/MethodFinder.java,
5053         gnu/java/beans/decoder/NullHandler.java,
5054         gnu/java/beans/decoder/ObjectContext.java,
5055         gnu/java/beans/decoder/ObjectHandler.java,
5056         gnu/java/beans/decoder/PersistenceParser.java,
5057         gnu/java/beans/decoder/PropertyContext.java,
5058         gnu/java/beans/decoder/ShortHandler.java,
5059         gnu/java/beans/decoder/SimpleHandler.java,
5060         gnu/java/beans/decoder/StaticMethodContext.java,
5061         gnu/java/beans/decoder/StringHandler.java,
5062         gnu/java/beans/decoder/VoidHandler.java: New class
5063         implementing java.beans.XMLDecoder decoding functionality.
5064         * java/beans/XMLDecoder.java: New class.
5066 2005-02-19  Michael Koch  <konqueror@gmx.de>
5068         * javax/swing/JTextField.java
5069         (notfiyAction): Added javadoc.
5071 2005-02-19  Sven de Marothy  <sven@physto.se>
5073         * javax/swing/SpinnerDateModel.java: Implemented.
5075 2005-02-19  Michael Koch  <konqueror@gmx.de>
5077         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
5078         * Makefile.in: Regenerated.
5080 2005-02-19  Michael Koch  <konqueror@gmx.de>
5082         * gnu/java/nio/SelectorImpl.java:
5083         Reworked import statements.
5084         (register): Removed unused code.
5085         * java/nio/channels/Channels.java: Reformatted.
5086         * java/nio/charset/Charset.java: Likewise.
5087         * java/rmi/server/RemoteObject.java
5088         (serialVersionUID): Made private.
5089         * java/rmi/server/UID.java
5090         (serialVersionUID): Likewise.
5092 2005-02-19  Michael Koch  <konqueror@gmx.de>
5094         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
5095         gnu/java/net/protocol/ftp/BlockInputStream.java,
5096         gnu/java/net/protocol/ftp/BlockOutputStream.java,
5097         gnu/java/net/protocol/ftp/CompressedInputStream.java,
5098         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
5099         gnu/java/net/protocol/ftp/DTPInputStream.java,
5100         gnu/java/net/protocol/ftp/DTP.java,
5101         gnu/java/net/protocol/ftp/DTPOutputStream.java,
5102         gnu/java/net/protocol/ftp/FTPConnection.java,
5103         gnu/java/net/protocol/ftp/FTPException.java,
5104         gnu/java/net/protocol/ftp/FTPResponse.java,
5105         gnu/java/net/protocol/ftp/FTPURLConnection.java,
5106         gnu/java/net/protocol/ftp/Handler.java,
5107         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
5108         gnu/java/net/protocol/ftp/StreamInputStream.java,
5109         gnu/java/net/protocol/ftp/StreamOutputStream.java,
5110         gnu/java/net/CRLFInputStream.java,
5111         gnu/java/net/CRLFOutputStream.java,
5112         gnu/java/net/GetLocalHostAction.java,
5113         gnu/java/net/protocol/ftp/package.html: New files.
5114         * Makefile.am: Added new files.
5115         * Makefile.in: Regenerated.
5117 2005-02-18  Tom Tromey  <tromey@redhat.com>
5119         * link.cc (make_vtable): Remove abstract method check.
5120         (append_partial_itable): Likewise.
5122         PR java/20056:
5123         * verify.cc (type::equals): Fixed test.
5124         * testsuite/libjava.lang/PR20056.out: New file.
5125         * testsuite/libjava.lang/PR20056.java: New file.
5127 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
5129         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
5130         not the HashEntry. Reported by Jean-Marie White.
5132 2005-02-18  Tom Tromey  <tromey@redhat.com>
5134         PR java/20056:
5135         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
5136         * link.cc (has_field_p): New function.
5137         * verify.cc (check_field_constant): Added 'putfield' argument.
5138         (verify_instructions_0): Updated.
5139         (type::equals): New method.
5141 2005-02-18  Anthony Green  <green@redhat.com>
5143         * NEWS: Draft of libgcj NEWS for 4.0.
5145 2005-02-18  Anthony Green  <green@redhat.com>
5147         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
5148         architecture names to "i386" for compatibility reasons.  Win32
5149         still uses "x86".
5151 2005-02-18  Anthony Green  <green@redhat.com>
5153         * gij.cc (version): Change year for '--version' to 2005.
5154         * gnu/gcj/convert/Convert.java: Ditto.
5155         * gnu/java/rmi/rmic/RMIC.java: Ditto.
5156         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
5158         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
5159         recent copyright year in `--version' output.
5161 2005-02-18  Robert Schuster <thebohemian@gmx.net>
5163         * java/nio/charset/Charset.java (forName): Throws
5164         IllegalArgumentException when argument is null
5165         and added documentation.
5167 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5169         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
5170         Move the position of the source buffer forward.
5172 2005-02-17  Tom Tromey  <tromey@redhat.com>
5174         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
5175         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
5176         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
5177         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
5178         Changed type of second argument.  Rewrote.
5179         (make_vtable): Use it.
5180         (append_partial_itable): Updated.
5181         (layout_vtable_methods): Updated.
5183 2005-02-17  Michael Koch  <konqueror@gmx.de>
5185         * gnu/java/net/PlainSocketImpl.java
5186         (shutdownInput): Added javadoc.
5187         (shutdownOutput): Likewise.
5189 2005-02-17  Michael Koch  <konqueror@gmx.de>
5191         * javax/print/attribute/standard/Chromaticity.java,
5192         javax/print/attribute/standard/Destination.java,
5193         javax/print/attribute/standard/MediaPrintableArea.java,
5194         javax/print/attribute/standard/MediaSize.java: New files.
5195         * Makefile.am: Added new files.
5196         * Makefile.in: Regenerated.
5198 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5199             Michael Koch  <konqueror@gmx.de>
5201         * gnu/java/net/protocol/http/Cookie.java,
5202         gnu/java/net/protocol/http/HTTPConnection.java,
5203         gnu/java/net/protocol/http/HTTPDateFormat.java,
5204         gnu/java/net/protocol/http/Request.java,
5205         gnu/java/nio/PipeImpl.java,
5206         gnu/java/rmi/dgc/DGCImpl.java,
5207         gnu/java/rmi/server/ConnectionRunnerPool.java,
5208         gnu/java/rmi/server/UnicastConnectionManager.java,
5209         gnu/java/security/der/DERWriter.java,
5210         gnu/java/security/pkcs/SignerInfo.java,
5211         gnu/java/security/provider/EncodedKeyFactory.java,
5212         gnu/java/security/provider/GnuDHPublicKey.java,
5213         gnu/java/security/provider/GnuDSAPrivateKey.java,
5214         gnu/java/security/provider/GnuDSAPublicKey.java,
5215         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
5216         gnu/java/security/x509/X500DistinguishedName.java,
5217         gnu/java/security/x509/X509CRL.java,
5218         gnu/java/security/x509/X509CRLEntry.java,
5219         gnu/java/security/x509/X509Certificate.java,
5220         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
5221         gnu/java/security/x509/ext/CertificatePolicies.java,
5222         gnu/java/security/x509/ext/PolicyConstraint.java,
5223         gnu/xml/dom/Consumer.java,
5224         gnu/xml/dom/DomCharacterData.java,
5225         gnu/xml/dom/DomDocument.java,
5226         gnu/xml/dom/DomDocumentBuilder.java,
5227         gnu/xml/dom/DomIterator.java,
5228         gnu/xml/dom/DomNode.java,
5229         gnu/xml/dom/DomXPathExpression.java,
5230         gnu/xml/dom/DomXPathResult.java,
5231         gnu/xml/dom/JAXPFactory.java,
5232         gnu/xml/pipeline/CallFilter.java,
5233         gnu/xml/pipeline/DomConsumer.java,
5234         gnu/xml/pipeline/LinkFilter.java,
5235         gnu/xml/pipeline/NSFilter.java,
5236         gnu/xml/pipeline/TeeConsumer.java,
5237         gnu/xml/pipeline/ValidationConsumer.java,
5238         gnu/xml/pipeline/WellFormednessFilter.java,
5239         gnu/xml/pipeline/XIncludeFilter.java,
5240         gnu/xml/pipeline/XsltFilter.java,
5241         gnu/xml/transform/ApplyImportsNode.java,
5242         gnu/xml/transform/Bindings.java,
5243         gnu/xml/transform/DocumentFunction.java,
5244         gnu/xml/transform/FormatNumberFunction.java,
5245         gnu/xml/transform/NodeNumberNode.java,
5246         gnu/xml/transform/NumberNode.java,
5247         gnu/xml/transform/Stylesheet.java,
5248         gnu/xml/transform/SystemPropertyFunction.java,
5249         gnu/xml/transform/Template.java,
5250         gnu/xml/transform/TemplatesImpl.java,
5251         gnu/xml/transform/TransformerImpl.java,
5252         gnu/xml/transform/ValueOfNode.java,
5253         gnu/xml/transform/XSLURIResolver.java,
5254         gnu/xml/util/DoParse.java,
5255         gnu/xml/util/Resolver.java,
5256         gnu/xml/xpath/Expr.java,
5257         gnu/xml/xpath/FunctionCall.java,
5258         gnu/xml/xpath/RelationalExpr.java,
5259         gnu/xml/xpath/Selector.java,
5260         gnu/xml/xpath/XPathParser.java:
5261         Reworked import statements, fixed modifier order and some little
5262         formatting issues.
5264 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5266         * java/nio/ByteBufferImpl.java (compact):
5267         Set position and limit even if no bytes were moved.
5269 2005-02-17  Michael Koch  <konqueror@gmx.de>
5271         * java/nio/CharViewBufferImpl.java (compact): Likewise.
5272         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
5273         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
5274         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
5275         * java/nio/IntViewBufferImpl.java (compact): Likewise.
5276         * java/nio/LongViewBufferImpl.java (compact): Likewise.
5277         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
5278         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
5279         * java/nio/FloatBufferImpl.java (compact): Set position.
5280         * java/nio/CharBufferImpl.java (compact): Likewise.
5281         * java/nio/DoubleBufferImpl.java (compact): Likewise.
5282         * java/nio/IntBufferImpl.java (compact): Likewise.
5283         * java/nio/LongBufferImpl.java (compact): Likewise.
5284         * java/nio/ShortBufferImpl.java (compact): Likewise.
5286 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
5288         * java/nio/ByteBufferImpl.java,
5289         java/nio/CharBufferImpl.java,
5290         java/nio/DirectByteBufferImpl.java,
5291         java/nio/DoubleBufferImpl.java,
5292         java/nio/FloatBufferImpl.java,
5293         java/nio/IntBufferImpl.java,
5294         java/nio/LongBufferImpl.java,
5295         java/nio/MappedByteBufferImpl.java,
5296         java/nio/ShortBufferImpl.java
5297         (compact): Added explicit read-only check and invalidate mark.
5299 2005-02-17  Michael Koch  <konqueror@gmx.de>
5301         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
5302         gnu/java/awt/peer/gtk/GdkFontPeer.java,
5303         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5304         gnu/java/awt/peer/gtk/GdkGraphics.java,
5305         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5306         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
5307         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5308         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5309         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5310         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
5311         gnu/java/awt/peer/gtk/GdkTextLayout.java,
5312         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5313         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5314         gnu/java/awt/peer/gtk/GtkClipboard.java,
5315         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5316         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5317         gnu/java/awt/peer/gtk/GtkFontPeer.java,
5318         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5319         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5320         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5321         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5322         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5323         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5324         gnu/java/awt/peer/gtk/GtkToolkit.java,
5325         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5326         java/applet/Applet.java,
5327         java/awt/AWTError.java,
5328         java/awt/AWTEvent.java,
5329         java/awt/AWTEventMulticaster.java,
5330         java/awt/AWTException.java,
5331         java/awt/AWTKeyStroke.java,
5332         java/awt/AWTPermission.java,
5333         java/awt/ActiveEvent.java,
5334         java/awt/Adjustable.java,
5335         java/awt/AlphaComposite.java,
5336         java/awt/AttributeValue.java,
5337         java/awt/BorderLayout.java,
5338         java/awt/BufferCapabilities.java,
5339         java/awt/Button.java,
5340         java/awt/Canvas.java,
5341         java/awt/CheckboxGroup.java,
5342         java/awt/CheckboxMenuItem.java,
5343         java/awt/Color.java,
5344         java/awt/ColorPaintContext.java,
5345         java/awt/Component.java,
5346         java/awt/ComponentOrientation.java,
5347         java/awt/Composite.java,
5348         java/awt/CompositeContext.java,
5349         java/awt/Container.java,
5350         java/awt/ContainerOrderFocusTraversalPolicy.java,
5351         java/awt/DefaultFocusTraversalPolicy.java,
5352         java/awt/Dialog.java,
5353         java/awt/Dimension.java,
5354         java/awt/DisplayMode.java,
5355         java/awt/EventQueue.java,
5356         java/awt/FileDialog.java,
5357         java/awt/FontFormatException.java,
5358         java/awt/Graphics.java,
5359         java/awt/Graphics2D.java,
5360         java/awt/GraphicsConfigTemplate.java,
5361         java/awt/GraphicsConfiguration.java,
5362         java/awt/GraphicsDevice.java,
5363         java/awt/GridBagLayout.java,
5364         java/awt/GridBagLayoutInfo.java,
5365         java/awt/GridLayout.java,
5366         java/awt/HeadlessException.java,
5367         java/awt/IllegalComponentStateException.java,
5368         java/awt/Image.java,
5369         java/awt/Insets.java,
5370         java/awt/ItemSelectable.java,
5371         java/awt/JobAttributes.java,
5372         java/awt/KeyEventDispatcher.java,
5373         java/awt/KeyEventPostProcessor.java,
5374         java/awt/KeyboardFocusManager.java,
5375         java/awt/Label.java,
5376         java/awt/LayoutManager.java,
5377         java/awt/MenuBar.java,
5378         java/awt/MenuComponent.java,
5379         java/awt/MenuContainer.java,
5380         java/awt/PageAttributes.java,
5381         java/awt/Paint.java,
5382         java/awt/PaintContext.java,
5383         java/awt/Panel.java,
5384         java/awt/Point.java,
5385         java/awt/Polygon.java,
5386         java/awt/PrintGraphics.java,
5387         java/awt/PrintJob.java,
5388         java/awt/Rectangle.java,
5389         java/awt/RenderingHints.java,
5390         java/awt/Shape.java,
5391         java/awt/Stroke.java,
5392         java/awt/SystemColor.java,
5393         java/awt/Toolkit.java,
5394         java/awt/Transparency.java,
5395         java/awt/Window.java,
5396         java/awt/color/CMMException.java,
5397         java/awt/color/ColorSpace.java,
5398         java/awt/color/ICC_ColorSpace.java,
5399         java/awt/color/ICC_Profile.java,
5400         java/awt/color/ProfileDataException.java,
5401         java/awt/datatransfer/FlavorTable.java,
5402         java/awt/datatransfer/MimeTypeParseException.java,
5403         java/awt/datatransfer/Transferable.java,
5404         java/awt/datatransfer/UnsupportedFlavorException.java,
5405         java/awt/dnd/Autoscroll.java,
5406         java/awt/dnd/DnDConstants.java,
5407         java/awt/dnd/DragGestureListener.java,
5408         java/awt/dnd/DragSourceAdapter.java,
5409         java/awt/dnd/DragSourceDropEvent.java,
5410         java/awt/dnd/DragSourceListener.java,
5411         java/awt/dnd/DragSourceMotionListener.java,
5412         java/awt/dnd/DropTargetAdapter.java,
5413         java/awt/dnd/DropTargetContext.java,
5414         java/awt/dnd/DropTargetListener.java,
5415         java/awt/dnd/InvalidDnDOperationException.java,
5416         java/awt/dnd/MouseDragGestureRecognizer.java,
5417         java/awt/dnd/peer/DropTargetContextPeer.java,
5418         java/awt/event/AWTEventListener.java,
5419         java/awt/event/AWTEventListenerProxy.java,
5420         java/awt/event/ActionEvent.java,
5421         java/awt/event/AdjustmentEvent.java,
5422         java/awt/event/AdjustmentListener.java,
5423         java/awt/event/ComponentAdapter.java,
5424         java/awt/event/ComponentEvent.java,
5425         java/awt/event/ComponentListener.java,
5426         java/awt/event/ContainerAdapter.java,
5427         java/awt/event/ContainerEvent.java,
5428         java/awt/event/ContainerListener.java,
5429         java/awt/event/FocusAdapter.java,
5430         java/awt/event/FocusEvent.java,
5431         java/awt/event/FocusListener.java,
5432         java/awt/event/InputEvent.java,
5433         java/awt/event/InputMethodEvent.java,
5434         java/awt/event/InputMethodListener.java,
5435         java/awt/event/InvocationEvent.java,
5436         java/awt/event/ItemEvent.java,
5437         java/awt/event/ItemListener.java,
5438         java/awt/event/KeyAdapter.java,
5439         java/awt/event/KeyEvent.java,
5440         java/awt/event/KeyListener.java,
5441         java/awt/event/MouseAdapter.java,
5442         java/awt/event/MouseEvent.java,
5443         java/awt/event/MouseListener.java,
5444         java/awt/event/MouseMotionAdapter.java,
5445         java/awt/event/MouseMotionListener.java,
5446         java/awt/event/MouseWheelEvent.java,
5447         java/awt/event/MouseWheelListener.java,
5448         java/awt/event/PaintEvent.java,
5449         java/awt/event/TextEvent.java,
5450         java/awt/event/TextListener.java,
5451         java/awt/event/WindowAdapter.java,
5452         java/awt/event/WindowEvent.java,
5453         java/awt/event/WindowFocusListener.java,
5454         java/awt/event/WindowListener.java,
5455         java/awt/event/WindowStateListener.java,
5456         java/awt/font/TextHitInfo.java,
5457         java/awt/geom/CubicCurve2D.java,
5458         java/awt/geom/Dimension2D.java,
5459         java/awt/geom/Ellipse2D.java,
5460         java/awt/geom/IllegalPathStateException.java,
5461         java/awt/geom/Line2D.java,
5462         java/awt/geom/NoninvertibleTransformException.java,
5463         java/awt/geom/PathIterator.java,
5464         java/awt/geom/Point2D.java,
5465         java/awt/geom/QuadCurve2D.java,
5466         java/awt/geom/RectangularShape.java,
5467         java/awt/geom/RoundRectangle2D.java,
5468         java/awt/im/InputContext.java,
5469         java/awt/im/InputMethodHighlight.java,
5470         java/awt/im/InputMethodRequests.java,
5471         java/awt/im/InputSubset.java,
5472         java/awt/im/spi/InputMethod.java,
5473         java/awt/im/spi/InputMethodDescriptor.java,
5474         java/awt/image/BandCombineOp.java,
5475         java/awt/image/BandedSampleModel.java,
5476         java/awt/image/ByteLookupTable.java,
5477         java/awt/image/ComponentSampleModel.java,
5478         java/awt/image/DataBuffer.java,
5479         java/awt/image/DataBufferByte.java,
5480         java/awt/image/DataBufferDouble.java,
5481         java/awt/image/DataBufferFloat.java,
5482         java/awt/image/DataBufferInt.java,
5483         java/awt/image/DataBufferShort.java,
5484         java/awt/image/DataBufferUShort.java,
5485         java/awt/image/ImagingOpException.java,
5486         java/awt/image/Kernel.java,
5487         java/awt/image/LookupTable.java,
5488         java/awt/image/MultiPixelPackedSampleModel.java,
5489         java/awt/image/PackedColorModel.java,
5490         java/awt/image/PixelInterleavedSampleModel.java,
5491         java/awt/image/RGBImageFilter.java,
5492         java/awt/image/Raster.java,
5493         java/awt/image/RasterFormatException.java,
5494         java/awt/image/SampleModel.java,
5495         java/awt/image/ShortLookupTable.java,
5496         java/awt/image/SinglePixelPackedSampleModel.java,
5497         java/awt/image/WritableRaster.java,
5498         java/awt/print/PrinterAbortException.java,
5499         java/awt/print/PrinterException.java,
5500         java/awt/print/PrinterIOException.java,
5501         java/beans/AppletInitializer.java,
5502         java/beans/ExceptionListener.java,
5503         java/beans/PropertyChangeEvent.java,
5504         java/beans/PropertyChangeListenerProxy.java,
5505         java/beans/PropertyChangeSupport.java,
5506         java/beans/PropertyDescriptor.java,
5507         java/beans/VetoableChangeListenerProxy.java,
5508         java/beans/VetoableChangeSupport.java,
5509         java/io/BufferedReader.java,
5510         java/io/ByteArrayInputStream.java,
5511         java/io/ByteArrayOutputStream.java,
5512         java/io/CharArrayReader.java,
5513         java/io/CharArrayWriter.java,
5514         java/io/CharConversionException.java,
5515         java/io/DataInput.java,
5516         java/io/DataInputStream.java,
5517         java/io/DataOutput.java,
5518         java/io/DataOutputStream.java,
5519         java/io/EOFException.java,
5520         java/io/FileInputStream.java,
5521         java/io/FileNotFoundException.java,
5522         java/io/FileOutputStream.java,
5523         java/io/FilenameFilter.java,
5524         java/io/FilterInputStream.java,
5525         java/io/FilterOutputStream.java,
5526         java/io/FilterReader.java,
5527         java/io/FilterWriter.java,
5528         java/io/IOException.java,
5529         java/io/InputStream.java,
5530         java/io/InterruptedIOException.java,
5531         java/io/LineNumberInputStream.java,
5532         java/io/LineNumberReader.java,
5533         java/io/ObjectInputStream.java,
5534         java/io/ObjectStreamException.java,
5535         java/io/OptionalDataException.java,
5536         java/io/OutputStream.java,
5537         java/io/OutputStreamWriter.java,
5538         java/io/PrintStream.java,
5539         java/io/PrintWriter.java,
5540         java/io/PushbackInputStream.java,
5541         java/io/PushbackReader.java,
5542         java/io/RandomAccessFile.java,
5543         java/io/Reader.java,
5544         java/io/SequenceInputStream.java,
5545         java/io/Serializable.java,
5546         java/io/StreamCorruptedException.java,
5547         java/io/StreamTokenizer.java,
5548         java/io/StringBufferInputStream.java,
5549         java/io/StringWriter.java,
5550         java/io/SyncFailedException.java,
5551         java/io/UTFDataFormatException.java,
5552         java/io/UnsupportedEncodingException.java,
5553         java/io/WriteAbortedException.java,
5554         java/io/Writer.java,
5555         java/lang/AbstractMethodError.java,
5556         java/lang/ArithmeticException.java,
5557         java/lang/ArrayIndexOutOfBoundsException.java,
5558         java/lang/ArrayStoreException.java,
5559         java/lang/AssertionError.java,
5560         java/lang/Boolean.java,
5561         java/lang/Byte.java,
5562         java/lang/Class.java,
5563         java/lang/ClassCastException.java,
5564         java/lang/ClassCircularityError.java,
5565         java/lang/ClassLoader.java,
5566         java/lang/ClassNotFoundException.java,
5567         java/lang/CloneNotSupportedException.java,
5568         java/lang/Cloneable.java,
5569         java/lang/Comparable.java,
5570         java/lang/Compiler.java,
5571         java/lang/Double.java,
5572         java/lang/Error.java,
5573         java/lang/Exception.java,
5574         java/lang/ExceptionInInitializerError.java,
5575         java/lang/Float.java,
5576         java/lang/IllegalAccessError.java,
5577         java/lang/IllegalAccessException.java,
5578         java/lang/IllegalArgumentException.java,
5579         java/lang/IllegalMonitorStateException.java,
5580         java/lang/IllegalStateException.java,
5581         java/lang/IllegalThreadStateException.java,
5582         java/lang/IncompatibleClassChangeError.java,
5583         java/lang/IndexOutOfBoundsException.java,
5584         java/lang/InheritableThreadLocal.java,
5585         java/lang/InstantiationError.java,
5586         java/lang/InstantiationException.java,
5587         java/lang/Integer.java,
5588         java/lang/InternalError.java,
5589         java/lang/InterruptedException.java,
5590         java/lang/LinkageError.java,
5591         java/lang/Long.java,
5592         java/lang/NegativeArraySizeException.java,
5593         java/lang/NoClassDefFoundError.java,
5594         java/lang/NoSuchFieldError.java,
5595         java/lang/NoSuchFieldException.java,
5596         java/lang/NoSuchMethodError.java,
5597         java/lang/NoSuchMethodException.java,
5598         java/lang/NullPointerException.java,
5599         java/lang/Number.java,
5600         java/lang/NumberFormatException.java,
5601         java/lang/OutOfMemoryError.java,
5602         java/lang/Process.java,
5603         java/lang/Runnable.java,
5604         java/lang/Runtime.java,
5605         java/lang/RuntimeException.java,
5606         java/lang/RuntimePermission.java,
5607         java/lang/SecurityException.java,
5608         java/lang/SecurityManager.java,
5609         java/lang/Short.java,
5610         java/lang/StackOverflowError.java,
5611         java/lang/StackTraceElement.java,
5612         java/lang/StringBuffer.java,
5613         java/lang/StringIndexOutOfBoundsException.java,
5614         java/lang/ThreadDeath.java,
5615         java/lang/ThreadGroup.java,
5616         java/lang/Throwable.java,
5617         java/lang/UnsatisfiedLinkError.java,
5618         java/lang/UnsupportedOperationException.java,
5619         java/lang/VerifyError.java,
5620         java/lang/VirtualMachineError.java,
5621         java/lang/reflect/AccessibleObject.java,
5622         java/lang/reflect/Array.java,
5623         java/lang/reflect/InvocationTargetException.java,
5624         java/lang/reflect/Member.java,
5625         java/lang/reflect/Modifier.java,
5626         java/lang/reflect/Proxy.java,
5627         java/lang/reflect/ReflectPermission.java,
5628         java/lang/reflect/UndeclaredThrowableException.java,
5629         java/math/BigInteger.java,
5630         java/net/NetworkInterface.java,
5631         java/nio/ByteBufferHelper.java,
5632         java/nio/ByteBufferImpl.java,
5633         java/nio/DirectByteBufferImpl.java,
5634         java/nio/DoubleBufferImpl.java,
5635         java/nio/FloatBufferImpl.java,
5636         java/nio/IntBufferImpl.java,
5637         java/nio/LongBufferImpl.java,
5638         java/nio/ShortBufferImpl.java,
5639         java/nio/channels/Channel.java,
5640         java/nio/channels/IllegalBlockingModeException.java,
5641         java/nio/charset/spi/CharsetProvider.java,
5642         java/security/AccessControlException.java,
5643         java/security/BasicPermission.java,
5644         java/security/DigestException.java,
5645         java/security/DigestInputStream.java,
5646         java/security/DigestOutputStream.java,
5647         java/security/GeneralSecurityException.java,
5648         java/security/Guard.java,
5649         java/security/GuardedObject.java,
5650         java/security/InvalidAlgorithmParameterException.java,
5651         java/security/InvalidKeyException.java,
5652         java/security/InvalidParameterException.java,
5653         java/security/Key.java,
5654         java/security/KeyException.java,
5655         java/security/KeyManagementException.java,
5656         java/security/KeyStoreException.java,
5657         java/security/MessageDigestSpi.java,
5658         java/security/NoSuchAlgorithmException.java,
5659         java/security/NoSuchProviderException.java,
5660         java/security/Permission.java,
5661         java/security/PermissionCollection.java,
5662         java/security/Permissions.java,
5663         java/security/Principal.java,
5664         java/security/PrivateKey.java,
5665         java/security/PrivilegedActionException.java,
5666         java/security/ProviderException.java,
5667         java/security/PublicKey.java,
5668         java/security/SecureRandom.java,
5669         java/security/SecureRandomSpi.java,
5670         java/security/SignatureException.java,
5671         java/security/SignatureSpi.java,
5672         java/security/SignedObject.java,
5673         java/security/Signer.java,
5674         java/security/UnrecoverableKeyException.java,
5675         java/security/UnresolvedPermission.java,
5676         java/security/acl/AclNotFoundException.java,
5677         java/security/acl/LastOwnerException.java,
5678         java/security/acl/NotOwnerException.java,
5679         java/security/cert/CertPath.java,
5680         java/security/cert/CertPathBuilderException.java,
5681         java/security/cert/CertPathValidatorException.java,
5682         java/security/cert/CertStoreException.java,
5683         java/text/BreakIterator.java,
5684         java/text/ChoiceFormat.java,
5685         java/text/CollationElementIterator.java,
5686         java/text/CollationKey.java,
5687         java/text/Collator.java,
5688         java/text/DateFormat.java,
5689         java/text/DateFormatSymbols.java,
5690         java/text/DecimalFormat.java,
5691         java/text/DecimalFormatSymbols.java,
5692         java/text/FieldPosition.java,
5693         java/text/Format.java,
5694         java/text/NumberFormat.java,
5695         java/text/ParseException.java,
5696         java/text/ParsePosition.java,
5697         java/text/StringCharacterIterator.java,
5698         java/util/AbstractCollection.java,
5699         java/util/AbstractList.java,
5700         java/util/AbstractMap.java,
5701         java/util/AbstractSequentialList.java,
5702         java/util/AbstractSet.java,
5703         java/util/ArrayList.java,
5704         java/util/Arrays.java,
5705         java/util/BitSet.java,
5706         java/util/Collection.java,
5707         java/util/Collections.java,
5708         java/util/Comparator.java,
5709         java/util/ConcurrentModificationException.java,
5710         java/util/Currency.java,
5711         java/util/Date.java,
5712         java/util/EmptyStackException.java,
5713         java/util/Enumeration.java,
5714         java/util/EventListener.java,
5715         java/util/EventListenerProxy.java,
5716         java/util/EventObject.java,
5717         java/util/HashMap.java,
5718         java/util/HashSet.java,
5719         java/util/Hashtable.java,
5720         java/util/IdentityHashMap.java,
5721         java/util/Iterator.java,
5722         java/util/LinkedHashSet.java,
5723         java/util/LinkedList.java,
5724         java/util/List.java,
5725         java/util/ListIterator.java,
5726         java/util/ListResourceBundle.java,
5727         java/util/Map.java,
5728         java/util/MissingResourceException.java,
5729         java/util/NoSuchElementException.java,
5730         java/util/Observable.java,
5731         java/util/Observer.java,
5732         java/util/Properties.java,
5733         java/util/PropertyPermissionCollection.java,
5734         java/util/RandomAccess.java,
5735         java/util/Set.java,
5736         java/util/SortedMap.java,
5737         java/util/SortedSet.java,
5738         java/util/Stack.java,
5739         java/util/StringTokenizer.java,
5740         java/util/TooManyListenersException.java,
5741         java/util/TreeMap.java,
5742         java/util/TreeSet.java,
5743         java/util/Vector.java,
5744         java/util/logging/FileHandler.java,
5745         java/util/logging/Level.java,
5746         java/util/prefs/BackingStoreException.java,
5747         java/util/prefs/InvalidPreferencesFormatException.java,
5748         java/util/prefs/Preferences.java,
5749         javax/accessibility/Accessible.java,
5750         javax/accessibility/AccessibleAction.java,
5751         javax/accessibility/AccessibleBundle.java,
5752         javax/accessibility/AccessibleComponent.java,
5753         javax/accessibility/AccessibleContext.java,
5754         javax/accessibility/AccessibleEditableText.java,
5755         javax/accessibility/AccessibleExtendedComponent.java,
5756         javax/accessibility/AccessibleExtendedTable.java,
5757         javax/accessibility/AccessibleHyperlink.java,
5758         javax/accessibility/AccessibleHypertext.java,
5759         javax/accessibility/AccessibleIcon.java,
5760         javax/accessibility/AccessibleKeyBinding.java,
5761         javax/accessibility/AccessibleRelation.java,
5762         javax/accessibility/AccessibleRelationSet.java,
5763         javax/accessibility/AccessibleResourceBundle.java,
5764         javax/accessibility/AccessibleRole.java,
5765         javax/accessibility/AccessibleSelection.java,
5766         javax/accessibility/AccessibleState.java,
5767         javax/accessibility/AccessibleStateSet.java,
5768         javax/accessibility/AccessibleTable.java,
5769         javax/accessibility/AccessibleTableModelChange.java,
5770         javax/accessibility/AccessibleText.java,
5771         javax/accessibility/AccessibleValue.java,
5772         javax/imageio/IIOException.java,
5773         javax/imageio/ImageIO.java,
5774         javax/imageio/spi/IIOServiceProvider.java,
5775         javax/imageio/spi/ImageInputStreamSpi.java,
5776         javax/imageio/spi/ImageOutputStreamSpi.java,
5777         javax/imageio/spi/ImageReaderWriterSpi.java,
5778         javax/imageio/spi/ImageTranscoderSpi.java,
5779         javax/imageio/spi/RegisterableService.java,
5780         javax/imageio/spi/ServiceRegistry.java,
5781         javax/imageio/stream/IIOByteBuffer.java,
5782         javax/imageio/stream/ImageInputStream.java,
5783         javax/imageio/stream/ImageOutputStream.java,
5784         javax/naming/Binding.java,
5785         javax/naming/CannotProceedException.java,
5786         javax/naming/CompositeName.java,
5787         javax/naming/CompoundName.java,
5788         javax/naming/LinkException.java,
5789         javax/naming/LinkRef.java,
5790         javax/naming/NameClassPair.java,
5791         javax/naming/Reference.java,
5792         javax/naming/ReferralException.java,
5793         javax/naming/directory/Attribute.java,
5794         javax/naming/directory/AttributeModificationException.java,
5795         javax/naming/directory/Attributes.java,
5796         javax/naming/directory/DirContext.java,
5797         javax/naming/directory/ModificationItem.java,
5798         javax/naming/directory/SearchControls.java,
5799         javax/naming/directory/SearchResult.java,
5800         javax/naming/event/EventContext.java,
5801         javax/naming/event/EventDirContext.java,
5802         javax/naming/event/NamespaceChangeListener.java,
5803         javax/naming/event/NamingExceptionEvent.java,
5804         javax/naming/event/NamingListener.java,
5805         javax/naming/event/ObjectChangeListener.java,
5806         javax/naming/ldap/Control.java,
5807         javax/naming/ldap/ExtendedResponse.java,
5808         javax/naming/ldap/HasControls.java,
5809         javax/naming/ldap/LdapContext.java,
5810         javax/naming/ldap/UnsolicitedNotification.java,
5811         javax/naming/ldap/UnsolicitedNotificationEvent.java,
5812         javax/naming/ldap/UnsolicitedNotificationListener.java,
5813         javax/naming/spi/DirectoryManager.java,
5814         javax/naming/spi/ResolveResult.java,
5815         javax/naming/spi/Resolver.java,
5816         javax/security/auth/callback/Callback.java,
5817         javax/security/auth/callback/CallbackHandler.java,
5818         javax/security/auth/callback/ChoiceCallback.java,
5819         javax/security/auth/callback/ConfirmationCallback.java,
5820         javax/security/auth/callback/LanguageCallback.java,
5821         javax/security/auth/callback/NameCallback.java,
5822         javax/security/auth/callback/PasswordCallback.java,
5823         javax/security/auth/callback/TextInputCallback.java,
5824         javax/security/auth/callback/TextOutputCallback.java,
5825         javax/security/auth/callback/UnsupportedCallbackException.java,
5826         javax/security/sasl/Sasl.java,
5827         javax/security/sasl/SaslServerFactory.java,
5828         javax/swing/DefaultBoundedRangeModel.java,
5829         javax/swing/JComponent.java,
5830         javax/swing/JList.java,
5831         javax/swing/JProgressBar.java,
5832         javax/swing/JRadioButton.java,
5833         javax/swing/JTextArea.java,
5834         javax/swing/JTextField.java,
5835         javax/swing/JToggleButton.java,
5836         javax/swing/JTree.java,
5837         javax/swing/SpinnerListModel.java,
5838         javax/swing/event/EventListenerList.java,
5839         javax/swing/text/JTextComponent.java,
5840         javax/swing/text/StringContent.java,
5841         javax/swing/text/Utilities.java,
5842         javax/swing/undo/UndoManager.java,
5843         javax/swing/undo/UndoableEditSupport.java,
5844         javax/transaction/HeuristicCommitException.java,
5845         javax/transaction/HeuristicMixedException.java,
5846         javax/transaction/HeuristicRollbackException.java,
5847         javax/transaction/InvalidTransactionException.java,
5848         javax/transaction/NotSupportedException.java,
5849         javax/transaction/RollbackException.java,
5850         javax/transaction/Status.java,
5851         javax/transaction/Synchronization.java,
5852         javax/transaction/SystemException.java,
5853         javax/transaction/Transaction.java,
5854         javax/transaction/TransactionManager.java,
5855         javax/transaction/TransactionRequiredException.java,
5856         javax/transaction/TransactionRolledbackException.java,
5857         javax/transaction/UserTransaction.java,
5858         javax/transaction/xa/XAException.java,
5859         javax/transaction/xa/XAResource.java,
5860         javax/transaction/xa/Xid.java,
5861         javax/xml/XMLConstants.java,
5862         javax/xml/datatype/DatatypeConfigurationException.java,
5863         javax/xml/datatype/DatatypeConstants.java,
5864         javax/xml/datatype/DatatypeFactory.java,
5865         javax/xml/datatype/Duration.java,
5866         javax/xml/datatype/XMLGregorianCalendar.java,
5867         javax/xml/namespace/NamespaceContext.java,
5868         javax/xml/namespace/QName.java,
5869         javax/xml/parsers/DocumentBuilder.java,
5870         javax/xml/parsers/DocumentBuilderFactory.java,
5871         javax/xml/parsers/FactoryConfigurationError.java,
5872         javax/xml/parsers/ParserConfigurationException.java,
5873         javax/xml/parsers/SAXParser.java,
5874         javax/xml/parsers/SAXParserFactory.java,
5875         javax/xml/transform/ErrorListener.java,
5876         javax/xml/transform/OutputKeys.java,
5877         javax/xml/transform/Result.java,
5878         javax/xml/transform/Source.java,
5879         javax/xml/transform/SourceLocator.java,
5880         javax/xml/transform/Templates.java,
5881         javax/xml/transform/Transformer.java,
5882         javax/xml/transform/TransformerConfigurationException.java,
5883         javax/xml/transform/TransformerException.java,
5884         javax/xml/transform/TransformerFactory.java,
5885         javax/xml/transform/TransformerFactoryConfigurationError.java,
5886         javax/xml/transform/URIResolver.java,
5887         javax/xml/transform/dom/DOMLocator.java,
5888         javax/xml/transform/dom/DOMResult.java,
5889         javax/xml/transform/dom/DOMSource.java,
5890         javax/xml/transform/sax/SAXResult.java,
5891         javax/xml/transform/sax/SAXSource.java,
5892         javax/xml/transform/sax/SAXTransformerFactory.java,
5893         javax/xml/transform/sax/TemplatesHandler.java,
5894         javax/xml/transform/sax/TransformerHandler.java,
5895         javax/xml/transform/stream/StreamResult.java,
5896         javax/xml/transform/stream/StreamSource.java,
5897         javax/xml/validation/Schema.java,
5898         javax/xml/validation/SchemaFactory.java,
5899         javax/xml/validation/TypeInfoProvider.java,
5900         javax/xml/validation/Validator.java,
5901         javax/xml/validation/ValidatorHandler.java,
5902         javax/xml/xpath/XPathConstants.java,
5903         javax/xml/xpath/XPathException.java,
5904         javax/xml/xpath/XPathExpression.java,
5905         javax/xml/xpath/XPathExpressionException.java,
5906         javax/xml/xpath/XPathFactory.java,
5907         javax/xml/xpath/XPathFactoryConfigurationException.java,
5908         javax/xml/xpath/XPathFunction.java,
5909         javax/xml/xpath/XPathFunctionException.java,
5910         javax/xml/xpath/XPathFunctionResolver.java:
5911         Fixed usage of @author tag, reworked import statements,
5912         removed CVS tags, changed the modifier order and fixed
5913         HTML usage in javadocs.
5915 2005-02-16  Julian Scheid  <julian@sektor37.de>
5917         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
5918         in.position().
5919         (encodeLoop): Likewise.
5921 2005-02-16  Mark Wielaard  <mark@klomp.org>
5923         * Makefile.am (ordinary_java_source_files): Add new files
5924         gnu/java/security/ber/BER.java,
5925         gnu/java/security/ber/BEREncodingException.java,
5926         gnu/java/security/ber/BERReader.java,
5927         gnu/java/security/ber/BERValue.java,
5928         gnu/java/security/pkcs/PKCS7SignedData.java and
5929         gnu/java/security/pkcs/SignerInfo.java.
5930         * Makefile.in: Regenerated.
5932 2005-02-16  Casey Marshall  <csm@gnu.org>
5934         * gnu/java/security/provider/GnuDSAPrivateKey.java
5935         (encodedKey): new field.
5936         (getFormat): return "PKCS#8".
5937         (getEncoded): implemented.
5938         (toString): check for 'null' values.
5939         * gnu/java/security/provider/GnuDSAPublicKey.java
5940         (encodedKey): new field.
5941         (getFormat): return "X.509".
5942         (getEncoded): implemented.
5943         (toString): check for 'null' values.
5945 2005-02-16  Michael Koch  <konqueror@gmx.de>
5947         * java/util/jar/JarFile.java: Imports reworked.
5949 2005-02-16  Mark Wielaard  <mark@klomp.org>
5951         * java/util/jar/JarFile.java (verify): Make package private.
5952         (signaturesRead): Likewise.
5953         (verified): Likewise.
5954         (entryCerts): Likewise.
5955         (DEBUG): Likewise.
5956         (debug): Likewise.
5957         (entries): Construct new JarEnumeration with reference to this.
5958         (JarEnumeration): Make static.
5959         (JarEnumeration.jarfile): New field.
5960         (JarEnumeration.nextElement): Use and synchronize on jarfile.
5961         Compare verified value to Boolean.TRUE or Boolean.False only
5962         when verify is true.
5963         (getEntry): Make synchronized. Compare value of verified to
5964         Boolean.TRUE.
5965         (getInputStream): Construct EntryInputStream with reference to this.
5966         (getManifest): Make synchronized.
5967         (EntryInputStream): Make static.
5968         (EntryInputStream.jarfile): New field.
5969         (EntryInputStream.EntryInputStream): Check if manifest exists,
5970         before getting attributes.
5971         (eof): Synchronize on jarfile.
5973 2005-02-16  Casey Marshall  <csm@gnu.org>
5975         * java/util/jar/JarFile.java (verify): return if the jar is signed
5976         with an unsupported algorithm.
5978 2005-02-16  Mark Wielaard  <mark@klomp.org>
5980         * java/util/jar/JarFile.java (EntryInputStream): Add actual
5981         InputStream as argument.
5982         (getInputStream): Construct a new EntryInputStream with the result of
5983         super.getInputStream(entry).
5985 2005-02-16  Casey Marshall  <csm@gnu.org>
5987         Signed JAR file support.
5988         * java/net/URLClassLoader.java
5989         (JarURLResource.getCertificates): re-read jar entry to ensure
5990         certificates are picked up.
5991         (findClass): fill in class `signers' field, too.
5992         * java/util/jar/JarFile.java (META_INF): new constant.
5993         (PKCS7_DSA_SUFFIX): new constant.
5994         (PKCS7_RSA_SUFFIX): new constant.
5995         (DIGEST_KEY_SUFFIX): new constant.
5996         (SF_SUFFIX): new constant.
5997         (MD2_OID): new constant.
5998         (MD4_OID): new constant.
5999         (MD5_OID): new constant.
6000         (SHA1_OID): new constant.
6001         (DSA_ENCRYPTION_OID): new constant.
6002         (RSA_ENCRYPTION_OID): new constant.
6003         (signaturesRead): new field.
6004         (verified): new field.
6005         (entryCerts): new field.
6006         (DEBUG): new constant.
6007         (debug): new method.
6008         (JarEnumeration.nextElement): fill in entry certificates, read
6009         signatures if they haven't been read.
6010         (getEntry): likewise.
6011         (getInputStream): verify stream if it hasn't been verified yet.
6012         (readSignatures): new method.
6013         (verify): new method.
6014         (verifyHashes): new method.
6015         (readManifestEntry): new method.
6016         (EntryInputStream): new class.
6017         * gnu/java/io/Base64InputStream.java (decode): new class
6018         method.
6019         * gnu/java/security/der/DERReader.java don't make class
6020         final.
6021         (in): made protected.
6022         (encBuf): likewise.
6023         (readLength): likewise.
6024         * gnu/java/security/ber/BER.java,
6025         * gnu/java/security/ber/BEREncodingException.java,
6026         * gnu/java/security/ber/BERReader.java,
6027         * gnu/java/security/ber/BERValue.java,
6028         * gnu/java/security/pkcs/PKCS7SignedData.java,
6029         * gnu/java/security/pkcs/SignerInfo.java:
6030         new files.
6032 2005-02-16  Tom Tromey  <tromey@redhat.com>
6034         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
6035         copied file on exit.
6037 2005-02-15  Mark Wielaard  <mark@klomp.org>
6039         * java/awt/BasicStroke.java (hashCode): Check for null dash.
6041 2005-02-15  Michael Koch  <konqueror@gmx.de>
6043         * gnu/java/awt/peer/gtk/GtkArg.java,
6044         gnu/java/awt/peer/gtk/GtkArgList.java:
6045         Removed.
6047 2005-02-15  Craig Black  <craig.black@aonix.com>
6049         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
6050         (postMenuActionEvent): Implement to notify ItemListeners.
6051         * java/awt/CheckboxMenuItem.java
6052         (dispatchEventImpl): Update state on ItemEvent.
6053         * java/awt/MenuItem.java
6054         (processActionEvent): Retarget event source.
6056 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6058         * gnu/java/awt/color/ClutProfileConverter.java,
6059         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
6060         gnu/java/awt/peer/gtk/GdkFontPeer.java,
6061         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
6062         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6063         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
6064         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
6065         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
6066         gnu/java/awt/peer/gtk/GdkTextLayout.java,
6067         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6068         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6069         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6070         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6071         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6072         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6073         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6074         gnu/java/awt/peer/gtk/GtkFontPeer.java,
6075         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6076         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6077         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6078         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6079         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6080         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6081         gnu/java/awt/peer/gtk/GtkToolkit.java,
6082         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6083         javax/swing/JPopupMenu.java,
6084         javax/swing/JSpinner.java,
6085         javax/swing/SortingFocusTraversalPolicy.java,
6086         javax/swing/SwingUtilities.java,
6087         javax/swing/plaf/basic/BasicComboBoxEditor.java,
6088         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
6089         javax/swing/tree/DefaultMutableTreeNode.java:
6090         Removed unused imports and expanded starred
6091         imports.
6093 2005-02-15  Mark Wielaard  <mark@klomp.org>
6095         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
6096         IllegalArgumentException when the given String is null.
6098         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
6099         when given keystoke sequence cannot be parsed.
6101         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
6102         if one is installed. Only install the given menubar is not null.
6104         * javax/swing/JViewport.java (getViewSize): Return an empty
6105         Dimension when the view isn't set or preferred component size when
6106         no viewSize is set.
6108         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
6109         empty Dimension when there is no view set.
6110         (minimumLayoutSize): Likewise.
6111         (layoutContainer): Don't try to layout when there is no view.
6113 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6115         * jawt.c: New file.
6116         * include/jawt.h: Likewise.
6117         * include/jawt_md.h: Likewise.
6118         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6119         jawt_md.h files.
6120         * jni/classpath/classpath_jawt.h: Likewise.
6121         * jni/gtk-peer/gtk_jawt.c: Likewise.
6122         * Makefile.am: Build libjawt.so.
6124 2005-02-15  Michael Koch  <konqueror@gmx.de>
6126         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6127         Merged file header with classpath CVS head.
6128         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6129         Merged code formatting with classpath CVS head.
6130         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
6131         Removed debug code.
6132         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
6133         Handle special JNI strings with 2 '\0' at the end.
6134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6135         Merged file header with classpath CVS head.
6136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
6137         Merged code formatting with classpath CVS head.
6139 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
6142         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
6143         (handle_response): Use GTK_RESPONSE_ACCEPT.
6145 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6147         * Makefile.am: Fix library build breakage.
6148         * Makefile.in: Regenerate.
6150 2005-02-15  Michael Koch  <konqueror@gmx.de>
6152         * javax/swing/JTabbedPane.java
6153         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
6155 2005-02-15  Michael Koch  <konqueror@gmx.de>
6157         * javax/swing/tree/DefaultMutableTreeNode.java:
6158         Reworked Javadocs all over.
6159         (getPathToRoot): Fixed direction of result array initialization.
6161 2005-02-15  Michael Koch  <konqueror@gmx.de>
6163         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6164          Fix includes for cairo 0.3.0 snappshot.
6165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
6166         Merged file header from classpath CVS HEAD.
6168 2005-02-15  Craig Black  <craig.black@aonix.com>
6170         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6171         (copyState): Pass a JNI global reference to signal handler.
6172         (realize_cb): Use and free JNI global reference.
6173         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
6174         (create): Pass a JNI global reference to signal handler.
6175         (selection_changed): Match declaration.
6176         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
6177         (dispose): Do not remove entries from state tables until after widget is
6178         destroyed.
6180 2005-02-15  Michael Koch  <konqueror@gmx.de>
6182         * java/awt/Container.javai (paramString):
6183         If layoutMgr is null just return result of super.paramString().
6184         * java/awt/Scrollbar.java: Reformatted.
6185         * java/awt/im/InputContext.java (static):
6186         Removed redundant initializations.
6188 2005-02-15  Michael Koch  <konqueror@gmx.de>
6190         * javax/swing/ImageIcon.java,
6191         javax/swing/UIManager.java,
6192         javax/swing/text/EditorKit.java,
6193         javax/swing/text/Segment.java:
6194         More whitespace cleanups.
6196 2005-02-15  Michael Koch  <konqueror@gmx.de>
6198         * gnu/java/awt/EmbeddedWindow.java,
6199         gnu/java/awt/image/ImageDecoder.java,
6200         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6201         java/awt/DefaultKeyboardFocusManager.java,
6202         java/awt/Frame.java,
6203         java/awt/image/RGBImageFilter.java,
6204         javax/swing/AbstractButton.java,
6205         javax/swing/ActionMap.java,
6206         javax/swing/ComponentInputMap.java,
6207         javax/swing/DefaultDesktopManager.java,
6208         javax/swing/ImageIcon.java,
6209         javax/swing/InputMap.java,
6210         javax/swing/JButton.java,
6211         javax/swing/JCheckBox.java,
6212         javax/swing/JCheckBoxMenuItem.java,
6213         javax/swing/JEditorPane.java,
6214         javax/swing/JMenu.java,
6215         javax/swing/JMenuItem.java,
6216         javax/swing/JOptionPane.java,
6217         javax/swing/JRootPane.java,
6218         javax/swing/JTable.java,
6219         javax/swing/MenuSelectionManager.java,
6220         javax/swing/RepaintManager.java,
6221         javax/swing/ScrollPaneLayout.java,
6222         javax/swing/SortingFocusTraversalPolicy.java,
6223         javax/swing/UIManager.java,
6224         javax/swing/ViewportLayout.java,
6225         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6226         javax/swing/plaf/basic/BasicInternalFrameUI.java,
6227         javax/swing/plaf/basic/BasicLabelUI.java,
6228         javax/swing/plaf/basic/BasicListUI.java,
6229         javax/swing/plaf/basic/BasicMenuItemUI.java,
6230         javax/swing/plaf/basic/BasicMenuUI.java,
6231         javax/swing/plaf/basic/BasicOptionPaneUI.java,
6232         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6233         javax/swing/plaf/basic/BasicRootPaneUI.java,
6234         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6235         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6236         javax/swing/plaf/basic/BasicTextUI.java,
6237         javax/swing/table/TableColumnModel.java,
6238         javax/swing/text/AbstractDocument.java,
6239         javax/swing/text/EditorKit.java,
6240         javax/swing/text/Position.java,
6241         javax/swing/text/Segment.java,
6242         javax/swing/text/StyledEditorKit.java,
6243         javax/swing/text/ViewFactory.java:
6244         Cleanup whitespace differences to classpath CVS HEAD.
6246 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6248         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6249         (finalize): Call finish from here.
6250         (produce): Not from here.
6251         * Makefile.am (gtk_c_source_files):
6252         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
6253         * Makefile.in: Regenerate.
6254         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6255         (cairoSetFont):
6256         (cairoDrawGdkTextLayout):
6257         (cairoDrawString):
6258         (getPeerTextMetrics):
6259         (getPeerFontMetrics): Remove.
6260         (setFont): Don't call cairoSetFont.
6261         (cairoDrawGlyphVector): Accept font peer argument.
6262         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
6263         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6264         (ensure_metrics_cairo):
6265         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
6266         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
6267         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
6268         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
6269         (metrics_cairo):
6270         (metrics_surface): Remove.
6271         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
6272         Pass and install font peer.
6274 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6276         * Makefile.am: Create "split library" structure.
6277         * Makefile.in: Regenerate.
6279 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
6282         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
6285         Release GDK lock during upcalls.
6287 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
6290         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
6291         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
6292         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
6293         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
6294         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
6295         * gnu/java/awt/peer/gtk/GdkFontPeer.java
6296         (getGlyphVector):
6297         (getFontMetrics):
6298         (getTextMetrics): New native methods.
6299         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
6300         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
6301         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
6302         * Makefile.in: Regenerate.
6304 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6306         * javax/swing/SwingUtilities.java:
6307         (getAccessibleAt(java.awt.Component, java.awt.Point)):
6308         Implemented and documented.
6309         (getAccessibleChild(java.awt.Component, int)): Likewise.
6310         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
6311         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
6312         (getAccessibleStateSet(java.awt.Component)): Likewise.
6314 2005-02-15  Michael Koch  <konqueror@gmx.de>
6316         * javax/swing/SwingUtilities.java
6317         (getFontMetrics): Removed.
6319 2005-02-15  Michael Koch  <konqueror@gmx.de>
6321         * java/awt/Container.java
6322         (paramString): Implemented.
6323         * javax/swing/AbstractButton.java
6324         (paramString): Implemented.
6325         * javax/swing/JComponent.java
6326         (paramString): Implemented.
6327         * javax/swing/JMenu.java
6328         (paramString): Implemented.
6329         * javax/swing/JMenuBar.java
6330         (paramString): Implemented.
6331         * javax/swing/JMenuItem.java
6332         (paramString): Implemented.
6333         * javax/swing/JPopupMenu.java
6334         (paramString): Implemented.
6336 2005-02-15  Michael Koch  <konqueror@gmx.de>
6338         * javax/swing/JMenu.java
6339         (uiClassID): Removed.
6340         (JMenu): Set invoker on popup menu.
6341         (getUIClassID): Return id directly.
6342         (getItemCount): Simply return getMenuComponentCount().
6343         Fixed javadoc.
6344         (isTopLevelMenu): Simplified.
6345         * javax/swing/JMenuItem.java
6346         (uiClassID): Removed.
6347         (getUIClassID): Return id directly.
6348         * javax/swing/JPopupMenu.java
6349         (uiClassID): Removed.
6350         (JPopupMenu): Always initialize correctly.
6351         (getSubElements): Only return components implementing MenuElement
6352         interface.
6353         (HeavyWeightPopup.hide): Removed.
6355 2005-02-15  Michael Koch  <konqueror@gmx.de>
6357         * java/awt/image/ReplicateScaleFilter.java
6358         (replicatePixels): Made private.
6359         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
6360         (DefaultRGBChooserPanel): Made package private.
6361         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
6362         (RecentSwatchPanel): Likewise.
6363         * javax/swing/event/MouseInputAdapter.java: Reformatted.
6364         (MouseInputAdapter): Made abstract.
6365         * javax/swing/tree/DefaultMutableTreeNode.java
6366         (random): Removed.
6367         (growTree): Likewise.
6369 2005-02-15  Michael Koch  <konqueror@gmx.de>
6371         * java/awt/dnd/DropTarget.java (addDropTargetListener):
6372         Clarified comments.
6374 2005-02-15  Michael Koch  <konqueror@gmx.de>
6376         * javax/swing/JComponent.java (getComponentGraphics):
6377         Removed accidently commited code.
6379 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6381         * java/awt/dnd/DropTarget.java
6382         (addDropTargetListener): Despite documentation, do not throw.
6383         * javax/swing/JComponent.java: Set a default DropTarget.
6385 2005-02-15  Michael Koch  <konqueror@gmx.de>
6387         * javax/swing/AbstractAction.java
6388         (ENABLED_PROPERTY): Removed.
6389         (setEnabled): Replaced constant with real string.
6390         * javax/swing/AbstractButton.java
6391         (createActionPropertyChangeListener.propertyChange): Likewise.
6392         * javax/swing/JComboBox.java
6393         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
6394         (EDITABLE_CHANGED_PROPERTY): Removed.
6395         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
6396         (ENABLED_CHANGED_PROPERTY):Likewise.
6397         (RENDERER_CHANGED_PROPERTY):Likewise.
6398         (EDITOR_CHANGED_PROPERTY):Likewise.
6399         (MODEL_CHANGED_PROPERTY):Likewise.
6400         (uiClassID):Likewise.
6401         (getUIClassID): Replaced constant with real string.
6402         (setModel):Likewise.
6403         (setEditable):Likewise.
6404         (setMaximumRowCount):Likewise.
6405         (setRenderer):Likewise.
6406         (setEditor):Likewise.
6407         (setEnabled):Likewise.
6408         * javax/swing/JLabel.java
6409         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
6410         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
6411         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
6412         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
6413         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
6414         (ICON_CHANGED_PROPERTY): Likewise.
6415         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
6416         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
6417         (TEXT_CHANGED_PROPERTY): Likewise.
6418         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
6419         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
6420         (setText): Replaced constant with real string.
6421         (setIcon): Likewise.
6422         (setDisabledIcon): Likewise.
6423         (setDisplayedMnemonic): Likewise.
6424         (setIconTextGap): Likewise.
6425         (setVerticalAlignment): Likewise.
6426         (setHorizontalAlignment): Likewise.
6427         (setVerticalTextPosition): Likewise.
6428         (setHorizontalTextPosition): Likewise.
6429         (setLabelFor): Replaced constant with real string.
6430         Fire property change event after property got changed.
6431         * javax/swing/JList.java
6432         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
6433         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
6434         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
6435         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
6436         (MODEL_PROPERTY_CHANGED): Likewise.
6437         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
6438         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
6439         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
6440         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
6441         (setFixedCellWidth): Reimplemented.
6442         (setFixedCellHeight): Exit if new value is identical.
6443         Replaced constant with real string.
6444         (setSelectionBackground): Likewise.
6445         (setSelectionForeground): Likewise.
6446         (setPrototypeCellValue): Likewise.
6447         (setCellRenderer): Replaced constant with real string.
6448         (setModel): Likewise.
6449         (setSelectionModel): Likewise.
6450         * javax/swing/JMenuBar.java
6451         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
6452         (MODEL_CHANGED_PROPERTY): Likewise.
6453         (MARGIN_CHANGED_PROPERTY): Likewise.
6454         (setBorderPainted): Reimplemented.
6455         (setMargin): Likewise.
6456         (setSelectionModel): Replaced constant with real string.
6457         * javax/swing/JPopupMenu.java
6458         (LABEL_CHANGED_PROPERTY): Removed.
6459         (VISIBLE_CHANGED_PROPERTY): Likewise.
6460         (borderPainted): Likewise.
6461         (setLabel): Replaced constant with real string.
6462         (setVisible): Exit if new value is identical.
6463         Replaced constant with real string.
6464         * javax/swing/JProgressBar.java
6465         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
6466         (ORIENTATION_CHANGED_PROPERTY): Likewise.
6467         (STRING_CHANGED_PROPERTY): Likewise.
6468         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
6469         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
6470         (setOrientation): Replaced constant with real string.
6471         (setStringPainted): Likewise.
6472         (setString): Likewise.
6473         (setBorderPainted): Likewise.
6474         (setIndeterminate): Likewise.
6475         * javax/swing/JScrollBar.java
6476         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
6477         (MODEL_CHANGED_PROPERTY): Likewise.
6478         (ORIENTATION_CHANGED_PROPERTY): Likewise.
6479         (setOrientation): Replaced constant with real string.
6480         (setModel): Likewise.
6481         (setUnitIncrement): Likewise.
6482         (setBlockIncrement): Likewise.
6483         * javax/swing/JScrollPane.java
6484         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
6485         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
6486         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
6487         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
6488         (LAYOUT_CHANGED_PROPERTY): Likewise.
6489         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
6490         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
6491         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
6492         (VIEWPORT_CHANGED_PROPERTY): Likewise.
6493         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
6494         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
6495         (setComponentOrientation): Replaced constant with real string.
6496         (setColumnHeader): Likewise.
6497         (setHorizontalScrollBar): Likewise.
6498         (setHorizontalScrollBarPolicy): Likewise.
6499         (setRowHeader): Likewise.
6500         (setVerticalScrollBar): Likewise.
6501         (setVerticalScrollBarPolicy): Likewise.
6502         (setWheelScrollingEnabled): Likewise.
6503         (setViewport): Likewise.
6504         (setViewportBorder): Likewise.
6505         * javax/swing/JSlider.java
6506         (INVERTED_CHANGED_PROPERTY): Removed.
6507         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
6508         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
6509         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
6510         (MODEL_CHANGED_PROPERTY): Likewise.
6511         (ORIENTATION_CHANGED_PROPERTY): Likewise.
6512         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
6513         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
6514         (setModel): Replaced constant with real string.
6515         (setOrientation): Likewise.
6516         (setLabelTable): Likewise.
6517         (setInverted): Likewise.
6518         (setMajorTickSpacing): Likewise.
6519         (setMinorTickSpacing): Likewise.
6520         (setPaintTicks): Likewise.
6521         (setPaintLabels): Likewise.
6522         * javax/swing/JTabbedPane.java
6523         (MODEL_CHANGED_PROPERTY): Removed.
6524         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
6525         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
6526         (setModel): Replaced constant with real string.
6527         (setTabPlacement): Likewise.
6528         (setTabLayoutPolicy): Likewise.
6529         * javax/swing/JToolBar.java
6530         (ORIENTATION_CHANGED_PROPERTY): Removed.
6531         (FLOATABLE_CHANGED_PROPERTY): Likewise.
6532         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
6533         (MARGIN_CHANGED_PROPERTY): Likewise.
6534         (ROLLOVER_CHANGED_PROPERTY): Likewise.
6535         (setRollover): Replaced constant with real string.
6536         (setMargin): Likewise.
6537         (setBorderPainted): Likewise.
6538         (setFloatable): Likewise.
6539         (setOrientation): Likewise.
6540         * javax/swing/plaf/basic/BasicComboBoxUI.java
6541         (PropertyChangeHandler.propertyChange): Likewise.
6542         * javax/swing/plaf/basic/BasicComboPopup.java
6543         (PropertyChangeHandler.propertyChange): Likewise.
6544         * javax/swing/plaf/basic/BasicMenuBarUI.java
6545         (PropertyChangeHandler.propertyChange): Likewise.
6546         * javax/swing/plaf/basic/BasicProgressBarUI.java
6547         (PropertyChangeHandler.propertyChange): Likewise.
6548         * javax/swing/plaf/basic/BasicScrollBarUI.java
6549         (PropertyChangeHandler.propertyChange): Likewise.
6550         * javax/swing/plaf/basic/BasicSliderUI.java
6551         (PropertyChangeHandler.propertyChange): Likewise.
6552         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6553         (PropertyChangeHandler.propertyChange): Likewise.
6554         * javax/swing/plaf/basic/BasicToolBarUI.java
6555         (PropertyChangeHandler.propertyChange): Likewise.
6557 2005-02-15  Michael Koch  <konqueror@gmx.de>
6559         * javax/swing/DefaultButtonModel.java
6560         (changeState): Made private.
6561         * javax/swing/DefaultDesktopManager.java
6562         (setWasIcon): Fixed second argument to be java.lang.Boolean.
6563         * javax/swing/JLayeredPane.java
6564         (layerToRange): Made private.
6565         (incrLayer): Likewise.
6566         (decrLayer): Likewise.
6567         * javax/swing/JTable.java
6568         (dragEnabled): Likewise.
6569         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
6570         * javax/swing/KeyStroke.java
6571         (Keystroke): Made private.
6572         * javax/swing/TransferHandler.java
6573         (COMMAND_COPY): Likewise.
6574         (COMMAND_CUT): Likewise.
6575         (COMMAND_PASTE): Likewise.
6577 2005-02-15  Michael Koch  <konqueror@gmx.de>
6579         * javax/swing/JTextField.java
6580         (postActionEvent): Use text in field when actionCommand is null.
6581         (getActionCommand): Removed.
6583 2005-02-15  Michael Koch  <konqueror@gmx.de>
6585         * javax/swing/AbstractSet.java: Removed.
6586         * Makefile.am: Removed javax/swing/AbstractSet.java.
6587         * Makefile.in: Regenerated.
6589 2005-02-15  Michael Koch  <konqueror@gmx.de>
6591         * java/awt/Window.java
6592         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
6593         * java/awt/dnd/DnDConstants.java
6594         (DnDConstants): New private constructor.
6596 2005-02-15  Michael Koch  <konqueror@gmx.de>
6598         * javax/swing/DefaultCellRenderer.java: Removed.
6599         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
6600         * Makefile.in: Regenerated.
6602 2005-02-15  Michael Koch  <konqueror@gmx.de>
6604         * javax/swing/AbstractButton.java
6605         (fireItemStateChanged): Made protected.
6606         (fireActionPerformed): Likewise.
6607         (fireStateChanged): Likewise.
6608         * javax/swing/DefaultButtonModel.java
6609         (fireItemStateChanged): Likewise.
6610         (fireActionPerformed): Likewise.
6611         (fireStateChanged): Likewise.
6612         * javax/swing/JApplet.java
6613         (JApplet): Removed.
6614         (frameInit): Likewise.
6615         (setRootPane): Made protected.
6616         (createRootPane): Likewise.
6617         * javax/swing/JComponent.java
6618         (getClientProperty): Likewise.
6619         (putClientProperty): Likewise.
6620         * javax/swing/JEditorPane.java
6621         (getContentType): Likewise.
6622         (setContentType): Likewise.
6623         * javax/swing/JFrame.java
6624         (setRootPane): Likewise.
6625         (createRootPane): Likewise.
6626         * javax/swing/JInternalFrame.java
6627         (getFocusCycleRootAncestor): Made final. Added @since tag.
6628         (isFocusCycleRoot): Likewise.
6629         (getWarningString): Made final.
6630         * javax/swing/JScrollBar.java
6631         (changeListener): Removed.
6632         (changeEvent): Likewise.
6633         (createChangeListener): Likewise.
6634         (fireStateChanged): Likewise.
6635         (addChangeListener): Likewise.
6636         (removeChangeListener): Likewise.
6637         (getChangeListeners): Likewise.
6638         * javax/swing/JScrollPane.java
6639         (createViewport): Made protected.
6640         * javax/swing/JViewport.java
6641         (addImpl): Likewise.
6642         (setBorder): New method.
6643         * javax/swing/JWindow.java
6644         (setRootPane): Made protected.
6645         (createRootPane): Likewise.
6646         * javax/swing/plaf/basic/BasicButtonUI.java
6647         (installListeners): Likewise.
6648         (uninstallListeners): Likewise.
6649         * javax/swing/plaf/basic/BasicProgressBarUI.java
6650         (incrementAnimationIndex): Likewise.
6651         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6652         (createLayoutManager): Likewise.
6653         * javax/swing/table/DefaultTableCellRenderer.java
6654         (firePropertyChange): Likewise.
6655         * javax/swing/table/JTableHeader.java
6656         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
6657         New constructor.
6658         * javax/swing/text/PlainDocument.java
6659         (reindex): Made private.
6660         * javax/swing/text/PlainView.java
6661         (drawLine): Made protected.
6662         (getTabSize): Likewise.
6663         * javax/swing/text/View.java
6664         (setSize): Removed.
6665         (preferenceChanged): New method.
6666         (getBreakWeight): Likewise.
6667         (breakView): Likewise.
6668         (getViewIndex): Likewise.
6670 2005-02-15  Michael Koch  <konqueror@gmx.de>
6672         * javax/swing/JScrollPane.java
6673         (ScrollBar): Made class protected.
6674         * javax/swing/JSpinner.java
6675         (JSpinner): Added @since tag.
6676         (listenerList): Removed.
6677         * javax/swing/JTable.java
6678         (setValueAt): New method.
6679         (getColumn): Likewise.
6680         * javax/swing/JWindow.java
6681         (rootPaneCheckingEnabled): Renamed from checking.
6683 2005-02-15  Michael Koch  <konqueror@gmx.de>
6685         * javax/swing/plaf/basic/BasicTextUI.java
6686         (RootView.modelToView): Made it public and return a java.awt.Shape.
6687         Handle null subview.
6688         (uninstall): Set textComponent to null when its not possible used
6689         anymore.
6690         * javax/swing/text/View.java
6691         (setParent): Use better argument name.
6692         (getContainer): Get parent via getParent().
6693         (getViewFactory): Likewise.
6694         (getAttributes): Get element via getElement().
6695         (getStartOffset): Likewise.
6696         (getEndOffset): Likewise.
6697         (getResizeWeight): New method.
6698         (getMaximumSpan): Likewise.
6699         (getMinimumSpan): Likewise.
6700         (setSize): Likewise.
6701         (getGraphics): Likewise.
6703 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6705         * java/awt/Checkbox.java:
6706         (AccessibleAWTCheckbox()): Added public constructor
6707         to call superclass.
6708         * java/awt/Choice.java:
6709         (AccessibleAWTChoice): Added class documentation.
6710         (AccessibleAWTChoice()): Added public constructor
6711         to call superclass.
6712         (AccessibleAWTChoice.getAccessibleAction()): Documented.
6713         (AccessibleAWTChoice.getAccessibleRole()): Documented,
6714         and changed role to COMBO_BOX.
6715         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
6716         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
6717         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
6719 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6720             Michael Koch  <konqueror@gmx.de>
6722         * javax/swing/LayoutFocusTraversalPolicy.java,
6723         javax/swing/SortingFocusTraversalPolicy.java:
6724         New classes.
6725         * Makefile.am: Added new classes.
6726         * Makefike.in: Regenerated.
6729 2005-02-15  Michael Koch  <konqueror@gmx.de>
6731         * javax/swing/DebugGraphics.java: Mostly implemented.
6733 2005-02-15  Michael Koch  <konqueror@gmx.de>
6735         * javax/swing/SwingUtilities.java
6736         (findFocusOwner): New method.
6738 2005-02-15  Michael Koch  <konqueror@gmx.de>
6740         * javax/swing/text/DefaultEditorKit.java
6741         (read): Added '\n' after each line.
6742         * javax/swing/text/PlainView.java
6743         (modelToView): Update metrics.
6744         (drawLine): Use offsets from element.
6745         (paint): Update metrics. Draw all lines.
6747 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6749         * java/awt/Checkbox.java:
6750         (AccessibleAWTCheckbox): Added class documentation
6751         * java/awt/Scrollbar.java:
6752         (AccessibleAWTScrollBar): typo corrected and docs added
6753         (AccessibleAWTScrollBar.getAccessibleRole()): documented
6754         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
6755         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
6756         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
6757         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
6758         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
6759         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
6760         (getAccessibleContext()): name of accessible class corrected
6762 2005-02-15  Mark Wielaard  <mark@klomp.org>
6764         * java/awt/BasicStroke.java (hashCode): Implement.
6765         (equals): Document.
6767 2005-02-15  Michael Koch  <konqueror@gmx.de>
6769         * java/awt/print/PrinterJob.java
6770         (pageDialog): Throws java.awt.HeadlessException.
6771         (printDialog): Likewise.
6773 2005-02-15  Mark Wielaard  <mark@klomp.org>
6775         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
6777 2005-02-15  Michael Koch  <konqueror@gmx.de>
6779         * javax/swing/JTable.java
6780         (getValueAt): New method.
6781         * javax/swing/table/JTableHeader.java
6782         (columnAtPoint): New method.
6784 2005-02-15  Michael Koch  <konqueror@gmx.de>
6786         * javax/swing/JTextField.java
6787         (actions): New field.
6788         (static): Initalize actions field.
6789         (getActions): New method.
6791 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6793         * java/awt/Checkbox.java:
6794         (AccessibleAWTCheckbox): name capitalization corrected
6795         and serialization UID added.
6796         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
6797         documented.
6798         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
6799         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
6800         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
6801         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
6802         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
6803         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
6804         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
6805         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
6806         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
6807         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
6808         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
6809         documented
6810         (getAccessibleContext()): name of accessible class corrected
6812 2005-02-15  Sven de Marothy  <sven@physto.se>
6814         * java/awt/geom/doc-files/Area-1.png,
6815         java/awt/geom/doc-files/Ellipse-1.png,
6816         java/awt/geom/doc-files/GeneralPath-1.png:
6817         New files.
6819 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
6822         Use union to avoid type-punning warning.
6824 2005-02-15  Michael Koch  <konqueror@gmx.de>
6826         * javax/swing/DefaultListSelectionModel.java
6827         (clone): New method.
6829 2005-02-15  Mark Wielaard  <mark@klomp.org>
6831         Reported by Martin Platter <motse@complang.tuwien.ac.at>
6832         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6833         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
6834         Correct method signature of gtkSetFilename.
6836 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
6838         * javax/swing/text/StringContent.java: New file.
6840 2005-02-15  Michael Koch  <konqueror@gmx.de>
6842         * Makefile.am: Added javax/swing/text/StringContent.java.
6843         * Makefile.in: Regenerated.
6845 2005-02-15  Michael Koch  <konqueror@gmx.de>
6847         * gnu/java/awt/ClasspathToolkit.java:
6848         Import statements reworked.
6849         (imageCache): Made it of type java.util.HashMap.
6851 2005-02-15  Michael Koch  <konqueror@gmx.de>
6853         * javax/imageio/stream/MemoryCacheImageInputStream.java:
6854         Reworked import statements.
6856 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6858         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
6859         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
6861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6862         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
6863         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
6865         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
6866         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
6868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
6869         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
6870         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
6871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
6872         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
6874         Rewrite uses of extern variable to be function calls.
6875         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
6876         function, from extern variable.
6877         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6878         (gdk_env): Remove variable, add new function.
6879         (java_vm): Add new variable.
6880         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
6881         java_vm rather than old gdk_env variable.
6883 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6885         * javax/swing/DefaultListModel.java
6886         (add): fire correct event,
6887         (addElement): corrected interval indices in event,
6888         (clear): corrected upper bound for interval, only fire event if
6889         list is not empty,
6890         (setSize): fire appropriate event.
6892 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6894         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
6895         * gnu/awt/xlib/XToolkit.java: Likewise.
6896         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6897         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6898         * gnu/java/awt/ClasspathToolkit.java: Likewise.
6899         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
6900         * java/awt/EventQueue.java (getNextEvent):
6901         Adjust event loop to switch to native mode after 100ms.
6902         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
6903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
6904         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
6905         Wake up event thread.
6906         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6907         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
6908         Adjust event loop to switch to java mode after 100ms.
6910 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6912         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
6913         accidentally removed in last change.
6915 2005-02-15  Michael Koch  <konqueror@gmx.de>
6917         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6918         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
6920 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6922         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
6923         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
6924         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
6925         * jni.cc: Reuse bottom frame between calls, avoid clearing
6926         frame when no local references are made.
6928 2005-02-15  Michael Koch  <konqueror@gmx.de>
6930         * javax/swing/UIDefaults.java (UIDefaults):
6931         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
6932         Fixed HTML entity and removed a redundant comma.
6934 2005-02-15  Michael Koch  <konqueror@gmx.de>
6936         * javax/swing/text/DefaultEditorKit.java
6937         (deinstall): Removed.
6938         (install): Likewise.
6940 2005-02-15  Michael Koch  <konqueror@gmx.de>
6942         * javax/swing/UIDefaults.java (put): Handle value of null.
6944 2005-02-15  Michael Koch  <konqueror@gmx.de>
6946         * java/awt/Robot.java,
6947         java/awt/Scrollbar.java,
6948         java/awt/print/PrinterJob.java,
6949         javax/swing/JTable.java,
6950         javax/swing/text/AbstractDocument.java:
6951         Reworked import statements.
6953 2005-02-15  Michael Koch  <konqueror@gmx.de>
6955         * javax/swing/JEditorPane.java
6956         (read): Implemented.
6957         (write): Likewise.
6958         * javax/swing/text/DefaultEditorKit.java
6959         (page): Renamed from page_url. Made private.
6960         (editorKit): Renamed from kit. Made private.
6961         (ctype): Removed.
6962         (JEditorPane): All constructors reimplemented.
6963         (getContentType): Use content type from editor kit.
6964         (getEditorKit): Return editorKit.
6965         (getEditorKitForContentType):Likewise.
6966         (getPage): Return page.
6967         (setContentType): Reimplemented.
6968         (setEditorKit): Likewise.
6969         (setEditorKitForContentType): Removed wrong implementation.
6970         (setPage): Implemented.
6972 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6974         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6975         (nativeSetIconImageFromData): Re-add native implementation.
6977 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
6979         * javax/swing/table/DefaultTableModel.java
6980         (DefaultTableModel()): Added Javadocs.
6981         (DefaultTableModel(int, int)): Fixed implementation.
6982         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
6983         for negative rowCount.
6984         (DefaultTableModel(Object[], int)): Added Javadocs.
6985         (DefaultTableModel(Vector, Vector)): Likewise.
6986         (DefaultTableModel(Object[][], Object[])): Likewise.
6987         (getDataVector): Likewise.
6988         (setDataVector(Vector, Vector)): Likewise.
6989         (setDataVector(Object[][], Object[])): Likewise.
6990         (newDataAvailable): Likewise.
6991         (newRowsAdded): Likewise.
6992         (rowsRemoved): Likewise.
6993         (setColumnIdentifiers(Vector)): Allow for null argument.
6994         (setColumnIdentifiers(Object[])): Added Javadocs.
6995         (setNumRows): Likewise.
6996         (setRowCount): Adds new rows if necessary, and sends more specific
6997         TableModelEvent.
6998         (setColumnCount): Allow for null columnIdentifiers.
6999         (addColumn(Object)): Added Javadocs.
7000         (addColumn(Object, Vector)): Handle null columnData.
7001         (addColumn(Object, Object[])): Handle columnData with more or less
7002         entries than rows in the table.
7003         (addRow(Vector)): Fire appropriate event.
7004         (addRow(Object[])): Added Javadocs.
7005         (insertRow(int, Vector)): Fire appropriate event.
7006         (insertRow(int, Object[])): Added Javadocs.
7007         (moveRow): Reimplemented.
7008         (removeRow(int)): Fire appropriate event.
7009         (getColumnCount): Allow for null columnIdentifiers.
7010         (getColumnName): Now returns empty string when column index is too
7011         large.
7012         (isCellEditable): Added Javadocs.
7013         (getValueAt): Likewise.
7014         (setValueAt): Fire more specific event.
7015         (convertToVector): Added Javadocs.
7016         * javax/swing/table/TableModel.java
7017         Added Javadocs.
7019 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7021         * libgcj.spec.in (lib): Add -l-javax-imageio.
7023 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7025         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
7026         references to event queue q with method call q().
7027         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
7028         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
7029         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
7030         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
7031         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
7032         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
7033         (q): New method.
7035 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7037         * gnu/java/awt/ClasspathToolkit.java
7038         (registerImageIOSpis): New method.
7039         * gnu/java/awt/image/ImageDecoder.java
7040         (imageDecoder): New constructor using InputStream
7041         (startProduction): Handle existing InputStream.
7042         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7043         (findSimpleIntegerArray): Make public and static.
7044         (updateBufferedImage): Set each pixel, in a loop.
7045         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7046         Implement ImageIO SPI classes.
7047         (createBufferedImage): Rewrite in terms of SPI classes.
7048         * gnu/java/awt/peer/gtk/GtkToolkit.java
7049         (registerImageIOSpis): New method.
7050         * java/lang/reflect/natMethod.cc
7051         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
7052         which lets JNI call interface methods properly.
7053         * javax/imageio/ImageIO.java
7054         (WriterFormatFilter.filter): Fix copy-and-paste typos.
7055         (WriterMIMETypeFilter.filter): Likewise.
7056         (ImageReaderIterator): Pass extension argument through to SPI.
7057         (getReadersByFilter): Likewise.
7058         (getWritersByFilter): Likewise.
7059         (getImageReadersByFormatName): Likewise.
7060         (getImageReadersByMIMEType): Likewise.
7061         (getImageReadersBySuffix): Likewise.
7062         (getImageWritersByFormatName): Likewise.
7063         (getImageWritersByMIMEType): Likewise.
7064         (getImageWritersBySuffix): Likewise.
7065         (read): Implement.
7066         (write): Implement.
7067         * javax/imageio/ImageReader.java
7068         (progressListeners): Initialize.
7069         (setInput): Implement.
7070         * javax/imageio/ImageWriter.java
7071         (progressListeners): Initialize.
7072         (warningListeners): Likewise.
7073         (warningLocales): Likewise.
7074         (setOutput): Test "isInstance" rather than class equality.
7075         * javax/imageio/spi/IIORegistry.java
7076         (static): Add reader and writer SPIs.
7077         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7078         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
7079         (query_formats): New function.
7080         (save_to_stream): Likewise.
7081         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
7083 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7085         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
7086         Call XFlush.
7087         (keyPress): Likewise.
7088         (keyRelease): Likewise.
7090 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
7092         * javax/swing/JTable.java
7093         (columnAtPoint): New Method. Implemented.
7094         (rowAtPoint): Likewise.
7095         (countSelections): Fixed few small count errors.
7096         (getSelections): Likewise.
7097         (setSelectionMode): Set selection mode for column
7098         selection model in addition to row selection model.
7099         * javax/swing/plaf/basic/BasicTableUI.java:
7100         (getRowForPoint): Removed. Replaced by
7101         JTable.rowAtPoint().
7102         (getColForPoint): Removed. Replaced by
7103         JTable.columnAtPoint().
7104         (updateSelection): Updated to call JTable.columnAtPoint
7105         and JTable.rowAtPoint.
7106         * javax/swing/table/DefaultTableColumnModel.java:
7107         (getSelectedColumns): Implemented.
7108         (getSelectedColumnCount): Implemented.
7110 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7112         * Makefile.am
7113         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
7114         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
7115         * Makefile.in: Regenerate.
7116         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
7117         * gnu/awt/xlib/XFramePeer.java: Likewise.
7118         * gnu/awt/xlib/XToolkit.java: Likewise.
7119         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
7120         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
7121         * gnu/java/awt/ClasspathToolkit.java
7122         (nativeQueueEmpty)
7123         (wakeNativeQueue)
7124         (iterateNativeQueue): New methods.
7125         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
7126         * gnu/java/awt/peer/gtk/GtkToolkit.java
7127         (gtkInit): Absorb from defunct GtkMainThread class.
7128         (static): Run gtkInit in static startup block.
7129         (GtkToolkit): Remove construction of GtkMainThread and queue.
7130         (getSystemEventQueueImpl): Construct queue when requested.
7131         (nativeQueueEmpty)
7132         (wakeNativeQueue)
7133         (iterateNativeQueue): New methods.
7134         * java/awt/Component.java (removeNotify): Remove race.
7135         * java/awt/EventDispatchThread.java
7136         (EventDispatchThread): Don't start on construction.
7137         (run): Remove isInterrupted check.
7138         * java/awt/EventQueue.java (shutdown): New flag.
7139         (isShutdown): New method checking J2SE shutdown condition.
7140         (setShutdown): New method.
7141         (getNextEvent): Restructure to use ClasspathToolkit.
7142         (postEvent): Activate new thread on posting, wake thread on
7143         post of possible shutdown condition event.
7144         * java/awt/Frame.java
7145         (Frame): Call noteFrame in all constructors.
7146         (fireDummyEvent): New helper method.
7147         (addNotify): Fire a dummy event to wake up queue.
7148         (removeNotify): Fire a dummy event to wake up queue.
7149         (noteFrame): New method.
7150         (weakFrames): New static field.
7151         (getFrames): Implement.
7152         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
7153         Remove.
7154         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
7155         Move everything from GtkMainThread into this file
7156         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
7157         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
7158         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
7159         New functions to implement single-threaded queue semantics.
7161 2005-02-15  Michael Koch  <konqueror@gmx.de>
7163         * javax/swing/plaf/metal/MetalLookAndFeel.java
7164         (getControlTextFont): New method.
7165         (getMenuTextFont): Likewise.
7166         (getSubTextFont): Likewise.
7167         (getSystemTextFont): Likewise.
7168         (getUserTextFont): Likewise.
7169         (getWindowTitleFont): Likewise.
7171 2005-02-15  Michael Koch  <konqueror@gmx.de>
7173         * javax/swing/text/AbstractDocument.java
7174         (documentFilter): New field.
7175         (getDocumentFilter): New method.
7176         (setDocumentFilter): Likewise.
7177         (dump): Likewise.
7179 2005-02-15  Michael Koch  <konqueror@gmx.de>
7181         * javax/swing/JTree.java
7182         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
7184 2005-02-15  Michael Koch  <konqueror@gmx.de>
7186         * javax/swing/text/AbstractDocument.java
7187         (AbstractElement.getLength): Fixed off-by-one error.
7188         (AbstractElement.children): Made abstract.
7189         (AbstractElement.getAllowsChildren): Likewise.
7190         (AbstractElement.getElement): Likewise.
7191         (AbstractElement.dumpElement): New private method.
7192         (AbstractElement.dump): New method.
7193         (BranchElememt.getName): Fixed implementation.
7194         (BranchElememt.toString): Likewise.
7195         (BranchElememt.getElement): Fixed arguments.
7196         (LeafElement.getName): Fixed implementation.
7197         (LeafElement.toString): Likewise.
7198         * javax/swing/text/GapContent.java
7199         (GapContent): Put default content into buffer.
7200         * javax/swing/text/PlainDocument.java
7201         (reindex): Use empty attribute sets instead of null.
7202         (createDefaultRoot): Reimplemented.
7203         (insertUpdate): Call super method.
7204         (removeUpdate): Likewise.
7205         (getParagraphElement): Implemented.
7207 2005-02-15  Michael Koch  <konqueror@gmx.de>
7209         * gnu/java/awt/ClasspathToolkit.java
7210         (createRobot): Throws java.awt.AWTException.
7211         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
7212         Added '__attribute__((unused))' to all unused method arguments.
7214 2005-02-15  Michael Koch  <konqueror@gmx.de>
7216         * javax/swing/DefaultBoundedRangeModel.java
7217         (fireValueChanged): Fixed off-by-one error.
7219 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7221         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
7222         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
7223         GdkRobotPeer.java.
7224         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
7225         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
7226         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
7227         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
7228         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
7229         (getDefaultScreenDevice): Implement.
7230         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
7231         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
7232         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
7233         * java/awt/Robot.java: Implement.
7234         * java/awt/peer/RobotPeer.java: Rename parameters.
7235         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
7236         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7237         (awt_keycode_to_keysym): Make non-static.
7238         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
7239         AWT_BUTTON3_MASK): Declare constants.
7240         (awt_keycode_to_keysym): Declare.
7242         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
7243         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
7244         and is non-empty pass its value to "make check".
7245         (test_mauve_sim): Likewise.
7247 2005-02-15  Michael Koch  <konqueror@gmx.de>
7249         * javax/imageio/IIOParam.java
7250         (setSourceBands): New method.
7251         (setSourceSubsampling): Likewise.
7252         * javax/imageio/ImageReadParam.java
7253         (setDestination): Likewise.
7254         (setDestinationBands): Likewise.
7255         (setSourceProgressivePasses): Likewise.
7256         * javax/imageio/metadata/IIOInvalidTreeException.java
7257         (serialVersionUID): New static field.
7258         * javax/imageio/metadata/IIOMetadataNode.java
7259         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
7260         (parent): Dont initailize with default value explicitely.
7261         (Object): Likewise.
7262         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
7263         (removeAttributeNode): Likewise.
7264         (removeAttributeNS): Likewise.
7265         (setAttribute): Likewise.
7266         (setAttributeNode): Likewise.
7267         (setAttributeNodeNS): Likewise.
7268         (setAttributeNS): Likewise.
7269         (appendChild): Likewise.
7270         (getNodeValue): Likewise.
7271         (insertBefore): Likewise.
7272         (removeChild): Likewise.
7273         (replaceChild): Likewise.
7274         (setPrefix): Likewise.
7276 2005-02-15  Michael Koch  <konqueror@gmx.de>
7278         * javax/swing/LookAndFeel.java
7279         (getDesktopPropertyValue): New method.
7281 2005-02-15  Michael Koch  <konqueror@gmx.de>
7283         * javax/swing/JTree.java
7284         (hasChildren): New instance field.
7286 2005-02-15  Michael Koch  <konqueror@gmx.de>
7288         * javax/swing/JComponent.java
7289         (getToolTipText): New method.
7290         (getTitledBorderText): Likewise.
7291         (getAccessibleKeyBinding): Likewise.
7292         (getVerifyInputWhenFocusTarget): Likewise.
7293         (setVerifyInputWhenFocusTarget): Likewise.
7294         (verifyInputWhenFocusTarget): New instance field.
7296 2005-02-15  Michael Koch  <konqueror@gmx.de>
7298         * javax/swing/DefaultListSelectionModel.java
7299         (fireValueChanged): New method.
7301 2005-02-15  Michael Koch  <konqueror@gmx.de>
7303         * javax/swing/DefaultBoundedRangeModel.java:
7304         Fixed javadocs all over.
7305         (fireStateChanged): Simplified.
7306         * javax/swing/BoundedRangeModel.java:
7307         Reformatted.
7309 2005-02-15  Michael Koch  <konqueror@gmx.de>
7311         * javax/swing/JRootPane.java
7312         (setMenuBar): Added @deprecated tag.
7313         (getMenuBar): Likewise.
7314         * javax/swing/JTable.java
7315         (sizeColumnsToFit): Likewise.
7317 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
7319         * javax/swing/ImageIcon.java (setImage): Implemented.
7321 2005-02-15  Michael Koch  <konqueror@gmx.de>
7323         * javax/swing/JTable.java:
7324         Removed unused imports.
7326 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
7328         (prepareRenderer): Get column's index in dataModel instead
7329         of column's view index.
7330         (getColumnCount): return count of the columns in ColumnModel,
7331         not in dataModel.
7332         (removeColumn): Implemented.
7333         (moveColumm): Likewise.
7334         (setRowHeight): throw IllegalArgumentException if height is
7335         less then 1.
7336         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
7337         (DefaultTableColumnModel):Add call to createSelectionModel().
7338         (addColumn): Fire columnAdded event to registered listeners.
7339         (removeColumn): Fire columnRemoved event to registered listeners.
7340         (moveColumn): Fire columnMoved event to registered listeners.
7341         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
7342         (getColumnIndex): Changed parameter name.
7343         (setColumnSelectionAllowed): Likewise.
7344         (fireColumnAdded): Implemented.
7345         (fireColumnRemoved): Likewise.
7346         (fireColumnMoved): Likewise.
7347         (fireColumnMarginChanged): Likewise.
7348         (getListeners): Changed parameter name.
7349         (propertyChange): Implemented.
7350         (valueChanged): Changed parameter name.
7351         (createSelectionModel): Implemented.
7353 2005-02-15  Michael Koch  <konqueror@gmx.de>
7355         * gnu/java/awt/peer/gtk/GtkToolkit.java:
7356         Explicitely import used classes.
7357         (getLocalGraphicsEnvironment): Simplify.
7358         * java/awt/Window.java (Window):
7359         Enable code to get the default GraphicsConfiguration.
7361 2005-02-15  Michael Koch  <konqueror@gmx.de>
7363         * javax/swing/plaf/metal/DefaultMetalTheme.java
7364         (CONTROL_TEXT_FONT): New static field.
7365         (MENU_TEXT_FONT): Likewise.
7366         (SUB_TEXT_FONT): Likewise.
7367         (SYSTEM_TEXT_FONT): Likewise.
7368         (USER_TEXT_FONT): Likewise.
7369         (WINDOW_TITLE_FONT): Likewise.
7370         (getControlTextFont): New method.
7371         (getMenuTextFont): Likewise.
7372         (getSubTextFont): Likewise.
7373         (getSystemTextFont): Likewise.
7374         (getUserTextFont): Likewise.
7375         (getWindowTitleFont): Likewise.
7376         * javax/swing/plaf/metal/MetalTheme.java
7377         (BLACK): Initialize with Color.BLACK.
7378         (WHITE): Initialize with Color.WHITE.
7379         (getInactiveControlTextColor): Return getControlDisabled().
7380         (getMenuDisabledForeground): Return getSecondary3().
7381         (getControlTextFont): New abstract method.
7382         (getMenuTextFont): Likewise.
7383         (getSubTextFont): Likewise.
7384         (getSystemTextFont): Likewise.
7385         (getUserTextFont): Likewise.
7386         (getWindowTitleFont): Likewise.
7388 2005-02-15  Michael Koch  <konqueror@gmx.de>
7390         * javax/swing/JFormattedTextField.java
7391         (getFocusLostBehavior): Fixed typo in method name.
7392         (setFocusLostBehavior): Likewise.
7394 2005-02-15  Michael Koch  <konqueror@gmx.de>
7396         * javax/swing/TransferHandler.java:
7397         Reworked import statements.
7399 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7401         * java/awt/Button.java,
7402         java/awt/Canvas.java,
7403         java/awt/Checkbox.java,
7404         java/awt/CheckboxMenuItem.java,
7405         java/awt/Choice.java,
7406         java/awt/Dialog.java,
7407         java/awt/Frame.java,
7408         java/awt/Label.java,
7409         java/awt/List.java,
7410         java/awt/Menu.java,
7411         java/awt/MenuBar.java,
7412         java/awt/MenuItem.java,
7413         java/awt/PopupMenu.java,
7414         java/awt/ScrollPane.java,
7415         java/awt/Scrollbar.java,
7416         java/awt/TextArea.java,
7417         java/awt/Window.java (getAccessibleContext): Clean up comments.
7418         Reformat.
7419         * java/awt/Button.java,
7420         java/awt/Checkbox.java,
7421         java/awt/Choice.java,
7422         java/awt/Menu.java,
7423         java/awt/PopupMenu.java,
7424         java/awt/TextArea.java (getAccessibleContext): Only create new
7425         accessible once.
7426         * java/awt/TextComponent.java (getAccessibleContext): Implement.
7428 2005-02-15  Michael Koch  <konqueror@gmx.de>
7430         * java/awt/Button.java,
7431         javax/swing/JApplet.java,
7432         javax/swing/JFormattedTextField.java,
7433         javax/swing/JWindow.java,
7434         javax/swing/JTree.java,
7435         javax/swing/plaf/basic/BasicEditorPaneUI.java,
7436         javax/swing/plaf/basic/BasicTextPaneUI.java,
7437         javax/swing/plaf/basic/BasicTreeUI.java:
7438         Reworked import statements.
7440 2005-02-15  Michael Koch  <konqueror@gmx.de>
7442         * Makefile.am: Put javax.imageio into its own library and link it
7443         against lib-org-w3c-dom.la to fix bootstrapping.
7444         * Makefile.in: Regenerated.
7446 2005-02-15  Michael Koch  <konqueror@gmx.de>
7448         * javax/swing/text/TextAction.java
7449         (getTextComponent): Simplified. Added Javadoc.
7450         (augmentList): Implemented. Added Javadoc.
7451         (getFocusedComponent): Added javadoc.
7453 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7455         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
7456         getAccessibleContext): Implement.
7457         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
7458         getAccessibleContext): Implement.
7460 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7462         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
7463         Implement.
7464         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
7465         Implement.
7466         * java/awt/Window.java (getAccessibleContext): Fix comment.
7467         Remove extra import.
7469 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7471         * java/awt/Window.java (AccessibleAWTWindow): Implement.
7472         (isActive, isFocused, getAccessibleContext): Implement.
7474 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7476         * java/awt/MenuItem.java (getAccessibleContext): Implement.
7477         * java/awt/MenuComponent.java (accessibleContext): Make package
7478         visible.
7479         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
7480         AccessibleAWTCheckboxMenuItem): Implement.
7482 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7484         * java/awt/List.java: Implement AccessibleAWTList,
7485         AccessibleAWTListChild.
7487 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7489         * java/awt/Choice.java: Add implements declaration for
7490         Accessible.
7492 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7494         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
7495         instead of Object.
7497 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7499         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
7500         implemented interface list.
7502 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
7504         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
7505         * javax/imageio/metadata/IIOAttr.java: New class.
7506         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
7507         * javax/imageio/metadata/IIONodeList.java: New class.
7508         * Makefile.am: Added new files.
7509         * Makefile.in: Regenerated.
7511 2005-02-15  Michael Koch  <konqueror@gmx.de>
7513         * javax/swing/AbstractAction.java,
7514         javax/swing/AbstractCellEditor.java,
7515         javax/swing/AbstractListModel.java,
7516         javax/swing/DefaultBoundedRangeModel.java,
7517         javax/swing/DefaultButtonModel.java,
7518         javax/swing/DefaultCellEditor.java,
7519         javax/swing/DefaultComboBoxModel.java,
7520         javax/swing/DefaultDesktopManager.java,
7521         javax/swing/JMenu.java,
7522         javax/swing/JSlider.java,
7523         javax/swing/KeyStroke.java,
7524         javax/swing/OverlayLayout.java,
7525         javax/swing/ScrollPaneLayout.java,
7526         javax/swing/SizeRequirements.java,
7527         javax/swing/ViewportLayout.java:
7528         Made serialVersionUID private.
7530 2005-02-15  Michael Koch  <konqueror@gmx.de>
7532         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
7533         Reformatted.
7535 2005-02-15  Michael Koch  <konqueror@gmx.de>
7537         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
7539 2005-02-15  Michael Koch  <konqueror@gmx.de>
7541         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
7543 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
7545         * java/awt/EventDispatchThread.java,
7546         java/awt/Toolkit.java:
7547         Don't catch java.lang.ThreadDeath.
7549 2005-02-15  Michael Koch  <konqueror@gmx.de>
7551         * javax/swing/text/PasswordView.java
7552         (drawEchoCharacter): Added javadoc.
7553         (drawSelectedText): Likewise.
7554         (drawUnselectedText): Likewise.
7556 2005-02-15  Michael Koch  <konqueror@gmx.de>
7558         * javax/swing/JRootPane.java
7559         (windowDecorationStyle): New field.
7560         (setMenuBar): New method.
7561         (getMenuBar): Likewise.
7562         (getWindowDecorationStyle): Likewise.
7563         (setWindowDecorationStyle): Likewise.
7565 2005-02-15  Michael Koch  <konqueror@gmx.de>
7567         * javax/swing/DefaultListSelectionModel.java
7568         (leadAnchorNotificationEnabled): Made protected.
7570 2005-02-15  Michael Koch  <konqueror@gmx.de>
7572         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
7573         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
7574         * Makefile.in: Regenerated.
7577 2005-02-15  Michael Koch  <konqueror@gmx.de>
7579         * javax/swing/JFormattedTextField.java: Implemented.
7580         * javax/swing/JWindow.java
7581         (JWindow): New constructors.
7582         (initWindow): Renamed from initFrame.
7583         * javax/swing/UIDefaults.java
7584         (ActiveValue): Made interface static.
7585         (LazyValue): Likewise.
7586         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
7587         (TitlePaneLayout.TitlePaneLayout): New constructor.
7588         * javax/swing/plaf/basic/BasicSliderUI.java
7589         (ChangeHandler): Made public.
7590         (FocusHandler): Likewise.
7591         (PropertyChangeHandler): Likewise.
7592         (ScrollListener): Likewise.
7593         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7594         (FocusHandler): Likewise.
7595         (MouseHandler): Likewise.
7596         * javax/swing/plaf/basic/BasicTextPaneUI.java
7597         (BasicTextPaneUI): Extend BasicEditorPaneUI.
7598         * javax/swing/plaf/basic/BasicToolBarUI.java
7599         (BasicToolBarUI): Simplified. Reworked javadoc.
7600         (canDock): Simplified. Make public.
7601         (DockingListener): Made public.
7602         * javax/swing/text/JTextComponent.java
7603         (navigationFilter): New field.
7604         (getNavigationFilter): New method.
7605         (setNavigationFilter): Likewise.
7607 2005-02-15  Michael Koch  <konqueror@gmx.de>
7609         * javax/swing/plaf/metal/MetalTheme.java
7610         (getControlTextColor): Return getControlInfo().
7611         (getHighlightedTextColor): Return getControlTextColor().
7613 2005-02-15  Michael Koch  <konqueror@gmx.de>
7615         * javax/swing/plaf/basic/BasicButtonListener.java
7616         (BasicButtonListener): New constructor.
7617         * javax/swing/plaf/basic/BasicButtonUI.java
7618         (createButtonListener): Usw new BasicButtonListener constructor.
7620 2005-02-15  Michael Koch  <konqueror@gmx.de>
7622         * javax/imageio/event/package.html,
7623         javax/imageio/metadata/package.html: New files.
7625 2005-02-15  Michael Koch  <konqueror@gmx.de>
7627         * java/awt/image/MemoryImageSource.java: Reformatted.
7629 2005-02-15  Michael Koch  <konqueror@gmx.de>
7631         * javax/swing/tree/TreeCellEditor.java: Refomatted.
7633 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
7635         * java/awt/color/ICC_Profile.java
7636         (finalize): Removed pointless field assignments.
7638 2005-02-15  Michael Koch  <konqueror@gmx.de>
7640         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
7641         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
7642         * Makefile.in: Regenerated.
7644 2005-02-15  Michael Koch  <konqueror@gmx.de>
7646         * javax/swing/text/DefaultStyledDocument.java: New file.
7647         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
7648         * Makefile.in: Regenerated.
7650 2005-02-15  Michael Koch  <konqueror@gmx.de>
7652         * javax/swing/JFileChooser.java
7653         (showDialog): Return CANCEL_OPTION for now.
7654         (showOpenDialog): Likewise.
7655         (showSaveDialog): Likewise.
7657 2005-02-15  Michael Koch  <konqueror@gmx.de>
7659         * javax/swing/JApplet.java
7660         (HIDE_ON_CLOSE): Removed.
7661         (EXIT_ON_CLOSE): Likewise.
7662         (DISPOSE_ON_CLOSE): Likewise.
7663         (DO_NOTHING_ON_CLOSE): Likewise.
7664         (close_action): Likewise.
7665         (getDefaultCloseOperation): Likewise.
7666         (setDefaultCloseOperation): Likewise.
7667         (processWindowEvent): Likewise.
7668         (getPreferredSize): Simplified.
7669         * javax/swing/JInternalFrame.java
7670         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
7671         value.
7672         * javax/swing/JWindow.java
7673         (HIDE_ON_CLOSE): Removed.
7674         (EXIT_ON_CLOSE): Likewise.
7675         (DISPOSE_ON_CLOSE): Likewise.
7676         (DO_NOTHING_ON_CLOSE): Likewise.
7677         (close_action): Likewise.
7678         (processKeyEvent): Likewise.
7679         (setDefaultCloseOperation): Likewise.
7680         (getPreferredSize): Simplified.
7682 2005-02-15  Michael Koch  <konqueror@gmx.de>
7684         * javax/swing/JTextField.java
7685         (getPreferredSize): Re-implemented.
7687 2005-02-15  Michael Koch  <konqueror@gmx.de>
7689         * javax/swing/JLabel.java
7690         (setDisplayedMnemonic): Use only upper case characters.
7691         (setDisplayedMnemonicIndex): Handle index == -1 and fire
7692         PropertyChangeEvent after property got set to the new index.
7694 2005-02-15  Robert Schuster <thebohemian@gmx.net>
7696         * javax/swing/JComboBox.java:
7697         (JComboBox): Removed selection of the
7698         first item in the model.
7700 2005-02-15  Robert Schuster <thebohemian@gmx.net>
7702         * javax/swing/JComboBox.java
7703         added support for no item being selected
7704         (JComboBox): select first or nothing depending on element count
7705         (setModel): cleaned up unneeded "this." usage, added more
7706         docs, made exception behavior match that of the JDK
7707         (setLighWeightPopupEnabled): removed unneeded "this." usage
7708         (setEditable): dito
7709         (setMaximumRowCount): dito
7710         (setRenderer): dito
7711         (setPrototypeDisplayValue): dito
7712         (getSelectedItem): simplified, added more user doc
7713         (setSelectedIndex): corrected exception behavior, added more user doc
7714         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
7715         added performance warning to user doc
7716         (addItem): fixed exception behavior, added user doc
7717         (insertItemAt): dito
7718         (removeItem): dito
7719         (removeItemAt): dito
7720         (removeAll): fixed exception behavior, added user doc, added support
7721         for model not being instance of DefaultComboBoxModel
7722         (getSelectedItemObjects): simplified
7723         (getItemCount): fixed dependency on DefaultComboBoxModel
7724         (getItemAt): fixed dependency on MutableComboBoxModel
7725         * javax/swing/DefaultComboBoxModel.java:
7726         (setSelectedItem): updates selected item only if new
7727         value is null or known (match JDK behavior)
7728         * javax/swing/plaf/basic/BasicComboBoxUI.java:
7729         (paintCurrentValue): renders "" if no item is selected
7731 2005-02-15  Michael Koch  <konqueror@gmx.de>
7733         * javax/swing/plaf/metal/MetalTheme.java,
7734         javax/swing/plaf/metal/DefaultMetalTheme.java:
7735         New files.
7736         * javax/swing/plaf/metal/MetalLookAndFeel.java
7737         * Makefile.am: Added the new files.
7738         * Makefile.in: Regenerated.
7740 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
7742         * javax/swing/JTable.java
7743         (editorComp): New field.
7744         (JTable): Initialize local variables and call updateUI
7745         (selectionBackground): Make protected.
7746         (selectionForeground): Likewise.
7747         (initializeLocalVars): Create default editors and renderers,
7748         initialize editingColumn, editingRow variables.
7749         (createDefaultEditors): New Method.
7750         (createDefaultRenderers): Likewise.
7751         (createDefaultListSelectionModel): Removed
7752         (createDefaultSelectionModel): New Method.
7753         (createDefaultTableHeader): Likewise
7754         (removeColumn): Likewise.
7755         (getEditingColumn): Likewise.
7756         (setEditingColumn): Likewise.
7757         (getEditingRow): Likewise.
7758         (setEditingRow): Likewise.
7759         (getEditorComponent): Likewise.
7760         (isEditing): Likewise.
7761         (setDefaultEditor): Likewise.
7762         (addColumnSelectionInterval): Likewise.
7763         (addRowSelectionInterval): Likewise.
7764         (setColumnSelectionInterval): Likewise.
7765         (setRowSelectionInterval): Likewise.
7766         (removeColumnSelectionInterval): Likewise.
7767         (removeRowSelectionInterval): Likewise.
7768         (isColumnSelected): Likewise.
7769         (isRowSelected): Likewise.
7770         (isCellSelected): Likewise.
7771         (selectAll): Likewise.
7773 2005-02-15  Michael Koch  <konqueror@gmx.de>
7775         * javax/swing/JTable.java
7776         (addColumn): New method.
7777         (getColumnClass): Likewise.
7778         (getColumnName): Likewise.
7780 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
7782         * javax/swing/TransferHandler.java
7783         (createTransferable): Made protected.
7785 2005-02-15  Michael Koch  <konqueror@gmx.de>
7787         * javax/swing/JTable.java,
7788         javax/swing/plaf/basic/BasicTableHeaderUI.java,
7789         javax/swing/plaf/basic/BasicTableUI.java:
7790         Use fixed get/setIntercellSpacing() methods.
7792 2005-02-15  Michael Koch  <konqueror@gmx.de>
7794         * javax/swing/JTable.java
7795         (getIntercellSpacing): Fixed typo in method name.
7796         (setIntercellSpacing): Likewise.
7798 2005-02-15  Michael Koch  <konqueror@gmx.de>
7800         * javax/swing/text/JTextComponent.java
7801         (focusAccelerator): New variable.
7802         (getFocusAccelerator): New method.
7803         (setFocusAccelerator): Likewise.
7805 2005-02-15  Michael Koch  <konqueror@gmx.de>
7807         * javax/swing/JComponent.java
7808         (setTransferHandler): Made public. Fire property change event.
7809         * javax/swing/TransferHandler.java: Implemented.
7810         * javax/swing/text/JTextComponent.java
7811         (DefaultTransferHandler): New inner class.
7812         (defaultTransferHandler): New variable.
7813         (copy): New method.
7814         (cut): Likewise.
7815         (paste): Likewise.
7816         (doTransferAction): Likewise.
7818 2005-02-15  Michael Koch  <konqueror@gmx.de>
7820         * javax/swing/JTree.java
7821         (collapsePath): New method.
7822         (collapseRow): Likewise.
7823         (expandPath): Likewise.
7824         (expandRow): Likewise.
7825         (checkExpandParents): Likewise.
7826         (doExpandParents): Likewise.
7827         (setExpandedState): Likewise.
7828         (makeVisible): Likewise.
7830 2005-02-15  Michael Koch  <konqueror@gmx.de>
7832         * javax/swing/JPasswordField.java: Updated javadocs.
7834 2005-02-15  Michael Koch  <konqueror@gmx.de>
7836         * javax/swing/JLayeredPane.java
7837         (getLayer): Fixed return type, made public.
7838         (getPosition): Use new getLayer().
7839         (SetPosition): Likewise.
7840         (getIndexOf): Likewise.
7841         (remove): Likewise.
7842         * javax/swing/JInternalFrame.java
7843         (getLayer): Use new JLayeredPane.getLayer().
7846 2005-02-15  Michael Koch  <konqueror@gmx.de>
7848         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
7849         (setHeaderValue): Simplified. Do nothing when old value == new value.
7851 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7853         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
7854         against null clip region.
7855         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
7856         gtkWindowSetResizable.
7857         (postConfigureEvent): Only revalidate if frame size has changed.
7858         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
7859         Only revalidate if frame size has changed.
7860         * java/awt/Component.java (reshape): Only repaint and post
7861         component events if component is showing.
7862         * java/awt/Container.java (addImpl): Only post container event if
7863         container is showing.
7864         (remove): Likewise.
7865         * java/awt/Window.java (setLocationRelativeTo): Implement.
7866         (setBoundsCallback): Only post component events if component is
7867         showing.
7868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
7869         Protect against null graphics structure.  Flush gdk event queue.
7871 2005-02-15  Michael Koch  <konqueror@gmx.de>
7873         * javax/imageio/ImageReader.java,
7874         javax/imageio/ImageTranscoder.java,
7875         javax/imageio/ImageWriter.java,
7876         javax/imageio/spi/ImageInputStreamSpi.java,
7877         javax/imageio/spi/ImageOutputStreamSpi.java,
7878         javax/imageio/spi/ServiceRegistry.java,
7879         javax/imageio/stream/ImageInputStream.java,
7880         javax/imageio/stream/ImageOutputStream.java: Updated.
7881         * javax/imageio/IIOException.java,
7882         javax/imageio/IIOImage.java,
7883         javax/imageio/IIOParam.java,
7884         javax/imageio/IIOParamController.java,
7885         javax/imageio/ImageIO.java,
7886         javax/imageio/ImageReadParam.java,
7887         javax/imageio/ImageTypeSpecifier.java,
7888         javax/imageio/ImageWriteParam.java,
7889         javax/imageio/spi/IIORegistry.java,
7890         javax/imageio/spi/ImageReaderSpi.java,
7891         javax/imageio/spi/ImageWriterSpi.java,
7892         javax/imageio/stream/FileCacheImageInputStream.java,
7893         javax/imageio/stream/FileCacheImageOutputStream.java,
7894         javax/imageio/stream/FileImageInputStream.java,
7895         javax/imageio/stream/FileImageOutputStream.java,
7896         javax/imageio/stream/ImageInputStreamImpl.java,
7897         javax/imageio/stream/ImageOutputStreamImpl.java,
7898         javax/imageio/stream/MemoryCacheImageInputStream.java,
7899         javax/imageio/stream/MemoryCacheImageOutputStream.java,
7900         javax/imageio/event/IIOReadProgressListener.java,
7901         javax/imageio/event/IIOReadUpdateListener.java,
7902         javax/imageio/event/IIOReadWarningListener.java,
7903         javax/imageio/event/IIOWriteProgressListener.java,
7904         javax/imageio/event/IIOWriteWarningListener.java,
7905         javax/imageio/metadata/IIOMetadata.java,
7906         javax/imageio/metadata/IIOMetadataController.java,
7907         javax/imageio/metadata/IIOMetadataFormat.java,
7908         javax/imageio/metadata/IIOInvalidTreeException.java,
7909         javax/imageio/metadata/IIOMetadataFormatImpl.java,
7910         javax/imageio/metadata/IIOMetadataNode.java: New files.
7911         * Makefile.am (javax_source_files): Added new files
7912         * Makefile.in: Regenerated.
7914 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7916         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7917         Rework painting into BufferedImages
7918         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7919         Construct BufferedImage with alpha only when alpha is
7920         present in colormodel.
7921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7922         Rework painting into client-side jint arrays.
7923         * jni/gtk-peer/gtkcairopeer.h:
7924         Likewise.
7926 2005-02-15  Michael Koch  <konqueror@gmx.de>
7928         * javax/swing/DefaultListCellRenderer.java
7929         (serialVersionUID): Made private.
7930         (getListCellRendererComponent): Set horizontal alignment.
7931         * javax/swing/JLabel.java
7932         (setVerticalAlignment): Re-implemented.
7933         (setHorizontalAlignment): Do nothing if old value = new value.
7934         * javax/swing/JList.java
7935         (setCellRenderer): Likewise.
7936         (setModel): Re-implemented.
7937         (setSelectionModel): Likewise.
7939 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
7941         * java/awt/Component.java,
7942         java/awt/geom/Rectangle2D.java:
7943         Javadoc fixes.
7945 2005-02-15  Michael Koch  <konqueror@gmx.de>
7947         * javax/swing/AbstractListModel.java
7948         (fireContentsChanged): Simplified.
7949         (fireIntervalAdded): Likewise.
7950         (fireIntervalRemoved): Likewise.
7951         * javax/swing/DefaultSingleSelectionModel.java:
7952         Reformatted.
7953         (fireStateChanged): Simplified.
7954         * javax/swing/JPopupMenu.java
7955         (setSelectionModel): Set property.
7957 2005-02-15  Michael Koch  <konqueror@gmx.de>
7959         * java/awt/print/Book.java: Reformatted.
7961 2005-02-15  Michael Koch  <konqueror@gmx.de>
7963         * java/awt/geom/Area.java
7964         (QuadSegment.curveArea): Remove unused variables.
7965         (CubicSegment.curveArea): Likewise.
7967 2005-02-15  Michael Koch  <konqueror@gmx.de>
7969         * javax/swing/JTree.java
7970         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
7971         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
7972         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
7973         (EXPANDED): New constant.
7974         (COLLAPSED): Likewise.
7975         (nodeStates): New field.
7976         (cellEditor): New method.
7977         (cellRenderer): Likewise.
7978         (selectionModel): Likewise.
7979         (treeModel): Likewise.
7980         (scrollPathToVisible): Likewise.
7981         (scrollRowToVisible): Likewise.
7982         (isCollapsed): Likewise.
7983         (isExpanded): Likewise.
7984         (clearToggledPaths): Likewise.
7985         (getDescendantToggledPaths): Likewise.
7986         (hasBeenExpanded): Likewise.
7987         (isVisible): Likewise.
7988         (isPathEditable): Likewise.
7990 2005-02-15  Michael Koch  <konqueror@gmx.de>
7992         * javax/swing/JLayeredPane.java: Reformatted.
7994 2005-02-15  Michael Koch  <konqueror@gmx.de>
7996         * javax/swing/tree/DefaultMutableTreeNode.java:
7997         Completely Revised.
7998         * javax/swing/tree/MutableTreeNode.java:
7999         Reformatted.
8001 2005-02-15  Michael Koch  <konqueror@gmx.de>
8003         * javax/swing/JFormattedTextField.java
8004         (setDocument): Call setDocument of super class. Don't fire property
8005         change event.
8007 2005-02-15  Sven de Marothy  <sven@physto.se>
8009         * java/awt/image/IndexColorModel.java:
8010         Add FIXME with respect to alpha handling.
8011         (getAlpha): Default to returning opaque pixels.
8012         * java/awt/image/MultiPixelPackedSampleModel.java
8013         (MultiPixelPackedSampleModel): Corrected parameters, order of
8014         bit shifts and masks, stride length off by one.
8016 2005-02-15  Michael Koch  <konqueror@gmx.de>
8018         * javax/swing/JList.java, javax/swing/JTree.java:
8019         Added much new methods and fixed much methods setting bound properties.
8021 2005-02-16  Mark Wielaard  <mark@klomp.org>
8023         * Makefile.am (gnu_xml_source_files): Removed
8024         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
8025         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
8026         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
8027         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
8028         gnu/xml/dom/DomDocumentFragment.java,
8029         gnu/xml/dom/DomProcessingInstruction.java and
8030         gnu/xml/dom/ls/DomLSException.java.
8031         * Makefile.in: Regenerated.
8033 2005-02-16  Tom Tromey  <tromey@redhat.com>
8035         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
8036         attribute index is out of bounds.
8038 2005-02-16  Chris Burdess  <dog@gnu.org>
8040         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
8041         isDeclared methods. Improved performance of isSpecified methods.
8043 2005-02-16  Chris Burdess  <dog@gnu.org>
8045         Fixes bug libgcj/19864
8046         * gnu/xml/dom/DomAttr.java,
8047         gnu/xml/dom/DomCDATA.java,
8048         gnu/xml/dom/DomCDATASection.java,
8049         gnu/xml/dom/DomCharacterData.java,
8050         gnu/xml/dom/DomDOMException.java,
8051         gnu/xml/dom/DomDoctype.java,
8052         gnu/xml/dom/DomDocument.java,
8053         gnu/xml/dom/DomDocumentConfiguration.java,
8054         gnu/xml/dom/DomDocumentFragment.java,
8055         gnu/xml/dom/DomElement.java,
8056         gnu/xml/dom/DomEx.java,
8057         gnu/xml/dom/DomFragment.java,
8058         gnu/xml/dom/DomImpl.java,
8059         gnu/xml/dom/DomIterator.java,
8060         gnu/xml/dom/DomNamedNodeMap.java,
8061         gnu/xml/dom/DomNode.java,
8062         gnu/xml/dom/DomNsNode.java,
8063         gnu/xml/dom/DomPI.java,
8064         gnu/xml/dom/DomProcessingInstruction.java,
8065         gnu/xml/dom/DomText.java,
8066         gnu/xml/dom/DomLSEx.java,
8067         gnu/xml/dom/DomLSException.java,
8068         gnu/xml/dom/DomLSParser.java,
8069         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
8070         implementation class names to conform to Classpath guidelines.  Make
8071         DomLSException use JDK 1.4+ exception chaining.
8072         * gnu/xml/util/SAXNullTransformerFactory.java,
8073         gnu/xml/xpath/Predicate.java: Use constants relative to
8074         declaring class or interface.
8076 2005-02-16  Andrew Haley  <aph@redhat.com>
8078         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
8079         null, create a new AccessControlContext.
8080         * java/security/SecureClassLoader.java (protectionDomainCache):
8081         new field.
8082         (defineClass): Create a new protection domain and add it to our
8083         cache.
8085         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
8086         addStub() to keep track of the stub we've exported.
8087         (unexportObject): Call deleteStub().
8088         * java/rmi/server/RemoteObject.java (stubs): New field.
8089         (addStub): New method.
8090         (deleteStub): New method.
8091         (toStub): Rewrite.
8093         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
8094         true to findHelper (tryParents).
8095         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
8096         Likewise.
8097         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
8098         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
8099         ProtectionDomain.
8100         If tryParents is false, don't scan parent class loaders.
8102         * java/security/Permissions.java (PermissionsHash.implies):
8103         Iterate over the collection and invoke implies() on each
8104         element.
8106 2005-02-16  Andrew Haley  <aph@redhat.com>
8108         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
8109         fields.
8110         (PersistentByteMap): Set name
8111         Magic number changed to 0x67636a64 ("gcjd").
8112         (init): Force the map to be prime.
8113         (emptyPersistentByteMap): File name was a string, now a File.
8114         (addBytes): Share srings between entries.
8115         (stringTableSize): New method.
8116         (capacity): Scale by load factor.
8117         (force): New method.
8118         (getFile): New method.
8119         (close): New method.
8120         (putAll): New method.
8121         (ByteWrapper): New class.
8122         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
8123         (main): Guess the average string size as 32, not 64.
8124         Copy a database before modifying it, so that we can update a
8125         database in a running system.
8126         If a database isn't big enough, resize it.
8127         "-m": new option: merges databases.
8128         "-a": Create a new detabase if it doesn't exist.
8129         (usage): Correct, add new option.
8130         (addJar): Copy a database before modifying it.
8131         (resizeMap): New method.
8133 2005-02-15  David Daney <ddaney@avtrex.com>
8134             Bryce McKinlay  <mckinlay@redhat.com>
8136         * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
8137         * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
8138         ensure that GC threads inherit the new signal mask.
8139         (block_sigchld): Call JvFail rather than throwing exception if
8140         pthread_sigmask() fails.
8142 2005-02-15  Mark Wielaard  <mark@klomp.org>
8144         * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
8145         file path elements are separated by spaces.
8147 2005-02-15  Mark Wielaard  <mark@klomp.org>
8149         * java/util/jar/Attributes.java (Attributes.Name): Add documentation
8150         to describe attributes without a constant field value in this class.
8152 2005-02-15  Michael Koch  <konqueror@gmx.de>
8154         * java/util/jar/Attributes.java
8155         (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
8157 2005-02-15  Mark Wielaard  <mark@klomp.org>
8159         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
8160         space for parsing CLASS_PATH attribute.
8162 2005-02-15  Mark Wielaard  <mark@klomp.org>
8164         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
8165         aside for "GCJLIBS" in directory where jarfiles are loaded.
8166         (JarURLLoader.getClass): Removed method.
8167         (JarURLLoader.toString): Removed method.
8168         (FileResource.toString): Removed method.
8170 2005-02-15  Mark Wielaard  <mark@klomp.org>
8172         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
8173         and/or cause before throwing.
8175 2005-02-15  Richard Henderson  <rth@redhat.com>
8177         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
8178         (libgcj0_convenience_la_SOURCES): ... here.
8179         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
8180         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
8181         * Makefile.in: Regenerate.
8183 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8185         * jawt.c: New file.
8186         * include/jawt.h: Likewise.
8187         * include/jawt_md.h: Likewise.
8188         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
8189         jawt_md.h files.
8190         * include/Makefile.in: Regenerate.
8191         * jni/classpath/classpath_jawt.h: Likewise.
8192         * jni/gtk-peer/gtk_jawt.c: Likewise.
8193         * Makefile.am: Build libjawt.so.
8194         * Makefile.in: Regenerate.
8196 2005-02-14  Tom Tromey  <tromey@redhat.com>
8198         * testsuite/libjava.lang/PR19921.java: Use correct class name.
8200 2005-02-14  Tom Tromey  <tromey@redhat.com>
8202         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
8203         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
8205 2005-02-14  Tom Tromey  <tromey@redhat.com>
8207         For PR java/19929:
8208         * testsuite/libjava.lang/PR19929.out: New file.
8209         * testsuite/libjava.lang/PR19929.java: New file.
8211 2005-02-14  Anthony Green  <green@redhat.com>
8213         PR libgcj/18116
8214         * testsuite/libjava.jni/PR18116.c: New file.
8215         * testsuite/libjava.jni/PR18116.java: New file.
8216         * testsuite/libjava.jni/PR18116.out: New file.
8218 2005-02-13  Anthony Green  <green@redhat.com>
8220         PR libgcj/18116
8221         * jni.cc (nathash_add): Don't strdup the method signature.
8222         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
8223         method signature.
8224         Update copyright.
8226 2005-02-12  Mark Wielaard  <mark@klomp.org>
8228         Fixes bug libgcj/8170
8229         * java/lang/ClassLoader.java (loadClass): Don't rewrap
8230         ClassNotFoundException.
8231         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
8232         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
8233         (remove_internal): New field superceding remove_interpreter.
8234         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
8235         Remove no-class methods starting with "_Jv_". And Replace null
8236         class or method names with the empty string. Stop at either the
8237         MainThread or a real Thread run() method.
8238         (newElement): Made static.
8239         * java/net/URLClassLoader.java (findClass): Throw
8240         ClassNotFoundExceptions including urls, plus parent using toString().
8241         (thisString): New field.
8242         (toString): New method.
8244 2005-02-10  Tom Tromey  <tromey@redhat.com>
8246         * external/sax/Makefile.in: Rebuilt.
8247         * external/sax/Makefile.am (all-local): Removed.
8248         (BUILT_SOURCES): New variable.
8249         (mostlyclean-local): No error if no classes to delete.
8250         * external/w3c_dom/Makefile.in: Rebuilt.
8251         * external/w3c_dom/Makefile.am (all-local): Removed.
8252         (BUILT_SOURCES): New variable.
8253         (mostlyclean-local): No error if no classes to delete.
8255 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
8257         * testsuite/libjava.mauve/xfails: Updated to reflect current state
8258         of mauve and libjava.
8260 2005-02-09  Tom Tromey  <tromey@redhat.com>
8262         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
8263         jar file with OPEN_DELETE.
8264         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
8265         OPEN_DELETE is used.
8267 2005-02-09  Tom Tromey  <tromey@redhat.com>
8269         * java/util/zip/InflaterInputStream.java (markSupported):
8270         Override.
8271         (mark, reset): Likewise.
8273 2005-02-08  Tom Tromey  <tromey@redhat.com>
8275         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
8276         name or port is missing.
8277         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
8278         AUTHORITY_PORT_GROUP): Updated.
8280 2005-02-08  Tom Tromey  <tromey@redhat.com>
8282         * configure: Rebuilt.
8283         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
8284         AC_CHECK_HEADERS.
8286 2005-02-07  Tom Tromey  <tromey@redhat.com>
8288         * java/lang/natRuntime.cc (insertSystemProperties): Set
8289         sun.boot.class.path earlier.
8291 2005-02-07  Tom Tromey  <tromey@redhat.com>
8293         * defineclass.cc (handleClassBegin): Use
8294         _Jv_RegisterInitiatingLoader.
8295         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
8296         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
8297         class.  Use _Jv_UnregisterInitiatingLoader.
8298         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
8299         New function.
8301 2005-02-07  Mark Wielaard  <mark@klomp.org>
8303         Reported by Timo Lindfors <timo.lindfors@iki.fi>
8304         java/util/regex/Matcher.java (lookingAt): Set position when match
8305         found.
8306         (matches): Implemented through lookingAt().
8308 2005-02-07  Mark Wielaard  <mark@klomp.org>
8310         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
8311         * java/util/regex/Pattern.java (split(CharSequence,int)):
8312         Fix while empties > 0 loops.
8314 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
8316         * gnu/java/nio/charset/ISO_8859_1.java,
8317         gnu/java/nio/charset/US_ASCII.java,
8318         gnu/java/nio/charset/UTF_16.java,
8319         gnu/java/nio/charset/UTF_16_LE.java,
8320         gnu/java/nio/charset/UTF_16_BE.java,
8321         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
8322          and aliases according to
8323          "http://www.iana.org/assignments/character-sets",
8324          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
8325          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
8326         * gnu/java/nio/charset/Provider.java: Made charset lookup
8327          case-insensitive which fixes bug #11740.
8329 2005-02-07  Tom Tromey  <tromey@redhat.com>
8331         PR libgcj/19611:
8332         * Makefile.in: Rebuilt.
8333         * Makefile.am (src.zip): New target.
8334         (install-src.zip): Likewise.
8335         (sourcesdir): New variable.
8337 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
8339         * javax/imageio/metadata/IIOMetadataNode.java:
8340         Implemented.
8341         * javax/imageio/metadata/IIOAttr.java,
8342         javax/imageio/metadata/IIONamedNodeMap.java,
8343         javax/imageio/metadata/IIONodeList.java:
8344         New files
8346 2005-02-06  Graydon Hoare  <graydon@redhat.com>
8348         * gnu/java/awt/ClasspathToolkit.java
8349         (registerImageIOSpis): New method.
8350         * javax/imageio/ImageIO.java
8351         (WriterFormatFilter.filter): Fix copy-and-paste typos.
8352         (WriterMIMETypeFilter.filter): Likewise.
8353         (ImageReaderIterator): Pass extension argument through to SPI.
8354         (getReadersByFilter): Likewise.
8355         (getWritersByFilter): Likewise.
8356         (getImageReadersByFormatName): Likewise.
8357         (getImageReadersByMIMEType): Likewise.
8358         (getImageReadersBySuffix): Likewise.
8359         (getImageWritersByFormatName): Likewise.
8360         (getImageWritersByMIMEType): Likewise.
8361         (getImageWritersBySuffix): Likewise.
8362         (read): Implement.
8363         (write): Implement.
8364         * javax/imageio/ImageReader.java
8365         (progressListeners): Initialize.
8366         (setInput): Implement.
8367         * javax/imageio/ImageWriter.java
8368         (progressListeners): Initialize.
8369         (warningListeners): Likewise.
8370         (warningLocales): Likewise.
8371         (setOutput): Test "isInstance" rather than class equality.
8372         * javax/imageio/spi/IIORegistry.java
8373         (static): Add reader and writer SPIs.
8374         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
8376 2005-02-06  Michael Koch  <konqueror@gmx.de>
8378         * javax/imageio/metadata/IIOInvalidTreeException.java
8379         (IIOInvalidTreeException): Reformatted.
8380         * javax/imageio/spi/IIORegistry.java
8381         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
8382         * javax/imageio/stream/MemoryCacheImageInputStream.java:
8383         Reworked import statements.
8385 2005-02-06  Michael Koch  <konqueror@gmx.de>
8387         * javax/imageio/stream/FileImageOutputStream.java:
8388         Implemented.
8390 2005-02-06  Michael Koch  <konqueror@gmx.de>
8392         * javax/imageio/stream/FileCacheImageInputStream.java,
8393         javax/imageio/stream/FileCacheImageOutputStream.java,
8394         javax/imageio/stream/FileImageInputStream.java,
8395         javax/imageio/stream/ImageInputStreamImpl.java,
8396         javax/imageio/stream/ImageOutputStreamImpl.java,
8397         javax/imageio/stream/MemoryCacheImageInputStream.java,
8398         javax/imageio/stream/MemoryCacheImageOutputStream.java:
8399         Added all missing methods in javax.imageio.stream.
8401 2005-02-02  David Daney  <ddaney@avtrex.com>
8403         * java/net/InetAddress.java (InetAddress): Make a private copy of
8404         the address.
8405         * java/net/Inet4Address.java (getAddress): Return a copy of the
8406         address.
8407         * java/net/Inet6Address.java (Inet6Address): Use private copy of
8408         the address
8409         (getAddress): Return a copy of the address.
8410         (equals): Rewrote.
8412 2005-02-02  Tom Tromey  <tromey@redhat.com>
8414         * Makefile.in: Rebuilt.
8415         * Makefile.am (classes.stamp): New target, broken out from
8416         libgcj.jar target.
8417         ($(all_java_class_files)): Depend on it.
8418         (libgcj-@gcc_version@.jar): Likewise.
8419         (all-recursive): Likewise.
8420         (CLEANFILES): Include classes.stamp.
8422 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
8424         * link.cc: Include <stdio.h>
8426 2005-02-02  Tom Tromey  <tromey@redhat.com>
8428         PR libgcj/19681:
8429         * Makefile.in: Rebuilt.
8430         * Makefile.am (ordinary_java_source_files): Added new class.
8431         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
8432         Use system_instance, not instance.
8433         * gnu/gcj/runtime/SystemClassLoader.java: New file.
8434         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
8435         java.class.path.
8436         (system_instance): New field.
8437         (initialize): Initialize the system loader as well.
8438         (VMClassLoader): Default to LIB_CACHE.
8440 2005-02-02  Tom Tromey  <tromey@redhat.com>
8442         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
8443         * prims.cc: Fixed comment.
8445 2005-02-01  Tom Tromey  <tromey@redhat.com>
8447         * Makefile.in: Rebuilt.
8448         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
8449         (.java.class): Use BOOTCLASSPATH.
8451 2005-02-01  Tom Tromey  <tromey@redhat.com>
8453         * external/w3c_dom/Makefile.am: New file.
8454         * external/w3c_dom/Makefile.in: New file.
8455         * external/sax/Makefile.am: New file.
8456         * external/sax/Makefile.in: New file.
8457         * external/Makefile.in: New file.
8458         * external/Makefile.am: New file.
8459         * external/README: New file from Classpath.
8460         * configure, aclocal.m4, Makefile.in: Rebuilt.
8461         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
8462         * Makefile.am (SUBDIRS): Added external.
8463         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
8464         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
8465         (BOOTCLASSPATH): New variable.
8466         (AM_GCJFLAGS): Use it.
8467         (gnu_xml_source_files): New variable.
8468         (libgcj_la_SOURCES): Use it.
8469         (libgcj_la_LDADD): Include new convenience libraries.
8470         (lib_org_ietf_jgss_la_SOURCES): Removed.
8471         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
8472         (lib_org_ietf_jgss_la_LIBADD): Likewise.
8473         (lib_org_w3c_dom_la_SOURCES): Removed.
8474         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
8475         (lib_org_w3c_dom_la_LIBADD): Likewise.
8476         (lib_org_xml_sax_la_SOURCES): Removed.
8477         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
8478         (lib_org_xml_sax_la_LIBADD): Likewise.
8479         (all_java_source_files): Updated.
8480         (property_files): Likewise.
8481         (libgcj-@gcc_version@.jar): Include classes from external/.
8482         (javax_source_files): Updated.
8483         (ordinary_java_source_files): Updated.
8484         * javax/xml/XMLConstants.java,
8485         javax/xml/datatype/DatatypeConfigurationException.java,
8486         javax/xml/datatype/DatatypeConstants.java,
8487         javax/xml/datatype/DatatypeFactory.java,
8488         javax/xml/datatype/Duration.java,
8489         javax/xml/datatype/XMLGregorianCalendar.java,
8490         javax/xml/datatype/package.html,
8491         javax/xml/namespace/NamespaceContext.java,
8492         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
8493         javax/xml/parsers/DocumentBuilder.java,
8494         javax/xml/parsers/DocumentBuilderFactory.java,
8495         javax/xml/parsers/FactoryConfigurationError.java,
8496         javax/xml/parsers/ParserConfigurationException.java,
8497         javax/xml/parsers/SAXParser.java,
8498         javax/xml/parsers/SAXParserFactory.java,
8499         javax/xml/parsers/package.html,
8500         javax/xml/transform/ErrorListener.java,
8501         javax/xml/transform/OutputKeys.java,
8502         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
8503         javax/xml/transform/SourceLocator.java,
8504         javax/xml/transform/Templates.java,
8505         javax/xml/transform/Transformer.java,
8506         javax/xml/transform/TransformerConfigurationException.java,
8507         javax/xml/transform/TransformerException.java,
8508         javax/xml/transform/TransformerFactory.java,
8509         javax/xml/transform/TransformerFactoryConfigurationError.java,
8510         javax/xml/transform/URIResolver.java,
8511         javax/xml/transform/package.html,
8512         javax/xml/transform/dom/DOMLocator.java,
8513         javax/xml/transform/dom/DOMResult.java,
8514         javax/xml/transform/dom/DOMSource.java,
8515         javax/xml/transform/dom/package.html,
8516         javax/xml/transform/sax/SAXResult.java,
8517         javax/xml/transform/sax/SAXSource.java,
8518         javax/xml/transform/sax/SAXTransformerFactory.java,
8519         javax/xml/transform/sax/TemplatesHandler.java,
8520         javax/xml/transform/sax/TransformerHandler.java,
8521         javax/xml/transform/sax/package.html,
8522         javax/xml/transform/stream/StreamResult.java,
8523         javax/xml/transform/stream/StreamSource.java,
8524         javax/xml/transform/stream/package.html,
8525         javax/xml/validation/Schema.java,
8526         javax/xml/validation/SchemaFactory.java,
8527         javax/xml/validation/TypeInfoProvider.java,
8528         javax/xml/validation/Validator.java,
8529         javax/xml/validation/ValidatorHandler.java,
8530         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
8531         javax/xml/xpath/XPathConstants.java,
8532         javax/xml/xpath/XPathException.java,
8533         javax/xml/xpath/XPathExpression.java,
8534         javax/xml/xpath/XPathExpressionException.java,
8535         javax/xml/xpath/XPathFactory.java,
8536         javax/xml/xpath/XPathFactoryConfigurationException.java,
8537         javax/xml/xpath/XPathFunction.java,
8538         javax/xml/xpath/XPathFunctionException.java,
8539         javax/xml/xpath/XPathFunctionResolver.java,
8540         javax/xml/xpath/XPathVariableResolver.java,
8541         javax/xml/xpath/package.html: New files, from GNU JAXP.
8542         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
8543         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
8544         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
8545         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
8546         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
8547         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
8548         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
8549         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
8550         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
8551         org/w3c/dom/ranges/DocumentRange.java,
8552         org/w3c/dom/ranges/Range.java,
8553         org/w3c/dom/ranges/RangeException.java,
8554         org/w3c/dom/traversal/DocumentTraversal.java,
8555         org/w3c/dom/traversal/NodeFilter.java,
8556         org/w3c/dom/traversal/NodeIterator.java,
8557         org/w3c/dom/traversal/TreeWalker.java,
8558         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
8559         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
8560         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
8561         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
8562         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
8563         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
8564         org/xml/sax/SAXNotRecognizedException.java,
8565         org/xml/sax/SAXNotSupportedException.java,
8566         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
8567         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
8568         org/xml/sax/ext/DeclHandler.java,
8569         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
8570         org/xml/sax/helpers/AttributeListImpl.java,
8571         org/xml/sax/helpers/AttributesImpl.java,
8572         org/xml/sax/helpers/DefaultHandler.java,
8573         org/xml/sax/helpers/LocatorImpl.java,
8574         org/xml/sax/helpers/NamespaceSupport.java,
8575         org/xml/sax/helpers/NewInstance.java,
8576         org/xml/sax/helpers/ParserAdapter.java,
8577         org/xml/sax/helpers/ParserFactory.java,
8578         org/xml/sax/helpers/XMLFilterImpl.java,
8579         org/xml/sax/helpers/XMLReaderAdapter.java,
8580         org/xml/sax/helpers/XMLReaderFactory.java,
8581         org/xml/sax/helpers/package.html: Moved to external/.
8582         * external/sax/README,
8583         external/sax/org/xml/sax/AttributeList.java,
8584         external/sax/org/xml/sax/Attributes.java,
8585         external/sax/org/xml/sax/ContentHandler.java,
8586         external/sax/org/xml/sax/DTDHandler.java,
8587         external/sax/org/xml/sax/DocumentHandler.java,
8588         external/sax/org/xml/sax/EntityResolver.java,
8589         external/sax/org/xml/sax/ErrorHandler.java,
8590         external/sax/org/xml/sax/HandlerBase.java,
8591         external/sax/org/xml/sax/InputSource.java,
8592         external/sax/org/xml/sax/Locator.java,
8593         external/sax/org/xml/sax/Parser.java,
8594         external/sax/org/xml/sax/SAXException.java,
8595         external/sax/org/xml/sax/SAXNotRecognizedException.java,
8596         external/sax/org/xml/sax/SAXNotSupportedException.java,
8597         external/sax/org/xml/sax/SAXParseException.java,
8598         external/sax/org/xml/sax/XMLFilter.java,
8599         external/sax/org/xml/sax/XMLReader.java,
8600         external/sax/org/xml/sax/package.html,
8601         external/sax/org/xml/sax/ext/Attributes2.java,
8602         external/sax/org/xml/sax/ext/Attributes2Impl.java,
8603         external/sax/org/xml/sax/ext/DeclHandler.java,
8604         external/sax/org/xml/sax/ext/DefaultHandler2.java,
8605         external/sax/org/xml/sax/ext/EntityResolver2.java,
8606         external/sax/org/xml/sax/ext/LexicalHandler.java,
8607         external/sax/org/xml/sax/ext/Locator2.java,
8608         external/sax/org/xml/sax/ext/Locator2Impl.java,
8609         external/sax/org/xml/sax/ext/package.html,
8610         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
8611         external/sax/org/xml/sax/helpers/AttributesImpl.java,
8612         external/sax/org/xml/sax/helpers/DefaultHandler.java,
8613         external/sax/org/xml/sax/helpers/LocatorImpl.java,
8614         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
8615         external/sax/org/xml/sax/helpers/NewInstance.java,
8616         external/sax/org/xml/sax/helpers/ParserAdapter.java,
8617         external/sax/org/xml/sax/helpers/ParserFactory.java,
8618         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
8619         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
8620         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
8621         external/sax/org/xml/sax/helpers/package.html,
8622         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
8623         external/w3c_dom/org/w3c/dom/Attr.java,
8624         external/w3c_dom/org/w3c/dom/CDATASection.java,
8625         external/w3c_dom/org/w3c/dom/CharacterData.java,
8626         external/w3c_dom/org/w3c/dom/Comment.java,
8627         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
8628         external/w3c_dom/org/w3c/dom/DOMError.java,
8629         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
8630         external/w3c_dom/org/w3c/dom/DOMException.java,
8631         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
8632         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
8633         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
8634         external/w3c_dom/org/w3c/dom/DOMLocator.java,
8635         external/w3c_dom/org/w3c/dom/DOMStringList.java,
8636         external/w3c_dom/org/w3c/dom/Document.java,
8637         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
8638         external/w3c_dom/org/w3c/dom/DocumentType.java,
8639         external/w3c_dom/org/w3c/dom/Element.java,
8640         external/w3c_dom/org/w3c/dom/Entity.java,
8641         external/w3c_dom/org/w3c/dom/EntityReference.java,
8642         external/w3c_dom/org/w3c/dom/NameList.java,
8643         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
8644         external/w3c_dom/org/w3c/dom/Node.java,
8645         external/w3c_dom/org/w3c/dom/NodeList.java,
8646         external/w3c_dom/org/w3c/dom/Notation.java,
8647         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
8648         external/w3c_dom/org/w3c/dom/Text.java,
8649         external/w3c_dom/org/w3c/dom/TypeInfo.java,
8650         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
8651         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
8652         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
8653         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
8654         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
8655         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
8656         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
8657         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
8658         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
8659         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
8660         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
8661         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
8662         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
8663         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
8664         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
8665         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
8666         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
8667         external/w3c_dom/org/w3c/dom/css/Counter.java,
8668         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
8669         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
8670         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
8671         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
8672         external/w3c_dom/org/w3c/dom/css/Rect.java,
8673         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
8674         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
8675         external/w3c_dom/org/w3c/dom/events/Event.java,
8676         external/w3c_dom/org/w3c/dom/events/EventException.java,
8677         external/w3c_dom/org/w3c/dom/events/EventListener.java,
8678         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
8679         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
8680         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
8681         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
8682         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
8683         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
8684         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
8685         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
8686         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
8687         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
8688         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
8689         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
8690         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
8691         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
8692         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
8693         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
8694         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
8695         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
8696         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
8697         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
8698         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
8699         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
8700         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
8701         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
8702         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
8703         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
8704         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
8705         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
8706         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
8707         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
8708         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
8709         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
8710         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
8711         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
8712         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
8713         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
8714         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
8715         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
8716         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
8717         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
8718         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
8719         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
8720         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
8721         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
8722         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
8723         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
8724         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
8725         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
8726         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
8727         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
8728         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
8729         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
8730         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
8731         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
8732         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
8733         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
8734         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
8735         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
8736         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
8737         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
8738         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
8739         external/w3c_dom/org/w3c/dom/ls/LSException.java,
8740         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
8741         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
8742         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
8743         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
8744         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
8745         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
8746         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
8747         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
8748         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
8749         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
8750         external/w3c_dom/org/w3c/dom/ranges/Range.java,
8751         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
8752         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
8753         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
8754         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
8755         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
8756         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
8757         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
8758         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
8759         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
8760         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
8761         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
8762         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
8763         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
8764         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
8765         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
8766         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
8767         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
8768         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
8769         from Classpath.
8771 2005-01-31  Anthony Green  <green@redhat.com>
8773         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
8774         Support IP_MULTICAST_LOOP.
8775         (setOption): Support IP_MULTICAST_LOOP.
8777         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
8778         SO_REUSEADDR support.
8779         (getOption): Support SO_REUSEADDR.
8781 2005-01-28  Jeroen Frijters  <jeroen@frijters.net>
8783         PR libgcj/19649
8784         * java/util/Date.java
8785         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
8786         constructor.
8787         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
8788         arguments.
8789         (getTimezoneOffset): Inverted sign.
8791 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
8793         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
8794         remove other passing tests and add new XFAILs.
8796 2005-01-24  Tom Tromey  <tromey@redhat.com>
8798         * java/lang/Class.h (next): Updated documentation.  Renamed to
8799         'next_or_version'.
8800         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
8801         _Jv_CheckABIVersion.
8802         (_Jv_RegisterClasses_Counted): Likewise.
8803         (_Jv_RegisterClassHookDefault): Fix starting condition of
8804         duplicate-checking loop.
8805         * include/jvm.h (GCJ_VERSION): New define.
8806         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
8807         (_Jv_CheckABIVersion): New function.
8809 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
8811         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
8812         (libgij_la_LDFLAGS): Add.
8813         * Makefile.in: Rebuilt.
8815 2005-01-24  Roger Sayle  <roger@eyesopen.com>
8817         PR java/19295
8818         * testsuite/libjava.compile/PR19295.java: New test case.
8820 2005-01-19  Tom Tromey  <tromey@redhat.com>
8822         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
8823         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
8824         if 'handler' is valid.
8826 2005-01-17  Tom Tromey  <tromey@redhat.com>
8828         * java/text/MessageFormat.java (scanString): Changed how quoting
8829         is handled.
8830         (scanFormatElement): Likewise.
8832 2004-12-07  Mark Wielaard  <mark@klomp.org>
8834         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
8836 2005-01-15  Michael Koch  <konqueror@gmx.de>
8838         PR libgcj/19444
8839         * java/net/URI.java
8840         (AUTHORITY_REGEXP): New regexp constant.
8841         (AUTHORITY_USERINFO_GROUP): New constant.
8842         (AUTHORITY_HOST_GROUP): Likewise.
8843         (AUTHORITY_PORT_GROUP): Likewise.
8844         (port): Changed default value to -1.
8845         (parseURI): Parse authority part and initialize host,
8846         port and userInfo.
8848 2005-01-14  Robin Green  <greenrd@greenrd.org>
8850         * java/io/File.java (toURI): Generate a URI which we understand.
8852 2005-01-13  Graydon Hoare  <graydon@redhat.com>
8854         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
8855         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
8856         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
8857         * jni.cc: Reuse bottom frame between calls, avoid clearing
8858         frame when no local references are made.
8860 2005-01-13  Michael Koch  <konqueror@gmx.de>
8862         PR libgcj/17784
8863         * java/lang/Thread.java
8864         (Thread): Call checkAccess().
8865         (stop): Fixed argument name to match javadoc.
8866         * java/lang/natThread.cc
8867         (interrupt): Call checkAccess().
8868         (stop): Likewise.
8870 2005-01-11  Michael Koch  <konqueror@gmx.de>
8872         PR libgcj/13972
8873         * java/net/URL.java (URL): Handle specs like
8874         "/redir?http://domain2.com/index.html" which start with a slash.
8876 2005-01-11  Michael Koch  <konqueror@gmx.de>
8878         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
8879         * gnu/java/net/BASE64.java,
8880         gnu/java/net/EmptyX509TrustManager.java,
8881         gnu/java/net/LineInputStream.java,
8882         gnu/java/net/protocol/http/Authenticator.java,
8883         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
8884         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
8885         gnu/java/net/protocol/http/ChunkedInputStream.java,
8886         gnu/java/net/protocol/http/Cookie.java,
8887         gnu/java/net/protocol/http/CookieManager.java,
8888         gnu/java/net/protocol/http/Credentials.java,
8889         gnu/java/net/protocol/http/HTTPConnection.java,
8890         gnu/java/net/protocol/http/HTTPDateFormat.java,
8891         gnu/java/net/protocol/http/HTTPURLConnection.java,
8892         gnu/java/net/protocol/http/Headers.java,
8893         gnu/java/net/protocol/http/Request.java,
8894         gnu/java/net/protocol/http/RequestBodyWriter.java,
8895         gnu/java/net/protocol/http/Response.java,
8896         gnu/java/net/protocol/http/ResponseBodyReader.java,
8897         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
8898         gnu/java/net/protocol/http/SimpleCookieManager.java,
8899         gnu/java/net/protocol/http/event/ConnectionEvent.java,
8900         gnu/java/net/protocol/http/event/ConnectionListener.java,
8901         gnu/java/net/protocol/http/event/RequestEvent.java,
8902         gnu/java/net/protocol/http/event/RequestListener.java: New files.
8903         * gnu/java/net/protocol/http/Connection.java: Removed.
8904         * gnu/java/net/protocol/http/Handler.java,
8905         javax/net/ssl/HttpsURLConnection.java: Updated.
8906         * Makefile.am: Added new files and remove old ones.
8907         * Makefile.in: Regenerated.
8909 2005-01-11  Tom Tromey  <tromey@redhat.com>
8911         PR libgcj/18840:
8912         * java/io/BufferedInputStream.java (read): Repeatedly read to
8913         fill buffer.
8914         (refill): Change test to see if buffer must be grown.
8916 2005-01-10  Tom Tromey  <tromey@redhat.com>
8918         * mauve-libgcj: Exclude some swing tests.
8920 2005-01-10  Tom Tromey  <tromey@redhat.com>
8922         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
8923         * java/lang/Package.java (getPackages): Use VMClassLoader when
8924         appropriate.
8925         (getPackage): Likewise.
8926         * prims.cc (_Jv_CreateJavaVM): Call
8927         _Jv_RegisterBootstrapPackages.
8928         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
8929         * java/lang/VMClassLoader.java (getPackage): Rewrote.
8930         (getPackages): Likewise.
8931         (definedPackages): New field.
8932         (definePackageForNative): New method.
8933         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
8934         * java/lang/natVMClassLoader.cc (loadClass): Updated.
8935         * defineclass.cc (handleClassBegin): Use
8936         ClassLoader.findLoadedClass.
8937         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
8938         Rewrote.
8939         (struct _Jv_LoaderInfo): Removed.
8940         (initiated_classes): Likewise.
8941         (_Jv_UnregisterClass): Don't use initiated_classes.
8942         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
8943         (_Jv_FindClass): Register classes found during boostrap.
8944         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
8945         (bootstrap_class_list): New global.
8946         (bootstrap_index): Likewise.
8947         (_Jv_RegisterBootstrapPackages): New function.
8948         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
8949         definePackageForNative.
8950         (findClass): Updated.
8951         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
8952         New method.
8954 2005-01-10  Tom Tromey  <tromey@redhat.com>
8956         PR libgcj/18868:
8957         * include/jvm.h (_Jv_Linker::find_field): Declare.
8958         (_Jv_Linker::find_field_helper): Likewise.
8959         * link.cc (find_field_helper): New method.
8960         (find_field): Likewise.
8961         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
8962         not found.
8963         (link_symbol_table): Use find_field.
8965 2005-01-10  Michael Koch  <konqueror@gmx.de>
8967         PR libgcj/18014
8968         * java/util/Locale.java (Locale): Don't uppercase variant.
8969         (getISOCountries): Fixed typo in javadoc.
8971 2005-01-10  Michael Koch  <konqueror@gmx.de>
8973         * java/util/SimpleTimeZone.java (checkRule):
8974         Throw IllegalArgumentException on invalid month values.
8975         * java/util/TimeZone.java (setID):
8976         Throw NullPointerException if needed.
8978 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8980         * java/util/SimpleTimeZone.java (getOffset):
8981         offset end date with daylight savings
8983 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
8985         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
8986         * testsuite/libjava.compile/PR19277.xfail: Likewise.
8988 2005-01-09  Michael Koch  <konqueror@gmx.de>
8990         PR libgcj/17069
8991         * java/net/InetAddress.java (getLocalHost):
8992         Throw UnknownHostException if local hostname cannot be determined.
8994 2005-01-06  Tom Tromey  <tromey@redhat.com>
8996         * java/lang/ClassLoader.java (findClass): Fixed documentation.
8998 2005-01-07  Michael Koch  <konqueror@gmx.de>
9000         PR libgcj/18115
9001         * java/nio/Buffer.java (address): New field.
9002         * java/nio/DirectByteBufferImpl.java (address): Removed.
9003         * java/nio/MappedByteBufferImpl.java (address): Likewise.
9004         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
9005         Explicitly initialize Buffer.address if needed.
9006         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
9007         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
9008         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
9009         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
9010         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
9011         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
9012         DirectByteBufferImpl object.
9013         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9014         * testsuite/libjava.jni/directbuffer.c,
9015         testsuite/libjava.jni/directbuffer.java,
9016         testsuite/libjava.jni/directbuffer.out,
9017         testsuite/libjava.jni/bytebuffer.c,
9018         testsuite/libjava.jni/bytebuffer.java,
9019         testsuite/libjava.jni/bytebuffer.out: New files.
9021 2005-01-05  Tom Tromey  <tromey@redhat.com>
9023         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
9024         argument.
9025         (compressedSize): Now 'long'.  Default to -1.
9026         (getCompressedSize): Rewrote.
9027         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
9028         deflate at all if we need input.
9030 2005-01-05  Tom Tromey  <tromey@redhat.com>
9032         PR libgcj/15719:
9033         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
9034         correctly.
9036 2005-01-05  Tom Tromey  <tromey@redhat.com>
9038         * java/lang/natRuntime.cc (insertSystemProperties): Set
9039         java.ext.dirs earlier.
9041 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
9043         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
9044         sync_info element of the object if needed.
9046 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
9048         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
9049         a non-zero exit status from 'false'.
9051 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
9053         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.