* unwind-dw2-fde-glibc.c (base_from_cb_data,
[official-gcc.git] / libjava / ChangeLog
blob585acb2271e25b92c6560fcaf200d50a41de51b5
1 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
3         * exception.cc (abort): Remove std::abort hack.
4         (gcc_unreacheable): Define.
6 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
8         * Makefile.am (Makefile.deps): Do not create native.list and
9         bytecodes.list.
10         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
11         * Makefile.in: Regenerate.
13 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
15         * configure.ac (--enable-libgcj-multifile): Remove.
17         * Makefile.am (all_native_compiled_source_files,
18         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
19         all_libgcj_lo_files, all_xlib_lo_files,
20         all_java_deps_files, all_java_stamp_files,
21         all_java_filelist_files): New variables.
22         (EXTRA_DIST): New Automake variable.
23         (CLEANFILES): Add .stamp, .list and .lo files.
24         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
25         (classes.stamp): Depend on $(all_java_stamp_files).
26         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
27         going through write_entries_to_file.
29         (all_java_source_files, all_property_files): Move earlier.
30         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
31         all_java_class_files): Remove.
32         (gtk_awt_peer_sources): Rename to...
33         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
35         (ONESTEP): Remove.
36         (libgcj0_convenience_la_SOURCES): Remove Java source files.
37         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
38         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
39         (libgcj_la_SOURCES): Remove.
40         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
41         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
42         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
44         * configure: Regenerate.
45         * Makefile.in: Regenerate.
46         * external/Makefile.in: Regenerate.
47         * external/sax/Makefile.in: Regenerate.
48         * external/w3c_dom/Makefile.in: Regenerate.
49         * gcj/Makefile.in: Regenerate.
50         * include/Makefile.in: Regenerate.
51         * libltdl/Makefile.in: Regenerate.
52         * testsuite/Makefile.in: Regenerate.
54 2005-05-16  Tom Tromey  <tromey@redhat.com>
56         * java/nio/charset/Charset.java (encode, decode): Synchronize on
57         'this', not the class.
59 2005-05-16  Tom Tromey  <tromey@redhat.com>
61         * gnu/java/net/protocol/http/Headers.java (parse): Include final
62         character of line.
64 2005-05-16  Tom Tromey  <tromey@redhat.com>
66         PR libgcj/21606:
67         * java/net/URI.java (unquote): Handle lower-case letters as well.
69 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
71         PR libgcj/20504
72         gnu/regexp/RE.java: Add support for quoting constructs.
74 2005-05-15  Tom Tromey  <tromey@redhat.com>
76         * java/lang/String.java (startsWith): Fixed javadoc.
78 2005-05-15  Tom Tromey  <tromey@redhat.com>
80         PR java/21519:
81         * testsuite/libjava.compile/pr21519.java: New file.
82         * testsuite/libjava.compile/pr21519.no-link: New file.
84 2005-05-15  Tom Tromey  <tromey@redhat.com>
86         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
88 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
90         PR libgcj/21557
91         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
92         interrupt status flag if _Jv_CondWait is interrupted.
94 2005-05-13  Tom Tromey  <tromey@redhat.com>
96         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
97         element in path.
99 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
101         * include/jvm.h (gcj::verifyClasses): Declare.
102         * link.cc (gcj::verbose_class_flag): Moved.
103         * prims.cc (gcj::verifyClasses): Define here.
104         (gcj::verbose_class_flag): Move definition here.
105         (_Jv_Linker::wait_for_state): Don't call verify_class
106         if gcj::verifyClasses is not set.
107         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.      
109 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
111         * gij.cc (main): Recognize '-verify', '-noverify', and
112         '-verifyremote'
114 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
116         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
118 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
120         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
121         libgcjawt.la.
123 2005-05-11  Tom Tromey  <tromey@redhat.com>
125         * external/w3c_dom/Makefile.in: Rebuilt.
126         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
127         -fbootstrap-classes.
128         * external/sax/Makefile.in: Rebuilt.
129         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
130         -fbootstrap-classes.
131         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
132         friend.
133         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
134         Call _Jv_CopyClassesToSystemLoader.
135         * java/lang/natClassLoader.cc (system_class_list): New global.
136         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
137         classes differently.
138         (_Jv_CopyClassesToSystemLoader): New function.
139         (SYSTEM_LOADER_INITIALIZED): New define.
140         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
141         (_Jv_CheckABIVersion): Use it.
142         (_Jv_ClassForBootstrapLoader): New function.
143         * Makefile.in: Rebuilt.
144         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
146 2005-05-10  Tom Tromey  <tromey@redhat.com>
148         * gcj/javaprims.h: Updated.
149         * java/lang/String.java (String(StringBuilder)): New constructor.
150         * java/lang/natStringBuilder.cc: New file.
151         * java/lang/StringBuilder.java: New file.
152         * Makefile.in: Rebuilt.
153         * Makefile.am (core_java_source_files): Added StringBuilder.java.
154         (nat_source_files): Added natStringBuilder.cc.
156 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
158         PR java/21436
159         * testsuite/libjava.jacks/jacks.xfail: Adjust.
161 2005-05-09  Mike Stump  <mrs@apple.com>
163         * configure: Regenerate.
165 2005-05-09  David Daney  <ddaney@avtrex.com>
167         * java/util/BitSet.java (get(int, int)): Fix breakage when
168         requested set doesn't start on a multiple of 64.
170 2005-05-07  Matthias Klose  <doko@debian.org>
172         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
174 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
176         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
177         * Makefile.in: Regenerate.
178         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
179         (createCompatibleVolatileImage(int,int)): Implement.
180         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
181         Likewise.
182         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
183         New fields.
184         (createVolatileImage): Implement.
185         (createBuffers): Likewise.
186         (getBackBuffer): Likewise.
187         (flip): Likewise.
188         (destroyBuffers): Likewise.
189         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
190         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
191         (CanvasFlipBufferStrategy): Likewise.
192         (createBufferStrategy(int)): New method.
193         (createBufferStrategy(int,BufferCapabilities)): Likewise.
194         * java/awt/Component.java (BltBufferStrategy): Implement and
195         document class.
196         (FlipBufferStrategy): Likewise.
197         * java/awt/Window.java (WindowBltBufferStrategy): New class.
198         (WindowFlipBufferStrategy): Likewise.
199         (createBufferStrategy(int)): New method.
200         (createBufferStrategy(int,BufferCapabilities)): Likewise.
201         (getBufferStrategy): Likewise.
202         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
203         front to frontCaps and back to backCaps.
205 2005-05-06  Michael Koch  <konqueror@gmx.de>
207         * java/awt/BufferCapabilities.java
208         (BufferCapabilities): Merged javadoc.
210 2005-05-06  Michael Koch  <konqueror@gmx.de>
212         * java/util/Locale.java
213         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
214         (getLocale): New methods. Use it everywhere where instances of Locales
215         are needed.
216         (getDisplayLanguage): Merged javadoc.
217         (getDisplayCountry): Likewise.
218         (getDisplayVariant): Likewise.
220 2005-05-06  Archie Cobbs  <archie@dellroad.org>
222         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
223         use DeleteLocalRef() to avoid exhausting local native references.
225 2005-05-06  Mark Wielaard  <mark@klomp.org>
227         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
228         (window_delete_cb): Don't use C++ style comments.
230 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
232         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
233         copyright header.
235 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
237         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
238         (window_delete_cb): Made the function return TRUE.
240 2005-05-06  Roman Kennke  <roman@kennke.org>
242         * javax/swing/text/PlainView.java
243         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
244         offset parameter.
245         * javax/swing/text/Utilities.java
246         (drawTabbedText): Initilialize local variable pos correctly.
248 2005-05-06  Roman Kennke  <roman@kennke.org>
250         * javax/swing/text/AbstractDocument.java
251         (LeafElement): Made start and end package private fields for
252         effective reindexing.
253         * javax/swing/text/PlainDocument.java
254         (constructor): The field rootElement is always BranchElement,
255         so we handle it as such.
256         (removeUpdate): Rewritten reindexing for removeUpdate so that
257         the actual removal is taken into account.
259 2005-05-06  Roman Kennke  <roman@kennke.org>
261         * javax/swing/text/GapContent.java:
262         Removed debugging output stuff, which I accidentally left in.
264 2005-05-06  Roman Kennke  <roman@kennke.org>
266         * javax/swing/text/GapContent.java:
267         Implemented a real GapContent. Only the public methods have
268         been implemented so far and still no UndoableEdit support.
270 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
272         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
273         the typo.
275 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
277         * java/awt/image/BufferStrategy.java: Document.
279         * java/awt/BufferCapabilities.java: Document.
281 2005-05-04  Tom Tromey  <tromey@redhat.com>
283         * java/nio/channels/FileLock.java (toString): Entirely avoid
284         String "+".
286 2005-05-04  Andrew Overholt  <overholt@redhat.com>
288         * java/nio/channels/FileLock.java (toString): Re-implement using
289         StringBuffer.
291 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
293         * java/awt/ImageCapabilities.java: Document.
295         * java/awt/image/VolatileImage.java: Unindent copyright header.
297 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
299         * java/awt/image/VolatileImage.java: Document.
301 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
304         (init_glib_threads): Check if threading system is already
305         initialized.
307 2005-05-03  Andrew Overholt  <overholt@redhat.com>
309         PR libgcj/21372:
310         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
311         could not be acquired.
312         * java/nio/channels/FileLock.java (toString): Re-implement to be
313         in line with other implementations.
315 2005-05-03  Tom Tromey  <tromey@redhat.com>
317         * java/lang/VMSecurityManager.java (currentClassLoader): Use
318         'systemClasssLoader' directly.
320 2005-05-03  Tom Tromey  <tromey@redhat.com>
322         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
323         call VMClassLoader.getSystemClassLoader.
325 2005-04-29  Michael Koch  <konqueror@gmx.de>
327         * java/net/NetworkInterface.java
328         (static): Removed.
329         (NetworkInterface(String,InetAddress)): Made package-private.
330         (NetworkInterface(String,InetAddress[])): New constructor.
331         (getRealNetworkInterfaces): Removed.
332         (getByName): Use VMNetworkInterface.getInterfaces().
333         (getByInetAddress): Likewise.
334         (getNetworkInterfaces): Likewise.
335         * java/net/VMNetworkInterface.java,
336         java/net/natVMNetworkInterfaceNoNet.cc,
337         java/net/natVMNetworkInterfacePosix.c,c
338         java/net/natVMNetworkInterfaceWin32.cc: New files.
339         * java/net/natNetworkInterfaceNoNet.cc,
340         java/net/natNetworkInterfacePosix.cc,
341          java/net/natNetworkInterfaceWin32.cc: Removed.
342         * configure.ac
343         * Makefile.am
344         * configure, Makefile.in: Regenerated.
346 2005-04-29  Andrew Haley  <aph@redhat.com>
348         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
349         
350 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
352         * java/nio/channels/FileChannelImpl.java
353         (FileChannelImpl(String, int)): Removed.
354         (FileChannelImpl(File, int)): Added. Check if opened file is a
355         directory.
356         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
357         Call FileChannelImpl(File, int).
358         * java/io/FileOutputStream.java (FileInputStream): Call
359         FileChannelImpl(File, int).
360         * java/io/RandomAccessFile.java (RandomAccessFile):
361         Call FileChannelImpl(File, int). Switched constructors around.
363 2005-04-27  Andrew Haley  <aph@redhat.com>
365         PR java/19285
366         * prims.cc (_Jv_ResolvePoolEntry): New function.
367         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
368         * link.cc (_Jv_Linker::find_field): New arg: found_class.
369         (resolve_pool_entry): Initialize the class in which a field is
370         found.
371         (link_symbol_table): Pass new arg to found_class.
373 2005-04-29  Michael Koch  <konqueror@gmx.de>
375         * java/nio/charset/Charset.java
376         (provider): Reformatted.
378 2005-04-29  Michael Koch  <konqueror@gmx.de>
380         * gnu/java/net/protocol/http/HTTPConnection.java:
381         (userAgent): Initialize from system properties.
382         (initUserAgent): Removed.
384 2005-04-29  Mark Wielaard  <mark@klomp.org>
386         * java/util/ResourceBundle.java (getObject): Clarify
387         MissingResourceException detailed message.
388         (tryBundle(String,ClassLoader)): Likewise.
390 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
392         * java/beans/FeatureDescriptor.java:
393         (getShortDescription): Implemented fallback mechanism and fixed
394         documentation (fixes bug #12637).
395         (getDisplayName): Dito.
397 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
399         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
400         will now be set correctly.
401         (flushCaches): Now flushes all cached intermediate data.
403 2005-04-28  Michael Koch  <konqueror@gmx.de>
405         * java/net/InetAddress.java
406         (aton): Fixed javadoc.
407         (lookup): Likewise.
409 2005-04-28  Tom Tromey  <tromey@redhat.com>
411         * javax/swing/Timer.java
412         (drainEvents, queueEvent): Now package-private.
414 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
416         * javax/swing/Timer.java
417         (constructor): Assigning initialDelay.
419 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
421         * javax/swing/Timer.java
422         (Waker.run): firing the first action event.
424 2005-04-28  Michael Koch  <konqueror@gmx.de>
426         * javax/swing/Timer.java: Reordered all fields and methods,
427         Added more javadocs.
429 2005-04-28  Michael Koch  <konqueror@gmx.de>
431         * javax/swing/Timer.java: Javadocs merged
432         from GNU classpath.
434 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
436         * gnu/java/net/protocol/file/Connection.java
437         (StaticData): New inner class to contain statics.
438         (connect, getHeaderField): Modified to use StaticData.
440 2005-04-28  Michael Koch  <konqueror@gmx.de>
442         * gnu/java/net/protocol/file/Connection.java
443         (lineSeparator): Initialize with SystemProperties.getProperty().
445 2005-04-27  Chris Burdess  <dog@gnu.org>
447         * gnu/java/net/protocol/file/Connection.java: Return correct content
448         length for directory listing.
449         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
450         #11285: return valid URLs for directories.i
452 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
454         * Makefile.am (ordinary_java_source_files): Add
455         gnu/java/net/protocol/https/Handler.java.
456         * Makefile.in: Regenerate.
457         * java/net/URL.java: Remove org.metastatic.jessie from default
458         protocol search path.
460 2005-04-27  Chris Burdess  <dog@gnu.org>
462         * gnu/java/net/protocol/https/Handler.java: New file.
464 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
466         * javax/imageio/spi/IIORegistry.java (IIORegistry):
467         Don't assume that awt Toolkit is always ClasspathToolkit.
469 2005-04-27  Chris Burdess  <dog@gnu.org>
471         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
472         absolute and relative paths in Location header.
474 2005-04-27  Chris Burdess  <dog@gnu.org>
476         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
477         FileNotFoundException and implement getErrorStream on 404.
479 2005-04-27  Sven de Marothy <sven@physto.se>
481         * java/util/TimeZone.java,
482         (getDefaultDisplayName): Fix previous fix.
484 2005-04-27  Sven de Marothy <sven@physto.se>
486         * java/util/TimeZone.java,
487         (getDefaultDisplayName): Don't print zero offsets.
489 2005-04-27  Roman Kennke  <roman@kennke.org>
491         * javax/swing/plaf/basic/BasicScrollBarUI
492         (getThumbBounds): Do not make thumb smaller than
493         minimumThumbSize.
494         * javax/swing/plaf/metal/MetalLookAndFeel
495         (initComponentDefaults): Added color defaults for ScrollBar.
496         * javax/swing/plaf/metal/MetalScrollBarUI
497         (paintThumb): Added.
498         (getMinimumThumbSize): Added.
500 2005-04-27  Roman Kennke  <roman@kennke.org>
502         * javax/swing/plaf/metal/MetalLookAndFeel
503         (initComponentDefaults): Added some default colors.
505 2005-04-27  Roman Kennke  <roman@kennke.org>
507         * javax/swing/plaf/basic/BasicScrollBarUI.java
508         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
509         to 'ScrollBar.thumbShadow'. The formes does not exist.
510         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
512 2005-04-27  Roman Kennke  <roman@kennke.org>
514         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
515         * javax/swing/BoxLayout.java: Likewise.
516         * javax/swing/UIManager.java: Likewise.
517         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
518         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
519         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
520         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
521         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
522         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
523         * javax/swing/text/Document.java: Likewise.
524         * javax/swing/text/GapContent.java: Likewise.
525         * javax/swing/text/SimpleAttributeSet.java: Likewise.
526         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
528 2005-04-27  Roman Kennke  <roman@kennke.org>
530         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
531         (getPropertyPrefix): Added.
533 2005-04-27  Roman Kennke  <roman@kennke.org>
535         * javax/swing/plaf/basic/BasicButtonUI.java
536         (getPropertyPrefix): Added.
537         (installDefaults): Use getPropertyPrefix instead of hard-coded
538         prefix.
540 2005-04-27  Roman Kennke  <roman@kennke.org>
542         * javax/swing/JToggleButton.java
543         (JToggleButton): Removed horizontalAlignment setting, this
544         was wrong. Added setting of an actionCommand, ToggleButtons
545         have "" as default actionCommand.
547 2005-04-27  Michael Koch  <konqueror@gmx.de>
549         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
550         to work around CNI limitation.
552 2005-04-27  Sven de Marothy  <sven@physto.se>
554         * java/nio/charset/Charset.java:
555         (defaultCharset()): New method.
556         Status updated to 1.5
558 2005-04-27  Sven de Marothy  <sven@physto.se>
560         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
562 2005-04-27  Sven de Marothy  <sven@physto.se>
564         * java/nio/charset/Charset.java: Reset cached de/encoders.
566 2005-04-27  Robert Schuster <thebohemian@gmx.net>
568         * java/nio/charset/Charset.java (forName): Throws
569         IllegalArgumentException when argument is null
570         and added documentation.
572 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
574         * java/nio/charset/Charset.java (providers):
575         New method to make an array of CharsetProviders defined in
576         META-INF/services/java.nio.charset.spi.CharsetProvider.
577         (charsetForName, availableCharsets): Use the
578         new method providers().
580 2005-04-26  Michael Koch  <konqueror@gmx.de>
582         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
583         Fixed typos in javadocs.
584         (isSiteLocalAddress): Fixed handling of byte values.
585         (isMCLinkLocal): Likewise.
586         * java/net/Inet4Address.java
587         (isMulticastAddress): Call super method.
588         (isLoopbackAddress): Likewise.
589         (isAnyLocalAddress): Likewise.
590         (isLinkLocalAddress): Likewise.
591         (isSiteLocalAddress): Likewise.
592         (isMCGlobal): Likewise.
593         (isMCNodeLocal): Likewise.
594         (isMCLinkLocal): Likewise.
595         (isMCSiteLocal): Likewise.
596         (isMCOrgLocal): Likewise.
597         (getHostAddress): Likewise.
599 2005-04-26  Sven de Marothy  <sven@physto.se>
601         * java/net/InetAddress.java
602         (toString): Don't print empty hostnames.
604 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
606         PR libgcj/21136:
607         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
608         'false' to native lock().
609         (lock): Pass 'true' to native lock().
611 2005-04-26  Michael Koch  <konqueror@gmx.de>
613         * java/net/InetAddress.java:
614         Fixed typos in javadocs.
616 2005-04-26  Andrew Haley  <aph@redhat.com>
618         PR libgcj/21020:
619         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
620         field's type.
622 2005-04-26  Tom Tromey  <tromey@redhat.com>
624         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
625         gnu): Now package-private.
626         * javax/swing/text/html/parser/DocumentParser.java (parser,
627         callBack, gnu): Now package-private.
628         * javax/swing/text/StringContent.java (content, setOffset,
629         checkLocation): Now package-private.
630         * javax/swing/text/JTextComponent.java (doc): Now
631         package-private.
632         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
633         lastGoodOrientation, origParent, borders, cachedBounds,
634         cachedOrientation, DragWindow): Now package-private.
635         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
636         decrButton, viewport, panel, currentScrollLocation, layoutManager,
637         tabAreaRect, contentRect, createIncreaseButton,
638         createDecreaseButton, findPointForIndex): Now package-private.
639         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
640         (currentDividerLocation, moveDividerTo): Now package-private.
641         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
642         package-private.
643         * javax/swing/plaf/basic/BasicScrollBarUI.java
644         (calculatePreferredSize, valueForYPosition, valueForXPosition):
645         Now package-private.
646         * javax/swing/plaf/basic/BasicPopupMenuUI.java
647         (topWindowListener): Now package-private.
648         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
649         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
650         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
651         package-private.
652         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
653         package-private.
654         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
655         Now package-private.
656         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
657         package-private.
658         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
659         borderInsets): Now package-private.
660         (arrowButtonWidth): Likewise.  Now a constant.
661         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
662         makeTabs, updatePreviewPanel): Now package-private.
663         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
664         darkShadow, highlight): Now package-private.
665         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
666         (addColorToQueue): Now package-private.
667         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
668         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
669         GSpinner, BSpinner): Now package-private.
670         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
671         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
672         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
673         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
674         updateTrack): Now package-private.
675         * javax/swing/TransferHandler.java (clipboard): Now
676         package-private.
677         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
678         package-private.
679         * javax/swing/Timer.java (drainEvents, queueEvent): Now
680         package-private.
681         * javax/swing/RepaintManager.java (globalManager): Now
682         package-private.
683         * javax/swing/JFormattedTextField.java (editValid): Now
684         package-private.
685         * javax/swing/JColorChooser.java (makeModal): Now
686         package-private.
687         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
688         index, path): Now package-private.
689         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
690         lineQuadIntersect, lineCubicIntersect, linesIntersect,
691         pointEquals): Now package-private.
692         * java/awt/geom/Arc2D.java (type): Now package-private.
693         * java/awt/Window.java (windowFocusOwner): Now package-private.
694         * java/awt/TextComponent.java (editable, selectionStart,
695         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
696         package-private.
697         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
698         package-private.
699         * java/awt/MenuComponent.java (focusListener): Now
700         package-private.
701         * java/awt/Frame.java (state): Now package-private.
702         * java/awt/Choice.java (pItems): Now package-private.
703         * java/awt/Checkbox.java (state): Now package-private.
704         * java/awt/Button.java (actionCommand, label): Now
705         package-private.
706         * gnu/javax/swing/text/html/parser/support/Parser.java
707         (attributes, _handleEndTag_remaining, _handleStartTag): Now
708         package-private.
709         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
710         package-private.
711         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
712         clip, transform, font, comp): Now package-private.
714 2005-04-26  Tom Tromey  <tromey@redhat.com>
716         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
717         static way.
719 2005-04-26  Mark Wielaard  <mark@klomp.org>
721         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
722         to MalformedURLException.
724 2005-04-26  Michael Koch  <konqueror@gmx.de>
726         * java/security/AccessControlContext.java:
727         Reformated.
728         (protectedDomains): Renamed from 'protectionDomain'.
729         * java/security/AccessController.java:
730         Reformatted.
732 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
734         * gnu/java/security/action/GetSecurityPropertyAction.java
735         (GetSecurityPropertyAction): Implement PrivilegedAction instead
736         of extending GetPropertyAction.
737         (name): New field.
738         (value): Likewise.
739         (setParamters): New methods.
740         (GetSecurityPropertyAction): Use new setParameters methods.
742 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
744         * java/security/Security.java,
745         java/security/cert/X509CRLSelector.java,
746         java/security/cert/X509CertSelector.java:
747         Modified to use SystemProperties.
749 2005-04-26  Michael Koch  <konqueror@gmx.de>
751         * java/lang/System.java
752         (setSecurityManager): Fixed comment.
753         (getSecurityManager): Removed obsolete comment.
755 2005-04-25  Tom Tromey  <tromey@redhat.com>
757         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
759 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
761         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
762         (connectSignals): Realize the window widget after connecting
763         signals.
765 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
767         * java/awt/GraphicsEnvironment.java
768         (localGraphicsEnvironment): New field.
769         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
770         property.
771         (isHeadless): Added support for java.awt.headless property.
772         (isHeadlessInstance): Call headless().
774 2005-04-25  Roman Kennke  <roman@kennke.org>
776         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
777         (getDisplayMode): Added. Returns the current display mode.
778         (isFullScreenSupported): Added.
779         * java/awt/GraphicsDevice.java
780         (setFullScreenWindow): Implemented a primitive fullscreen mode.
781         This resizes and relocates the fullscreen window so that it uses
782         the whole screen. This is not a fully accelerated fullscreen
783         exclusive mode.
785 2005-04-25  Michael Koch  <konqueror@gmx.de>
787         * java/lang/Runtime.java,
788         java/lang/SecurityManager.java,
789         java/lang/System.java,
790         java/lang/ThreadGroup.java:
791         Replaced java.lang.Runtime.securityManager by
792         java.lang.SecurityManager.current (as used in GNU classpath).
794 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
796         * java/awt/Transparency.java
797         (getTransparency): fixed API docs.
799 2005-04-25  Archie Cobbs  <archie@dellroad.org>
801         * java/lang/Throwable.java: simplify initializing cause in constructor
803 2005-04-25  Michael Koch  <konqueror@gmx.de>
805         * gnu/classpath/SystemProperties.java: New file.
806         * gnu/classpath/natSystemProperties.cc: New file.
807         * java/lang/Runtime.java
808         (defaultProperties): Removed.
809         (static): Likewise.
810         (): Made thrown exceptions more verbose.
811         (insertSystemProperties): Removed.
812         * java/lang/System.java
813         (static): Likewise.
814         (properties): Likewise.
815         (setSecurityManager): Reordered modifiers.
816         (getenv): Improved javadoc.
817         (): Likewise.
818         (isWordsBigEndian): Removed.
819         * java/lang/natRuntime.cc
820         (_Jv_SetDLLSearchPath): Likewise.
821         (file_encoding): Likewise.
822         (default_file_encoding): Likewise.
823         (getpwuid_adaptor): Likewise.
824         (insertSystemProperties): Likewise.
825         * java/lang/natSystem.cc
826         (isWordsBigEndian): Likewise.
827         * Makefile.am
828         (ordinary_java_source_files):
829         Added gnu/classpath/SystemProperties.java.
830         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
831         * Makefile.in: Regenerated.
833 2005-04-25  Roman Kennke  <roman@kennke.org>
835         * javax/swing/plaf/basic/BasicScrollBarUI.java
836         (initDefaults): Initialize thumb*Color fields correctly.
838 2005-04-25  Roman Kennke  <roman@kennke.org>
840         * javax/swing/text/GapContent.java:
841         Added API comments.
843 2005-04-25  Roman Kennke  <roman@kennke.org>
845         * javax/swing/plaf/metal/MetalBorders.java:
846         Added inner class ScrollPaneBorder.
847         * javax/swing/plaf/metal/MetalLookAndFeel.java
848         (initComponentDefaults): Added default for "ScrollPane.border"
849         to use the new ScrollPaneBorder.
851 2005-04-25  Roman Kennke  <roman@kennke.org>
853         * javax/swing/text/AbstractDocument.java:
854         Added FIXME comments. This class still has to be
855         implemented thread-safe.
857 2005-04-25  Roman Kennke  <roman@kennke.org>
859         * javax/swing/tree/DefaultTreeSelectionModel.java
860         (DefaultTreeSelectionModel): Initialize listenerList here.
862 2005-04-25  Roman Kennke  <roman@kennke.org>
864         * javax/swing/plaf/metal/MetalTextFieldUI.java
865         (createUI): Return one instance per Component instead of a
866         shared instance.
868 2005-04-25  Roman Kennke  <roman@kennke.org>
870         * javax/swing/text/Document.java:
871         Added API documentation comments.
873 2005-04-25  Roman Kennke  <roman@kennke.org>
875         * javax/swing/text/AbstractDocument.java
876         (getDocumentProperties): Implemented.
877         (setDocumentProperties): Implemented.
878         (getProperty): Implemented.
879         (putProperty): Implemented.
881 2005-04-25  Roman Kennke  <roman@kennke.org>
883         * javax/swing/BoxLayout
884         (preferredLayoutSize): Fixed computation so that it correctly
885         adds the top and bottom insets of the container.
887 2005-04-25  Roman Kennke  <roman@kennke.org>
889         * javax/swing/plaf/basic/BasicMenuItemUI.java
890         (paintText): Make use of the 'selectionForeground' UI default
891         for text painting.
893 2005-04-25  Roman Kennke  <roman@kennke.org>
895         * javax/swing/plaf/basic/BasicLookAndFeel.java
896         (initSystemColorDefaults): Modified colors to match the
897         BasicLookAndFeel in the reference implementation.
898         (initComponentDefaults): Likewise.
900 2005-04-25  Tom Tromey  <tromey@redhat.com>
902         * include/jni.h (_Jv_va_list): Removed.
903         Moved configuration code...
904         * include/jni_md.h: ... here.  New file.
905         * include/Makefile.in: Rebuilt.
906         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
908 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
910         * java/io/FileInputStream.java (FileInputStream(File)),
911         java/io/FileOutputStream.java (FileOutputStream(File)):
912         Removed unnecessary File.isDirectory() check.
914 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
916         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
917         gij if get_multilibs fails.
919 2005-04-22  Anthony Green  <green@redhat.com>
921         * jni.cc (natrehash): Don't bother clearing memory again.
922         * interpret.cc (do_allocate_static_fields): Ditto.
923         * java/lang/natString.cc (rehash): Ditto.
925 2005-04-22  Roman Kennke  <roman@kennke.org>
927         * javax/swing/plaf/basic/BasicLookAndFeel.java
928         (initComponentDefaults): Changed Button.border to be
929         BasicBorders.getButtonBorder as it should be.
931 2005-04-22  Roman Kennke  <roman@kennke.org>
933         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
934         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
935         should according to a mauve testcase, instead of the preferred
936         size.
938 2005-04-22  Roman Kennke  <roman@kennke.org>
940         * javax/swing/JMenu.java
941         (add): add(Component) now calls PopupMenu.insert(..) instead of
942         PopupMenu.add(..). add(..) is not implemented for Component,
943         so JComponent.add(..) is called instead, adding the component
944         in the wrong place.
946 2005-04-22  Roman Kennke  <roman@kennke.org>
948         * javax/swing/plaf/basic/BasicButtonListener.java
949         (mousePressed): replaced query to getModifiersEx with getModifiers.
950         This method relied on faulty behaviour in getModifierEx.
951         (mouseReleased): replaced query to getModifiersEx with getModifiers.
952         This method relied on faulty behaviour in getModifierEx.
954 2005-04-22  Roman Kennke  <roman@kennke.org>
956         * javax/swing/plaf/metal/MetalLookAndFeel.java
957         (getDefaults): Call addCustomEntriesToTable on the theme.
959 2005-04-22  Roman Kennke  <roman@kennke.org>
961         * javax/swing/tree/DefaultTreeSelectionModel.java
962         (constructor): Added implementation.
963         (getRowMapper): Added implementation.
964         (setSelectionMode): Added implementation.
965         (getSelectionMode): Added implementation.
966         (getSelectionPath): Added implementation.
967         (getSelectionPaths): Added implementation.
968         (getSelectionCount): Added implementation.
969         (isSelectionEmpty): Added implementation.
970         (getSelectionRows): Added implementation.
971         (getMinSelectionRow): Added implementation.
972         (getMaxSelectionRow): Added implementation.
973         (getLeadSelectionRow): Added implementation.
974         (getLeadSelectionPath): Added implementation.
976 2005-04-22  Casey Marshall <csm@gnu.org>
978         * gnu/java/security/der/DERValue.java
979         (getValueAs): new method.
980         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
981         (<init>): read both dates with 'DERValue.getValueAs', with
982         'GENERALIZED_TIME' as the argument.
984 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
986         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
987         be null, check for that case and don't deference it.
989 2005-04-22  Sven de Marothy  <sven@physto.se>
991         * java/util/logging/LogManager.java: Reformatted.
992         (readConfiguration): If a logger for a key is not found, create one.
994 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
996         * java/rmi/Naming.java:
997         Added class documentation.
998         (lookup(String)): Call parseURL and getName.
999         (bind(String,java.rmi.Remote)): Likewise.
1000         (unbind(String)): Likewise.
1001         (rebind(String, java.rmi.Remote)): Likewise.
1002         (list(String)): Call parseURL.
1003         (parseURL(String)): New method to handle parsing and defaults.
1004         (getName(java.net.URL)): New method to handle finding the service name.
1006 2005-04-21  Tom Tromey  <tromey@redhat.com>
1008         * java/lang/natClass.cc (initializeClass): Link class.
1010 2005-04-21  Tom Tromey  <tromey@redhat.com>
1012         * java/lang/AssertionError.java: Typo fix.
1014 2005-04-21  Tom Tromey  <tromey@redhat.com>
1016         * java/lang/VMClassLoader.java (transformException): Removed.
1017         (resolveClass): No longer native.  Now does nothing.
1018         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1020 2005-04-21  Anthony Green  <green@redhat.com>
1022         PR libgcj/21115
1023         * testsuite/libjava.special/special.exp,
1024         testsuite/libjava.special/pr21115I.java,
1025         testsuite/libjava.special/pr21115.java,
1026         testsuite/libjava.special/pr21115.out: New files.
1028 2005-04-21  Chris Burdess  <dog@gnu.org>
1030         * gnu/java/net/CRLFInputStream.java: Rewrite to return
1031         CRLF-delimited chunks.
1033 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1035         * java/net/URI.java:
1036         Added class documentation.
1037         (parseURI(String)): Only handle scheme-specific parts
1038         if URI is not opaque.  Allow for parts that can't be null.
1039         (toString()): Output the scheme-specific part whole, rather
1040         than as its possibly non-existent components.
1042 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
1044         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1045         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1046         Adjusted to match new regexp.
1048 2005-04-20  Michael Koch  <konqueror@gmx.de>
1050         * gnu/java/net/protocol/file/Connection.java,
1051         gnu/java/net/protocol/jar/Connection.java:
1052         Reorganized import statements. Fixed @author tags.
1054 2005-04-20  Chris Burdess  <dog@gnu.org>
1056         * java/io/DataOutputStream.java (writeUTF): Use block write for
1057         output.
1059 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
1061         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1062         (readLine): Changed newline handling.
1064 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
1066         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1067         ColorModel,byte[],int,int): Fixed byte to int conversion.
1069 2005-04-20  Michael Koch  <konqueror@gmx.de>
1071         * java/io/FilePermission.java
1072         (serialVersionUID): Made private.
1073         (ALL_FILES): New constant.
1074         (implies): Handle '<<ALL FILES>>' case.
1076 2005-04-20  Sven de Marothy  <sven@physto.se>
1078         * gnu/java/awt/peer/gtk/GdkGraphics.java:
1079         (drawImage): Don't notify the image observer for offscreen images.
1080         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1081         (setPixels): Don't notify the image observer.
1083 2005-04-20  Sven de Marothy  <sven@physto.se>
1085         * java/nio/ByteBufferImpl.java:
1086         (putChar): Inlined for speed.
1087         (put, get): Bulk methods can use arraycopy.
1088         * java/nio/CharBufferImpl.java:
1089         (put, get): Bulk methods can use arraycopy.
1091 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
1093         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1094         and field updates.
1095         * java/nio/CharBufferImpl.java
1096         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1097         (get(), put(char)): Inlined checks and field updates. Fixed to
1098         take array_offset into account.
1099         (get(int), put(int, char)): Fixed to take array_offset into account.
1101 2005-04-20  Sven de Marothy  <sven@physto.se>
1103         * java/text/SimpleDateFormat.java:
1104         (formatWithAttribute): Pad year before truncating digits.
1106 2005-04-20  Michael Koch  <konqueror@gmx.de>
1108         * gnu/java/net/PlainDatagramSocketImpl.java:
1109         Merged copyright header.
1110         * gnu/java/net/PlainSocketImpl.java:
1111         Reorganized import statements. Fixed @author tags.
1113 2005-04-20  Michael Koch  <konqueror@gmx.de>
1115         * gnu/java/lang/ClassHelper.java,
1116         gnu/java/lang/reflect/TypeSignature.java:
1117         Fixed @author tag.
1119 2005-04-20  Michael Koch  <konqueror@gmx.de>
1121         * gnu/java/beans/IntrospectionIncubator.java:
1122         Fixed HTML tags in javadocs.
1124 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
1126         * gnu/java/beans/IntrospectionIncubator.java
1127         (addToPropertyHash, addToListenerHash): Don't confuse get(),
1128         set(), is(), add() and remove() with properties or events.
1130 2005-04-20  Michael Koch  <konqueror@gmx.de>
1132         * gnu/java/awt/image/XBMDecoder.java:
1133         Fixed modifier order.
1135 2005-04-20  Roman Kennke  <roman@kennke.org>
1137         * javax/swing/plaf/basic/BasicButtonUI.java
1138         (paint): This should not care about margin and insets
1139         at the same time, as insets already include the margin
1140         through the border.
1141         * javax/swing/plaf/basic/BasicGraphicsUtils.java
1142         (getPreferredButtonSize): Likewise.
1143         * javax/swing/plaf/metal/MetalBorders.java
1144         (getBorderInsets): Likewise.
1146 2005-04-20  Roman Kennke  <roman@kennke.org>
1148         * javax/swing/plaf/basic/BasicOptionPaneUI.java
1149         (createMessageArea): The JPanel that holds the message area
1150         doesn't need to override getPreferredSize. This prevents some
1151         message components from rendering nicely.
1153 2005-04-20  Roman Kennke  <roman@kennke.org>
1155         * javax/swing/plaf/metal/MetalInternalFrameUI.java
1156         (createUI): Do not share instances between components.
1157         * javax/swing/plaf/metal/MetalSliderUI.java
1158         (createUI): Do not share instances between components.
1160 2005-04-20  Roman Kennke  <roman@kennke.org>
1162         * javax/swing/plaf/metal/MetalBorders:
1163         (PopupMenuBorder): Added.
1164         * javax/swing/plaf/metal/MetalLookAndFeel
1165         (initComponentDefaults): Added PopupMenuBorder.
1167 2005-04-20  Roman Kennke  <roman@kennke.org>
1169         * javax/swing/tree/DefaultTreeSelectionModel.java:
1170         Added API documentation all over the class.
1172 2005-04-20  Roman Kennke  <roman@kennke.org>
1174         * javax/swing/plaf/basic/BasicScrollPaneUI.java
1175         (installDefaults): Link managed JScrollPane in instance field.
1176         (uninstallDefaults): Unlink managed JScrollPane in instance field.
1178 2005-04-20  Roman Kennke  <roman@kennke.org>
1180         * javax/swing/plaf/basic/BasicScrollBarUI.java
1181         (PropertyChangeHandler.propertyChange): Add default
1182         to switch statement to avoid errors with unusual values
1183         for orientation.
1184         (installComponents): Likewise.
1186 2005-04-20  Roman Kennke  <roman@kennke.org>
1188         * javax/swing/plaf/metal/MetalScrollBarUI.java:
1189         (createUI): Instances cannot be shared among JScrollPanes.
1191 2005-04-20  Roman Kennke  <roman@kennke.org>
1193         * javax/swing/plaf/metal/MetalLookAndFeel.java
1194         (initComponentDefaults): Added defaults for Menu, MenuBar
1195         MenuEntry fonts.
1197 2005-04-20  Roman Kennke  <roman@kennke.org>
1199         * javax/swing/plaf/basic/BasicScrollBarUI.java
1200         (installUI): Install listeners after everything all, otherwise
1201         we get strange NPEs in some situations, especially with
1202         custom L&Fs.
1203         (createIncreaseButton): Orientation is expected to be
1204         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1205         HORIZONTAL or VERTICAL.
1206         (createDecreaseButton): Orientation is expected to be
1207         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1208         HORIZONTAL or VERTICAL.
1209         (installComponents): Orientation for buttons is expected to be
1210         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1211         HORIZONTAL or VERTICAL.
1213 2005-04-20  Roman Kennke  <roman@kennke.org>
1215         * javax/swing/JToolBar.java
1216         (addImpl): Adjust added AbstractButtons to look and feel like
1217         toolbar buttons.
1218         * javax/swing/plaf/metal/MetalBorders.java:
1219         Adjusted insets of ButtonBorder.
1220         (RolloverMarginBorder): Added class for toolbar buttons.
1221         (getButtonBorder): Adjusted factory method to return a shared
1222         instance of button border.
1223         (getToolbarButtonBorder): Added factory method to return a shared
1224         instance of toolbar button border.
1225         (getMarginBorder): Added factory method to return a shared
1226         instance of margin border.
1227         * javax/swing/plaf/metal/MetalButtonUI.java
1228         (installDefauls): If button is child of a JToolBar then set
1229         special border on this button.
1231 2005-04-20  Michael Koch  <konqueror@gmx.de>
1233         * java/net/URLConnection.java
1234         (getContent): Fixed javadoc comment.
1236 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1238         * java/net/URL.java:
1239         (toURI()): Implemented.
1241 2005-04-19  Michael Koch  <konqueror@gmx.de>
1243         * java/net/InetAddress.java
1244         (InetAddress): Fixed javadoc comment.
1245         (aton): Likewise.
1246         (lookup): Added javadoc.
1247         (getFamily): Likewise.
1248         * java/net/ServerSocket.java
1249         (getChannel): Improved javadoc comment.
1251 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1253         * gnu/xml/dom/html2/DomHTMLParser.java:
1254         Changed 'enum' references to become 'enumeration'.
1256 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
1258         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1260 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1262         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1263         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1264         * gnu/javax/swing/text/html/parser/htmlValidator.java:
1265         (validateParameters(TagElement,htmlAttributeSet)):
1266         Replaced 'enum' with 'enumeration'.
1267         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1268         Likewise.
1270 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
1272         * javax/swing/text/html/parser/Entity.java (getType): New method.
1273         * javax/swing/text/html/parser/DocumentParser.java:
1274         Inherit from javax.swing.text.html.parser.Parser.
1276 2005-04-19  Chris Burdess  <dog@gnu.org>
1278         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1279         check for HTML/XHTML namespace.
1281 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
1283         * javax/swing/text/html/parser/Parser.java,
1284         javax/swing/text/html/parser/Entity.java:
1285         Inheriting from DTDConstants.
1286         * javax/swing/text/html/parser/AttributeList.java
1287         (getValues): Changed return type.
1288         * javax/swing/text/html/parser/DocumentParser
1289         (parse): Adding the callback parameter that receives
1290         the parsing events.
1292 2005-04-19  Chris Burdess  <dog@gnu.org>
1294         * gnu/xml/dom/DomImpl.java,
1295         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1296         gnu/xml/dom/html2/DomHTMLDocument.java,
1297         gnu/xml/dom/html2/DomHTMLElement.java,
1298         gnu/xml/dom/html2/DomHTMLFormElement.java,
1299         gnu/xml/dom/html2/DomHTMLFrameElement.java,
1300         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1301         gnu/xml/dom/html2/DomHTMLImpl.java,
1302         gnu/xml/dom/html2/DomHTMLInputElement.java,
1303         gnu/xml/dom/html2/DomHTMLObjectElement.java,
1304         gnu/xml/dom/html2/DomHTMLOptionElement.java,
1305         gnu/xml/dom/html2/DomHTMLSelectElement.java,
1306         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1307         gnu/xml/dom/html2/DomHTMLTableElement.java,
1308         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1309         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1310         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1311         UI events, and tree utility functions.
1313 2005-04-19  Michael Koch  <konqueror@gmx.de>
1315         * gnu/javax/swing/text/html/parser/HTML_401F.java,
1316         gnu/javax/swing/text/html/parser/gnuDTD.java,
1317         gnu/javax/swing/text/html/parser/models/node.java:
1318         Reworked import statements.
1320 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
1322         * javax/swing/text/html/HTMLDocument.java: New file.
1324 2005-04-19  Michael Koch  <konqueror@gmx.de>
1326         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1327         Reformatted.
1328         * javax/swing/text/html/parser/AttributeList.java:
1329         Fixed order of modifiers.
1330         (AttributeList): Made final.
1331         * javax/swing/text/html/parser/ContentModel.java:
1332         Fixed html characters in javadocs.
1333         * javax/swing/text/html/parser/DTD.java
1334         (DTD): Don't implement java.io.Serializable directly.
1335         (getElement): Simplified.
1336         * javax/swing/text/html/parser/DTDConstants.java:
1337         Reformatted file.
1338         * javax/swing/text/html/parser/Element.java:
1339         Fixed order of modifiers.
1340         * javax/swing/text/html/parser/Parser.java:
1341         Reformatted. Don't use fully-qualified class names.
1342         * javax/swing/text/html/parser/ParserDelegator.java:
1343         Fixed order of modifiers.
1344         * javax/swing/text/rtf/RTFParser.java:
1345         Re-ordered import statements.
1346         * javax/swing/text/rtf/RTFScanner.java:
1347         Removed unused import statement.
1349 2005-04-19  Chris Burdess  <dog@gnu.org>
1351         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1352         gnu/xml/dom/html2/DomHTMLCollection.java,
1353         gnu/xml/dom/html2/DomHTMLDocument.java,
1354         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1355         types.
1356         * gnu/xml/dom/html2/DomHTMLDListElement.java,
1357         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1358         gnu/xml/dom/html2/DomHTMLDivElement.java,
1359         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1360         gnu/xml/dom/html2/DomHTMLFontElement.java,
1361         gnu/xml/dom/html2/DomHTMLFormElement.java,
1362         gnu/xml/dom/html2/DomHTMLFrameElement.java,
1363         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1364         gnu/xml/dom/html2/DomHTMLHRElement.java,
1365         gnu/xml/dom/html2/DomHTMLHeadElement.java,
1366         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1367         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1368         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1369         gnu/xml/dom/html2/DomHTMLImageElement.java,
1370         gnu/xml/dom/html2/DomHTMLInputElement.java,
1371         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1372         gnu/xml/dom/html2/DomHTMLLIElement.java,
1373         gnu/xml/dom/html2/DomHTMLLabelElement.java,
1374         gnu/xml/dom/html2/DomHTMLLegendElement.java,
1375         gnu/xml/dom/html2/DomHTMLLinkElement.java,
1376         gnu/xml/dom/html2/DomHTMLMapElement.java,
1377         gnu/xml/dom/html2/DomHTMLMenuElement.java,
1378         gnu/xml/dom/html2/DomHTMLMetaElement.java,
1379         gnu/xml/dom/html2/DomHTMLModElement.java,
1380         gnu/xml/dom/html2/DomHTMLOListElement.java,
1381         gnu/xml/dom/html2/DomHTMLObjectElement.java,
1382         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1383         gnu/xml/dom/html2/DomHTMLOptionElement.java,
1384         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1385         gnu/xml/dom/html2/DomHTMLParamElement.java,
1386         gnu/xml/dom/html2/DomHTMLPreElement.java,
1387         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1388         gnu/xml/dom/html2/DomHTMLScriptElement.java,
1389         gnu/xml/dom/html2/DomHTMLSelectElement.java,
1390         gnu/xml/dom/html2/DomHTMLStyleElement.java,
1391         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1392         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1393         gnu/xml/dom/html2/DomHTMLTableColElement.java,
1394         gnu/xml/dom/html2/DomHTMLTableElement.java,
1395         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1396         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1397         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1398         gnu/xml/dom/html2/DomHTMLTitleElement.java,
1399         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1401 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
1403         * javax/swing/text/ChangedCharSetException.java,
1404         javax/swing/text/html/HTMLEditorKit.java,
1405         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1406         javax/swing/text/html/parser/AttributeList.java,
1407         javax/swing/text/html/parser/ContentModel.java,
1408         javax/swing/text/html/parser/DocumentParser.java,
1409         javax/swing/text/html/parser/DTD.java,
1410         javax/swing/text/html/parser/DTDConstants.java,
1411         javax/swing/text/html/parser/Element.java,
1412         javax/swing/text/html/parser/Entity.java,
1413         javax/swing/text/html/parser/Parser.java,
1414         javax/swing/text/html/parser/TagElement.java,
1415         gnu/javax/swing/text/html/package.html,
1416         gnu/javax/swing/text/html/parser/gnuDTD.java,
1417         gnu/javax/swing/text/html/parser/HTML_401F.java,
1418         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1419         gnu/javax/swing/text/html/parser/htmlValidator.java,
1420         gnu/javax/swing/text/html/parser/package.html,
1421         gnu/javax/swing/text/html/parser/models/list.java,
1422         gnu/javax/swing/text/html/parser/models/node.java,
1423         gnu/javax/swing/text/html/parser/models/noTagModel.java,
1424         gnu/javax/swing/text/html/parser/models/package.html,
1425         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1426         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1427         gnu/javax/swing/text/html/parser/models/transformer.java,
1428         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1429         gnu/javax/swing/text/html/parser/support/package.html,
1430         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1431         gnu/javax/swing/text/html/parser/support/Parser.java,
1432         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1433         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1434         gnu/javax/swing/text/html/parser/support/low/Constants.java,
1435         gnu/javax/swing/text/html/parser/support/low/Location.java,
1436         gnu/javax/swing/text/html/parser/support/low/node.java,
1437         gnu/javax/swing/text/html/parser/support/low/package.html,
1438         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1439         gnu/javax/swing/text/html/parser/support/low/pattern.java,
1440         gnu/javax/swing/text/html/parser/support/low/Queue.java,
1441         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1442         New files.
1443         * javax/swing/text/html/HTML.java,
1444         javax/swing/text/html/parser/ParserDelegator.java:
1445         New files (replacing).
1446         * javax/swing/text/html/package.html,
1447         javax/swing/text/html/parser/package.html: Documenting the
1448         packages.
1450 2005-04-19  Chris Burdess  <dog@gnu.org>
1452         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1453         gnu/xml/dom/html2/DomHTMLAppletElement.java,
1454         gnu/xml/dom/html2/DomHTMLAreaElement.java,
1455         gnu/xml/dom/html2/DomHTMLBaseElement.java,
1456         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1457         gnu/xml/dom/html2/DomHTMLBodyElement.java,
1458         gnu/xml/dom/html2/DomHTMLBRElement.java,
1459         gnu/xml/dom/html2/DomHTMLButtonElement.java,
1460         gnu/xml/dom/html2/DomHTMLCollection.java,
1461         gnu/xml/dom/html2/DomHTMLDocument.java,
1462         gnu/xml/dom/html2/DomHTMLElement.java: New files.
1464 2005-04-19  Michael Koch  <konqueror@gmx.de>
1466         * Makefile.am: Added new files.
1467         * Makefile.in: Regenerated.
1469 2005-04-19  Roman Kennke  <roman@kennke.org>
1471         * javax/swing/text/JTextComponent.java
1472         (JTextComponent): Added repaintListener which issues repaint
1473         requests when the underlying document changes.
1474         (setDocument): Adds repaintListener to document when the
1475         document is changed.
1476         * javax/swing/text/DefaultEditorKit.java:
1477         Removed repaint calls on JTextComponent. This is now handled
1478         through a DocumentListener in JTextComponent that repaints
1479         the component when needed.
1481 2005-04-19  Roman Kennke  <roman@kennke.org>
1483         PR libgcj/21064
1484         * javax/swing/text/StyleContext.java
1485         (NamedStyle.setResolveParent): Added null
1486         pointer check.
1488 2005-04-19  Michael Koch  <konqueror@gmx.de>
1490         * java/rmi/server/RemoteObject.java:
1491         Removed unused import statement.
1493 2005-04-19  Michael Koch  <konqueror@gmx.de>
1495         * java/net/URL.java: Formatting cleanups.
1497 2005-04-19  Michael Koch  <konqueror@gmx.de>
1499         * java/awt/FontMetrics.java: Reformatted.
1500         (getFontRenderContext): Handle case when java.awt.Graphics context is
1501         given.
1503 2005-04-19  Michael Koch  <konqueror@gmx.de>
1505         * java/awt/FontMetrics.java
1506         (getStringBounds): New methods.
1509 2005-04-19  Michael Koch  <konqueror@gmx.de>
1511         * gnu/java/security/x509/X509Certificate.java
1512         (parse): Handle val == null case.
1514 2005-04-19  Roman Kennke  <roman@kennke.org>
1516         * javax/swing/plaf/metal/MetalLookAndFeel.java
1517         (initComponentDefaults): Added defaults for Menu, MenuBar
1518         MenuEntry fonts.
1520 2005-04-19  Roman Kennke  <roman@kennke.org>
1522         * javax/swing/plaf/metal/MetalLookAndFeel.java
1523         (initComponentDefaults): Added Label.font.
1524         (initSystemColorDefaults): Added this method and adjusted the
1525         general control color.
1527 2005-04-19  Roman Kennke  <roman@kennke.org>
1529         * javax/swing/plaf/metal/MetalBorders.java:
1530         Added.
1531         * javax/swing/plaf/metal/MetalButtonUI.java:
1532         (installDefaults): Install button font.
1533         * javax/swing/plaf/metal/MetalLookAndFeel.java:
1534         (initComponentDefaults): Added button border, font and margin.
1535         Changed components background color to the Metal current themes
1536         standard color.
1538 2005-04-19  Roman Kennke  <roman@kennke.org>
1540         * javax/swing/plaf/metal/MetalLookAndFeel.java
1541         (initComponentDefaults): Added to set Metal specific component
1542         defaults.
1544 2005-04-19  Mark Wielaard  <mark@klomp.org>
1546         * javax/swing/plaf/metal/MetalLookAndFeel.java
1547         (initClassDefaults): Call super.initClassDefaults().
1549 2005-04-19  Roman Kennke  <roman@kennke.org>
1551         * javax/swing/plaf/metal/MetalLookAndFeel.java
1552         (initClassDefaults): Added to include the *UI classes.
1554 2005-04-19  Roman Kennke  <roman@kennke.org>
1556         * javax/swing/plaf/metal/MetalComboBoxUI.java:
1557         Added.
1558         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1559         Added.
1560         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1561         Added.
1562         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1563         Added.
1564         * javax/swing/plaf/metal/MetalProgressBarUI.java:
1565         Added.
1566         * javax/swing/plaf/metal/MetalRootPaneUI.java:
1567         Added.
1568         * javax/swing/plaf/metal/MetalScrollBarUI.java:
1569         Added.
1570         * javax/swing/plaf/metal/MetalSeparatorUI.java:
1571         Added.
1572         * javax/swing/plaf/metal/MetalSliderUI.java:
1573         Added.
1574         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1575         Added.
1576         * javax/swing/plaf/metal/MetalTextFieldUI.java:
1577         Added.
1578         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1580 2005-04-19  Roman Kennke  <roman@kennke.org>
1582         * javax/swing/plaf/metal/MetalButtonUI.java:
1583         Added skeleton class.
1584         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1585         Added skeleton class.
1586         * javax/swing/plaf/metal/MetalLabelUI.java:
1587         Added skeleton class.
1588         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1589         Added skeleton class.
1590         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1591         Added skeleton class.
1592         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1593         Added skeleton class.
1595 2005-04-19  Roman Kennke  <roman@kennke.org>
1597         * javax/swing/UIDefaults.java:
1598         Added API documentation for all methods.
1600 2005-04-19  Roman Kennke  <roman@kennke.org>
1602         * javax/swing/UIDefaults.java
1603         (put): Now uses new checkAndPut method instead of checking
1604         directly.
1605         (putDefaults): Fixed so that it accepts null-values and
1606         treats them like remove(key).
1607         (checkAndPut): Added. This checks for null-values and calls
1608         put or remove.
1610 2005-04-19  Michael Koch  <konqueror@gmx.de>
1612         * Makefile.am: Added new files.
1613         * Makefile.in: Regenerated.
1615 2005-04-19  Mark Wielaard  <mark@klomp.org>
1617         * java/lang/natRuntime.cc (insertSystemProperties): Set
1618         java.class.path to CLASSPATH only when not empty. Fall back to
1619         default path "." when java.class.path is empty.
1621 2005-04-19  Michael Koch  <konqueror@gmx.de>
1623         * javax/swing/text/rtf/ControlWordToken.java,
1624         javax/swing/text/rtf/RTFEditorKit.java,
1625         javax/swing/text/rtf/RTFParseException.java,
1626         javax/swing/text/rtf/RTFParser.java,
1627         javax/swing/text/rtf/RTFScanner.java,
1628         javax/swing/text/rtf/TextToken.java,
1629         javax/swing/text/rtf/Token.java: New files.
1630         * Makefile.am: Added new files.
1631         * Makefile.in: Regenerated.
1633 2005-04-19  Michael Koch  <konqueror@gmx.de>
1635         * java/awt/geom/QuadCurve2D.java:
1636         Fixed Brian Gough's name for real.
1638 2005-04-19  Roman Kennke  <roman@kennke.org>
1640         * javax/swing/UIManager.java:
1641         Make the UIManager respect the swing.defaultlaf system
1642         property.
1644 2005-04-19  Tom Tromey  <tromey@redhat.com>
1646         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1647         not _Jv_InitClass.
1649 2005-04-19  Roman Kennke  <roman@kennke.org>
1651         * javax/swing/plaf/basic/BasicMenuBarUI.java:
1652         Fixed tabs to spaces.
1654 2005-04-19  Roman Kennke  <roman@kennke.org>
1656         * javax/swing/plaf/basic/BasicMenuUI.java
1657         (getMaximumSize): Now returns preferredSize because JMenu should
1658         never be bigger than that.
1659         * javax/swing/JRootPane
1660         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1662 2005-04-19  Roman Kennke  <roman@kennke.org>
1664         * javax/swing/JRootPane.java:
1665         Fixed various tabs to be spaces.
1666         (RootLayout.layoutContainer): Made menubar left aligned.
1668 2005-04-19  Roman Kennke  <roman@ontographics.com>
1670         * javax/swing/JList.java
1671         (getPreferredScrollableViewportSize):
1672         The previous implementation was merely guessing the size,
1673         now it respects layoutOrientation, visibleRowCount
1674         and preferredSize.
1675         (getScrollableTracksViewportHeight):
1676         Reimplemented so that layoutOrientation, visibleRowCount
1677         and preferred size are respected.
1678         (getScrollableTracksViewportWidth):
1679         Reimplemented so that layoutOrientation, visibleRowCount
1680         and preferred size are respected.
1681         * javax/swing/plaf/basic/BasicListUI.java
1682         (getPreferredSize):
1683         Improved calculation of preferredSize when JList is
1684         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1685         (getCellBounds):
1686         The previous implementation assumed a layoutOrientation of
1687         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1688         JList.VERTICAL_WRAP.
1690 2005-04-19  Roman Kennke  <roman@ontographics.com>
1692         * javax/swing/plaf/basic/BasicListUI.java
1693         (paintCell): use CellRendererPane for painting the cells.
1695 2005-04-19  Roman Kennke  <roman@ontographics.com>
1697         * javax/swing/plaf/basic/BasicListUI:
1698         fixed modifiers of several fields, methods and inner
1699         classes to match the 'spec'.
1700         (getMaximumSize): removed. It's not in the spec and the
1701         implementations was superfluous.
1703 2005-04-19  Roman Kennke  <roman@ontographics.com>
1705         * javax/swing/plaf/basic/BasicListUI:
1706         make BasicListUI capable of wrapping lists
1707         (layoutOrientation property of javax.swing.JList)
1709 2005-04-19  Roman Kennke  <roman@ontographics.com>
1711         * javax/swing/plaf/basic/BasicListUI
1712         (updateLayoutState,paint): make BasicListUI aware of the
1713         width of the rendered JList.
1715 2005-04-19  Roman Kennke  <roman@kennke.org>
1717         * javax/swing/ImageIcon.java
1718         Added API documentation.
1720 2005-04-19  Roman Kennke  <roman@kennke.org>
1722         * javax/swing/text/ImageIcon.java
1723         (ImageIcon): Use setImage instead of direct assignment.
1724         (setImage): Call loadImage to make sure that the image is loaded.
1725         (loadImage): Waits for the image to complete loading.
1726         (getImageLoadStatus): Added. Returns the load status of the
1727         image.
1729 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
1731         * javax/swing/JTextArea.java (replaceRange):
1732         Fixing doc.remove(start, length) misinterpretation.
1734 2005-04-19  Roman Kennke  <roman@ontographics.com>
1736         * javax/swing/CellRendererPane.java:
1737         implemented all methods of this class.
1738         reformatted all wrong formatted code.
1740 2005-04-19  Roman Kennke  <roman@kennke.org>
1742         * javax/swing/BoxLayout.java:
1743         (layoutContainer): Made this layout manager respect the
1744         minimum, maximum and preferred size more correctly.
1746 2005-04-19  Roman Kennke  <roman@ontographics.com>
1748         * javax/swing/BoxLayout.java:
1749         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1750         layoutContainer): Make these methods and thereby the
1751         BoxLayout respect the insets (like borders) of the
1752         component that is laid out.
1754 2005-04-19  Roman Kennke  <roman@kennke.org>
1756         * javax/swing/JComponent.java:
1757         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1758         Untabified the file.
1760 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
1762         * javax/swing/JComboBox.java (constructors): selecting the
1763         first item if the box was constructed from the provided
1764         non - empty array or vector.
1766 2005-04-19  Michael Koch  <konqueror@gmx.de>
1768         * gnu/java/awt/peer/gtk/GdkGraphics.java
1769         (getClipBounds): Handle clip being null.
1770         (setClip): Likewise.
1771         * java/beans/beancontext/BeanContextSupport.java
1772         (add): Implemented.
1773         (addAll): Likewise.
1774         (clear): Likewise.
1775         (removeAll): Likewise.
1776         (retainAll): Likewise.
1778 2005-04-19  Michael Koch  <konqueror@gmx.de>
1780         * java/beans/beancontext/BeanContextServicesSupport.java
1781         (BeanContextServicesSupport): Reimplemented.
1782         (addBeanContextServicesListener): Implemented.
1783         (initialize): Likewise.
1784         (removeBeanContextServicesListener): Likewise.
1785         * java/beans/beancontext/BeanContextSupport.java
1786         (add): Likewise.
1787         (addBeanContextMembershipListener): Likewise.
1788         (getLocale): Likewise.
1789         (initialize): Likewise.
1790         (iterator): Likewise.
1791         (remove): Likewise.
1792         (toArray): Likewise.
1794 2005-04-19  Roman Kennke  <roman@kennke.org>
1796         * java/awt/MediaTracker.java:
1797         Reindented tabs to spaces.
1799 2005-04-19  Roman Kennke  <roman@kennke.org>
1801         * java/awt/MediaTracker.java
1802         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1803         confused the media tracker and lead to lockups. The LOADING
1804         bit is handled on other places.
1805         (addImage): Removed the 'start image tracking' stuff. This
1806         is not necessary and could confuse the media tracker.
1807         (checkAll): Improved the check for image status so that
1808         images that already complete images are detected. Also now
1809         are really all images checked and if necessary loaded. Before
1810         the method bailed out after the first incomplete image.
1811         (statusAll): Detect images that are complete after the
1812         call to Component.prepareImage(..).
1813         (checkID): The same as in checkAll.
1814         (statusID): The same as in statusAll.
1816 2005-04-19  Roman Kennke  <roman@kennke.org>
1818         * java/awt/MediaTracker.java
1819         (addImage): Synchronized list access.
1820         (waitForAll): Fixed comparison of time (changed < to >).
1821         (waitForID): Fixed comparison of time (changed < to >).
1822         (removeImage): Synchronized list access.
1824 2005-04-19  Roman Kennke  <roman@kennke.org>
1826         * java/awt/MediaTracker.java
1827         Added API documentation.
1829 2005-04-19  Roman Kennke  <roman@kennke.org>
1831         * java/awt/MediaTracker.java
1832         (MediaEntry.imageUpdate): Fixed flags. The different flags
1833         must not be ORed together.
1834         (checkAll): Modified to handle different meaning of the flags.
1835         (waitForAll): Fixed so that it waits maximum the
1836         specified amount of milliseconds.
1837         (statusAll): Modified to handle different meaning of the flags.
1838         (waitForID): Fixed so that it waits maximum the
1839         specified amount of milliseconds.
1841 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
1843         * java/awt/Font.java (decode): Handle null argument and allow
1844         space as delimiter.
1846 2005-04-19  Robert Schuster <thebohemian@gmx.net>
1848         * java/beans/EventHandler.java: Reworked documentation.
1849         (invoke): Fixed behavior to match spec.
1851 2005-04-19  Michael Koch  <konqueror@gmx.de>
1853         * java/awt/print/PrinterJob.java
1854         (pageDialog): New method.
1855         (printDialog): Implemented.
1857 2005-04-19  Michael Koch  <konqueror@gmx.de>
1859         * java/awt/image/ConvolveOp.java:
1860         Removed comment added by eclipse.
1862 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
1864         * java/awt/image/IndexColorModel.java
1865         (getRGB): Check if pixel is negative.
1867 2005-04-19  Michael Koch  <konqueror@gmx.de>
1869         * java/awt/image/RasterOp.java:
1870         Fixed wrong formatting.
1872 2005-04-18  Roman Kennke  <roman@kennke.org>
1874         * java/awt/Compmonent.java
1875         (setComponentOrientation): Made this property firing a
1876         PropertyChangeEvent.
1878 2005-04-18  Roman Kennke  <roman@kennke.org>
1880         * java/awt/BorderLayout.java
1881         (calcSize): Check for overflow when component sizes are added.
1883 2005-04-18  Robert Schuster <thebohemian@gmx.net>
1885         * java/awt/AWTEvent.java (toString): Added case
1886         for source not being an AWT component.
1888 2005-04-18  Chris Burdess  <dog@gnu.org>
1890         * gnu/java/net/BASE64.java: Truncate encoded byte array.
1892 2005-04-18  Michael Koch  <konqueror@gmx.de>
1894         gnu/java/awt/EmbeddedWindowSupport.java,
1895         gnu/java/net/HeaderFieldHelper.java,
1896         gnu/java/net/URLParseError.java,
1897         gnu/java/net/protocol/file/Handler.java,
1898         gnu/java/net/protocol/jar/Handler.java:
1899         Fixed usage of @author tag.
1901 2005-04-18  Michael Koch  <konqueror@gmx.de>
1903         * gnu/xml/aelfred2/XmlParser.java:
1904         Reverted my typo fix.
1906 2005-04-18  Michael Koch  <konqueror@gmx.de>
1908         * java/awt/geom/CubicCurve2D.java,
1909         java/awt/geom/QuadCurve2D.java:
1910         Fixed mentioning of Brian Gouph.
1912 2005-04-18  Michael Koch  <konqueror@gmx.de>
1914         * gnu/java/awt/Buffers.java,
1915         gnu/java/awt/image/ImageDecoder.java,
1916         gnu/java/awt/image/XBMDecoder.java,
1917         gnu/java/awt/peer/ClasspathFontPeer.java,
1918         gnu/java/net/CRLFInputStream.java,
1919         gnu/java/net/EmptyX509TrustManager.java,
1920         gnu/java/net/LineInputStream.java,
1921         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1922         gnu/java/net/protocol/ftp/BlockInputStream.java,
1923         gnu/java/net/protocol/ftp/CompressedInputStream.java,
1924         gnu/java/net/protocol/ftp/DTP.java,
1925         gnu/java/net/protocol/ftp/DTPInputStream.java,
1926         gnu/java/net/protocol/ftp/FTPConnection.java,
1927         gnu/java/net/protocol/ftp/FTPURLConnection.java,
1928         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1929         gnu/java/net/protocol/ftp/StreamInputStream.java,
1930         gnu/java/net/protocol/http/ChunkedInputStream.java,
1931         gnu/java/net/protocol/http/HTTPConnection.java,
1932         gnu/java/net/protocol/http/HTTPURLConnection.java,
1933         gnu/java/net/protocol/http/Headers.java,
1934         gnu/java/net/protocol/http/Request.java,
1935         gnu/java/nio/ChannelInputStream.java,
1936         gnu/java/nio/ChannelOutputStream.java,
1937         gnu/java/nio/InputStreamChannel.java,
1938         gnu/java/nio/OutputStreamChannel.java,
1939         gnu/java/nio/SelectorProviderImpl.java,
1940         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
1941         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
1942         gnu/java/rmi/dgc/DGCImpl.java,
1943         gnu/java/rmi/registry/RegistryImpl.java,
1944         gnu/java/rmi/server/ProtocolConstants.java,
1945         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
1946         gnu/java/rmi/server/RMIIncomingThread.java,
1947         gnu/java/rmi/server/RMIObjectInputStream.java,
1948         gnu/java/rmi/server/RMIObjectOutputStream.java,
1949         gnu/java/rmi/server/RMIVoidValue.java,
1950         gnu/java/rmi/server/UnicastConnectionManager.java,
1951         gnu/java/rmi/server/UnicastRef.java,
1952         gnu/java/rmi/server/UnicastRemoteCall.java,
1953         gnu/java/rmi/server/UnicastRemoteStub.java,
1954         gnu/java/rmi/server/UnicastServerRef.java,
1955         gnu/java/security/OID.java,
1956         gnu/java/security/der/DERReader.java,
1957         gnu/java/security/provider/CollectionCertStoreImpl.java,
1958         gnu/java/security/provider/DSAParameterGenerator.java,
1959         gnu/java/security/provider/DefaultPolicy.java,
1960         gnu/java/security/provider/EncodedKeyFactory.java,
1961         gnu/java/security/provider/GnuDHPublicKey.java,
1962         gnu/java/security/provider/GnuDSAPrivateKey.java,
1963         gnu/java/security/provider/GnuDSAPublicKey.java,
1964         gnu/java/security/provider/GnuRSAPrivateKey.java,
1965         gnu/java/security/provider/GnuRSAPublicKey.java,
1966         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1967         gnu/java/security/provider/RSA.java,
1968         gnu/java/security/provider/SHA1PRNG.java,
1969         gnu/java/security/provider/SHA1withRSA.java,
1970         gnu/java/security/provider/X509CertificateFactory.java,
1971         gnu/java/security/x509/GnuPKIExtension.java,
1972         gnu/java/security/x509/X500DistinguishedName.java,
1973         gnu/java/security/x509/X509CRL.java,
1974         gnu/java/security/x509/X509CRLEntry.java,
1975         gnu/java/security/x509/X509CertPath.java,
1976         gnu/java/security/x509/X509CertSelectorImpl.java,
1977         gnu/java/security/x509/X509Certificate.java,
1978         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1979         gnu/java/security/x509/ext/BasicConstraints.java,
1980         gnu/java/security/x509/ext/CRLNumber.java,
1981         gnu/java/security/x509/ext/CertificatePolicies.java,
1982         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
1983         gnu/java/security/x509/ext/Extension.java,
1984         gnu/java/security/x509/ext/GeneralNames.java,
1985         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
1986         gnu/java/security/x509/ext/KeyUsage.java,
1987         gnu/java/security/x509/ext/PolicyConstraint.java,
1988         gnu/java/security/x509/ext/PolicyMappings.java,
1989         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
1990         gnu/java/security/x509/ext/ReasonCode.java,
1991         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
1992         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
1993         Reorganized import statements.
1995 2005-04-18  Michael Koch  <konqueror@gmx.de>
1997         * gnu/java/awt/color/CieXyzConverter.java,
1998         gnu/java/awt/color/ClutProfileConverter.java,
1999         gnu/java/awt/color/ColorLookUpTable.java,
2000         gnu/java/awt/color/ColorSpaceConverter.java,
2001         gnu/java/awt/color/GrayProfileConverter.java,
2002         gnu/java/awt/color/GrayScaleConverter.java,
2003         gnu/java/awt/color/LinearRGBConverter.java,
2004         gnu/java/awt/color/ProfileHeader.java,
2005         gnu/java/awt/color/PyccConverter.java,
2006         gnu/java/awt/color/RgbProfileConverter.java,
2007         gnu/java/awt/color/SrgbConverter.java,
2008         gnu/java/awt/color/TagEntry.java,
2009         gnu/java/awt/color/ToneReproductionCurve.java:
2010         Standardized file headers.
2012 2005-04-16  Tom Tromey  <tromey@redhat.com>
2014         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2015         'ANY' package-private.
2017 2005-04-15  Tom Tromey  <tromey@redhat.com>
2019         * Makefile.in: Rebuilt.
2020         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2021         (libgcj0_convenience_la_LIBADD): ... here.
2023 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2025         * gij.cc (version): Properly quote java version.
2026         (main): Fix typo in comment.
2028 2005-04-13  Mark Wielaard  <mark@klomp.org>
2030         * java/lang/natRuntime.cc (insertSystemProperties): Set
2031         java.class.path to CLASSPATH if not already set.
2033 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2035         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2037 2005-04-12  Mike Stump  <mrs@apple.com>
2039         * configure: Regenerate.
2041 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
2043         PR libgcj/20958
2044         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2045         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2047 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
2049         PR libgcj/20975
2050         * scripts/TexinfoDoclet.java: Removed.
2051         * Makefile.am (texinfo): Removed.
2052         * Makefile.in: Regenerated.
2054 2005-04-11  Michael Koch  <konqueror@gmx.de>
2056         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2057         Fixed wrong casting.
2059 2005-04-06  Andrew Haley  <aph@redhat.com>
2061         * testsuite/libjava.lang/bytearray.java: New file.
2062         * testsuite/libjava.lang/bytearray.out: New file.
2063         * java/lang/ClassLoader.java (loadClassFromSig): Declare
2064         (loadClass): Use it.
2065         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2067 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
2069         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2070         gcj-dbtool dependency
2071         * Makefile.in: Regenerated
2073 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
2075         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2076         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2078 2005-04-05  Andrew Haley  <aph@redhat.com>
2080         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2081         (Tokenizer): New class.
2082         (getFiles): New method.
2083         (main): Add "-" argument.
2084         Add "-0" argument.
2085         Read list of files from stdin when merging map databases.
2086         (usage):  Add "-" argument.
2087         Add "-0" argument.
2088         Minor corrections.
2090 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
2092         PR libgcj/20750
2093         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2094         * Makefile.in: Regenerate.
2095         * configure.ac: Add --with-java-home option.
2096         * configure: Regenerate.
2097         * external/Makefile.in: Regenerate.
2098         * external/sax/Makefile.in: Regenerate.
2099         * external/w3c_dom/Makefile.in: Regenerate.
2100         * gcj/Makefile.in: Regenerate.
2101         * include/Makefile.in: Regenerate.
2102         * testsuite/Makefile.in: Regenerate.
2103         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2104         to JAVA_HOME macro.
2106 2005-04-05  Tom Tromey  <tromey@redhat.com>
2108         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2109         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2110         Rewrote to use _Jv_FindClassFromSignature.
2111         * verify.cc (resolve): throw NoClassDefFoundError.
2112         * link.cc (resolve_field): Throw NoClassDefFoundError.
2113         (find_field): Likewise.
2114         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2115         Handle error cases.  Added 'endp' argument.
2116         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2118 2005-04-05  Tom Tromey  <tromey@redhat.com>
2120         * Makefile.in: Rebuilt.
2121         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2122         gtk_awt_peer_sources.
2123         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2124         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2125         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2126         (gtk-awt-peer.lo): New target.
2128 2005-04-04  Steve Pribyl <steve@netfuel.com>
2130         PR libgcj/20761
2131         * configure.ac: Fix fastjar definition for cross builds.
2132         * configure: Rebuilt.
2134 2005-04-04  Tom Tromey  <tromey@redhat.com>
2136         * java/lang/ClassLoader.java (loadClass): Resolve class even if
2137         it was already found.
2139 2005-04-04  Tom Tromey  <tromey@redhat.com>
2141         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2142         org.metastatic.jessie.
2144 2005-04-02  Anthony Green  <green@redhat.com>
2146         PR libgcj/20727
2147         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2149 2005-04-02  Mark Wielaard  <mark@klomp.org>
2151         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2152         Attributes and attribute order doesn't matter.
2153         (BasicAttributesEnumeration.where): Initialize to zero.
2154         (BasicAttributesEnumeration.nextElement): Update and compare where
2155         appropriately (zero based).
2157 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
2159         PR libgcj/20090, PR libgcj/20526
2160         * gij.cc (nonstandard_opts_help): New function.
2161         (add_option): New function.
2162         (main): Support java options.  Set java.class.path.  Don't set
2163         _Jv_Jar_Class_Path.
2164         * prims.cc (parse_x_arg): New function.
2165         (parse_init_args): Call parse_x_arg for -X and _ options, when
2166         ignoreUnrecognized is true.
2167         (new _Jv_RunMain): New vm_args variant.
2168         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2169         (_Jv_Jar_Class_Path): Remove variable.
2170         * include/java-props.h: Likewise.
2171         * include/cni.h (JvRealloc): New function.
2172         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2173         * java/lang/natRuntime.cc (insertSystemProperties): Remove
2174         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
2175         macros.
2176         * configure.ac (JV_VERSION): Define.
2177         (JV_API_VERSION): Likewise.
2178         * configure: Regenerate.
2179         * include/config.h.in: Regenerate.
2181 2005-04-01 Mark Anderson <mark@panonet.net>
2183         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2184         -Infinity as parameters.
2186 2005-04-01  Michael Koch  <konqueror@gmx.de>
2188         * java/io/PipedInputStream.java
2189         (read): Make sure a positive byte value is returned. Revised javadoc.
2190         Thanks to Olafur Bragason for reporting these bugs.
2192 2005-04-01  Tom Tromey  <tromey@redhat.com>
2194         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2195         Updated for name change.
2196         (nativeFindClass): New method.
2197         (loadClass): Use nativeFindClass.
2198         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2199         form of loadClass.
2200         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2201         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2202         VMClassLoader.
2203         (initialize): New method.
2204         (nativeFindClass): Declare.
2205         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2206         * gnu/gcj/runtime/VMClassLoader.java: Removed.
2207         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2208         VMClassLoader.java.
2209         (definePackageForNative): Removed.
2210         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2211         Moved to VMClassLoader.java.
2212         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2213         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2214         (ordinary_java_source_files): Added ExtensionClassLoader.java,
2215         removed VMClassLoader.java.
2216         (nat_source_files): Removed natVMClassLoader.cc.
2218 2005-04-01  Tom Tromey  <tromey@redhat.com>
2220         * Makefile.in: Rebuilt.
2221         * Makefile.am (db_pathtail): Use $(gcc_version), not
2222         @gcc_version@.
2224 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
2226         * java/util/Timer.java
2227         (run): Stop the queue if a task throws an exception.
2229 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2231         * javax/swing/text/JTextComponent.java (viewToModel): New method.
2233 2005-03-29  Ian Lance Taylor  <ian@airs.com>
2235         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2236         * external/sax/Makefile.in: Rebuild.
2237         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2238         "-fclasspath=".
2239         * external/w3c_dom/Makefile.in: Rebuild.
2241 2005-03-29  Tom Tromey  <tromey@redhat.com>
2243         * java/lang/natRuntime.cc (insertSystemProperties): Set
2244         gnu.gcj.runtime.endorsed.dirs.
2245         * Makefile.in: Rebuilt.
2246         * Makefile.am (ordinary_java_source_files): Added
2247         HelperClassLoader.java.
2248         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2249         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2250         HelperClassLoader.
2251         (init): Use addDirectoriesFromProperty.
2252         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2253         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
2254         gnu.gcj.runtime.endorsed.dirs.
2255         * gnu/gcj/runtime/HelperClassLoader.java: New file.
2257 2005-03-26  Chris Burdess  <dog@gnu.org>
2259         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2260         required.
2262 2005-03-13  Michael Koch  <konqueror@gmx.de>
2264         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2266 2005-03-11  Chris Burdess  <dog@gnu.org>
2268         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2269         warnings.
2271 2005-02-27  Chris Burdess  <dog@gnu.org>
2273         * gnu/xml/aelfred2/JAXPFactory.java,
2274         gnu/xml/aelfred2/SAXDriver.java,
2275         gnu/xml/aelfred2/XmlParser.java,
2276         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2277         formatting conventions. Replaced arrays of Object with struct-like
2278         classes for easier maintainability. Made SAXDriver.stringInterning
2279         package private to allow access from XmlParser inside the loop without
2280         a method call overhead.
2282 2005-03-11  Chris Burdess  <dog@gnu.org>
2284         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2285         warnings.
2287 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
2289         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
2290         settings to sub Makefiles.
2291         (GCJH, ZIP): Prefix with top_builddir.
2292         * configure: Rebuild.
2293         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2294         * external/w3c_dom/Makefile.in: Rebuild.
2295         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2296         * external/sax/Makefile.in: Rebuild.
2298 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
2300         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2301         libsocket to the libraries to link for Solaris.
2303 2005-03-28  Per Bothner  <per@bothner.com>
2305         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2306         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2308 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
2310         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2311         to fix a ONESTEP fallout.
2312         * Makefile.in: Regenerate.
2314 2005-03-25  Mike Stump  <mrs@apple.com>
2316         * configure.ac: Fix ZIP and GCJH at configure time to absolute
2317         paths like we do for the compiler, as we use it in external/sax
2318         and it doesn't get MULTIBUILDTOP right when multilibing.
2320 2005-03-24  Anthony Green  <green@redhat.com>
2322         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2323         -p option.
2324         (usage): Add [LIBDIR] to help output.
2325         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2326         * Makefile.am (AM_CXXFLAGS): Define
2327         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2328         (db_pathtail): New macro.
2330 2005-03-24  Tom Tromey  <tromey@redhat.com>
2332         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2333         add sax and w3c libraries.
2334         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2335         libw3c-gcj.la.
2336         * external/w3c_dom/Makefile.in: Rebuilt.
2337         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2338         AM_GCJFLAGS.
2339         (libw3c_gcj_la_LDFLAGS): New variable.
2340         (noinst_LTLIBRARIES): Renamed.
2341         * external/sax/Makefile.in: Rebuilt.
2342         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2343         AM_GCJFLAGS.
2344         (libsax_gcj_la_LDFLAGS): New variable.
2345         (noinst_LTLIBRARIES): Renamed.
2347 2005-03-23  Tom Tromey  <tromey@redhat.com>
2349         * Makefile.in: Rebuilt.
2350         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2351         (libgcj0_convenience_la_SOURCES): Don't include
2352         gnu_xml_source_files.
2353         (libgcj0_convenience_la_LIBADD): New variable.
2354         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2355         (all_java_source_files): javax_imageio_source_files,
2356         javax_xml_source_files, and gnu_java_beans_source_files.
2357         ($(gnu_xml_source_files:.java=.lo)): Removed target.
2358         (gnu-xml.lo): New target.
2359         (javax-imageio.lo): Likewise.
2360         (javax-xml.lo): Likewise.
2361         (gnu-java-beans.lo): Likewise.
2362         (gnu_java_beans_source_files): New variable.
2363         (javax_imageio_source_files): Likewise.
2364         (javax_xml_source_files): Likewise.
2365         (javax_source_files): Moved files to other variable.
2366         (awt_java_source_files): Likewise.
2367         (ordinary_java_source_files): Added BootClassLoader.java.
2368         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2369         not system class loader.
2370         (initBootLoader): New method.
2371         (loadClass): Search bootLoader.
2372         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2373         boot loader, not system class loader.
2374         (_Jv_UnregisterInitiatingLoader): Likewise.
2375         (_Jv_FindClass): Likewise.  Ensure entries in
2376         bootstrap_class_list are unique.
2377         * java/lang/natClass.cc (getClassLoader): Don't special case
2378         system class loader.
2379         * java/lang/VMClassLoader.java (bootLoader): New field.
2380         (getResource): Use bootLoader.
2381         (getResources): Likewise.
2382         (initBootLoader): Declare.
2383         * gnu/gcj/runtime/BootClassLoader.java: New file.
2384         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2385         (EMPTY_ENUMERATION): Now package-private.
2386         * external/w3c_com/Makefile.in: Rebuilt.
2387         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2388         (w3c.jar): New target.
2389         (classes.stamp): Updated.
2390         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2391         Changed name of library.
2392         (libw3c_gcj_la_SOURCES): New variable.
2393         (libw3c_gcj_la_GCJFLAGS): Likewise.
2394         (source_files): Renamed from lib3c_convenience_la_SOURCES.
2395         * external/sax/Makefile.in: Rebuilt.
2396         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2397         (sax.jar): New target.
2398         (classes.stamp): Updated.
2399         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2400         Changed name of library.
2401         (libsax_gcj_la_SOURCES): New variable.
2402         (libsax_gcj_la_GCJFLAGS): Likewise.
2403         (source_files): Renamed from libsax_convenience_la_SOURCES.
2404         * stacktrace.cc (non_system_trace_fn): Don't look at system class
2405         loader.
2406         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2407         loader.
2408         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2410 2005-03-23  Sven de Marothy  <sven@physto.se>
2412         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2413         PR libgcj/11085:
2414         * java/util/Calendar.java
2415         (set): Use starting day of week when one is needed if none is given.
2416         * java/text/SimpleDateFormat.java
2417         (parse): Handle 1-12 and 1-24 timestamps correctly.
2418         * java/util/GregorianCalendar.java
2419         (computeTime, computeFields): HOUR should be in 0-11 format.
2420         (nonLeniencyCheck): Adjust leniency checking to that fact.
2421         (getLinearDay): Should be private.
2423 2005-03-23  Tom Tromey  <tromey@redhat.com>
2425         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2426         (_Jv_CheckABIVersion): Use it.
2428 2005-03-22  Mike Stump  <mrs@apple.com>
2430         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2432         * include/posix.h: .dylib is used on all Apple MACH platforms.
2433         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2435 2005-03-22  Tom Tromey  <tromey@redhat.com>
2437         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2439 2005-03-21  Tom Tromey  <tromey@redhat.com>
2441         * java/lang/VMCompiler.java (static block): Also catch
2442         BufferUnderflowException.
2444 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2446         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
2447         set tool_include_dir.  In all substitutions, leave $(gcc_version)
2448         to be expanded by the Makefile.
2449         * aclocal.m4, configure: Regenerate.
2450         * Makefile.am: Set gcc_version.  Replace all uses of
2451         @gcc_version@ with $(gcc_version).
2452         * external/Makefile.am, external/sax/Makefile.am
2453         * external/w3c_dom/Makefile.am, gcj/Makefile.am
2454         * testsuite/Makefile.am: Set gcc_version.
2455         * include/Makefile.am: Set gcc_version and tool_include_dir.
2456         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2457         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2458         * testsuite/Makefile.in: Regenerate.
2460 2005-03-17  Andrew Haley  <aph@redhat.com>
2462         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2463         arg: klass.
2464         Pass klass to _Jv_StackTrace::GetClassContext().
2465         * java/lang/ClassLoader.java (getParent): Pass class to
2466         VMSecurityManager.getClassContext()
2467         (getSystemClassLoader): Likewise.
2468         * java/lang/Package.java (getPackage): Likewise.
2469         (getPackages): Likewise.
2470         * java/lang/SecurityManager.java (getClassContext): Likewise.
2471         (currentClassLoader): Likewise.
2472         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2473         (currentClassLoader) Add new arg: caller.
2474         Pass caller to VMSecurityManager.getClassContext.
2476         * stacktrace.cc (GetClassContext): Correct calculation of
2477         jframe_count.
2479         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2480         im->source_file_name.
2482 2005-03-16  Andrew Haley  <aph@redhat.com>
2484         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2486 2005-03-16  Tom Tromey  <tromey@redhat.com>
2488         * link.cc (ensure_class_linked): Removed #ifdef.
2489         (print_class_loaded): Likewise.
2490         (wait_for_state): Likewise.
2491         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2492         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2493         * include/java-interp.h: ... here.
2495 2005-03-16  Tom Tromey  <tromey@redhat.com>
2497         * gnu/java/lang/MainThread.java (run): Load main class using
2498         system class loader.
2500 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
2502         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2503         lgcc_s to the libraries to link for Darwin.
2505 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
2507         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2508         interpreter-specific code with #ifdef INTERPRETER.
2509         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2510         (_Jv_StackTrace::FillInFrameInfo): Likewise.
2511         (_Jv_StackTrace::non_system_trace_fn): Likewise.
2512         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2513         #ifdef INTERPRETER. Also protect declarations that use it.
2514         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2515         #ifdef INTERPRETER block.
2517 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
2519         PR libgcj/20251
2520         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2521         * Makefile.in: Rebuilt.
2523 2005-03-15  David Daney  <ddaney@avtrex.com>
2525         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2526         count == 0 case.
2528 2005-03-15  David Daney  <ddaney@avtrex.com>
2530         * java/io/BufferedInputStream.java (available): Use 'in' instead
2531         of 'super' for underlying stream access.
2532         (close): Ditto.
2533         (read(byte[], int, int)): Ditto.
2534         (refill): Ditto.
2535         (skip): Call skip on underlying stream when possible.
2537 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
2539         * stacktrace.cc (GetCallerInfo): Return nothing in case of
2540         SJLJ_EXCEPTIONS is defined.
2542 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
2544         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2545         tests.
2547 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
2549         * testsuite/lib/libjava.exp (libjava_init): Use the same target
2550         check for Darwin.
2551         (libjava_arguments): Likewise.
2553         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2554         (gcj_jni_test_one): Likewise.
2555         (gcj_jni_invocation_compile_c_to_binary): Likewise.
2556         Add flags to keep the Darwin linker quiet.
2557         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2558         Add -liconv for Darwin.
2560 2005-03-11  Tom Tromey  <tromey@redhat.com>
2562         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2563         (_Jv_CheckABIVersion): Use it.
2565 2005-03-11  Tom Tromey  <tromey@redhat.com>
2567         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2568         (usage): Document '-p'.
2569         * Makefile.in: Rebuilt.
2570         * Makefile.am (dbexecdir): New variable.
2571         (db_name): Likewise.
2572         (dbexec_DATA): Likewise.
2573         ($(db_name)): New target.
2574         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2575         * java/lang/natRuntime.cc (insertSystemProperties): Set default
2576         system database.
2578 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
2580         * exception.cc: Remove stray MethodRef.h include.
2581         * java/lang/natClass.cc: Likewise.
2582         * gnu/gcj/runtime/MethodRef.java: Removed.
2583         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2584         gnu/gcj/runtime/natStackTrace.cc: Really removed.
2585         * java/lang/natRuntime.cc (_load): Remove unsed variable.
2586         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2587         * Makefile.in: Rebuilt.
2589 2005-03-10  Tom Tromey  <tromey@redhat.com>
2591         * Makefile.in: Rebuilt.
2592         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2594 2005-03-10  Chris Burdess  <dog@bluezoo.org>
2596         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2597         not currently parsing the DTD.
2599 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
2601         New Stack Trace infrastructure.
2602         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2603         (gnu/gcj/runtime/StackTrace.java): Removed.
2604         (ordinary_java_source_files): Remove obsolete files.
2605         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2606         * configure.host (fallback_backtrace_h): Set backtrace header
2607         for mingw and cygwin targets.
2608         * configure.ac: Make symlink for fallback backtrace headers.
2609         * Makefile.in, configure: Rebuilt.
2610         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2611         Read 'LineNumberTable' attribute.
2612         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2613         attribute.
2614         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2615         table fields.
2616         * exception.cc: Remove unused include.
2617         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2618         (SAVE_PC): New macro. Save current PC in the interpreter frame.
2619         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2620         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2621         table to direct threaded instruction values.
2622         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2623         (_Jv_InterpMethod::run): No longer member function. All
2624         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2625         is made or where an instruction could throw.
2626         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2627         in line_table.
2628         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2629         (catch_fpe): Likewise.
2630         * stacktrace.cc: New file. Stack trace code now here.
2631         * gnu/gcj/runtime/MethodRef.java:
2632         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2633         calls addr2line to look up PC addresses in a given binary or shared
2634         library.
2635         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2636         gnu/gcj/runtime/natStackTrace.cc: Removed.
2637         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2638         this function name is specially recognised by the stack trace code
2639         and shouldn't be changed.
2640         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2641         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
2642         (_Jv_InterpMethod::run): Update declaration.
2643         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2644         friends.
2645         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2646         * include/java-stack.h: New file. Declarations for stack tracing.
2647         * include/jvm.h (_Jv_Frame_info): Removed.
2648         * java/lang/Class.h: Update friend declarations.
2649         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2650         exception message.
2651         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2652         (getStackTrace): Now native.
2653         (data): New RawDataManaged field.
2654         * java/lang/natClass.cc: Update includes.
2655         (forName): Use _Jv_StackTrace::GetCallingClass for
2656         calling-classloader check.
2657         (getClassLoader): Likewise.
2658         * java/lang/natRuntime.cc: Update includes.
2659         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2660         * java/lang/natVMSecurityManager.cc: Update includes.
2661         (getClassContext): Use _Jv_StackTrace::GetClassContext.
2662         * java/lang/natVMThrowable.cc: New file. Native methods for
2663         VMThrowable.
2664         * java/lang/reflect/natArray.cc: Update includes.
2665         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2666         accessibility check.
2667         * java/lang/reflect/natConstructor.cc: Update includes.
2668         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2669         accessibility check.
2670         * java/lang/reflect/natField.cc: Update includes.
2671         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2672         accessibility check.
2673         * java/lang/reflect/natMethod.cc: Update includes.
2674         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2675         accessibility check.
2676         * java/util/natResourceBundle.cc: Update includes.
2677         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2678         * java/util/logging/natLogger.cc: Update includes. Use
2679         _Jv_StackTrace::GetCallerInfo to get call-site info.
2680         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2681         implementation.
2682         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2683         implementation.
2685 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
2687         * testsuite/libjava.compile/PR20312.java: New file.
2688         * testsuite/libjava.compile/PR20312.xfail: Likewise.
2689         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2691 2005-03-09  Andrew Haley  <aph@redhat.com>
2693         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2694         New.
2695         (smallTransferTo): New.
2696         (transferFrom): Loop around smallTransferFrom, copying pageSize
2697         bytes each time.
2698         (transferTo): Likewise.
2700 2005-03-09  David Daney  <ddaney@avtrex.com>
2702         PR libgcj/20389
2703         Merge BufferedInputStream from GNU Classpath.
2704         * java/io/BufferedInputStream.java (marktarget): Field removed.
2705         (CHUNKSIZE): Field removed.
2706         (bufferSize): New field.
2707         (BufferedInputStream): Initialize fields.
2708         (close): Invalidate mark and buffer indexes.
2709         (mark):  Rewritten.
2710         (read()): Move mark handling code to refill.
2711         (read(byte[], int, int)): Ditto.
2712         (skip): Ditto and simplify EOF testing.
2713         (refill): Rewritten.
2714         * java/io/InputStreamReader.java (refill): Removed mark and reset
2715         of internal BufferedInputStream.
2717 2005-03-09  Tom Tromey  <tromey@redhat.com>
2719         * java/lang/natVMClassLoader.cc (defineClass): Reference
2720         'systemClassLoader' field directly.
2721         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2722         field directly.
2723         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2724         Reference 'systemClassLoader' field directly.
2725         (_Jv_UnregisterInitiatingLoader): Likewise.
2726         (_Jv_FindClass): Likewise.
2728 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
2730         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2732         * java/lang/mprec.h: Remove commented headers. Fix comment to match
2733         the file in GNU Classpath style.
2735 2005-03-09  Tom Tromey  <tromey@redhat.com>
2737         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2738         (toString): Synchronize.
2740 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
2742         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2743         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2745 2005-03-07  Tom Tromey  <tromey@redhat.com>
2747         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2748         (usage): Document '-f'.
2750 2005-03-07  Tom Tromey  <tromey@redhat.com>
2752         * java/lang/VMCompiler.java (md5Digest): New field.
2753         (compileClass): Clone md5Digest instead of looking up a new one.
2755 2005-03-07  Tom Tromey  <tromey@redhat.com>
2757         PR java/20215:
2758         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2759         * link.cc (find_field_helper): Added 'type' argument.
2760         (find_field): Updated.
2762 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
2763         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2764         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2765         throw UnsupportedOperationException, fixed comments.
2766         (setFont, setForeground): Fixed comments.
2767         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2768         return type to boolean.
2769         (getNextEvent): Fixed javadocs.
2770         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2771         (nativeQueueEmpty): Removed unused code.
2772         (iterateNativeQueue): Removed outer loop.
2774 2005-03-06  Roger Sayle  <roger@eyesopen.com>
2776         PR libgcj/20155
2777         * Makefile.am (libgcj0_convenience.la): Revert last change.
2778         * Makefile.in: Regenerate.
2780 2005-03-05  Anthony Green  <green@redhat.com>
2782         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2783         classpath_jawt_lock, classpath_jawt_unlock): New functions.
2784         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2785         (_Jv_GetDrawingSurface): Set visualID.
2786         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2787         (JAWT_GetAWT): Set Lock and Unlock.
2788         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2789         visualID.
2790         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2791         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2792         JAWT_LOCK_SURFACE_CHANGED): New macros.
2793         (struct _JAWT): Add Lock and Unlock.
2795 2005-03-05  Roger Sayle  <roger@eyesopen.com>
2796             Alexandre Oliva  <aoliva@redhat.com>
2797             Kelley Cook  <kcook@gcc.gnu.org>
2799         PR libgcj/20155
2800         * Makefile.am (libgcj0_convenience.la): New rule to create a file
2801         of the object files to link to avoid exceeding the command line
2802         length limits on some platforms.
2803         (clean-local): Clean up objectlist files.
2804         * Makefile.in: Regenerate.
2806 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
2808         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2809         spec_case. Initialize pointer mlo.
2811         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2812         delta.
2814         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2816         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2817         and k.
2819         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2820         uninitialized variable z.
2822         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2823         possible unused variables.
2825         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2827         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2829 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2831         PR libgcj/20292
2832         * testsuite/libjava.jni/jni.exp
2833         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2834         flags.
2835         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2837 2005-02-23  David Daney  <ddaney@avtrex.com>
2839         * configure.host: Don't use -mxgot for MIPS builds.
2841 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2843         PR bootstrap/17383
2844         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2845         (COMPPATH): Removed.
2846         (ZIP, GCJH): Replace it with ../$(host_subdir).
2847         (built_gcc_dir): Add $(host_subdir).
2848         * configure: Regenerate.
2849         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2850         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
2851         external/w3c_dom/Makefile.in: Regenerate.
2853 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
2855         * java/awt/font/TextAttribute.java: changed names to lower case;
2856         (readResolve): implemented.
2857         Added doc comments all over.
2859 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2861         PR libgcj/16923
2862         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
2863         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
2864         value.  Move argument parsing code to prims.cc.
2865         * prims.cc (no_properties): Remove.
2866         (_Jv_Compiler_Properties): Initialize to NULL.
2867         (_Jv_Properties_Count): Initialize to 0.
2868         (parse_verbose_args): New function.
2869         (parse_init_args): New function.
2870         (_Jv_CreateJavaVM): Call parse_init_args.
2871         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
2872         * gcj/cni.h (JvVMOption): New struct.
2873         (JvVMInitArgs): Likewise.
2874         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
2875         void*.
2876         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
2877         (_Jv_VMInitArgs): Likewise.
2878         * include/java-props.h (_Jv_Properties_Count): Declare.
2879         * java/lang/natRuntime.cc (insertSystemProperties): Use
2880         _Jv_Properties_Count in for loop exit condition.
2881         * testsuite/libjava.jni/jni.exp
2882         (gcj_invocation_compile_c_to_binary): New procedure.
2883         (gcj_invocation_test_one): Likewise.
2884         (gcj_jni_run): Run JNI invocation API tests.
2885         * testsuite/libjava.jni/invocation/PR16923.c,
2886         testsuite/libjava.jni/invocation/PR16923.java,
2887         testsuite/libjava.jni/invocation/PR16923.out: New test.
2889 2005-02-23  Michael Koch  <konqueror@gmx.de>
2891         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
2892         * Makefile.in: Regenerated.
2894 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
2896         * gnu/java/nio/ChannelReader: Fixed comments.
2898 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
2900         * java/nio/channels/Channels: Added FIXMEs about
2901         stub method implementation.
2902         (newReader): Implemented.
2903         * gnu/java/nio/ChannelReader: New class.
2905 2005-02-23  Michael Koch  <konqueror@gmx.de>
2907         * java/text/SimpleDateFormat.java:
2908         Removed unused import.
2910 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
2912         PR libgcj/20029:
2913         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
2914         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
2915         * Makefile.in: Regenerate.
2916         * configure.ac: Check for libXtst.
2917         * configure: Regenerate.
2919 2005-02-22  Mark Wielaard  <address@bogus.example.com>
2921         * java/security/AlgorithmParameterGenerator.java (getInstance):
2922         Mention provider when throwing NoSuchProviderException.
2923         * java/security/AlgorithmParameters.java (getInstance): Likewise.
2924         * java/security/KeyFactory.java (getInstance): Likewise.
2925         * java/security/KeyStore.java (getInstance): Likewise.
2926         * java/security/SecureRandom.java (getInstance): Likewise.
2927         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
2929 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
2931         * java/lang/reflect/Proxy.java,
2932         java/net/URL.java,
2933         java/security/SecureRandom.java,
2934         java/util/Timer.java,
2935         java/util/prefs/AbstractPreferences.java:
2936         Don't catch java.lang.ThreadDeath.
2938 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
2940         * java/awt/font/TransformAttribute.java,
2941         (TransformAttribute(AffineTransform)): throw
2942         IllegalArgumentException for null transform.
2943         (getTransform): return a copy of transform.
2944         Added doc comments to all.
2946 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
2948         * java/io/Externalizable.java,
2949         java/io/Serializable.java
2950         (serialVersionUID): Removed.
2951         * java/rmi/server/RemoteObject.java,
2952         java/rmi/server/UID.java
2953         (serialVersionUID): Made private.
2954         * java/rmi/server/RemoteRef.java,
2955         java/rmi/server/ServerRef.java
2956         (serialVersionUID): Set proper value.
2957         * java/security/interfaces/DSAPrivateKey.java,
2958         java/security/interfaces/DSAPublicKey.java,
2959         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2960         java/security/interfaces/RSAPrivateCrtKey.java,
2961         java/security/interfaces/RSAPrivateKey.java,
2962         java/security/interfaces/RSAPublicKey.java,
2963         javax/crypto/SecretKey.java
2964         (serialVersionUID): Added.
2966 2005-02-22  Tom Tromey  <tromey@redhat.com>
2968         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
2970 2005-02-22  Tom Tromey  <tromey@redhat.com>
2972         PR java/20056:
2973         * verify.cc (type::EITHER): New constant.
2974         (check_field_constant): Use it.
2975         (type::compatible): Handle it.
2977 2005-02-22  Michael Koch  <konqueror@gmx.de>
2979         * gnu/java/security/PolicyFile.java,
2980         gnu/java/security/pkcs/PKCS7SignedData.java,
2981         gnu/java/security/pkcs/SignerInfo.java:
2982         Fixed copyright header.
2984 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
2986         * java/beans/PropertyDescriptor.java
2987         (PropertyDescriptor,setReadMethod): Set propertyType.
2989 2005-02-22  Michael Koch  <konqueror@gmx.de>
2991         * java/nio/DirectByteBufferImpl.java
2992         (owner): Fixed formatting of javadoc.
2993         * java/text/DateFormat.java
2994         (getAvailableLocales): Fixed formatting.
2995         * java/text/SimpleDateFormat.java:
2996         Fixed formatting and import statement order.
2997         * java/util/Calendar.java
2998         (Calendar): Fixed javadoc to be HTML compliant.
2999         * java/util/SimpleTimeZone.java:
3000         Fixed javadocs.
3002 2005-02-22  Roman Kennke <roman@ontographics.com>
3004         * javax/swing/plaf/basic/BasicLookAndFeel.java
3005         (initComponentDefaults): Fixed Button left and right margin.
3007 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3009         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3010         empty Runnable.
3012         PR libgcj/17952:
3013         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3014         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3015         (getWidth): New method.
3016         (getHeight): Likewise.
3017         (create): Remove width, height and insets parameters.  Move size
3018         setup ...
3019         (realize_cb): ... here.  New function.
3020         (connectSignals): Connect realize_cb.
3021         (request_frame_extents): Remove FIXME.  Move
3022         postInsetsChangedEvent lookup ...
3023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3024         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
3025         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3026         jmethodID.
3027         (windowGetWidthID): Likewise.
3028         (windowGetHeightID): Likewise.
3030 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3032         PR libgcj/19842
3033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3034         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3036 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
3038         Merge serialization from GNU Classpath.
3039         * gcj/method.h: Add missing #includes.
3040         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3041         primitive class IDs on the stream here...
3042         (resolveClass): ...not here.
3043         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3044         fields.
3045         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3046         setLongNative, setIntNative, setShortNative, setCharNative,
3047         setByteNative, setBooleanNative, setObjectNative): New native methods.
3048         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3049         setLongNative, setIntNative, setShortNative, setCharNative,
3050         setByteNative, setBooleanNative, setObjectNative): Implement them.
3051         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3052         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3053         the constructor here.
3054         (callConstructor): Removed.
3055         (getCallersClassLoader): Removed.
3056         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3057         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3058         to control whether setting final field values is permitted. Call
3059         getAddr() with checkFinal parameter instead of setAddr().
3060         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3061         only if not done already.
3062         (getAddr): Add checkFinal parameter. Do the final field check only if
3063         checkFinal is set.
3064         (setAddr): Removed.
3066 2005-02-21  Mark Wielaard  <mark@klomp.org>
3068         # Fixes bug #11957
3069         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3070         twice.
3072 2005-02-21  Mark Wielaard  <mark@klomp.org>
3074         Fixes bug #11618.
3075         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3076         without a super class and us ObjectStreamClass.lookupForClassObject().
3077         (resolveClass): Check for primitive types.
3078         (lookupClass): Return null when argument is null.
3080 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
3082         * java/io/ObjectInputStream.java
3083         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3085 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
3087         * java/io/ObjectOutputStream.java
3088         (writeObject, callWriteMethod): Replaced reflection with accessing
3089         cached info in ObjectStreamClass.
3090         (getMethod): Removed.
3091         * java/io/ObjectStreamClass.java
3092         (findMethod): Added check to make sure the method found has the
3093         right modifiers.
3094         (cacheMethods): Added writeReplace and writeObject methods.
3095         (setFlags): Look at new writeObjectMethod field instead of doing
3096         reflection again.
3097         (writeReplaceMethod): New field.
3098         (writeObjectMethod): New field.
3100 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
3101         Jeroen Frijters  <jeroen@frijters.net>
3103         * java/io/ObjectInputStream.java
3104         (newObject): Changed prototype. Get a constructor reflect object
3105         directly.
3106         (callConstructor): Removed.
3107         (allocateObject): Changed prototype.
3108         (readClassDescriptor): Build the constructor reflection directly.
3109         (readObject): Invoke newObject using the new prototype.
3111         * java/io/ObjectStreamClass.java
3112         (firstNonSerializableParent): Removed.
3113         (firstNonSerializableParentConstructor): Added.
3115 2005-02-21  Mark Wielaard  <mark@klomp.org>
3117         * gnu/java/locale/LocaleInformation_en.java: Extend
3118         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3120 2005-02-21  Mark Wielaard  <mark@klomp.org>
3122         * java/text/SimpleDateFormat.java
3123         (SimpleDateFormat(String, DateFormatSymbols)): Throw
3124         NullPointerException when formatData is null.
3126 2005-02-21  Mark Wielaard  <mark@klomp.org>
3128         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3129         taking dstSavings into account.
3131 2005-02-21  Sven de Marothy <sven@physto.se>
3133         * java/text/SimpleDateFormat.java,
3134         (parse): Set correct DST_OFFSET to the correct value.
3136 2005-02-21  Mark Wielaard  <mark@klomp.org>
3138         * java/util/SimpleTimeZone.java (checkRule): Throw
3139         IllegalArgumentException when month out of range.
3141 2005-02-21  Sven de Marothy  <sven@physto.se>
3143         * java/util/GregorianCalendar.java,
3144         (add): Don't set fields directly anymore. Use set()
3146 2005-02-21  Mark Wielaard  <mark@klomp.org>
3148         * java/text/SimpleDateFormat.java (CompiledField.toString):
3149         Use StringBuffer, not StringBuilder.
3150         (toString): Likewise.
3152 2005-02-21  Sven de Marothy  <sven@physto.se>
3154         * java/util/Calendar.java
3155         (clear): Dates should clear to local time.
3156         * java/util/GregorianCalendar.java
3157         (computeTime): Fix priority problem with DAY_OF_WEEK,
3158         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3160 2005-02-21  Sven de Marothy  <sven@physto.se>
3162         * java/util/Calendar.java
3163         (Calendar): Constructor should clear fields.
3165 2005-02-21  Sven de Marothy  <sven@physto.se>
3167         * java/text/SimpleDateFormat.java
3168         (parse): Tweak handling of 2-year dates
3169         * java/util/Calendar.java
3170         (clear): Clear fields to correct value.
3171         * java/util/GregorianCalendar.java
3172         (computeTime): Correct handling of time zones.
3173         Correct field minimum values.
3175 2005-02-21  Sven de Marothy  <sven@physto.se>
3177         * java/util/Calendar.java
3178         (set) Invalidate all fields on first call to set().
3180 2005-02-21  Sven de Marothy  <sven@physto.se>
3182         * java/util/GregorianCalendar.java
3183         (computeTime): Fixed handling of time zones.
3185 2005-02-21  Sven de Marothy  <sven@physto.se>
3187         * java/util/Calendar.java
3188         (clear): Set values to Epoch instead of zero.
3189         (set): Set isSet to the relevant field pattern instead of just
3190         the field.
3191         * java/util/GregorianCalendar.java
3192         (getBundle): Removed.
3193         (getDayOfYear): Removed.
3194         (getFirstDayOfMonth): New private method.
3195         (nonLeniencyCheck): New private method.
3196         (computeTime): Correct handling of insufficient data.
3198 2005-02-21  Sven de Marothy <sven@physto.se>
3200         * java/util/Calendar.java: Invalidate ERA field on setting
3201         the YEAR.
3202         * java/util/SimpleTimeZone.java:
3203         (getDaysInMonth): Reimplemented.
3204         * java/util/GregorianCalendar.java:
3205         (getLinearTime): Removed.
3206         (isLeapYear(int,boolean)): Removed.
3207         (before(), after()): Removed.
3208         (computeTime): Reimplemented.
3210 2005-02-21  Sven de Marothy <sven@physto.se>
3212         * java/util/Calendar.java: Reformatted.
3213         * java/util/GregorianCalendar.java: Reformatted.
3214         * java/util/SimpleTimeZone.java: Reformatted.
3216 2005-02-21  Sven de Marothy <sven@physto.se>
3218         * java/util/GregorianCalendar.java
3219         (GregorianCalendar): Update fields in the constructor
3221 2005-02-21  Noa Resare  <noa@resare.com>
3223         * java/util/Calendar.java (explicitDSTOffset): New instance field.
3224         (set(int,int)): Set and use new field.
3225         (set(int,int,int)): Check new field.
3227 2005-02-21  Noa Resare  <address@hidden>
3229         * java/util/Calendar.java(set):
3230         Fix for DST related regression.
3232 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
3234         * java/util/Calendar.java
3235         (setTimeInMillis): Added call to clear, removed computeFields call.
3236         * java/util/Date.java
3237         (Date(int,int,int,int,int,int)): Removed workaround for
3238         GregorianCalendar bug.
3239         * java/util/GregorianCalendar.java
3240         (GregorianCalendar): Chained all constructors to a (new)
3241         common constructor.
3242         (computeTime): Fixed support for lenient month treatment.
3243         (getLinearDay): Return long instead of int.
3244         (calculateDay): Added fields argument and changed day argument
3245         to long.
3247 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3249         * java/text/SimpleDateFormat.java
3250         Lots of documentation updates.
3251         (readObject(java.io.ObjectInputStream)): Wraps
3252         IllegalArgumentException as specified.
3253         (compileFormat(String)): Uses standardChars
3254         rather than the local pattern characters.
3255         Throws IllegalArgumentException rather than
3256         storing a -1 field.
3257         (toString()): Extended to include all variables
3258         in a better format.
3259         (translateLocalizedPattern(String, String, String)):
3260         Renamed to better define the use of this method.
3262 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3264         * java/text/DateFormat.java:
3265         Documented pattern character offset constants and
3266         added new ones.
3267         (Field): Added new static fields for new pattern chars.
3268         * java/text/SimpleDateFormat.java:
3269         (CompiledField): Changed name of FieldSizePair class
3270         to CompiledField after adding the character as an
3271         attribute.  Changed fields to private and added
3272         accessors to give encapsulation.
3273         (CompiledField.CompiledField(int,int,char)): Extended
3274         with character field.
3275         (CompiledField.getField()): New accessor method.
3276         (CompiledField.getSize()): New acceessor method.
3277         (CompiledField.getCharacter()): New accessor method.
3278         (CompiledField.toString()): Added primarily for debugging.
3279         (standardChars): Now uses extended 24 character sequence.
3280         (compileFormat(String)): Changed to use CompiledField.
3281         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3282         java.text.FieldPosition)): Changed to use CompiledField.
3283         New handler for RFC 822 timezones added.
3285 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3287         * java/text/SimpleDateFormat.java:
3288         (parse(String, java.text.ParsePosition)):
3289         Changed 'E' and 'M' cases to use both
3290         short and long names.  Extended 'z'
3291         case to also handle 'Z', and deal
3292         with simple GMT offsets such as +0100.
3293         (computeOffset(String)): New private method,
3294         which converts a GMT offset specification,
3295         such as GMT-0500 to a numeric offset in
3296         milliseconds.
3297         * java/util/TimeZone.java:
3298         (timezones()): Added "CEST", the daylight
3299         savings time version of "CET", or Central
3300         European Time.
3302 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3304         * java/text/SimpleDateFormat.java:
3305         (parse): Set the DST offset to 0 when parsing
3306         GMT offset timezones.
3308 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3310         * java/text/SimpleDateFormat.java:
3311         (parse): Use offset to set ZONE_OFFSET
3312         rather than the DST_OFFSET, so that
3313         GMT offset timezones change the right
3314         one.
3316 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3318         * java/text/SimpleDateFormat.java:
3319         (getDateFormatSymbols()): return a copy
3320         (setDateFormatSymbols(java.text.DateFormatSymbols)):
3321         throw exception on null input
3322         (clone()): implemented to clone
3323         internal fields
3325 2005-02-21  Sven de Marothy <sven@physto.se>
3327         * java/text/SimpleDateFormat.java
3328         (parse): comparison should be case-insensitive, ignore null
3329         strings.
3331 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
3333         * gnu/java/beans/IntrospectionIncubator.java
3334         (addMethod) Reverts the patch that ntroduced a regression (see bug
3335         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3337 2005-02-21  Michael Koch  <konqueror@gmx.de>
3339         * java/awt/Checkbox.java
3340         (next_checkbox_number): New static variable.
3341         (generateName): New method.
3342         (getUniqueLong): Likewise.
3343         * java/awt/Window.java
3344         (next_window_number): New static variable.
3345         (generateName): New method.
3346         (getUniqueLong): Likewise.
3348 2005-02-21  Mark Wielaard  <mark@klomp.org>
3350         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3351         exists.
3353 2005-02-21  Andrew Haley  <aph@redhat.com>
3355         * Makefile.in: Rebuilt.
3356         * Makefile.am (nat_source_files): Added natLogger.cc.
3357         * java/util/logging/natLogger.cc: New file.
3358         * java/util/logging/Logger.java (getCallerStackFrame): Now
3359         native.
3361 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
3363         * Makefile.am (all_property_files): Remove left over.
3364         (classes.stamp): Add stamp for the ONESTEP build, also known as
3365         --enable-libgcj-multifile.
3366         * Makefile.in: Regenerated.
3368 2005-02-21  Michael Koch  <konqueror@gmx.de>
3370         * java/awt/Button.java,
3371         java/awt/Container.java,
3372         java/awt/Font.java,
3373         java/awt/Frame.java,
3374         java/text/CollationElementIterator.java,
3375         java/text/RuleBasedCollator.java,
3376         java/util/PropertyPermission.java:
3377         Fixed formatting issues all over.
3379 2005-02-21  Mark Wielaard  <mark@klomp.org>
3381         * java/io/FileDescriptor.java (sync): Add real exception to
3382         SyncFailedException.
3384 2005-02-21  Michael Koch  <konqueror@gmx.de>
3386         * java/io/InputStreamReader.java:
3387         Fixed @author tag.
3389 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
3391         PR libgcj/19728:
3392         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3394 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
3396         * libraries/javalib/gnu/regexp/RE.java,
3397         libraries/javalib/java/io/ObjectInputStream.java,
3398         libraries/javalib/java/security/AllPermission.java,
3399         libraries/javalib/java/security/BasicPermission.java,
3400         libraries/javalib/java/security/Permissions.java,
3401         libraries/javalib/java/text/MessageFormat.java:
3402         Made 'inner' classes real public static inner classes,
3403         and made them final where possible, or removed them
3404         where unused.
3406 2005-02-20  Michael Koch  <konqueror@gmx.de>
3408         * gnu/java/text/FormatCharacterIterator.java:
3409         Removed redundant modifiers.
3411 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3413         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3414         snprintf.
3416 2005-02-19  Michael Koch  <konqueror@gmx.de>
3418         * Makefile.am: Added new files in gnu/java/beans and
3419         java/beans/XMLDecoder.java.
3420         * Makefile.in: Regenerated.
3422 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
3424         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3425         assignment behavior by using java.lang.reflect.Array.set()
3426         directly.
3428 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
3430         * gnu/java/beans/EmptyBeanInfo.java,
3431         gnu/java/beans/info/ComponentBeanInfo.java:
3432         Removed unused files.
3434 2005-02-19  Robert Schuster <thebohemian@gmx.net>
3436         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3437         of AppletStub for java.beans.Beans.instantiate.
3438         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3439         of AppletContext.
3440         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3441         to be conformant with Javadoc guidelines.
3442         (instantiate): Added two more overloaded variants, reworked user
3443         documentation, fixed exception behavior, fixed behavior when
3444         deserializing null.
3446 2005-02-19  Mark Wielaard  <mark@klomp.org>
3448         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3449         failing methods.
3450         * gnu/java/beans/decoder/DummyContext.java: Likewise.
3452 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
3454         * gnu/java/beans/decoder/AbstractContext.java,
3455         gnu/java/beans/decoder/AbstractCreatableContext.java,
3456         gnu/java/beans/decoder/AbstractElementHandler.java,
3457         gnu/java/beans/decoder/AbstractObjectContext.java,
3458         gnu/java/beans/decoder/ArrayContext.java,
3459         gnu/java/beans/decoder/ArrayHandler.java,
3460         gnu/java/beans/decoder/AssemblyException.java,
3461         gnu/java/beans/decoder/BooleanHandler.java,
3462         gnu/java/beans/decoder/ByteHandler.java,
3463         gnu/java/beans/decoder/CharHandler.java,
3464         gnu/java/beans/decoder/ClassHandler.java,
3465         gnu/java/beans/decoder/ConstructorContext.java,
3466         gnu/java/beans/decoder/Context.java,
3467         gnu/java/beans/decoder/DecoderContext.java,
3468         gnu/java/beans/decoder/DefaultExceptionListener.java,
3469         gnu/java/beans/decoder/DoubleHandler.java,
3470         gnu/java/beans/decoder/DummyContext.java,
3471         gnu/java/beans/decoder/DummyHandler.java,
3472         gnu/java/beans/decoder/ElementHandler.java,
3473         gnu/java/beans/decoder/FloatHandler.java,
3474         gnu/java/beans/decoder/GrowableArrayContext.java,
3475         gnu/java/beans/decoder/IndexContext.java,
3476         gnu/java/beans/decoder/IntHandler.java,
3477         gnu/java/beans/decoder/JavaHandler.java,
3478         gnu/java/beans/decoder/LongHandler.java,
3479         gnu/java/beans/decoder/MethodContext.java,
3480         gnu/java/beans/decoder/MethodFinder.java,
3481         gnu/java/beans/decoder/NullHandler.java,
3482         gnu/java/beans/decoder/ObjectContext.java,
3483         gnu/java/beans/decoder/ObjectHandler.java,
3484         gnu/java/beans/decoder/PersistenceParser.java,
3485         gnu/java/beans/decoder/PropertyContext.java,
3486         gnu/java/beans/decoder/ShortHandler.java,
3487         gnu/java/beans/decoder/SimpleHandler.java,
3488         gnu/java/beans/decoder/StaticMethodContext.java,
3489         gnu/java/beans/decoder/StringHandler.java,
3490         gnu/java/beans/decoder/VoidHandler.java: New class
3491         implementing java.beans.XMLDecoder decoding functionality.
3492         * java/beans/XMLDecoder.java: New class.
3494 2005-02-19  Michael Koch  <konqueror@gmx.de>
3496         * javax/swing/JTextField.java
3497         (notfiyAction): Added javadoc.
3499 2005-02-19  Sven de Marothy  <sven@physto.se>
3501         * javax/swing/SpinnerDateModel.java: Implemented.
3503 2005-02-19  Michael Koch  <konqueror@gmx.de>
3505         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3506         * Makefile.in: Regenerated.
3508 2005-02-19  Michael Koch  <konqueror@gmx.de>
3510         * gnu/java/nio/SelectorImpl.java:
3511         Reworked import statements.
3512         (register): Removed unused code.
3513         * java/nio/channels/Channels.java: Reformatted.
3514         * java/nio/charset/Charset.java: Likewise.
3515         * java/rmi/server/RemoteObject.java
3516         (serialVersionUID): Made private.
3517         * java/rmi/server/UID.java
3518         (serialVersionUID): Likewise.
3520 2005-02-19  Michael Koch  <konqueror@gmx.de>
3522         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3523         gnu/java/net/protocol/ftp/BlockInputStream.java,
3524         gnu/java/net/protocol/ftp/BlockOutputStream.java,
3525         gnu/java/net/protocol/ftp/CompressedInputStream.java,
3526         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3527         gnu/java/net/protocol/ftp/DTPInputStream.java,
3528         gnu/java/net/protocol/ftp/DTP.java,
3529         gnu/java/net/protocol/ftp/DTPOutputStream.java,
3530         gnu/java/net/protocol/ftp/FTPConnection.java,
3531         gnu/java/net/protocol/ftp/FTPException.java,
3532         gnu/java/net/protocol/ftp/FTPResponse.java,
3533         gnu/java/net/protocol/ftp/FTPURLConnection.java,
3534         gnu/java/net/protocol/ftp/Handler.java,
3535         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3536         gnu/java/net/protocol/ftp/StreamInputStream.java,
3537         gnu/java/net/protocol/ftp/StreamOutputStream.java,
3538         gnu/java/net/CRLFInputStream.java,
3539         gnu/java/net/CRLFOutputStream.java,
3540         gnu/java/net/GetLocalHostAction.java,
3541         gnu/java/net/protocol/ftp/package.html: New files.
3542         * Makefile.am: Added new files.
3543         * Makefile.in: Regenerated.
3545 2005-02-18  Tom Tromey  <tromey@redhat.com>
3547         * link.cc (make_vtable): Remove abstract method check.
3548         (append_partial_itable): Likewise.
3550         PR java/20056:
3551         * verify.cc (type::equals): Fixed test.
3552         * testsuite/libjava.lang/PR20056.out: New file.
3553         * testsuite/libjava.lang/PR20056.java: New file.
3555 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
3557         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3558         not the HashEntry. Reported by Jean-Marie White.
3560 2005-02-18  Tom Tromey  <tromey@redhat.com>
3562         PR java/20056:
3563         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3564         * link.cc (has_field_p): New function.
3565         * verify.cc (check_field_constant): Added 'putfield' argument.
3566         (verify_instructions_0): Updated.
3567         (type::equals): New method.
3569 2005-02-18  Anthony Green  <green@redhat.com>
3571         * NEWS: Draft of libgcj NEWS for 4.0.
3573 2005-02-18  Anthony Green  <green@redhat.com>
3575         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3576         architecture names to "i386" for compatibility reasons.  Win32
3577         still uses "x86".
3579 2005-02-18  Anthony Green  <green@redhat.com>
3581         * gij.cc (version): Change year for '--version' to 2005.
3582         * gnu/gcj/convert/Convert.java: Ditto.
3583         * gnu/java/rmi/rmic/RMIC.java: Ditto.
3584         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3586         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3587         recent copyright year in `--version' output.
3589 2005-02-18  Robert Schuster <thebohemian@gmx.net>
3591         * java/nio/charset/Charset.java (forName): Throws
3592         IllegalArgumentException when argument is null
3593         and added documentation.
3595 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3597         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3598         Move the position of the source buffer forward.
3600 2005-02-17  Tom Tromey  <tromey@redhat.com>
3602         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3603         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3604         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3605         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3606         Changed type of second argument.  Rewrote.
3607         (make_vtable): Use it.
3608         (append_partial_itable): Updated.
3609         (layout_vtable_methods): Updated.
3611 2005-02-17  Michael Koch  <konqueror@gmx.de>
3613         * gnu/java/net/PlainSocketImpl.java
3614         (shutdownInput): Added javadoc.
3615         (shutdownOutput): Likewise.
3617 2005-02-17  Michael Koch  <konqueror@gmx.de>
3619         * javax/print/attribute/standard/Chromaticity.java,
3620         javax/print/attribute/standard/Destination.java,
3621         javax/print/attribute/standard/MediaPrintableArea.java,
3622         javax/print/attribute/standard/MediaSize.java: New files.
3623         * Makefile.am: Added new files.
3624         * Makefile.in: Regenerated.
3626 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3627             Michael Koch  <konqueror@gmx.de>
3629         * gnu/java/net/protocol/http/Cookie.java,
3630         gnu/java/net/protocol/http/HTTPConnection.java,
3631         gnu/java/net/protocol/http/HTTPDateFormat.java,
3632         gnu/java/net/protocol/http/Request.java,
3633         gnu/java/nio/PipeImpl.java,
3634         gnu/java/rmi/dgc/DGCImpl.java,
3635         gnu/java/rmi/server/ConnectionRunnerPool.java,
3636         gnu/java/rmi/server/UnicastConnectionManager.java,
3637         gnu/java/security/der/DERWriter.java,
3638         gnu/java/security/pkcs/SignerInfo.java,
3639         gnu/java/security/provider/EncodedKeyFactory.java,
3640         gnu/java/security/provider/GnuDHPublicKey.java,
3641         gnu/java/security/provider/GnuDSAPrivateKey.java,
3642         gnu/java/security/provider/GnuDSAPublicKey.java,
3643         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3644         gnu/java/security/x509/X500DistinguishedName.java,
3645         gnu/java/security/x509/X509CRL.java,
3646         gnu/java/security/x509/X509CRLEntry.java,
3647         gnu/java/security/x509/X509Certificate.java,
3648         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3649         gnu/java/security/x509/ext/CertificatePolicies.java,
3650         gnu/java/security/x509/ext/PolicyConstraint.java,
3651         gnu/xml/dom/Consumer.java,
3652         gnu/xml/dom/DomCharacterData.java,
3653         gnu/xml/dom/DomDocument.java,
3654         gnu/xml/dom/DomDocumentBuilder.java,
3655         gnu/xml/dom/DomIterator.java,
3656         gnu/xml/dom/DomNode.java,
3657         gnu/xml/dom/DomXPathExpression.java,
3658         gnu/xml/dom/DomXPathResult.java,
3659         gnu/xml/dom/JAXPFactory.java,
3660         gnu/xml/pipeline/CallFilter.java,
3661         gnu/xml/pipeline/DomConsumer.java,
3662         gnu/xml/pipeline/LinkFilter.java,
3663         gnu/xml/pipeline/NSFilter.java,
3664         gnu/xml/pipeline/TeeConsumer.java,
3665         gnu/xml/pipeline/ValidationConsumer.java,
3666         gnu/xml/pipeline/WellFormednessFilter.java,
3667         gnu/xml/pipeline/XIncludeFilter.java,
3668         gnu/xml/pipeline/XsltFilter.java,
3669         gnu/xml/transform/ApplyImportsNode.java,
3670         gnu/xml/transform/Bindings.java,
3671         gnu/xml/transform/DocumentFunction.java,
3672         gnu/xml/transform/FormatNumberFunction.java,
3673         gnu/xml/transform/NodeNumberNode.java,
3674         gnu/xml/transform/NumberNode.java,
3675         gnu/xml/transform/Stylesheet.java,
3676         gnu/xml/transform/SystemPropertyFunction.java,
3677         gnu/xml/transform/Template.java,
3678         gnu/xml/transform/TemplatesImpl.java,
3679         gnu/xml/transform/TransformerImpl.java,
3680         gnu/xml/transform/ValueOfNode.java,
3681         gnu/xml/transform/XSLURIResolver.java,
3682         gnu/xml/util/DoParse.java,
3683         gnu/xml/util/Resolver.java,
3684         gnu/xml/xpath/Expr.java,
3685         gnu/xml/xpath/FunctionCall.java,
3686         gnu/xml/xpath/RelationalExpr.java,
3687         gnu/xml/xpath/Selector.java,
3688         gnu/xml/xpath/XPathParser.java:
3689         Reworked import statements, fixed modifier order and some little
3690         formatting issues.
3692 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3694         * java/nio/ByteBufferImpl.java (compact):
3695         Set position and limit even if no bytes were moved.
3697 2005-02-17  Michael Koch  <konqueror@gmx.de>
3699         * java/nio/CharViewBufferImpl.java (compact): Likewise.
3700         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3701         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3702         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3703         * java/nio/IntViewBufferImpl.java (compact): Likewise.
3704         * java/nio/LongViewBufferImpl.java (compact): Likewise.
3705         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3706         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3707         * java/nio/FloatBufferImpl.java (compact): Set position.
3708         * java/nio/CharBufferImpl.java (compact): Likewise.
3709         * java/nio/DoubleBufferImpl.java (compact): Likewise.
3710         * java/nio/IntBufferImpl.java (compact): Likewise.
3711         * java/nio/LongBufferImpl.java (compact): Likewise.
3712         * java/nio/ShortBufferImpl.java (compact): Likewise.
3714 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
3716         * java/nio/ByteBufferImpl.java,
3717         java/nio/CharBufferImpl.java,
3718         java/nio/DirectByteBufferImpl.java,
3719         java/nio/DoubleBufferImpl.java,
3720         java/nio/FloatBufferImpl.java,
3721         java/nio/IntBufferImpl.java,
3722         java/nio/LongBufferImpl.java,
3723         java/nio/MappedByteBufferImpl.java,
3724         java/nio/ShortBufferImpl.java
3725         (compact): Added explicit read-only check and invalidate mark.
3727 2005-02-17  Michael Koch  <konqueror@gmx.de>
3729         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3730         gnu/java/awt/peer/gtk/GdkFontPeer.java,
3731         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3732         gnu/java/awt/peer/gtk/GdkGraphics.java,
3733         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3734         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3735         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3736         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3737         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3738         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3739         gnu/java/awt/peer/gtk/GdkTextLayout.java,
3740         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3741         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3742         gnu/java/awt/peer/gtk/GtkClipboard.java,
3743         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3744         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3745         gnu/java/awt/peer/gtk/GtkFontPeer.java,
3746         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3747         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3748         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3749         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3750         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3751         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3752         gnu/java/awt/peer/gtk/GtkToolkit.java,
3753         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3754         java/applet/Applet.java,
3755         java/awt/AWTError.java,
3756         java/awt/AWTEvent.java,
3757         java/awt/AWTEventMulticaster.java,
3758         java/awt/AWTException.java,
3759         java/awt/AWTKeyStroke.java,
3760         java/awt/AWTPermission.java,
3761         java/awt/ActiveEvent.java,
3762         java/awt/Adjustable.java,
3763         java/awt/AlphaComposite.java,
3764         java/awt/AttributeValue.java,
3765         java/awt/BorderLayout.java,
3766         java/awt/BufferCapabilities.java,
3767         java/awt/Button.java,
3768         java/awt/Canvas.java,
3769         java/awt/CheckboxGroup.java,
3770         java/awt/CheckboxMenuItem.java,
3771         java/awt/Color.java,
3772         java/awt/ColorPaintContext.java,
3773         java/awt/Component.java,
3774         java/awt/ComponentOrientation.java,
3775         java/awt/Composite.java,
3776         java/awt/CompositeContext.java,
3777         java/awt/Container.java,
3778         java/awt/ContainerOrderFocusTraversalPolicy.java,
3779         java/awt/DefaultFocusTraversalPolicy.java,
3780         java/awt/Dialog.java,
3781         java/awt/Dimension.java,
3782         java/awt/DisplayMode.java,
3783         java/awt/EventQueue.java,
3784         java/awt/FileDialog.java,
3785         java/awt/FontFormatException.java,
3786         java/awt/Graphics.java,
3787         java/awt/Graphics2D.java,
3788         java/awt/GraphicsConfigTemplate.java,
3789         java/awt/GraphicsConfiguration.java,
3790         java/awt/GraphicsDevice.java,
3791         java/awt/GridBagLayout.java,
3792         java/awt/GridBagLayoutInfo.java,
3793         java/awt/GridLayout.java,
3794         java/awt/HeadlessException.java,
3795         java/awt/IllegalComponentStateException.java,
3796         java/awt/Image.java,
3797         java/awt/Insets.java,
3798         java/awt/ItemSelectable.java,
3799         java/awt/JobAttributes.java,
3800         java/awt/KeyEventDispatcher.java,
3801         java/awt/KeyEventPostProcessor.java,
3802         java/awt/KeyboardFocusManager.java,
3803         java/awt/Label.java,
3804         java/awt/LayoutManager.java,
3805         java/awt/MenuBar.java,
3806         java/awt/MenuComponent.java,
3807         java/awt/MenuContainer.java,
3808         java/awt/PageAttributes.java,
3809         java/awt/Paint.java,
3810         java/awt/PaintContext.java,
3811         java/awt/Panel.java,
3812         java/awt/Point.java,
3813         java/awt/Polygon.java,
3814         java/awt/PrintGraphics.java,
3815         java/awt/PrintJob.java,
3816         java/awt/Rectangle.java,
3817         java/awt/RenderingHints.java,
3818         java/awt/Shape.java,
3819         java/awt/Stroke.java,
3820         java/awt/SystemColor.java,
3821         java/awt/Toolkit.java,
3822         java/awt/Transparency.java,
3823         java/awt/Window.java,
3824         java/awt/color/CMMException.java,
3825         java/awt/color/ColorSpace.java,
3826         java/awt/color/ICC_ColorSpace.java,
3827         java/awt/color/ICC_Profile.java,
3828         java/awt/color/ProfileDataException.java,
3829         java/awt/datatransfer/FlavorTable.java,
3830         java/awt/datatransfer/MimeTypeParseException.java,
3831         java/awt/datatransfer/Transferable.java,
3832         java/awt/datatransfer/UnsupportedFlavorException.java,
3833         java/awt/dnd/Autoscroll.java,
3834         java/awt/dnd/DnDConstants.java,
3835         java/awt/dnd/DragGestureListener.java,
3836         java/awt/dnd/DragSourceAdapter.java,
3837         java/awt/dnd/DragSourceDropEvent.java,
3838         java/awt/dnd/DragSourceListener.java,
3839         java/awt/dnd/DragSourceMotionListener.java,
3840         java/awt/dnd/DropTargetAdapter.java,
3841         java/awt/dnd/DropTargetContext.java,
3842         java/awt/dnd/DropTargetListener.java,
3843         java/awt/dnd/InvalidDnDOperationException.java,
3844         java/awt/dnd/MouseDragGestureRecognizer.java,
3845         java/awt/dnd/peer/DropTargetContextPeer.java,
3846         java/awt/event/AWTEventListener.java,
3847         java/awt/event/AWTEventListenerProxy.java,
3848         java/awt/event/ActionEvent.java,
3849         java/awt/event/AdjustmentEvent.java,
3850         java/awt/event/AdjustmentListener.java,
3851         java/awt/event/ComponentAdapter.java,
3852         java/awt/event/ComponentEvent.java,
3853         java/awt/event/ComponentListener.java,
3854         java/awt/event/ContainerAdapter.java,
3855         java/awt/event/ContainerEvent.java,
3856         java/awt/event/ContainerListener.java,
3857         java/awt/event/FocusAdapter.java,
3858         java/awt/event/FocusEvent.java,
3859         java/awt/event/FocusListener.java,
3860         java/awt/event/InputEvent.java,
3861         java/awt/event/InputMethodEvent.java,
3862         java/awt/event/InputMethodListener.java,
3863         java/awt/event/InvocationEvent.java,
3864         java/awt/event/ItemEvent.java,
3865         java/awt/event/ItemListener.java,
3866         java/awt/event/KeyAdapter.java,
3867         java/awt/event/KeyEvent.java,
3868         java/awt/event/KeyListener.java,
3869         java/awt/event/MouseAdapter.java,
3870         java/awt/event/MouseEvent.java,
3871         java/awt/event/MouseListener.java,
3872         java/awt/event/MouseMotionAdapter.java,
3873         java/awt/event/MouseMotionListener.java,
3874         java/awt/event/MouseWheelEvent.java,
3875         java/awt/event/MouseWheelListener.java,
3876         java/awt/event/PaintEvent.java,
3877         java/awt/event/TextEvent.java,
3878         java/awt/event/TextListener.java,
3879         java/awt/event/WindowAdapter.java,
3880         java/awt/event/WindowEvent.java,
3881         java/awt/event/WindowFocusListener.java,
3882         java/awt/event/WindowListener.java,
3883         java/awt/event/WindowStateListener.java,
3884         java/awt/font/TextHitInfo.java,
3885         java/awt/geom/CubicCurve2D.java,
3886         java/awt/geom/Dimension2D.java,
3887         java/awt/geom/Ellipse2D.java,
3888         java/awt/geom/IllegalPathStateException.java,
3889         java/awt/geom/Line2D.java,
3890         java/awt/geom/NoninvertibleTransformException.java,
3891         java/awt/geom/PathIterator.java,
3892         java/awt/geom/Point2D.java,
3893         java/awt/geom/QuadCurve2D.java,
3894         java/awt/geom/RectangularShape.java,
3895         java/awt/geom/RoundRectangle2D.java,
3896         java/awt/im/InputContext.java,
3897         java/awt/im/InputMethodHighlight.java,
3898         java/awt/im/InputMethodRequests.java,
3899         java/awt/im/InputSubset.java,
3900         java/awt/im/spi/InputMethod.java,
3901         java/awt/im/spi/InputMethodDescriptor.java,
3902         java/awt/image/BandCombineOp.java,
3903         java/awt/image/BandedSampleModel.java,
3904         java/awt/image/ByteLookupTable.java,
3905         java/awt/image/ComponentSampleModel.java,
3906         java/awt/image/DataBuffer.java,
3907         java/awt/image/DataBufferByte.java,
3908         java/awt/image/DataBufferDouble.java,
3909         java/awt/image/DataBufferFloat.java,
3910         java/awt/image/DataBufferInt.java,
3911         java/awt/image/DataBufferShort.java,
3912         java/awt/image/DataBufferUShort.java,
3913         java/awt/image/ImagingOpException.java,
3914         java/awt/image/Kernel.java,
3915         java/awt/image/LookupTable.java,
3916         java/awt/image/MultiPixelPackedSampleModel.java,
3917         java/awt/image/PackedColorModel.java,
3918         java/awt/image/PixelInterleavedSampleModel.java,
3919         java/awt/image/RGBImageFilter.java,
3920         java/awt/image/Raster.java,
3921         java/awt/image/RasterFormatException.java,
3922         java/awt/image/SampleModel.java,
3923         java/awt/image/ShortLookupTable.java,
3924         java/awt/image/SinglePixelPackedSampleModel.java,
3925         java/awt/image/WritableRaster.java,
3926         java/awt/print/PrinterAbortException.java,
3927         java/awt/print/PrinterException.java,
3928         java/awt/print/PrinterIOException.java,
3929         java/beans/AppletInitializer.java,
3930         java/beans/ExceptionListener.java,
3931         java/beans/PropertyChangeEvent.java,
3932         java/beans/PropertyChangeListenerProxy.java,
3933         java/beans/PropertyChangeSupport.java,
3934         java/beans/PropertyDescriptor.java,
3935         java/beans/VetoableChangeListenerProxy.java,
3936         java/beans/VetoableChangeSupport.java,
3937         java/io/BufferedReader.java,
3938         java/io/ByteArrayInputStream.java,
3939         java/io/ByteArrayOutputStream.java,
3940         java/io/CharArrayReader.java,
3941         java/io/CharArrayWriter.java,
3942         java/io/CharConversionException.java,
3943         java/io/DataInput.java,
3944         java/io/DataInputStream.java,
3945         java/io/DataOutput.java,
3946         java/io/DataOutputStream.java,
3947         java/io/EOFException.java,
3948         java/io/FileInputStream.java,
3949         java/io/FileNotFoundException.java,
3950         java/io/FileOutputStream.java,
3951         java/io/FilenameFilter.java,
3952         java/io/FilterInputStream.java,
3953         java/io/FilterOutputStream.java,
3954         java/io/FilterReader.java,
3955         java/io/FilterWriter.java,
3956         java/io/IOException.java,
3957         java/io/InputStream.java,
3958         java/io/InterruptedIOException.java,
3959         java/io/LineNumberInputStream.java,
3960         java/io/LineNumberReader.java,
3961         java/io/ObjectInputStream.java,
3962         java/io/ObjectStreamException.java,
3963         java/io/OptionalDataException.java,
3964         java/io/OutputStream.java,
3965         java/io/OutputStreamWriter.java,
3966         java/io/PrintStream.java,
3967         java/io/PrintWriter.java,
3968         java/io/PushbackInputStream.java,
3969         java/io/PushbackReader.java,
3970         java/io/RandomAccessFile.java,
3971         java/io/Reader.java,
3972         java/io/SequenceInputStream.java,
3973         java/io/Serializable.java,
3974         java/io/StreamCorruptedException.java,
3975         java/io/StreamTokenizer.java,
3976         java/io/StringBufferInputStream.java,
3977         java/io/StringWriter.java,
3978         java/io/SyncFailedException.java,
3979         java/io/UTFDataFormatException.java,
3980         java/io/UnsupportedEncodingException.java,
3981         java/io/WriteAbortedException.java,
3982         java/io/Writer.java,
3983         java/lang/AbstractMethodError.java,
3984         java/lang/ArithmeticException.java,
3985         java/lang/ArrayIndexOutOfBoundsException.java,
3986         java/lang/ArrayStoreException.java,
3987         java/lang/AssertionError.java,
3988         java/lang/Boolean.java,
3989         java/lang/Byte.java,
3990         java/lang/Class.java,
3991         java/lang/ClassCastException.java,
3992         java/lang/ClassCircularityError.java,
3993         java/lang/ClassLoader.java,
3994         java/lang/ClassNotFoundException.java,
3995         java/lang/CloneNotSupportedException.java,
3996         java/lang/Cloneable.java,
3997         java/lang/Comparable.java,
3998         java/lang/Compiler.java,
3999         java/lang/Double.java,
4000         java/lang/Error.java,
4001         java/lang/Exception.java,
4002         java/lang/ExceptionInInitializerError.java,
4003         java/lang/Float.java,
4004         java/lang/IllegalAccessError.java,
4005         java/lang/IllegalAccessException.java,
4006         java/lang/IllegalArgumentException.java,
4007         java/lang/IllegalMonitorStateException.java,
4008         java/lang/IllegalStateException.java,
4009         java/lang/IllegalThreadStateException.java,
4010         java/lang/IncompatibleClassChangeError.java,
4011         java/lang/IndexOutOfBoundsException.java,
4012         java/lang/InheritableThreadLocal.java,
4013         java/lang/InstantiationError.java,
4014         java/lang/InstantiationException.java,
4015         java/lang/Integer.java,
4016         java/lang/InternalError.java,
4017         java/lang/InterruptedException.java,
4018         java/lang/LinkageError.java,
4019         java/lang/Long.java,
4020         java/lang/NegativeArraySizeException.java,
4021         java/lang/NoClassDefFoundError.java,
4022         java/lang/NoSuchFieldError.java,
4023         java/lang/NoSuchFieldException.java,
4024         java/lang/NoSuchMethodError.java,
4025         java/lang/NoSuchMethodException.java,
4026         java/lang/NullPointerException.java,
4027         java/lang/Number.java,
4028         java/lang/NumberFormatException.java,
4029         java/lang/OutOfMemoryError.java,
4030         java/lang/Process.java,
4031         java/lang/Runnable.java,
4032         java/lang/Runtime.java,
4033         java/lang/RuntimeException.java,
4034         java/lang/RuntimePermission.java,
4035         java/lang/SecurityException.java,
4036         java/lang/SecurityManager.java,
4037         java/lang/Short.java,
4038         java/lang/StackOverflowError.java,
4039         java/lang/StackTraceElement.java,
4040         java/lang/StringBuffer.java,
4041         java/lang/StringIndexOutOfBoundsException.java,
4042         java/lang/ThreadDeath.java,
4043         java/lang/ThreadGroup.java,
4044         java/lang/Throwable.java,
4045         java/lang/UnsatisfiedLinkError.java,
4046         java/lang/UnsupportedOperationException.java,
4047         java/lang/VerifyError.java,
4048         java/lang/VirtualMachineError.java,
4049         java/lang/reflect/AccessibleObject.java,
4050         java/lang/reflect/Array.java,
4051         java/lang/reflect/InvocationTargetException.java,
4052         java/lang/reflect/Member.java,
4053         java/lang/reflect/Modifier.java,
4054         java/lang/reflect/Proxy.java,
4055         java/lang/reflect/ReflectPermission.java,
4056         java/lang/reflect/UndeclaredThrowableException.java,
4057         java/math/BigInteger.java,
4058         java/net/NetworkInterface.java,
4059         java/nio/ByteBufferHelper.java,
4060         java/nio/ByteBufferImpl.java,
4061         java/nio/DirectByteBufferImpl.java,
4062         java/nio/DoubleBufferImpl.java,
4063         java/nio/FloatBufferImpl.java,
4064         java/nio/IntBufferImpl.java,
4065         java/nio/LongBufferImpl.java,
4066         java/nio/ShortBufferImpl.java,
4067         java/nio/channels/Channel.java,
4068         java/nio/channels/IllegalBlockingModeException.java,
4069         java/nio/charset/spi/CharsetProvider.java,
4070         java/security/AccessControlException.java,
4071         java/security/BasicPermission.java,
4072         java/security/DigestException.java,
4073         java/security/DigestInputStream.java,
4074         java/security/DigestOutputStream.java,
4075         java/security/GeneralSecurityException.java,
4076         java/security/Guard.java,
4077         java/security/GuardedObject.java,
4078         java/security/InvalidAlgorithmParameterException.java,
4079         java/security/InvalidKeyException.java,
4080         java/security/InvalidParameterException.java,
4081         java/security/Key.java,
4082         java/security/KeyException.java,
4083         java/security/KeyManagementException.java,
4084         java/security/KeyStoreException.java,
4085         java/security/MessageDigestSpi.java,
4086         java/security/NoSuchAlgorithmException.java,
4087         java/security/NoSuchProviderException.java,
4088         java/security/Permission.java,
4089         java/security/PermissionCollection.java,
4090         java/security/Permissions.java,
4091         java/security/Principal.java,
4092         java/security/PrivateKey.java,
4093         java/security/PrivilegedActionException.java,
4094         java/security/ProviderException.java,
4095         java/security/PublicKey.java,
4096         java/security/SecureRandom.java,
4097         java/security/SecureRandomSpi.java,
4098         java/security/SignatureException.java,
4099         java/security/SignatureSpi.java,
4100         java/security/SignedObject.java,
4101         java/security/Signer.java,
4102         java/security/UnrecoverableKeyException.java,
4103         java/security/UnresolvedPermission.java,
4104         java/security/acl/AclNotFoundException.java,
4105         java/security/acl/LastOwnerException.java,
4106         java/security/acl/NotOwnerException.java,
4107         java/security/cert/CertPath.java,
4108         java/security/cert/CertPathBuilderException.java,
4109         java/security/cert/CertPathValidatorException.java,
4110         java/security/cert/CertStoreException.java,
4111         java/text/BreakIterator.java,
4112         java/text/ChoiceFormat.java,
4113         java/text/CollationElementIterator.java,
4114         java/text/CollationKey.java,
4115         java/text/Collator.java,
4116         java/text/DateFormat.java,
4117         java/text/DateFormatSymbols.java,
4118         java/text/DecimalFormat.java,
4119         java/text/DecimalFormatSymbols.java,
4120         java/text/FieldPosition.java,
4121         java/text/Format.java,
4122         java/text/NumberFormat.java,
4123         java/text/ParseException.java,
4124         java/text/ParsePosition.java,
4125         java/text/StringCharacterIterator.java,
4126         java/util/AbstractCollection.java,
4127         java/util/AbstractList.java,
4128         java/util/AbstractMap.java,
4129         java/util/AbstractSequentialList.java,
4130         java/util/AbstractSet.java,
4131         java/util/ArrayList.java,
4132         java/util/Arrays.java,
4133         java/util/BitSet.java,
4134         java/util/Collection.java,
4135         java/util/Collections.java,
4136         java/util/Comparator.java,
4137         java/util/ConcurrentModificationException.java,
4138         java/util/Currency.java,
4139         java/util/Date.java,
4140         java/util/EmptyStackException.java,
4141         java/util/Enumeration.java,
4142         java/util/EventListener.java,
4143         java/util/EventListenerProxy.java,
4144         java/util/EventObject.java,
4145         java/util/HashMap.java,
4146         java/util/HashSet.java,
4147         java/util/Hashtable.java,
4148         java/util/IdentityHashMap.java,
4149         java/util/Iterator.java,
4150         java/util/LinkedHashSet.java,
4151         java/util/LinkedList.java,
4152         java/util/List.java,
4153         java/util/ListIterator.java,
4154         java/util/ListResourceBundle.java,
4155         java/util/Map.java,
4156         java/util/MissingResourceException.java,
4157         java/util/NoSuchElementException.java,
4158         java/util/Observable.java,
4159         java/util/Observer.java,
4160         java/util/Properties.java,
4161         java/util/PropertyPermissionCollection.java,
4162         java/util/RandomAccess.java,
4163         java/util/Set.java,
4164         java/util/SortedMap.java,
4165         java/util/SortedSet.java,
4166         java/util/Stack.java,
4167         java/util/StringTokenizer.java,
4168         java/util/TooManyListenersException.java,
4169         java/util/TreeMap.java,
4170         java/util/TreeSet.java,
4171         java/util/Vector.java,
4172         java/util/logging/FileHandler.java,
4173         java/util/logging/Level.java,
4174         java/util/prefs/BackingStoreException.java,
4175         java/util/prefs/InvalidPreferencesFormatException.java,
4176         java/util/prefs/Preferences.java,
4177         javax/accessibility/Accessible.java,
4178         javax/accessibility/AccessibleAction.java,
4179         javax/accessibility/AccessibleBundle.java,
4180         javax/accessibility/AccessibleComponent.java,
4181         javax/accessibility/AccessibleContext.java,
4182         javax/accessibility/AccessibleEditableText.java,
4183         javax/accessibility/AccessibleExtendedComponent.java,
4184         javax/accessibility/AccessibleExtendedTable.java,
4185         javax/accessibility/AccessibleHyperlink.java,
4186         javax/accessibility/AccessibleHypertext.java,
4187         javax/accessibility/AccessibleIcon.java,
4188         javax/accessibility/AccessibleKeyBinding.java,
4189         javax/accessibility/AccessibleRelation.java,
4190         javax/accessibility/AccessibleRelationSet.java,
4191         javax/accessibility/AccessibleResourceBundle.java,
4192         javax/accessibility/AccessibleRole.java,
4193         javax/accessibility/AccessibleSelection.java,
4194         javax/accessibility/AccessibleState.java,
4195         javax/accessibility/AccessibleStateSet.java,
4196         javax/accessibility/AccessibleTable.java,
4197         javax/accessibility/AccessibleTableModelChange.java,
4198         javax/accessibility/AccessibleText.java,
4199         javax/accessibility/AccessibleValue.java,
4200         javax/imageio/IIOException.java,
4201         javax/imageio/ImageIO.java,
4202         javax/imageio/spi/IIOServiceProvider.java,
4203         javax/imageio/spi/ImageInputStreamSpi.java,
4204         javax/imageio/spi/ImageOutputStreamSpi.java,
4205         javax/imageio/spi/ImageReaderWriterSpi.java,
4206         javax/imageio/spi/ImageTranscoderSpi.java,
4207         javax/imageio/spi/RegisterableService.java,
4208         javax/imageio/spi/ServiceRegistry.java,
4209         javax/imageio/stream/IIOByteBuffer.java,
4210         javax/imageio/stream/ImageInputStream.java,
4211         javax/imageio/stream/ImageOutputStream.java,
4212         javax/naming/Binding.java,
4213         javax/naming/CannotProceedException.java,
4214         javax/naming/CompositeName.java,
4215         javax/naming/CompoundName.java,
4216         javax/naming/LinkException.java,
4217         javax/naming/LinkRef.java,
4218         javax/naming/NameClassPair.java,
4219         javax/naming/Reference.java,
4220         javax/naming/ReferralException.java,
4221         javax/naming/directory/Attribute.java,
4222         javax/naming/directory/AttributeModificationException.java,
4223         javax/naming/directory/Attributes.java,
4224         javax/naming/directory/DirContext.java,
4225         javax/naming/directory/ModificationItem.java,
4226         javax/naming/directory/SearchControls.java,
4227         javax/naming/directory/SearchResult.java,
4228         javax/naming/event/EventContext.java,
4229         javax/naming/event/EventDirContext.java,
4230         javax/naming/event/NamespaceChangeListener.java,
4231         javax/naming/event/NamingExceptionEvent.java,
4232         javax/naming/event/NamingListener.java,
4233         javax/naming/event/ObjectChangeListener.java,
4234         javax/naming/ldap/Control.java,
4235         javax/naming/ldap/ExtendedResponse.java,
4236         javax/naming/ldap/HasControls.java,
4237         javax/naming/ldap/LdapContext.java,
4238         javax/naming/ldap/UnsolicitedNotification.java,
4239         javax/naming/ldap/UnsolicitedNotificationEvent.java,
4240         javax/naming/ldap/UnsolicitedNotificationListener.java,
4241         javax/naming/spi/DirectoryManager.java,
4242         javax/naming/spi/ResolveResult.java,
4243         javax/naming/spi/Resolver.java,
4244         javax/security/auth/callback/Callback.java,
4245         javax/security/auth/callback/CallbackHandler.java,
4246         javax/security/auth/callback/ChoiceCallback.java,
4247         javax/security/auth/callback/ConfirmationCallback.java,
4248         javax/security/auth/callback/LanguageCallback.java,
4249         javax/security/auth/callback/NameCallback.java,
4250         javax/security/auth/callback/PasswordCallback.java,
4251         javax/security/auth/callback/TextInputCallback.java,
4252         javax/security/auth/callback/TextOutputCallback.java,
4253         javax/security/auth/callback/UnsupportedCallbackException.java,
4254         javax/security/sasl/Sasl.java,
4255         javax/security/sasl/SaslServerFactory.java,
4256         javax/swing/DefaultBoundedRangeModel.java,
4257         javax/swing/JComponent.java,
4258         javax/swing/JList.java,
4259         javax/swing/JProgressBar.java,
4260         javax/swing/JRadioButton.java,
4261         javax/swing/JTextArea.java,
4262         javax/swing/JTextField.java,
4263         javax/swing/JToggleButton.java,
4264         javax/swing/JTree.java,
4265         javax/swing/SpinnerListModel.java,
4266         javax/swing/event/EventListenerList.java,
4267         javax/swing/text/JTextComponent.java,
4268         javax/swing/text/StringContent.java,
4269         javax/swing/text/Utilities.java,
4270         javax/swing/undo/UndoManager.java,
4271         javax/swing/undo/UndoableEditSupport.java,
4272         javax/transaction/HeuristicCommitException.java,
4273         javax/transaction/HeuristicMixedException.java,
4274         javax/transaction/HeuristicRollbackException.java,
4275         javax/transaction/InvalidTransactionException.java,
4276         javax/transaction/NotSupportedException.java,
4277         javax/transaction/RollbackException.java,
4278         javax/transaction/Status.java,
4279         javax/transaction/Synchronization.java,
4280         javax/transaction/SystemException.java,
4281         javax/transaction/Transaction.java,
4282         javax/transaction/TransactionManager.java,
4283         javax/transaction/TransactionRequiredException.java,
4284         javax/transaction/TransactionRolledbackException.java,
4285         javax/transaction/UserTransaction.java,
4286         javax/transaction/xa/XAException.java,
4287         javax/transaction/xa/XAResource.java,
4288         javax/transaction/xa/Xid.java,
4289         javax/xml/XMLConstants.java,
4290         javax/xml/datatype/DatatypeConfigurationException.java,
4291         javax/xml/datatype/DatatypeConstants.java,
4292         javax/xml/datatype/DatatypeFactory.java,
4293         javax/xml/datatype/Duration.java,
4294         javax/xml/datatype/XMLGregorianCalendar.java,
4295         javax/xml/namespace/NamespaceContext.java,
4296         javax/xml/namespace/QName.java,
4297         javax/xml/parsers/DocumentBuilder.java,
4298         javax/xml/parsers/DocumentBuilderFactory.java,
4299         javax/xml/parsers/FactoryConfigurationError.java,
4300         javax/xml/parsers/ParserConfigurationException.java,
4301         javax/xml/parsers/SAXParser.java,
4302         javax/xml/parsers/SAXParserFactory.java,
4303         javax/xml/transform/ErrorListener.java,
4304         javax/xml/transform/OutputKeys.java,
4305         javax/xml/transform/Result.java,
4306         javax/xml/transform/Source.java,
4307         javax/xml/transform/SourceLocator.java,
4308         javax/xml/transform/Templates.java,
4309         javax/xml/transform/Transformer.java,
4310         javax/xml/transform/TransformerConfigurationException.java,
4311         javax/xml/transform/TransformerException.java,
4312         javax/xml/transform/TransformerFactory.java,
4313         javax/xml/transform/TransformerFactoryConfigurationError.java,
4314         javax/xml/transform/URIResolver.java,
4315         javax/xml/transform/dom/DOMLocator.java,
4316         javax/xml/transform/dom/DOMResult.java,
4317         javax/xml/transform/dom/DOMSource.java,
4318         javax/xml/transform/sax/SAXResult.java,
4319         javax/xml/transform/sax/SAXSource.java,
4320         javax/xml/transform/sax/SAXTransformerFactory.java,
4321         javax/xml/transform/sax/TemplatesHandler.java,
4322         javax/xml/transform/sax/TransformerHandler.java,
4323         javax/xml/transform/stream/StreamResult.java,
4324         javax/xml/transform/stream/StreamSource.java,
4325         javax/xml/validation/Schema.java,
4326         javax/xml/validation/SchemaFactory.java,
4327         javax/xml/validation/TypeInfoProvider.java,
4328         javax/xml/validation/Validator.java,
4329         javax/xml/validation/ValidatorHandler.java,
4330         javax/xml/xpath/XPathConstants.java,
4331         javax/xml/xpath/XPathException.java,
4332         javax/xml/xpath/XPathExpression.java,
4333         javax/xml/xpath/XPathExpressionException.java,
4334         javax/xml/xpath/XPathFactory.java,
4335         javax/xml/xpath/XPathFactoryConfigurationException.java,
4336         javax/xml/xpath/XPathFunction.java,
4337         javax/xml/xpath/XPathFunctionException.java,
4338         javax/xml/xpath/XPathFunctionResolver.java:
4339         Fixed usage of @author tag, reworked import statements,
4340         removed CVS tags, changed the modifier order and fixed
4341         HTML usage in javadocs.
4343 2005-02-16  Julian Scheid  <julian@sektor37.de>
4345         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4346         in.position().
4347         (encodeLoop): Likewise.
4349 2005-02-16  Mark Wielaard  <mark@klomp.org>
4351         * Makefile.am (ordinary_java_source_files): Add new files
4352         gnu/java/security/ber/BER.java,
4353         gnu/java/security/ber/BEREncodingException.java,
4354         gnu/java/security/ber/BERReader.java,
4355         gnu/java/security/ber/BERValue.java,
4356         gnu/java/security/pkcs/PKCS7SignedData.java and
4357         gnu/java/security/pkcs/SignerInfo.java.
4358         * Makefile.in: Regenerated.
4360 2005-02-16  Casey Marshall  <csm@gnu.org>
4362         * gnu/java/security/provider/GnuDSAPrivateKey.java
4363         (encodedKey): new field.
4364         (getFormat): return "PKCS#8".
4365         (getEncoded): implemented.
4366         (toString): check for 'null' values.
4367         * gnu/java/security/provider/GnuDSAPublicKey.java
4368         (encodedKey): new field.
4369         (getFormat): return "X.509".
4370         (getEncoded): implemented.
4371         (toString): check for 'null' values.
4373 2005-02-16  Michael Koch  <konqueror@gmx.de>
4375         * java/util/jar/JarFile.java: Imports reworked.
4377 2005-02-16  Mark Wielaard  <mark@klomp.org>
4379         * java/util/jar/JarFile.java (verify): Make package private.
4380         (signaturesRead): Likewise.
4381         (verified): Likewise.
4382         (entryCerts): Likewise.
4383         (DEBUG): Likewise.
4384         (debug): Likewise.
4385         (entries): Construct new JarEnumeration with reference to this.
4386         (JarEnumeration): Make static.
4387         (JarEnumeration.jarfile): New field.
4388         (JarEnumeration.nextElement): Use and synchronize on jarfile.
4389         Compare verified value to Boolean.TRUE or Boolean.False only
4390         when verify is true.
4391         (getEntry): Make synchronized. Compare value of verified to
4392         Boolean.TRUE.
4393         (getInputStream): Construct EntryInputStream with reference to this.
4394         (getManifest): Make synchronized.
4395         (EntryInputStream): Make static.
4396         (EntryInputStream.jarfile): New field.
4397         (EntryInputStream.EntryInputStream): Check if manifest exists,
4398         before getting attributes.
4399         (eof): Synchronize on jarfile.
4401 2005-02-16  Casey Marshall  <csm@gnu.org>
4403         * java/util/jar/JarFile.java (verify): return if the jar is signed
4404         with an unsupported algorithm.
4406 2005-02-16  Mark Wielaard  <mark@klomp.org>
4408         * java/util/jar/JarFile.java (EntryInputStream): Add actual
4409         InputStream as argument.
4410         (getInputStream): Construct a new EntryInputStream with the result of
4411         super.getInputStream(entry).
4413 2005-02-16  Casey Marshall  <csm@gnu.org>
4415         Signed JAR file support.
4416         * java/net/URLClassLoader.java
4417         (JarURLResource.getCertificates): re-read jar entry to ensure
4418         certificates are picked up.
4419         (findClass): fill in class `signers' field, too.
4420         * java/util/jar/JarFile.java (META_INF): new constant.
4421         (PKCS7_DSA_SUFFIX): new constant.
4422         (PKCS7_RSA_SUFFIX): new constant.
4423         (DIGEST_KEY_SUFFIX): new constant.
4424         (SF_SUFFIX): new constant.
4425         (MD2_OID): new constant.
4426         (MD4_OID): new constant.
4427         (MD5_OID): new constant.
4428         (SHA1_OID): new constant.
4429         (DSA_ENCRYPTION_OID): new constant.
4430         (RSA_ENCRYPTION_OID): new constant.
4431         (signaturesRead): new field.
4432         (verified): new field.
4433         (entryCerts): new field.
4434         (DEBUG): new constant.
4435         (debug): new method.
4436         (JarEnumeration.nextElement): fill in entry certificates, read
4437         signatures if they haven't been read.
4438         (getEntry): likewise.
4439         (getInputStream): verify stream if it hasn't been verified yet.
4440         (readSignatures): new method.
4441         (verify): new method.
4442         (verifyHashes): new method.
4443         (readManifestEntry): new method.
4444         (EntryInputStream): new class.
4445         * gnu/java/io/Base64InputStream.java (decode): new class
4446         method.
4447         * gnu/java/security/der/DERReader.java don't make class
4448         final.
4449         (in): made protected.
4450         (encBuf): likewise.
4451         (readLength): likewise.
4452         * gnu/java/security/ber/BER.java,
4453         * gnu/java/security/ber/BEREncodingException.java,
4454         * gnu/java/security/ber/BERReader.java,
4455         * gnu/java/security/ber/BERValue.java,
4456         * gnu/java/security/pkcs/PKCS7SignedData.java,
4457         * gnu/java/security/pkcs/SignerInfo.java:
4458         new files.
4460 2005-02-16  Tom Tromey  <tromey@redhat.com>
4462         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4463         copied file on exit.
4465 2005-02-15  Mark Wielaard  <mark@klomp.org>
4467         * java/awt/BasicStroke.java (hashCode): Check for null dash.
4469 2005-02-15  Michael Koch  <konqueror@gmx.de>
4471         * gnu/java/awt/peer/gtk/GtkArg.java,
4472         gnu/java/awt/peer/gtk/GtkArgList.java:
4473         Removed.
4475 2005-02-15  Craig Black  <craig.black@aonix.com>
4477         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4478         (postMenuActionEvent): Implement to notify ItemListeners.
4479         * java/awt/CheckboxMenuItem.java
4480         (dispatchEventImpl): Update state on ItemEvent.
4481         * java/awt/MenuItem.java
4482         (processActionEvent): Retarget event source.
4484 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4486         * gnu/java/awt/color/ClutProfileConverter.java,
4487         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4488         gnu/java/awt/peer/gtk/GdkFontPeer.java,
4489         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4490         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4491         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4492         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4493         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4494         gnu/java/awt/peer/gtk/GdkTextLayout.java,
4495         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4496         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4497         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4498         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4499         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4500         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4501         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4502         gnu/java/awt/peer/gtk/GtkFontPeer.java,
4503         gnu/java/awt/peer/gtk/GtkFramePeer.java,
4504         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4505         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4506         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4507         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4508         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4509         gnu/java/awt/peer/gtk/GtkToolkit.java,
4510         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4511         javax/swing/JPopupMenu.java,
4512         javax/swing/JSpinner.java,
4513         javax/swing/SortingFocusTraversalPolicy.java,
4514         javax/swing/SwingUtilities.java,
4515         javax/swing/plaf/basic/BasicComboBoxEditor.java,
4516         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4517         javax/swing/tree/DefaultMutableTreeNode.java:
4518         Removed unused imports and expanded starred
4519         imports.
4521 2005-02-15  Mark Wielaard  <mark@klomp.org>
4523         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4524         IllegalArgumentException when the given String is null.
4526         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4527         when given keystoke sequence cannot be parsed.
4529         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4530         if one is installed. Only install the given menubar is not null.
4532         * javax/swing/JViewport.java (getViewSize): Return an empty
4533         Dimension when the view isn't set or preferred component size when
4534         no viewSize is set.
4536         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4537         empty Dimension when there is no view set.
4538         (minimumLayoutSize): Likewise.
4539         (layoutContainer): Don't try to layout when there is no view.
4541 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
4543         * jawt.c: New file.
4544         * include/jawt.h: Likewise.
4545         * include/jawt_md.h: Likewise.
4546         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4547         jawt_md.h files.
4548         * jni/classpath/classpath_jawt.h: Likewise.
4549         * jni/gtk-peer/gtk_jawt.c: Likewise.
4550         * Makefile.am: Build libjawt.so.
4552 2005-02-15  Michael Koch  <konqueror@gmx.de>
4554         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4555         Merged file header with classpath CVS head.
4556         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4557         Merged code formatting with classpath CVS head.
4558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4559         Removed debug code.
4560         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4561         Handle special JNI strings with 2 '\0' at the end.
4562         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4563         Merged file header with classpath CVS head.
4564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4565         Merged code formatting with classpath CVS head.
4567 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
4569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4570         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
4571         (handle_response): Use GTK_RESPONSE_ACCEPT.
4573 2005-02-15  Graydon Hoare  <graydon@redhat.com>
4575         * Makefile.am: Fix library build breakage.
4576         * Makefile.in: Regenerate.
4578 2005-02-15  Michael Koch  <konqueror@gmx.de>
4580         * javax/swing/JTabbedPane.java
4581         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4583 2005-02-15  Michael Koch  <konqueror@gmx.de>
4585         * javax/swing/tree/DefaultMutableTreeNode.java:
4586         Reworked Javadocs all over.
4587         (getPathToRoot): Fixed direction of result array initialization.
4589 2005-02-15  Michael Koch  <konqueror@gmx.de>
4591         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4592          Fix includes for cairo 0.3.0 snappshot.
4593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4594         Merged file header from classpath CVS HEAD.
4596 2005-02-15  Craig Black  <craig.black@aonix.com>
4598         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4599         (copyState): Pass a JNI global reference to signal handler.
4600         (realize_cb): Use and free JNI global reference.
4601         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4602         (create): Pass a JNI global reference to signal handler.
4603         (selection_changed): Match declaration.
4604         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4605         (dispose): Do not remove entries from state tables until after widget is
4606         destroyed.
4608 2005-02-15  Michael Koch  <konqueror@gmx.de>
4610         * java/awt/Container.javai (paramString):
4611         If layoutMgr is null just return result of super.paramString().
4612         * java/awt/Scrollbar.java: Reformatted.
4613         * java/awt/im/InputContext.java (static):
4614         Removed redundant initializations.
4616 2005-02-15  Michael Koch  <konqueror@gmx.de>
4618         * javax/swing/ImageIcon.java,
4619         javax/swing/UIManager.java,
4620         javax/swing/text/EditorKit.java,
4621         javax/swing/text/Segment.java:
4622         More whitespace cleanups.
4624 2005-02-15  Michael Koch  <konqueror@gmx.de>
4626         * gnu/java/awt/EmbeddedWindow.java,
4627         gnu/java/awt/image/ImageDecoder.java,
4628         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4629         java/awt/DefaultKeyboardFocusManager.java,
4630         java/awt/Frame.java,
4631         java/awt/image/RGBImageFilter.java,
4632         javax/swing/AbstractButton.java,
4633         javax/swing/ActionMap.java,
4634         javax/swing/ComponentInputMap.java,
4635         javax/swing/DefaultDesktopManager.java,
4636         javax/swing/ImageIcon.java,
4637         javax/swing/InputMap.java,
4638         javax/swing/JButton.java,
4639         javax/swing/JCheckBox.java,
4640         javax/swing/JCheckBoxMenuItem.java,
4641         javax/swing/JEditorPane.java,
4642         javax/swing/JMenu.java,
4643         javax/swing/JMenuItem.java,
4644         javax/swing/JOptionPane.java,
4645         javax/swing/JRootPane.java,
4646         javax/swing/JTable.java,
4647         javax/swing/MenuSelectionManager.java,
4648         javax/swing/RepaintManager.java,
4649         javax/swing/ScrollPaneLayout.java,
4650         javax/swing/SortingFocusTraversalPolicy.java,
4651         javax/swing/UIManager.java,
4652         javax/swing/ViewportLayout.java,
4653         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4654         javax/swing/plaf/basic/BasicInternalFrameUI.java,
4655         javax/swing/plaf/basic/BasicLabelUI.java,
4656         javax/swing/plaf/basic/BasicListUI.java,
4657         javax/swing/plaf/basic/BasicMenuItemUI.java,
4658         javax/swing/plaf/basic/BasicMenuUI.java,
4659         javax/swing/plaf/basic/BasicOptionPaneUI.java,
4660         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4661         javax/swing/plaf/basic/BasicRootPaneUI.java,
4662         javax/swing/plaf/basic/BasicScrollPaneUI.java,
4663         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4664         javax/swing/plaf/basic/BasicTextUI.java,
4665         javax/swing/table/TableColumnModel.java,
4666         javax/swing/text/AbstractDocument.java,
4667         javax/swing/text/EditorKit.java,
4668         javax/swing/text/Position.java,
4669         javax/swing/text/Segment.java,
4670         javax/swing/text/StyledEditorKit.java,
4671         javax/swing/text/ViewFactory.java:
4672         Cleanup whitespace differences to classpath CVS HEAD.
4674 2005-02-15  Graydon Hoare  <graydon@redhat.com>
4676         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4677         (finalize): Call finish from here.
4678         (produce): Not from here.
4679         * Makefile.am (gtk_c_source_files):
4680         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4681         * Makefile.in: Regenerate.
4682         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4683         (cairoSetFont):
4684         (cairoDrawGdkTextLayout):
4685         (cairoDrawString):
4686         (getPeerTextMetrics):
4687         (getPeerFontMetrics): Remove.
4688         (setFont): Don't call cairoSetFont.
4689         (cairoDrawGlyphVector): Accept font peer argument.
4690         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4691         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4692         (ensure_metrics_cairo):
4693         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4694         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4695         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4696         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4697         (metrics_cairo):
4698         (metrics_surface): Remove.
4699         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4700         Pass and install font peer.
4702 2005-02-15  Graydon Hoare  <graydon@redhat.com>
4704         * Makefile.am: Create "split library" structure.
4705         * Makefile.in: Regenerate.
4707 2005-02-15  Graydon Hoare  <graydon@redhat.com>
4709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4711         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4713         Release GDK lock during upcalls.
4715 2005-02-15  Graydon Hoare  <graydon@redhat.com>
4717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4719         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4720         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4721         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4722         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4723         * gnu/java/awt/peer/gtk/GdkFontPeer.java
4724         (getGlyphVector):
4725         (getFontMetrics):
4726         (getTextMetrics): New native methods.
4727         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4728         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4729         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4730         * Makefile.in: Regenerate.
4732 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4734         * javax/swing/SwingUtilities.java:
4735         (getAccessibleAt(java.awt.Component, java.awt.Point)):
4736         Implemented and documented.
4737         (getAccessibleChild(java.awt.Component, int)): Likewise.
4738         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4739         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4740         (getAccessibleStateSet(java.awt.Component)): Likewise.
4742 2005-02-15  Michael Koch  <konqueror@gmx.de>
4744         * javax/swing/SwingUtilities.java
4745         (getFontMetrics): Removed.
4747 2005-02-15  Michael Koch  <konqueror@gmx.de>
4749         * java/awt/Container.java
4750         (paramString): Implemented.
4751         * javax/swing/AbstractButton.java
4752         (paramString): Implemented.
4753         * javax/swing/JComponent.java
4754         (paramString): Implemented.
4755         * javax/swing/JMenu.java
4756         (paramString): Implemented.
4757         * javax/swing/JMenuBar.java
4758         (paramString): Implemented.
4759         * javax/swing/JMenuItem.java
4760         (paramString): Implemented.
4761         * javax/swing/JPopupMenu.java
4762         (paramString): Implemented.
4764 2005-02-15  Michael Koch  <konqueror@gmx.de>
4766         * javax/swing/JMenu.java
4767         (uiClassID): Removed.
4768         (JMenu): Set invoker on popup menu.
4769         (getUIClassID): Return id directly.
4770         (getItemCount): Simply return getMenuComponentCount().
4771         Fixed javadoc.
4772         (isTopLevelMenu): Simplified.
4773         * javax/swing/JMenuItem.java
4774         (uiClassID): Removed.
4775         (getUIClassID): Return id directly.
4776         * javax/swing/JPopupMenu.java
4777         (uiClassID): Removed.
4778         (JPopupMenu): Always initialize correctly.
4779         (getSubElements): Only return components implementing MenuElement
4780         interface.
4781         (HeavyWeightPopup.hide): Removed.
4783 2005-02-15  Michael Koch  <konqueror@gmx.de>
4785         * java/awt/image/ReplicateScaleFilter.java
4786         (replicatePixels): Made private.
4787         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4788         (DefaultRGBChooserPanel): Made package private.
4789         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4790         (RecentSwatchPanel): Likewise.
4791         * javax/swing/event/MouseInputAdapter.java: Reformatted.
4792         (MouseInputAdapter): Made abstract.
4793         * javax/swing/tree/DefaultMutableTreeNode.java
4794         (random): Removed.
4795         (growTree): Likewise.
4797 2005-02-15  Michael Koch  <konqueror@gmx.de>
4799         * java/awt/dnd/DropTarget.java (addDropTargetListener):
4800         Clarified comments.
4802 2005-02-15  Michael Koch  <konqueror@gmx.de>
4804         * javax/swing/JComponent.java (getComponentGraphics):
4805         Removed accidently commited code.
4807 2005-02-15  Graydon Hoare  <graydon@redhat.com>
4809         * java/awt/dnd/DropTarget.java
4810         (addDropTargetListener): Despite documentation, do not throw.
4811         * javax/swing/JComponent.java: Set a default DropTarget.
4813 2005-02-15  Michael Koch  <konqueror@gmx.de>
4815         * javax/swing/AbstractAction.java
4816         (ENABLED_PROPERTY): Removed.
4817         (setEnabled): Replaced constant with real string.
4818         * javax/swing/AbstractButton.java
4819         (createActionPropertyChangeListener.propertyChange): Likewise.
4820         * javax/swing/JComboBox.java
4821         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4822         (EDITABLE_CHANGED_PROPERTY): Removed.
4823         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
4824         (ENABLED_CHANGED_PROPERTY):Likewise.
4825         (RENDERER_CHANGED_PROPERTY):Likewise.
4826         (EDITOR_CHANGED_PROPERTY):Likewise.
4827         (MODEL_CHANGED_PROPERTY):Likewise.
4828         (uiClassID):Likewise.
4829         (getUIClassID): Replaced constant with real string.
4830         (setModel):Likewise.
4831         (setEditable):Likewise.
4832         (setMaximumRowCount):Likewise.
4833         (setRenderer):Likewise.
4834         (setEditor):Likewise.
4835         (setEnabled):Likewise.
4836         * javax/swing/JLabel.java
4837         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
4838         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
4839         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
4840         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4841         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4842         (ICON_CHANGED_PROPERTY): Likewise.
4843         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
4844         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
4845         (TEXT_CHANGED_PROPERTY): Likewise.
4846         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4847         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4848         (setText): Replaced constant with real string.
4849         (setIcon): Likewise.
4850         (setDisabledIcon): Likewise.
4851         (setDisplayedMnemonic): Likewise.
4852         (setIconTextGap): Likewise.
4853         (setVerticalAlignment): Likewise.
4854         (setHorizontalAlignment): Likewise.
4855         (setVerticalTextPosition): Likewise.
4856         (setHorizontalTextPosition): Likewise.
4857         (setLabelFor): Replaced constant with real string.
4858         Fire property change event after property got changed.
4859         * javax/swing/JList.java
4860         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
4861         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
4862         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
4863         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
4864         (MODEL_PROPERTY_CHANGED): Likewise.
4865         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
4866         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
4867         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
4868         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
4869         (setFixedCellWidth): Reimplemented.
4870         (setFixedCellHeight): Exit if new value is identical.
4871         Replaced constant with real string.
4872         (setSelectionBackground): Likewise.
4873         (setSelectionForeground): Likewise.
4874         (setPrototypeCellValue): Likewise.
4875         (setCellRenderer): Replaced constant with real string.
4876         (setModel): Likewise.
4877         (setSelectionModel): Likewise.
4878         * javax/swing/JMenuBar.java
4879         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4880         (MODEL_CHANGED_PROPERTY): Likewise.
4881         (MARGIN_CHANGED_PROPERTY): Likewise.
4882         (setBorderPainted): Reimplemented.
4883         (setMargin): Likewise.
4884         (setSelectionModel): Replaced constant with real string.
4885         * javax/swing/JPopupMenu.java
4886         (LABEL_CHANGED_PROPERTY): Removed.
4887         (VISIBLE_CHANGED_PROPERTY): Likewise.
4888         (borderPainted): Likewise.
4889         (setLabel): Replaced constant with real string.
4890         (setVisible): Exit if new value is identical.
4891         Replaced constant with real string.
4892         * javax/swing/JProgressBar.java
4893         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
4894         (ORIENTATION_CHANGED_PROPERTY): Likewise.
4895         (STRING_CHANGED_PROPERTY): Likewise.
4896         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
4897         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
4898         (setOrientation): Replaced constant with real string.
4899         (setStringPainted): Likewise.
4900         (setString): Likewise.
4901         (setBorderPainted): Likewise.
4902         (setIndeterminate): Likewise.
4903         * javax/swing/JScrollBar.java
4904         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
4905         (MODEL_CHANGED_PROPERTY): Likewise.
4906         (ORIENTATION_CHANGED_PROPERTY): Likewise.
4907         (setOrientation): Replaced constant with real string.
4908         (setModel): Likewise.
4909         (setUnitIncrement): Likewise.
4910         (setBlockIncrement): Likewise.
4911         * javax/swing/JScrollPane.java
4912         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
4913         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
4914         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4915         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4916         (LAYOUT_CHANGED_PROPERTY): Likewise.
4917         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
4918         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
4919         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
4920         (VIEWPORT_CHANGED_PROPERTY): Likewise.
4921         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
4922         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
4923         (setComponentOrientation): Replaced constant with real string.
4924         (setColumnHeader): Likewise.
4925         (setHorizontalScrollBar): Likewise.
4926         (setHorizontalScrollBarPolicy): Likewise.
4927         (setRowHeader): Likewise.
4928         (setVerticalScrollBar): Likewise.
4929         (setVerticalScrollBarPolicy): Likewise.
4930         (setWheelScrollingEnabled): Likewise.
4931         (setViewport): Likewise.
4932         (setViewportBorder): Likewise.
4933         * javax/swing/JSlider.java
4934         (INVERTED_CHANGED_PROPERTY): Removed.
4935         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
4936         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4937         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
4938         (MODEL_CHANGED_PROPERTY): Likewise.
4939         (ORIENTATION_CHANGED_PROPERTY): Likewise.
4940         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
4941         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
4942         (setModel): Replaced constant with real string.
4943         (setOrientation): Likewise.
4944         (setLabelTable): Likewise.
4945         (setInverted): Likewise.
4946         (setMajorTickSpacing): Likewise.
4947         (setMinorTickSpacing): Likewise.
4948         (setPaintTicks): Likewise.
4949         (setPaintLabels): Likewise.
4950         * javax/swing/JTabbedPane.java
4951         (MODEL_CHANGED_PROPERTY): Removed.
4952         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
4953         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
4954         (setModel): Replaced constant with real string.
4955         (setTabPlacement): Likewise.
4956         (setTabLayoutPolicy): Likewise.
4957         * javax/swing/JToolBar.java
4958         (ORIENTATION_CHANGED_PROPERTY): Removed.
4959         (FLOATABLE_CHANGED_PROPERTY): Likewise.
4960         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
4961         (MARGIN_CHANGED_PROPERTY): Likewise.
4962         (ROLLOVER_CHANGED_PROPERTY): Likewise.
4963         (setRollover): Replaced constant with real string.
4964         (setMargin): Likewise.
4965         (setBorderPainted): Likewise.
4966         (setFloatable): Likewise.
4967         (setOrientation): Likewise.
4968         * javax/swing/plaf/basic/BasicComboBoxUI.java
4969         (PropertyChangeHandler.propertyChange): Likewise.
4970         * javax/swing/plaf/basic/BasicComboPopup.java
4971         (PropertyChangeHandler.propertyChange): Likewise.
4972         * javax/swing/plaf/basic/BasicMenuBarUI.java
4973         (PropertyChangeHandler.propertyChange): Likewise.
4974         * javax/swing/plaf/basic/BasicProgressBarUI.java
4975         (PropertyChangeHandler.propertyChange): Likewise.
4976         * javax/swing/plaf/basic/BasicScrollBarUI.java
4977         (PropertyChangeHandler.propertyChange): Likewise.
4978         * javax/swing/plaf/basic/BasicSliderUI.java
4979         (PropertyChangeHandler.propertyChange): Likewise.
4980         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4981         (PropertyChangeHandler.propertyChange): Likewise.
4982         * javax/swing/plaf/basic/BasicToolBarUI.java
4983         (PropertyChangeHandler.propertyChange): Likewise.
4985 2005-02-15  Michael Koch  <konqueror@gmx.de>
4987         * javax/swing/DefaultButtonModel.java
4988         (changeState): Made private.
4989         * javax/swing/DefaultDesktopManager.java
4990         (setWasIcon): Fixed second argument to be java.lang.Boolean.
4991         * javax/swing/JLayeredPane.java
4992         (layerToRange): Made private.
4993         (incrLayer): Likewise.
4994         (decrLayer): Likewise.
4995         * javax/swing/JTable.java
4996         (dragEnabled): Likewise.
4997         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
4998         * javax/swing/KeyStroke.java
4999         (Keystroke): Made private.
5000         * javax/swing/TransferHandler.java
5001         (COMMAND_COPY): Likewise.
5002         (COMMAND_CUT): Likewise.
5003         (COMMAND_PASTE): Likewise.
5005 2005-02-15  Michael Koch  <konqueror@gmx.de>
5007         * javax/swing/JTextField.java
5008         (postActionEvent): Use text in field when actionCommand is null.
5009         (getActionCommand): Removed.
5011 2005-02-15  Michael Koch  <konqueror@gmx.de>
5013         * javax/swing/AbstractSet.java: Removed.
5014         * Makefile.am: Removed javax/swing/AbstractSet.java.
5015         * Makefile.in: Regenerated.
5017 2005-02-15  Michael Koch  <konqueror@gmx.de>
5019         * java/awt/Window.java
5020         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5021         * java/awt/dnd/DnDConstants.java
5022         (DnDConstants): New private constructor.
5024 2005-02-15  Michael Koch  <konqueror@gmx.de>
5026         * javax/swing/DefaultCellRenderer.java: Removed.
5027         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5028         * Makefile.in: Regenerated.
5030 2005-02-15  Michael Koch  <konqueror@gmx.de>
5032         * javax/swing/AbstractButton.java
5033         (fireItemStateChanged): Made protected.
5034         (fireActionPerformed): Likewise.
5035         (fireStateChanged): Likewise.
5036         * javax/swing/DefaultButtonModel.java
5037         (fireItemStateChanged): Likewise.
5038         (fireActionPerformed): Likewise.
5039         (fireStateChanged): Likewise.
5040         * javax/swing/JApplet.java
5041         (JApplet): Removed.
5042         (frameInit): Likewise.
5043         (setRootPane): Made protected.
5044         (createRootPane): Likewise.
5045         * javax/swing/JComponent.java
5046         (getClientProperty): Likewise.
5047         (putClientProperty): Likewise.
5048         * javax/swing/JEditorPane.java
5049         (getContentType): Likewise.
5050         (setContentType): Likewise.
5051         * javax/swing/JFrame.java
5052         (setRootPane): Likewise.
5053         (createRootPane): Likewise.
5054         * javax/swing/JInternalFrame.java
5055         (getFocusCycleRootAncestor): Made final. Added @since tag.
5056         (isFocusCycleRoot): Likewise.
5057         (getWarningString): Made final.
5058         * javax/swing/JScrollBar.java
5059         (changeListener): Removed.
5060         (changeEvent): Likewise.
5061         (createChangeListener): Likewise.
5062         (fireStateChanged): Likewise.
5063         (addChangeListener): Likewise.
5064         (removeChangeListener): Likewise.
5065         (getChangeListeners): Likewise.
5066         * javax/swing/JScrollPane.java
5067         (createViewport): Made protected.
5068         * javax/swing/JViewport.java
5069         (addImpl): Likewise.
5070         (setBorder): New method.
5071         * javax/swing/JWindow.java
5072         (setRootPane): Made protected.
5073         (createRootPane): Likewise.
5074         * javax/swing/plaf/basic/BasicButtonUI.java
5075         (installListeners): Likewise.
5076         (uninstallListeners): Likewise.
5077         * javax/swing/plaf/basic/BasicProgressBarUI.java
5078         (incrementAnimationIndex): Likewise.
5079         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5080         (createLayoutManager): Likewise.
5081         * javax/swing/table/DefaultTableCellRenderer.java
5082         (firePropertyChange): Likewise.
5083         * javax/swing/table/JTableHeader.java
5084         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5085         New constructor.
5086         * javax/swing/text/PlainDocument.java
5087         (reindex): Made private.
5088         * javax/swing/text/PlainView.java
5089         (drawLine): Made protected.
5090         (getTabSize): Likewise.
5091         * javax/swing/text/View.java
5092         (setSize): Removed.
5093         (preferenceChanged): New method.
5094         (getBreakWeight): Likewise.
5095         (breakView): Likewise.
5096         (getViewIndex): Likewise.
5098 2005-02-15  Michael Koch  <konqueror@gmx.de>
5100         * javax/swing/JScrollPane.java
5101         (ScrollBar): Made class protected.
5102         * javax/swing/JSpinner.java
5103         (JSpinner): Added @since tag.
5104         (listenerList): Removed.
5105         * javax/swing/JTable.java
5106         (setValueAt): New method.
5107         (getColumn): Likewise.
5108         * javax/swing/JWindow.java
5109         (rootPaneCheckingEnabled): Renamed from checking.
5111 2005-02-15  Michael Koch  <konqueror@gmx.de>
5113         * javax/swing/plaf/basic/BasicTextUI.java
5114         (RootView.modelToView): Made it public and return a java.awt.Shape.
5115         Handle null subview.
5116         (uninstall): Set textComponent to null when its not possible used
5117         anymore.
5118         * javax/swing/text/View.java
5119         (setParent): Use better argument name.
5120         (getContainer): Get parent via getParent().
5121         (getViewFactory): Likewise.
5122         (getAttributes): Get element via getElement().
5123         (getStartOffset): Likewise.
5124         (getEndOffset): Likewise.
5125         (getResizeWeight): New method.
5126         (getMaximumSpan): Likewise.
5127         (getMinimumSpan): Likewise.
5128         (setSize): Likewise.
5129         (getGraphics): Likewise.
5131 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5133         * java/awt/Checkbox.java:
5134         (AccessibleAWTCheckbox()): Added public constructor
5135         to call superclass.
5136         * java/awt/Choice.java:
5137         (AccessibleAWTChoice): Added class documentation.
5138         (AccessibleAWTChoice()): Added public constructor
5139         to call superclass.
5140         (AccessibleAWTChoice.getAccessibleAction()): Documented.
5141         (AccessibleAWTChoice.getAccessibleRole()): Documented,
5142         and changed role to COMBO_BOX.
5143         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5144         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5145         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5147 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5148             Michael Koch  <konqueror@gmx.de>
5150         * javax/swing/LayoutFocusTraversalPolicy.java,
5151         javax/swing/SortingFocusTraversalPolicy.java:
5152         New classes.
5153         * Makefile.am: Added new classes.
5154         * Makefike.in: Regenerated.
5157 2005-02-15  Michael Koch  <konqueror@gmx.de>
5159         * javax/swing/DebugGraphics.java: Mostly implemented.
5161 2005-02-15  Michael Koch  <konqueror@gmx.de>
5163         * javax/swing/SwingUtilities.java
5164         (findFocusOwner): New method.
5166 2005-02-15  Michael Koch  <konqueror@gmx.de>
5168         * javax/swing/text/DefaultEditorKit.java
5169         (read): Added '\n' after each line.
5170         * javax/swing/text/PlainView.java
5171         (modelToView): Update metrics.
5172         (drawLine): Use offsets from element.
5173         (paint): Update metrics. Draw all lines.
5175 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5177         * java/awt/Checkbox.java:
5178         (AccessibleAWTCheckbox): Added class documentation
5179         * java/awt/Scrollbar.java:
5180         (AccessibleAWTScrollBar): typo corrected and docs added
5181         (AccessibleAWTScrollBar.getAccessibleRole()): documented
5182         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5183         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5184         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5185         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5186         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5187         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5188         (getAccessibleContext()): name of accessible class corrected
5190 2005-02-15  Mark Wielaard  <mark@klomp.org>
5192         * java/awt/BasicStroke.java (hashCode): Implement.
5193         (equals): Document.
5195 2005-02-15  Michael Koch  <konqueror@gmx.de>
5197         * java/awt/print/PrinterJob.java
5198         (pageDialog): Throws java.awt.HeadlessException.
5199         (printDialog): Likewise.
5201 2005-02-15  Mark Wielaard  <mark@klomp.org>
5203         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5205 2005-02-15  Michael Koch  <konqueror@gmx.de>
5207         * javax/swing/JTable.java
5208         (getValueAt): New method.
5209         * javax/swing/table/JTableHeader.java
5210         (columnAtPoint): New method.
5212 2005-02-15  Michael Koch  <konqueror@gmx.de>
5214         * javax/swing/JTextField.java
5215         (actions): New field.
5216         (static): Initalize actions field.
5217         (getActions): New method.
5219 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5221         * java/awt/Checkbox.java:
5222         (AccessibleAWTCheckbox): name capitalization corrected
5223         and serialization UID added.
5224         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5225         documented.
5226         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5227         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5228         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5229         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5230         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5231         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5232         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5233         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5234         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5235         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5236         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5237         documented
5238         (getAccessibleContext()): name of accessible class corrected
5240 2005-02-15  Sven de Marothy  <sven@physto.se>
5242         * java/awt/geom/doc-files/Area-1.png,
5243         java/awt/geom/doc-files/Ellipse-1.png,
5244         java/awt/geom/doc-files/GeneralPath-1.png:
5245         New files.
5247 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5249         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5250         Use union to avoid type-punning warning.
5252 2005-02-15  Michael Koch  <konqueror@gmx.de>
5254         * javax/swing/DefaultListSelectionModel.java
5255         (clone): New method.
5257 2005-02-15  Mark Wielaard  <mark@klomp.org>
5259         Reported by Martin Platter <motse@complang.tuwien.ac.at>
5260         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5261         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5262         Correct method signature of gtkSetFilename.
5264 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
5266         * javax/swing/text/StringContent.java: New file.
5268 2005-02-15  Michael Koch  <konqueror@gmx.de>
5270         * Makefile.am: Added javax/swing/text/StringContent.java.
5271         * Makefile.in: Regenerated.
5273 2005-02-15  Michael Koch  <konqueror@gmx.de>
5275         * gnu/java/awt/ClasspathToolkit.java:
5276         Import statements reworked.
5277         (imageCache): Made it of type java.util.HashMap.
5279 2005-02-15  Michael Koch  <konqueror@gmx.de>
5281         * javax/imageio/stream/MemoryCacheImageInputStream.java:
5282         Reworked import statements.
5284 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5286         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5290         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5294         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5295         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5297         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5298         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5299         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5302         Rewrite uses of extern variable to be function calls.
5303         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5304         function, from extern variable.
5305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5306         (gdk_env): Remove variable, add new function.
5307         (java_vm): Add new variable.
5308         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5309         java_vm rather than old gdk_env variable.
5311 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5313         * javax/swing/DefaultListModel.java
5314         (add): fire correct event,
5315         (addElement): corrected interval indices in event,
5316         (clear): corrected upper bound for interval, only fire event if
5317         list is not empty,
5318         (setSize): fire appropriate event.
5320 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5322         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5323         * gnu/awt/xlib/XToolkit.java: Likewise.
5324         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5325         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5326         * gnu/java/awt/ClasspathToolkit.java: Likewise.
5327         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5328         * java/awt/EventQueue.java (getNextEvent):
5329         Adjust event loop to switch to native mode after 100ms.
5330         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5331         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5332         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5333         Wake up event thread.
5334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5335         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5336         Adjust event loop to switch to java mode after 100ms.
5338 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5340         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5341         accidentally removed in last change.
5343 2005-02-15  Michael Koch  <konqueror@gmx.de>
5345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5346         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5348 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5350         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5351         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5352         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5353         * jni.cc: Reuse bottom frame between calls, avoid clearing
5354         frame when no local references are made.
5356 2005-02-15  Michael Koch  <konqueror@gmx.de>
5358         * javax/swing/UIDefaults.java (UIDefaults):
5359         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5360         Fixed HTML entity and removed a redundant comma.
5362 2005-02-15  Michael Koch  <konqueror@gmx.de>
5364         * javax/swing/text/DefaultEditorKit.java
5365         (deinstall): Removed.
5366         (install): Likewise.
5368 2005-02-15  Michael Koch  <konqueror@gmx.de>
5370         * javax/swing/UIDefaults.java (put): Handle value of null.
5372 2005-02-15  Michael Koch  <konqueror@gmx.de>
5374         * java/awt/Robot.java,
5375         java/awt/Scrollbar.java,
5376         java/awt/print/PrinterJob.java,
5377         javax/swing/JTable.java,
5378         javax/swing/text/AbstractDocument.java:
5379         Reworked import statements.
5381 2005-02-15  Michael Koch  <konqueror@gmx.de>
5383         * javax/swing/JEditorPane.java
5384         (read): Implemented.
5385         (write): Likewise.
5386         * javax/swing/text/DefaultEditorKit.java
5387         (page): Renamed from page_url. Made private.
5388         (editorKit): Renamed from kit. Made private.
5389         (ctype): Removed.
5390         (JEditorPane): All constructors reimplemented.
5391         (getContentType): Use content type from editor kit.
5392         (getEditorKit): Return editorKit.
5393         (getEditorKitForContentType):Likewise.
5394         (getPage): Return page.
5395         (setContentType): Reimplemented.
5396         (setEditorKit): Likewise.
5397         (setEditorKitForContentType): Removed wrong implementation.
5398         (setPage): Implemented.
5400 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
5402         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5403         (nativeSetIconImageFromData): Re-add native implementation.
5405 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
5407         * javax/swing/table/DefaultTableModel.java
5408         (DefaultTableModel()): Added Javadocs.
5409         (DefaultTableModel(int, int)): Fixed implementation.
5410         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5411         for negative rowCount.
5412         (DefaultTableModel(Object[], int)): Added Javadocs.
5413         (DefaultTableModel(Vector, Vector)): Likewise.
5414         (DefaultTableModel(Object[][], Object[])): Likewise.
5415         (getDataVector): Likewise.
5416         (setDataVector(Vector, Vector)): Likewise.
5417         (setDataVector(Object[][], Object[])): Likewise.
5418         (newDataAvailable): Likewise.
5419         (newRowsAdded): Likewise.
5420         (rowsRemoved): Likewise.
5421         (setColumnIdentifiers(Vector)): Allow for null argument.
5422         (setColumnIdentifiers(Object[])): Added Javadocs.
5423         (setNumRows): Likewise.
5424         (setRowCount): Adds new rows if necessary, and sends more specific
5425         TableModelEvent.
5426         (setColumnCount): Allow for null columnIdentifiers.
5427         (addColumn(Object)): Added Javadocs.
5428         (addColumn(Object, Vector)): Handle null columnData.
5429         (addColumn(Object, Object[])): Handle columnData with more or less
5430         entries than rows in the table.
5431         (addRow(Vector)): Fire appropriate event.
5432         (addRow(Object[])): Added Javadocs.
5433         (insertRow(int, Vector)): Fire appropriate event.
5434         (insertRow(int, Object[])): Added Javadocs.
5435         (moveRow): Reimplemented.
5436         (removeRow(int)): Fire appropriate event.
5437         (getColumnCount): Allow for null columnIdentifiers.
5438         (getColumnName): Now returns empty string when column index is too
5439         large.
5440         (isCellEditable): Added Javadocs.
5441         (getValueAt): Likewise.
5442         (setValueAt): Fire more specific event.
5443         (convertToVector): Added Javadocs.
5444         * javax/swing/table/TableModel.java
5445         Added Javadocs.
5447 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
5449         * libgcj.spec.in (lib): Add -l-javax-imageio.
5451 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
5453         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5454         references to event queue q with method call q().
5455         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5456         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5457         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5458         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5459         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5460         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5461         (q): New method.
5463 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5465         * gnu/java/awt/ClasspathToolkit.java
5466         (registerImageIOSpis): New method.
5467         * gnu/java/awt/image/ImageDecoder.java
5468         (imageDecoder): New constructor using InputStream
5469         (startProduction): Handle existing InputStream.
5470         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5471         (findSimpleIntegerArray): Make public and static.
5472         (updateBufferedImage): Set each pixel, in a loop.
5473         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5474         Implement ImageIO SPI classes.
5475         (createBufferedImage): Rewrite in terms of SPI classes.
5476         * gnu/java/awt/peer/gtk/GtkToolkit.java
5477         (registerImageIOSpis): New method.
5478         * java/lang/reflect/natMethod.cc
5479         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5480         which lets JNI call interface methods properly.
5481         * javax/imageio/ImageIO.java
5482         (WriterFormatFilter.filter): Fix copy-and-paste typos.
5483         (WriterMIMETypeFilter.filter): Likewise.
5484         (ImageReaderIterator): Pass extension argument through to SPI.
5485         (getReadersByFilter): Likewise.
5486         (getWritersByFilter): Likewise.
5487         (getImageReadersByFormatName): Likewise.
5488         (getImageReadersByMIMEType): Likewise.
5489         (getImageReadersBySuffix): Likewise.
5490         (getImageWritersByFormatName): Likewise.
5491         (getImageWritersByMIMEType): Likewise.
5492         (getImageWritersBySuffix): Likewise.
5493         (read): Implement.
5494         (write): Implement.
5495         * javax/imageio/ImageReader.java
5496         (progressListeners): Initialize.
5497         (setInput): Implement.
5498         * javax/imageio/ImageWriter.java
5499         (progressListeners): Initialize.
5500         (warningListeners): Likewise.
5501         (warningLocales): Likewise.
5502         (setOutput): Test "isInstance" rather than class equality.
5503         * javax/imageio/spi/IIORegistry.java
5504         (static): Add reader and writer SPIs.
5505         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5506         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5507         (query_formats): New function.
5508         (save_to_stream): Likewise.
5509         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5511 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
5513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5514         Call XFlush.
5515         (keyPress): Likewise.
5516         (keyRelease): Likewise.
5518 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
5520         * javax/swing/JTable.java
5521         (columnAtPoint): New Method. Implemented.
5522         (rowAtPoint): Likewise.
5523         (countSelections): Fixed few small count errors.
5524         (getSelections): Likewise.
5525         (setSelectionMode): Set selection mode for column
5526         selection model in addition to row selection model.
5527         * javax/swing/plaf/basic/BasicTableUI.java:
5528         (getRowForPoint): Removed. Replaced by
5529         JTable.rowAtPoint().
5530         (getColForPoint): Removed. Replaced by
5531         JTable.columnAtPoint().
5532         (updateSelection): Updated to call JTable.columnAtPoint
5533         and JTable.rowAtPoint.
5534         * javax/swing/table/DefaultTableColumnModel.java:
5535         (getSelectedColumns): Implemented.
5536         (getSelectedColumnCount): Implemented.
5538 2005-02-15  Graydon Hoare  <graydon@redhat.com>
5540         * Makefile.am
5541         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5542         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5543         * Makefile.in: Regenerate.
5544         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5545         * gnu/awt/xlib/XFramePeer.java: Likewise.
5546         * gnu/awt/xlib/XToolkit.java: Likewise.
5547         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5548         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5549         * gnu/java/awt/ClasspathToolkit.java
5550         (nativeQueueEmpty)
5551         (wakeNativeQueue)
5552         (iterateNativeQueue): New methods.
5553         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5554         * gnu/java/awt/peer/gtk/GtkToolkit.java
5555         (gtkInit): Absorb from defunct GtkMainThread class.
5556         (static): Run gtkInit in static startup block.
5557         (GtkToolkit): Remove construction of GtkMainThread and queue.
5558         (getSystemEventQueueImpl): Construct queue when requested.
5559         (nativeQueueEmpty)
5560         (wakeNativeQueue)
5561         (iterateNativeQueue): New methods.
5562         * java/awt/Component.java (removeNotify): Remove race.
5563         * java/awt/EventDispatchThread.java
5564         (EventDispatchThread): Don't start on construction.
5565         (run): Remove isInterrupted check.
5566         * java/awt/EventQueue.java (shutdown): New flag.
5567         (isShutdown): New method checking J2SE shutdown condition.
5568         (setShutdown): New method.
5569         (getNextEvent): Restructure to use ClasspathToolkit.
5570         (postEvent): Activate new thread on posting, wake thread on
5571         post of possible shutdown condition event.
5572         * java/awt/Frame.java
5573         (Frame): Call noteFrame in all constructors.
5574         (fireDummyEvent): New helper method.
5575         (addNotify): Fire a dummy event to wake up queue.
5576         (removeNotify): Fire a dummy event to wake up queue.
5577         (noteFrame): New method.
5578         (weakFrames): New static field.
5579         (getFrames): Implement.
5580         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5581         Remove.
5582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5583         Move everything from GtkMainThread into this file
5584         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5585         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5586         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5587         New functions to implement single-threaded queue semantics.
5589 2005-02-15  Michael Koch  <konqueror@gmx.de>
5591         * javax/swing/plaf/metal/MetalLookAndFeel.java
5592         (getControlTextFont): New method.
5593         (getMenuTextFont): Likewise.
5594         (getSubTextFont): Likewise.
5595         (getSystemTextFont): Likewise.
5596         (getUserTextFont): Likewise.
5597         (getWindowTitleFont): Likewise.
5599 2005-02-15  Michael Koch  <konqueror@gmx.de>
5601         * javax/swing/text/AbstractDocument.java
5602         (documentFilter): New field.
5603         (getDocumentFilter): New method.
5604         (setDocumentFilter): Likewise.
5605         (dump): Likewise.
5607 2005-02-15  Michael Koch  <konqueror@gmx.de>
5609         * javax/swing/JTree.java
5610         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5612 2005-02-15  Michael Koch  <konqueror@gmx.de>
5614         * javax/swing/text/AbstractDocument.java
5615         (AbstractElement.getLength): Fixed off-by-one error.
5616         (AbstractElement.children): Made abstract.
5617         (AbstractElement.getAllowsChildren): Likewise.
5618         (AbstractElement.getElement): Likewise.
5619         (AbstractElement.dumpElement): New private method.
5620         (AbstractElement.dump): New method.
5621         (BranchElememt.getName): Fixed implementation.
5622         (BranchElememt.toString): Likewise.
5623         (BranchElememt.getElement): Fixed arguments.
5624         (LeafElement.getName): Fixed implementation.
5625         (LeafElement.toString): Likewise.
5626         * javax/swing/text/GapContent.java
5627         (GapContent): Put default content into buffer.
5628         * javax/swing/text/PlainDocument.java
5629         (reindex): Use empty attribute sets instead of null.
5630         (createDefaultRoot): Reimplemented.
5631         (insertUpdate): Call super method.
5632         (removeUpdate): Likewise.
5633         (getParagraphElement): Implemented.
5635 2005-02-15  Michael Koch  <konqueror@gmx.de>
5637         * gnu/java/awt/ClasspathToolkit.java
5638         (createRobot): Throws java.awt.AWTException.
5639         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5640         Added '__attribute__((unused))' to all unused method arguments.
5642 2005-02-15  Michael Koch  <konqueror@gmx.de>
5644         * javax/swing/DefaultBoundedRangeModel.java
5645         (fireValueChanged): Fixed off-by-one error.
5647 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
5649         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5650         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5651         GdkRobotPeer.java.
5652         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5653         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5654         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5655         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5656         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5657         (getDefaultScreenDevice): Implement.
5658         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5659         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5660         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5661         * java/awt/Robot.java: Implement.
5662         * java/awt/peer/RobotPeer.java: Rename parameters.
5663         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5664         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5665         (awt_keycode_to_keysym): Make non-static.
5666         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5667         AWT_BUTTON3_MASK): Declare constants.
5668         (awt_keycode_to_keysym): Declare.
5670         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5671         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5672         and is non-empty pass its value to "make check".
5673         (test_mauve_sim): Likewise.
5675 2005-02-15  Michael Koch  <konqueror@gmx.de>
5677         * javax/imageio/IIOParam.java
5678         (setSourceBands): New method.
5679         (setSourceSubsampling): Likewise.
5680         * javax/imageio/ImageReadParam.java
5681         (setDestination): Likewise.
5682         (setDestinationBands): Likewise.
5683         (setSourceProgressivePasses): Likewise.
5684         * javax/imageio/metadata/IIOInvalidTreeException.java
5685         (serialVersionUID): New static field.
5686         * javax/imageio/metadata/IIOMetadataNode.java
5687         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5688         (parent): Dont initailize with default value explicitely.
5689         (Object): Likewise.
5690         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5691         (removeAttributeNode): Likewise.
5692         (removeAttributeNS): Likewise.
5693         (setAttribute): Likewise.
5694         (setAttributeNode): Likewise.
5695         (setAttributeNodeNS): Likewise.
5696         (setAttributeNS): Likewise.
5697         (appendChild): Likewise.
5698         (getNodeValue): Likewise.
5699         (insertBefore): Likewise.
5700         (removeChild): Likewise.
5701         (replaceChild): Likewise.
5702         (setPrefix): Likewise.
5704 2005-02-15  Michael Koch  <konqueror@gmx.de>
5706         * javax/swing/LookAndFeel.java
5707         (getDesktopPropertyValue): New method.
5709 2005-02-15  Michael Koch  <konqueror@gmx.de>
5711         * javax/swing/JTree.java
5712         (hasChildren): New instance field.
5714 2005-02-15  Michael Koch  <konqueror@gmx.de>
5716         * javax/swing/JComponent.java
5717         (getToolTipText): New method.
5718         (getTitledBorderText): Likewise.
5719         (getAccessibleKeyBinding): Likewise.
5720         (getVerifyInputWhenFocusTarget): Likewise.
5721         (setVerifyInputWhenFocusTarget): Likewise.
5722         (verifyInputWhenFocusTarget): New instance field.
5724 2005-02-15  Michael Koch  <konqueror@gmx.de>
5726         * javax/swing/DefaultListSelectionModel.java
5727         (fireValueChanged): New method.
5729 2005-02-15  Michael Koch  <konqueror@gmx.de>
5731         * javax/swing/DefaultBoundedRangeModel.java:
5732         Fixed javadocs all over.
5733         (fireStateChanged): Simplified.
5734         * javax/swing/BoundedRangeModel.java:
5735         Reformatted.
5737 2005-02-15  Michael Koch  <konqueror@gmx.de>
5739         * javax/swing/JRootPane.java
5740         (setMenuBar): Added @deprecated tag.
5741         (getMenuBar): Likewise.
5742         * javax/swing/JTable.java
5743         (sizeColumnsToFit): Likewise.
5745 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
5747         * javax/swing/ImageIcon.java (setImage): Implemented.
5749 2005-02-15  Michael Koch  <konqueror@gmx.de>
5751         * javax/swing/JTable.java:
5752         Removed unused imports.
5754 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
5756         (prepareRenderer): Get column's index in dataModel instead
5757         of column's view index.
5758         (getColumnCount): return count of the columns in ColumnModel,
5759         not in dataModel.
5760         (removeColumn): Implemented.
5761         (moveColumm): Likewise.
5762         (setRowHeight): throw IllegalArgumentException if height is
5763         less then 1.
5764         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5765         (DefaultTableColumnModel):Add call to createSelectionModel().
5766         (addColumn): Fire columnAdded event to registered listeners.
5767         (removeColumn): Fire columnRemoved event to registered listeners.
5768         (moveColumn): Fire columnMoved event to registered listeners.
5769         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5770         (getColumnIndex): Changed parameter name.
5771         (setColumnSelectionAllowed): Likewise.
5772         (fireColumnAdded): Implemented.
5773         (fireColumnRemoved): Likewise.
5774         (fireColumnMoved): Likewise.
5775         (fireColumnMarginChanged): Likewise.
5776         (getListeners): Changed parameter name.
5777         (propertyChange): Implemented.
5778         (valueChanged): Changed parameter name.
5779         (createSelectionModel): Implemented.
5781 2005-02-15  Michael Koch  <konqueror@gmx.de>
5783         * gnu/java/awt/peer/gtk/GtkToolkit.java:
5784         Explicitely import used classes.
5785         (getLocalGraphicsEnvironment): Simplify.
5786         * java/awt/Window.java (Window):
5787         Enable code to get the default GraphicsConfiguration.
5789 2005-02-15  Michael Koch  <konqueror@gmx.de>
5791         * javax/swing/plaf/metal/DefaultMetalTheme.java
5792         (CONTROL_TEXT_FONT): New static field.
5793         (MENU_TEXT_FONT): Likewise.
5794         (SUB_TEXT_FONT): Likewise.
5795         (SYSTEM_TEXT_FONT): Likewise.
5796         (USER_TEXT_FONT): Likewise.
5797         (WINDOW_TITLE_FONT): Likewise.
5798         (getControlTextFont): New method.
5799         (getMenuTextFont): Likewise.
5800         (getSubTextFont): Likewise.
5801         (getSystemTextFont): Likewise.
5802         (getUserTextFont): Likewise.
5803         (getWindowTitleFont): Likewise.
5804         * javax/swing/plaf/metal/MetalTheme.java
5805         (BLACK): Initialize with Color.BLACK.
5806         (WHITE): Initialize with Color.WHITE.
5807         (getInactiveControlTextColor): Return getControlDisabled().
5808         (getMenuDisabledForeground): Return getSecondary3().
5809         (getControlTextFont): New abstract method.
5810         (getMenuTextFont): Likewise.
5811         (getSubTextFont): Likewise.
5812         (getSystemTextFont): Likewise.
5813         (getUserTextFont): Likewise.
5814         (getWindowTitleFont): Likewise.
5816 2005-02-15  Michael Koch  <konqueror@gmx.de>
5818         * javax/swing/JFormattedTextField.java
5819         (getFocusLostBehavior): Fixed typo in method name.
5820         (setFocusLostBehavior): Likewise.
5822 2005-02-15  Michael Koch  <konqueror@gmx.de>
5824         * javax/swing/TransferHandler.java:
5825         Reworked import statements.
5827 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
5829         * java/awt/Button.java,
5830         java/awt/Canvas.java,
5831         java/awt/Checkbox.java,
5832         java/awt/CheckboxMenuItem.java,
5833         java/awt/Choice.java,
5834         java/awt/Dialog.java,
5835         java/awt/Frame.java,
5836         java/awt/Label.java,
5837         java/awt/List.java,
5838         java/awt/Menu.java,
5839         java/awt/MenuBar.java,
5840         java/awt/MenuItem.java,
5841         java/awt/PopupMenu.java,
5842         java/awt/ScrollPane.java,
5843         java/awt/Scrollbar.java,
5844         java/awt/TextArea.java,
5845         java/awt/Window.java (getAccessibleContext): Clean up comments.
5846         Reformat.
5847         * java/awt/Button.java,
5848         java/awt/Checkbox.java,
5849         java/awt/Choice.java,
5850         java/awt/Menu.java,
5851         java/awt/PopupMenu.java,
5852         java/awt/TextArea.java (getAccessibleContext): Only create new
5853         accessible once.
5854         * java/awt/TextComponent.java (getAccessibleContext): Implement.
5856 2005-02-15  Michael Koch  <konqueror@gmx.de>
5858         * java/awt/Button.java,
5859         javax/swing/JApplet.java,
5860         javax/swing/JFormattedTextField.java,
5861         javax/swing/JWindow.java,
5862         javax/swing/JTree.java,
5863         javax/swing/plaf/basic/BasicEditorPaneUI.java,
5864         javax/swing/plaf/basic/BasicTextPaneUI.java,
5865         javax/swing/plaf/basic/BasicTreeUI.java:
5866         Reworked import statements.
5868 2005-02-15  Michael Koch  <konqueror@gmx.de>
5870         * Makefile.am: Put javax.imageio into its own library and link it
5871         against lib-org-w3c-dom.la to fix bootstrapping.
5872         * Makefile.in: Regenerated.
5874 2005-02-15  Michael Koch  <konqueror@gmx.de>
5876         * javax/swing/text/TextAction.java
5877         (getTextComponent): Simplified. Added Javadoc.
5878         (augmentList): Implemented. Added Javadoc.
5879         (getFocusedComponent): Added javadoc.
5881 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
5883         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
5884         getAccessibleContext): Implement.
5885         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
5886         getAccessibleContext): Implement.
5888 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
5890         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
5891         Implement.
5892         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
5893         Implement.
5894         * java/awt/Window.java (getAccessibleContext): Fix comment.
5895         Remove extra import.
5897 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
5899         * java/awt/Window.java (AccessibleAWTWindow): Implement.
5900         (isActive, isFocused, getAccessibleContext): Implement.
5902 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
5904         * java/awt/MenuItem.java (getAccessibleContext): Implement.
5905         * java/awt/MenuComponent.java (accessibleContext): Make package
5906         visible.
5907         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
5908         AccessibleAWTCheckboxMenuItem): Implement.
5910 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
5912         * java/awt/List.java: Implement AccessibleAWTList,
5913         AccessibleAWTListChild.
5915 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
5917         * java/awt/Choice.java: Add implements declaration for
5918         Accessible.
5920 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
5922         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
5923         instead of Object.
5925 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
5927         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
5928         implemented interface list.
5930 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
5932         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
5933         * javax/imageio/metadata/IIOAttr.java: New class.
5934         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
5935         * javax/imageio/metadata/IIONodeList.java: New class.
5936         * Makefile.am: Added new files.
5937         * Makefile.in: Regenerated.
5939 2005-02-15  Michael Koch  <konqueror@gmx.de>
5941         * javax/swing/AbstractAction.java,
5942         javax/swing/AbstractCellEditor.java,
5943         javax/swing/AbstractListModel.java,
5944         javax/swing/DefaultBoundedRangeModel.java,
5945         javax/swing/DefaultButtonModel.java,
5946         javax/swing/DefaultCellEditor.java,
5947         javax/swing/DefaultComboBoxModel.java,
5948         javax/swing/DefaultDesktopManager.java,
5949         javax/swing/JMenu.java,
5950         javax/swing/JSlider.java,
5951         javax/swing/KeyStroke.java,
5952         javax/swing/OverlayLayout.java,
5953         javax/swing/ScrollPaneLayout.java,
5954         javax/swing/SizeRequirements.java,
5955         javax/swing/ViewportLayout.java:
5956         Made serialVersionUID private.
5958 2005-02-15  Michael Koch  <konqueror@gmx.de>
5960         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
5961         Reformatted.
5963 2005-02-15  Michael Koch  <konqueror@gmx.de>
5965         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
5967 2005-02-15  Michael Koch  <konqueror@gmx.de>
5969         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
5971 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
5973         * java/awt/EventDispatchThread.java,
5974         java/awt/Toolkit.java:
5975         Don't catch java.lang.ThreadDeath.
5977 2005-02-15  Michael Koch  <konqueror@gmx.de>
5979         * javax/swing/text/PasswordView.java
5980         (drawEchoCharacter): Added javadoc.
5981         (drawSelectedText): Likewise.
5982         (drawUnselectedText): Likewise.
5984 2005-02-15  Michael Koch  <konqueror@gmx.de>
5986         * javax/swing/JRootPane.java
5987         (windowDecorationStyle): New field.
5988         (setMenuBar): New method.
5989         (getMenuBar): Likewise.
5990         (getWindowDecorationStyle): Likewise.
5991         (setWindowDecorationStyle): Likewise.
5993 2005-02-15  Michael Koch  <konqueror@gmx.de>
5995         * javax/swing/DefaultListSelectionModel.java
5996         (leadAnchorNotificationEnabled): Made protected.
5998 2005-02-15  Michael Koch  <konqueror@gmx.de>
6000         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6001         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6002         * Makefile.in: Regenerated.
6005 2005-02-15  Michael Koch  <konqueror@gmx.de>
6007         * javax/swing/JFormattedTextField.java: Implemented.
6008         * javax/swing/JWindow.java
6009         (JWindow): New constructors.
6010         (initWindow): Renamed from initFrame.
6011         * javax/swing/UIDefaults.java
6012         (ActiveValue): Made interface static.
6013         (LazyValue): Likewise.
6014         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6015         (TitlePaneLayout.TitlePaneLayout): New constructor.
6016         * javax/swing/plaf/basic/BasicSliderUI.java
6017         (ChangeHandler): Made public.
6018         (FocusHandler): Likewise.
6019         (PropertyChangeHandler): Likewise.
6020         (ScrollListener): Likewise.
6021         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6022         (FocusHandler): Likewise.
6023         (MouseHandler): Likewise.
6024         * javax/swing/plaf/basic/BasicTextPaneUI.java
6025         (BasicTextPaneUI): Extend BasicEditorPaneUI.
6026         * javax/swing/plaf/basic/BasicToolBarUI.java
6027         (BasicToolBarUI): Simplified. Reworked javadoc.
6028         (canDock): Simplified. Make public.
6029         (DockingListener): Made public.
6030         * javax/swing/text/JTextComponent.java
6031         (navigationFilter): New field.
6032         (getNavigationFilter): New method.
6033         (setNavigationFilter): Likewise.
6035 2005-02-15  Michael Koch  <konqueror@gmx.de>
6037         * javax/swing/plaf/metal/MetalTheme.java
6038         (getControlTextColor): Return getControlInfo().
6039         (getHighlightedTextColor): Return getControlTextColor().
6041 2005-02-15  Michael Koch  <konqueror@gmx.de>
6043         * javax/swing/plaf/basic/BasicButtonListener.java
6044         (BasicButtonListener): New constructor.
6045         * javax/swing/plaf/basic/BasicButtonUI.java
6046         (createButtonListener): Usw new BasicButtonListener constructor.
6048 2005-02-15  Michael Koch  <konqueror@gmx.de>
6050         * javax/imageio/event/package.html,
6051         javax/imageio/metadata/package.html: New files.
6053 2005-02-15  Michael Koch  <konqueror@gmx.de>
6055         * java/awt/image/MemoryImageSource.java: Reformatted.
6057 2005-02-15  Michael Koch  <konqueror@gmx.de>
6059         * javax/swing/tree/TreeCellEditor.java: Refomatted.
6061 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
6063         * java/awt/color/ICC_Profile.java
6064         (finalize): Removed pointless field assignments.
6066 2005-02-15  Michael Koch  <konqueror@gmx.de>
6068         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6069         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6070         * Makefile.in: Regenerated.
6072 2005-02-15  Michael Koch  <konqueror@gmx.de>
6074         * javax/swing/text/DefaultStyledDocument.java: New file.
6075         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6076         * Makefile.in: Regenerated.
6078 2005-02-15  Michael Koch  <konqueror@gmx.de>
6080         * javax/swing/JFileChooser.java
6081         (showDialog): Return CANCEL_OPTION for now.
6082         (showOpenDialog): Likewise.
6083         (showSaveDialog): Likewise.
6085 2005-02-15  Michael Koch  <konqueror@gmx.de>
6087         * javax/swing/JApplet.java
6088         (HIDE_ON_CLOSE): Removed.
6089         (EXIT_ON_CLOSE): Likewise.
6090         (DISPOSE_ON_CLOSE): Likewise.
6091         (DO_NOTHING_ON_CLOSE): Likewise.
6092         (close_action): Likewise.
6093         (getDefaultCloseOperation): Likewise.
6094         (setDefaultCloseOperation): Likewise.
6095         (processWindowEvent): Likewise.
6096         (getPreferredSize): Simplified.
6097         * javax/swing/JInternalFrame.java
6098         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6099         value.
6100         * javax/swing/JWindow.java
6101         (HIDE_ON_CLOSE): Removed.
6102         (EXIT_ON_CLOSE): Likewise.
6103         (DISPOSE_ON_CLOSE): Likewise.
6104         (DO_NOTHING_ON_CLOSE): Likewise.
6105         (close_action): Likewise.
6106         (processKeyEvent): Likewise.
6107         (setDefaultCloseOperation): Likewise.
6108         (getPreferredSize): Simplified.
6110 2005-02-15  Michael Koch  <konqueror@gmx.de>
6112         * javax/swing/JTextField.java
6113         (getPreferredSize): Re-implemented.
6115 2005-02-15  Michael Koch  <konqueror@gmx.de>
6117         * javax/swing/JLabel.java
6118         (setDisplayedMnemonic): Use only upper case characters.
6119         (setDisplayedMnemonicIndex): Handle index == -1 and fire
6120         PropertyChangeEvent after property got set to the new index.
6122 2005-02-15  Robert Schuster <thebohemian@gmx.net>
6124         * javax/swing/JComboBox.java:
6125         (JComboBox): Removed selection of the
6126         first item in the model.
6128 2005-02-15  Robert Schuster <thebohemian@gmx.net>
6130         * javax/swing/JComboBox.java
6131         added support for no item being selected
6132         (JComboBox): select first or nothing depending on element count
6133         (setModel): cleaned up unneeded "this." usage, added more
6134         docs, made exception behavior match that of the JDK
6135         (setLighWeightPopupEnabled): removed unneeded "this." usage
6136         (setEditable): dito
6137         (setMaximumRowCount): dito
6138         (setRenderer): dito
6139         (setPrototypeDisplayValue): dito
6140         (getSelectedItem): simplified, added more user doc
6141         (setSelectedIndex): corrected exception behavior, added more user doc
6142         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6143         added performance warning to user doc
6144         (addItem): fixed exception behavior, added user doc
6145         (insertItemAt): dito
6146         (removeItem): dito
6147         (removeItemAt): dito
6148         (removeAll): fixed exception behavior, added user doc, added support
6149         for model not being instance of DefaultComboBoxModel
6150         (getSelectedItemObjects): simplified
6151         (getItemCount): fixed dependency on DefaultComboBoxModel
6152         (getItemAt): fixed dependency on MutableComboBoxModel
6153         * javax/swing/DefaultComboBoxModel.java:
6154         (setSelectedItem): updates selected item only if new
6155         value is null or known (match JDK behavior)
6156         * javax/swing/plaf/basic/BasicComboBoxUI.java:
6157         (paintCurrentValue): renders "" if no item is selected
6159 2005-02-15  Michael Koch  <konqueror@gmx.de>
6161         * javax/swing/plaf/metal/MetalTheme.java,
6162         javax/swing/plaf/metal/DefaultMetalTheme.java:
6163         New files.
6164         * javax/swing/plaf/metal/MetalLookAndFeel.java
6165         * Makefile.am: Added the new files.
6166         * Makefile.in: Regenerated.
6168 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
6170         * javax/swing/JTable.java
6171         (editorComp): New field.
6172         (JTable): Initialize local variables and call updateUI
6173         (selectionBackground): Make protected.
6174         (selectionForeground): Likewise.
6175         (initializeLocalVars): Create default editors and renderers,
6176         initialize editingColumn, editingRow variables.
6177         (createDefaultEditors): New Method.
6178         (createDefaultRenderers): Likewise.
6179         (createDefaultListSelectionModel): Removed
6180         (createDefaultSelectionModel): New Method.
6181         (createDefaultTableHeader): Likewise
6182         (removeColumn): Likewise.
6183         (getEditingColumn): Likewise.
6184         (setEditingColumn): Likewise.
6185         (getEditingRow): Likewise.
6186         (setEditingRow): Likewise.
6187         (getEditorComponent): Likewise.
6188         (isEditing): Likewise.
6189         (setDefaultEditor): Likewise.
6190         (addColumnSelectionInterval): Likewise.
6191         (addRowSelectionInterval): Likewise.
6192         (setColumnSelectionInterval): Likewise.
6193         (setRowSelectionInterval): Likewise.
6194         (removeColumnSelectionInterval): Likewise.
6195         (removeRowSelectionInterval): Likewise.
6196         (isColumnSelected): Likewise.
6197         (isRowSelected): Likewise.
6198         (isCellSelected): Likewise.
6199         (selectAll): Likewise.
6201 2005-02-15  Michael Koch  <konqueror@gmx.de>
6203         * javax/swing/JTable.java
6204         (addColumn): New method.
6205         (getColumnClass): Likewise.
6206         (getColumnName): Likewise.
6208 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
6210         * javax/swing/TransferHandler.java
6211         (createTransferable): Made protected.
6213 2005-02-15  Michael Koch  <konqueror@gmx.de>
6215         * javax/swing/JTable.java,
6216         javax/swing/plaf/basic/BasicTableHeaderUI.java,
6217         javax/swing/plaf/basic/BasicTableUI.java:
6218         Use fixed get/setIntercellSpacing() methods.
6220 2005-02-15  Michael Koch  <konqueror@gmx.de>
6222         * javax/swing/JTable.java
6223         (getIntercellSpacing): Fixed typo in method name.
6224         (setIntercellSpacing): Likewise.
6226 2005-02-15  Michael Koch  <konqueror@gmx.de>
6228         * javax/swing/text/JTextComponent.java
6229         (focusAccelerator): New variable.
6230         (getFocusAccelerator): New method.
6231         (setFocusAccelerator): Likewise.
6233 2005-02-15  Michael Koch  <konqueror@gmx.de>
6235         * javax/swing/JComponent.java
6236         (setTransferHandler): Made public. Fire property change event.
6237         * javax/swing/TransferHandler.java: Implemented.
6238         * javax/swing/text/JTextComponent.java
6239         (DefaultTransferHandler): New inner class.
6240         (defaultTransferHandler): New variable.
6241         (copy): New method.
6242         (cut): Likewise.
6243         (paste): Likewise.
6244         (doTransferAction): Likewise.
6246 2005-02-15  Michael Koch  <konqueror@gmx.de>
6248         * javax/swing/JTree.java
6249         (collapsePath): New method.
6250         (collapseRow): Likewise.
6251         (expandPath): Likewise.
6252         (expandRow): Likewise.
6253         (checkExpandParents): Likewise.
6254         (doExpandParents): Likewise.
6255         (setExpandedState): Likewise.
6256         (makeVisible): Likewise.
6258 2005-02-15  Michael Koch  <konqueror@gmx.de>
6260         * javax/swing/JPasswordField.java: Updated javadocs.
6262 2005-02-15  Michael Koch  <konqueror@gmx.de>
6264         * javax/swing/JLayeredPane.java
6265         (getLayer): Fixed return type, made public.
6266         (getPosition): Use new getLayer().
6267         (SetPosition): Likewise.
6268         (getIndexOf): Likewise.
6269         (remove): Likewise.
6270         * javax/swing/JInternalFrame.java
6271         (getLayer): Use new JLayeredPane.getLayer().
6274 2005-02-15  Michael Koch  <konqueror@gmx.de>
6276         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6277         (setHeaderValue): Simplified. Do nothing when old value == new value.
6279 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
6281         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6282         against null clip region.
6283         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6284         gtkWindowSetResizable.
6285         (postConfigureEvent): Only revalidate if frame size has changed.
6286         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6287         Only revalidate if frame size has changed.
6288         * java/awt/Component.java (reshape): Only repaint and post
6289         component events if component is showing.
6290         * java/awt/Container.java (addImpl): Only post container event if
6291         container is showing.
6292         (remove): Likewise.
6293         * java/awt/Window.java (setLocationRelativeTo): Implement.
6294         (setBoundsCallback): Only post component events if component is
6295         showing.
6296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6297         Protect against null graphics structure.  Flush gdk event queue.
6299 2005-02-15  Michael Koch  <konqueror@gmx.de>
6301         * javax/imageio/ImageReader.java,
6302         javax/imageio/ImageTranscoder.java,
6303         javax/imageio/ImageWriter.java,
6304         javax/imageio/spi/ImageInputStreamSpi.java,
6305         javax/imageio/spi/ImageOutputStreamSpi.java,
6306         javax/imageio/spi/ServiceRegistry.java,
6307         javax/imageio/stream/ImageInputStream.java,
6308         javax/imageio/stream/ImageOutputStream.java: Updated.
6309         * javax/imageio/IIOException.java,
6310         javax/imageio/IIOImage.java,
6311         javax/imageio/IIOParam.java,
6312         javax/imageio/IIOParamController.java,
6313         javax/imageio/ImageIO.java,
6314         javax/imageio/ImageReadParam.java,
6315         javax/imageio/ImageTypeSpecifier.java,
6316         javax/imageio/ImageWriteParam.java,
6317         javax/imageio/spi/IIORegistry.java,
6318         javax/imageio/spi/ImageReaderSpi.java,
6319         javax/imageio/spi/ImageWriterSpi.java,
6320         javax/imageio/stream/FileCacheImageInputStream.java,
6321         javax/imageio/stream/FileCacheImageOutputStream.java,
6322         javax/imageio/stream/FileImageInputStream.java,
6323         javax/imageio/stream/FileImageOutputStream.java,
6324         javax/imageio/stream/ImageInputStreamImpl.java,
6325         javax/imageio/stream/ImageOutputStreamImpl.java,
6326         javax/imageio/stream/MemoryCacheImageInputStream.java,
6327         javax/imageio/stream/MemoryCacheImageOutputStream.java,
6328         javax/imageio/event/IIOReadProgressListener.java,
6329         javax/imageio/event/IIOReadUpdateListener.java,
6330         javax/imageio/event/IIOReadWarningListener.java,
6331         javax/imageio/event/IIOWriteProgressListener.java,
6332         javax/imageio/event/IIOWriteWarningListener.java,
6333         javax/imageio/metadata/IIOMetadata.java,
6334         javax/imageio/metadata/IIOMetadataController.java,
6335         javax/imageio/metadata/IIOMetadataFormat.java,
6336         javax/imageio/metadata/IIOInvalidTreeException.java,
6337         javax/imageio/metadata/IIOMetadataFormatImpl.java,
6338         javax/imageio/metadata/IIOMetadataNode.java: New files.
6339         * Makefile.am (javax_source_files): Added new files
6340         * Makefile.in: Regenerated.
6342 2005-02-15  Graydon Hoare  <graydon@redhat.com>
6344         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6345         Rework painting into BufferedImages
6346         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6347         Construct BufferedImage with alpha only when alpha is
6348         present in colormodel.
6349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6350         Rework painting into client-side jint arrays.
6351         * jni/gtk-peer/gtkcairopeer.h:
6352         Likewise.
6354 2005-02-15  Michael Koch  <konqueror@gmx.de>
6356         * javax/swing/DefaultListCellRenderer.java
6357         (serialVersionUID): Made private.
6358         (getListCellRendererComponent): Set horizontal alignment.
6359         * javax/swing/JLabel.java
6360         (setVerticalAlignment): Re-implemented.
6361         (setHorizontalAlignment): Do nothing if old value = new value.
6362         * javax/swing/JList.java
6363         (setCellRenderer): Likewise.
6364         (setModel): Re-implemented.
6365         (setSelectionModel): Likewise.
6367 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
6369         * java/awt/Component.java,
6370         java/awt/geom/Rectangle2D.java:
6371         Javadoc fixes.
6373 2005-02-15  Michael Koch  <konqueror@gmx.de>
6375         * javax/swing/AbstractListModel.java
6376         (fireContentsChanged): Simplified.
6377         (fireIntervalAdded): Likewise.
6378         (fireIntervalRemoved): Likewise.
6379         * javax/swing/DefaultSingleSelectionModel.java:
6380         Reformatted.
6381         (fireStateChanged): Simplified.
6382         * javax/swing/JPopupMenu.java
6383         (setSelectionModel): Set property.
6385 2005-02-15  Michael Koch  <konqueror@gmx.de>
6387         * java/awt/print/Book.java: Reformatted.
6389 2005-02-15  Michael Koch  <konqueror@gmx.de>
6391         * java/awt/geom/Area.java
6392         (QuadSegment.curveArea): Remove unused variables.
6393         (CubicSegment.curveArea): Likewise.
6395 2005-02-15  Michael Koch  <konqueror@gmx.de>
6397         * javax/swing/JTree.java
6398         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6399         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6400         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6401         (EXPANDED): New constant.
6402         (COLLAPSED): Likewise.
6403         (nodeStates): New field.
6404         (cellEditor): New method.
6405         (cellRenderer): Likewise.
6406         (selectionModel): Likewise.
6407         (treeModel): Likewise.
6408         (scrollPathToVisible): Likewise.
6409         (scrollRowToVisible): Likewise.
6410         (isCollapsed): Likewise.
6411         (isExpanded): Likewise.
6412         (clearToggledPaths): Likewise.
6413         (getDescendantToggledPaths): Likewise.
6414         (hasBeenExpanded): Likewise.
6415         (isVisible): Likewise.
6416         (isPathEditable): Likewise.
6418 2005-02-15  Michael Koch  <konqueror@gmx.de>
6420         * javax/swing/JLayeredPane.java: Reformatted.
6422 2005-02-15  Michael Koch  <konqueror@gmx.de>
6424         * javax/swing/tree/DefaultMutableTreeNode.java:
6425         Completely Revised.
6426         * javax/swing/tree/MutableTreeNode.java:
6427         Reformatted.
6429 2005-02-15  Michael Koch  <konqueror@gmx.de>
6431         * javax/swing/JFormattedTextField.java
6432         (setDocument): Call setDocument of super class. Don't fire property
6433         change event.
6435 2005-02-15  Sven de Marothy  <sven@physto.se>
6437         * java/awt/image/IndexColorModel.java:
6438         Add FIXME with respect to alpha handling.
6439         (getAlpha): Default to returning opaque pixels.
6440         * java/awt/image/MultiPixelPackedSampleModel.java
6441         (MultiPixelPackedSampleModel): Corrected parameters, order of
6442         bit shifts and masks, stride length off by one.
6444 2005-02-15  Michael Koch  <konqueror@gmx.de>
6446         * javax/swing/JList.java, javax/swing/JTree.java:
6447         Added much new methods and fixed much methods setting bound properties.
6449 2005-02-16  Mark Wielaard  <mark@klomp.org>
6451         * Makefile.am (gnu_xml_source_files): Removed
6452         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6453         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6454         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6455         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6456         gnu/xml/dom/DomDocumentFragment.java,
6457         gnu/xml/dom/DomProcessingInstruction.java and
6458         gnu/xml/dom/ls/DomLSException.java.
6459         * Makefile.in: Regenerated.
6461 2005-02-16  Tom Tromey  <tromey@redhat.com>
6463         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6464         attribute index is out of bounds.
6466 2005-02-16  Chris Burdess  <dog@gnu.org>
6468         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6469         isDeclared methods. Improved performance of isSpecified methods.
6471 2005-02-16  Chris Burdess  <dog@gnu.org>
6473         Fixes bug libgcj/19864
6474         * gnu/xml/dom/DomAttr.java,
6475         gnu/xml/dom/DomCDATA.java,
6476         gnu/xml/dom/DomCDATASection.java,
6477         gnu/xml/dom/DomCharacterData.java,
6478         gnu/xml/dom/DomDOMException.java,
6479         gnu/xml/dom/DomDoctype.java,
6480         gnu/xml/dom/DomDocument.java,
6481         gnu/xml/dom/DomDocumentConfiguration.java,
6482         gnu/xml/dom/DomDocumentFragment.java,
6483         gnu/xml/dom/DomElement.java,
6484         gnu/xml/dom/DomEx.java,
6485         gnu/xml/dom/DomFragment.java,
6486         gnu/xml/dom/DomImpl.java,
6487         gnu/xml/dom/DomIterator.java,
6488         gnu/xml/dom/DomNamedNodeMap.java,
6489         gnu/xml/dom/DomNode.java,
6490         gnu/xml/dom/DomNsNode.java,
6491         gnu/xml/dom/DomPI.java,
6492         gnu/xml/dom/DomProcessingInstruction.java,
6493         gnu/xml/dom/DomText.java,
6494         gnu/xml/dom/DomLSEx.java,
6495         gnu/xml/dom/DomLSException.java,
6496         gnu/xml/dom/DomLSParser.java,
6497         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6498         implementation class names to conform to Classpath guidelines.  Make
6499         DomLSException use JDK 1.4+ exception chaining.
6500         * gnu/xml/util/SAXNullTransformerFactory.java,
6501         gnu/xml/xpath/Predicate.java: Use constants relative to
6502         declaring class or interface.
6504 2005-02-16  Andrew Haley  <aph@redhat.com>
6506         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6507         null, create a new AccessControlContext.
6508         * java/security/SecureClassLoader.java (protectionDomainCache):
6509         new field.
6510         (defineClass): Create a new protection domain and add it to our
6511         cache.
6513         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6514         addStub() to keep track of the stub we've exported.
6515         (unexportObject): Call deleteStub().
6516         * java/rmi/server/RemoteObject.java (stubs): New field.
6517         (addStub): New method.
6518         (deleteStub): New method.
6519         (toStub): Rewrite.
6521         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6522         true to findHelper (tryParents).
6523         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6524         Likewise.
6525         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6526         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6527         ProtectionDomain.
6528         If tryParents is false, don't scan parent class loaders.
6530         * java/security/Permissions.java (PermissionsHash.implies):
6531         Iterate over the collection and invoke implies() on each
6532         element.
6534 2005-02-16  Andrew Haley  <aph@redhat.com>
6536         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6537         fields.
6538         (PersistentByteMap): Set name
6539         Magic number changed to 0x67636a64 ("gcjd").
6540         (init): Force the map to be prime.
6541         (emptyPersistentByteMap): File name was a string, now a File.
6542         (addBytes): Share srings between entries.
6543         (stringTableSize): New method.
6544         (capacity): Scale by load factor.
6545         (force): New method.
6546         (getFile): New method.
6547         (close): New method.
6548         (putAll): New method.
6549         (ByteWrapper): New class.
6550         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6551         (main): Guess the average string size as 32, not 64.
6552         Copy a database before modifying it, so that we can update a
6553         database in a running system.
6554         If a database isn't big enough, resize it.
6555         "-m": new option: merges databases.
6556         "-a": Create a new detabase if it doesn't exist.
6557         (usage): Correct, add new option.
6558         (addJar): Copy a database before modifying it.
6559         (resizeMap): New method.
6561 2005-02-15  David Daney <ddaney@avtrex.com>
6562             Bryce McKinlay  <mckinlay@redhat.com>
6564         * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6565         * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6566         ensure that GC threads inherit the new signal mask.
6567         (block_sigchld): Call JvFail rather than throwing exception if
6568         pthread_sigmask() fails.
6570 2005-02-15  Mark Wielaard  <mark@klomp.org>
6572         * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6573         file path elements are separated by spaces.
6575 2005-02-15  Mark Wielaard  <mark@klomp.org>
6577         * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6578         to describe attributes without a constant field value in this class.
6580 2005-02-15  Michael Koch  <konqueror@gmx.de>
6582         * java/util/jar/Attributes.java
6583         (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6585 2005-02-15  Mark Wielaard  <mark@klomp.org>
6587         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6588         space for parsing CLASS_PATH attribute.
6590 2005-02-15  Mark Wielaard  <mark@klomp.org>
6592         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6593         aside for "GCJLIBS" in directory where jarfiles are loaded.
6594         (JarURLLoader.getClass): Removed method.
6595         (JarURLLoader.toString): Removed method.
6596         (FileResource.toString): Removed method.
6598 2005-02-15  Mark Wielaard  <mark@klomp.org>
6600         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6601         and/or cause before throwing.
6603 2005-02-15  Richard Henderson  <rth@redhat.com>
6605         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6606         (libgcj0_convenience_la_SOURCES): ... here.
6607         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6608         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6609         * Makefile.in: Regenerate.
6611 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
6613         * jawt.c: New file.
6614         * include/jawt.h: Likewise.
6615         * include/jawt_md.h: Likewise.
6616         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6617         jawt_md.h files.
6618         * include/Makefile.in: Regenerate.
6619         * jni/classpath/classpath_jawt.h: Likewise.
6620         * jni/gtk-peer/gtk_jawt.c: Likewise.
6621         * Makefile.am: Build libjawt.so.
6622         * Makefile.in: Regenerate.
6624 2005-02-14  Tom Tromey  <tromey@redhat.com>
6626         * testsuite/libjava.lang/PR19921.java: Use correct class name.
6628 2005-02-14  Tom Tromey  <tromey@redhat.com>
6630         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6631         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6633 2005-02-14  Tom Tromey  <tromey@redhat.com>
6635         For PR java/19929:
6636         * testsuite/libjava.lang/PR19929.out: New file.
6637         * testsuite/libjava.lang/PR19929.java: New file.
6639 2005-02-14  Anthony Green  <green@redhat.com>
6641         PR libgcj/18116
6642         * testsuite/libjava.jni/PR18116.c: New file.
6643         * testsuite/libjava.jni/PR18116.java: New file.
6644         * testsuite/libjava.jni/PR18116.out: New file.
6646 2005-02-13  Anthony Green  <green@redhat.com>
6648         PR libgcj/18116
6649         * jni.cc (nathash_add): Don't strdup the method signature.
6650         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6651         method signature.
6652         Update copyright.
6654 2005-02-12  Mark Wielaard  <mark@klomp.org>
6656         Fixes bug libgcj/8170
6657         * java/lang/ClassLoader.java (loadClass): Don't rewrap
6658         ClassNotFoundException.
6659         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6660         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6661         (remove_internal): New field superceding remove_interpreter.
6662         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6663         Remove no-class methods starting with "_Jv_". And Replace null
6664         class or method names with the empty string. Stop at either the
6665         MainThread or a real Thread run() method.
6666         (newElement): Made static.
6667         * java/net/URLClassLoader.java (findClass): Throw
6668         ClassNotFoundExceptions including urls, plus parent using toString().
6669         (thisString): New field.
6670         (toString): New method.
6672 2005-02-10  Tom Tromey  <tromey@redhat.com>
6674         * external/sax/Makefile.in: Rebuilt.
6675         * external/sax/Makefile.am (all-local): Removed.
6676         (BUILT_SOURCES): New variable.
6677         (mostlyclean-local): No error if no classes to delete.
6678         * external/w3c_dom/Makefile.in: Rebuilt.
6679         * external/w3c_dom/Makefile.am (all-local): Removed.
6680         (BUILT_SOURCES): New variable.
6681         (mostlyclean-local): No error if no classes to delete.
6683 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
6685         * testsuite/libjava.mauve/xfails: Updated to reflect current state
6686         of mauve and libjava.
6688 2005-02-09  Tom Tromey  <tromey@redhat.com>
6690         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6691         jar file with OPEN_DELETE.
6692         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6693         OPEN_DELETE is used.
6695 2005-02-09  Tom Tromey  <tromey@redhat.com>
6697         * java/util/zip/InflaterInputStream.java (markSupported):
6698         Override.
6699         (mark, reset): Likewise.
6701 2005-02-08  Tom Tromey  <tromey@redhat.com>
6703         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6704         name or port is missing.
6705         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6706         AUTHORITY_PORT_GROUP): Updated.
6708 2005-02-08  Tom Tromey  <tromey@redhat.com>
6710         * configure: Rebuilt.
6711         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6712         AC_CHECK_HEADERS.
6714 2005-02-07  Tom Tromey  <tromey@redhat.com>
6716         * java/lang/natRuntime.cc (insertSystemProperties): Set
6717         sun.boot.class.path earlier.
6719 2005-02-07  Tom Tromey  <tromey@redhat.com>
6721         * defineclass.cc (handleClassBegin): Use
6722         _Jv_RegisterInitiatingLoader.
6723         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6724         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6725         class.  Use _Jv_UnregisterInitiatingLoader.
6726         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6727         New function.
6729 2005-02-07  Mark Wielaard  <mark@klomp.org>
6731         Reported by Timo Lindfors <timo.lindfors@iki.fi>
6732         java/util/regex/Matcher.java (lookingAt): Set position when match
6733         found.
6734         (matches): Implemented through lookingAt().
6736 2005-02-07  Mark Wielaard  <mark@klomp.org>
6738         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6739         * java/util/regex/Pattern.java (split(CharSequence,int)):
6740         Fix while empties > 0 loops.
6742 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
6744         * gnu/java/nio/charset/ISO_8859_1.java,
6745         gnu/java/nio/charset/US_ASCII.java,
6746         gnu/java/nio/charset/UTF_16.java,
6747         gnu/java/nio/charset/UTF_16_LE.java,
6748         gnu/java/nio/charset/UTF_16_BE.java,
6749         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6750          and aliases according to
6751          "http://www.iana.org/assignments/character-sets",
6752          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6753          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6754         * gnu/java/nio/charset/Provider.java: Made charset lookup
6755          case-insensitive which fixes bug #11740.
6757 2005-02-07  Tom Tromey  <tromey@redhat.com>
6759         PR libgcj/19611:
6760         * Makefile.in: Rebuilt.
6761         * Makefile.am (src.zip): New target.
6762         (install-src.zip): Likewise.
6763         (sourcesdir): New variable.
6765 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
6767         * javax/imageio/metadata/IIOMetadataNode.java:
6768         Implemented.
6769         * javax/imageio/metadata/IIOAttr.java,
6770         javax/imageio/metadata/IIONamedNodeMap.java,
6771         javax/imageio/metadata/IIONodeList.java:
6772         New files
6774 2005-02-06  Graydon Hoare  <graydon@redhat.com>
6776         * gnu/java/awt/ClasspathToolkit.java
6777         (registerImageIOSpis): New method.
6778         * javax/imageio/ImageIO.java
6779         (WriterFormatFilter.filter): Fix copy-and-paste typos.
6780         (WriterMIMETypeFilter.filter): Likewise.
6781         (ImageReaderIterator): Pass extension argument through to SPI.
6782         (getReadersByFilter): Likewise.
6783         (getWritersByFilter): Likewise.
6784         (getImageReadersByFormatName): Likewise.
6785         (getImageReadersByMIMEType): Likewise.
6786         (getImageReadersBySuffix): Likewise.
6787         (getImageWritersByFormatName): Likewise.
6788         (getImageWritersByMIMEType): Likewise.
6789         (getImageWritersBySuffix): Likewise.
6790         (read): Implement.
6791         (write): Implement.
6792         * javax/imageio/ImageReader.java
6793         (progressListeners): Initialize.
6794         (setInput): Implement.
6795         * javax/imageio/ImageWriter.java
6796         (progressListeners): Initialize.
6797         (warningListeners): Likewise.
6798         (warningLocales): Likewise.
6799         (setOutput): Test "isInstance" rather than class equality.
6800         * javax/imageio/spi/IIORegistry.java
6801         (static): Add reader and writer SPIs.
6802         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6804 2005-02-06  Michael Koch  <konqueror@gmx.de>
6806         * javax/imageio/metadata/IIOInvalidTreeException.java
6807         (IIOInvalidTreeException): Reformatted.
6808         * javax/imageio/spi/IIORegistry.java
6809         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6810         * javax/imageio/stream/MemoryCacheImageInputStream.java:
6811         Reworked import statements.
6813 2005-02-06  Michael Koch  <konqueror@gmx.de>
6815         * javax/imageio/stream/FileImageOutputStream.java:
6816         Implemented.
6818 2005-02-06  Michael Koch  <konqueror@gmx.de>
6820         * javax/imageio/stream/FileCacheImageInputStream.java,
6821         javax/imageio/stream/FileCacheImageOutputStream.java,
6822         javax/imageio/stream/FileImageInputStream.java,
6823         javax/imageio/stream/ImageInputStreamImpl.java,
6824         javax/imageio/stream/ImageOutputStreamImpl.java,
6825         javax/imageio/stream/MemoryCacheImageInputStream.java,
6826         javax/imageio/stream/MemoryCacheImageOutputStream.java:
6827         Added all missing methods in javax.imageio.stream.
6829 2005-02-02  David Daney  <ddaney@avtrex.com>
6831         * java/net/InetAddress.java (InetAddress): Make a private copy of
6832         the address.
6833         * java/net/Inet4Address.java (getAddress): Return a copy of the
6834         address.
6835         * java/net/Inet6Address.java (Inet6Address): Use private copy of
6836         the address
6837         (getAddress): Return a copy of the address.
6838         (equals): Rewrote.
6840 2005-02-02  Tom Tromey  <tromey@redhat.com>
6842         * Makefile.in: Rebuilt.
6843         * Makefile.am (classes.stamp): New target, broken out from
6844         libgcj.jar target.
6845         ($(all_java_class_files)): Depend on it.
6846         (libgcj-@gcc_version@.jar): Likewise.
6847         (all-recursive): Likewise.
6848         (CLEANFILES): Include classes.stamp.
6850 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
6852         * link.cc: Include <stdio.h>
6854 2005-02-02  Tom Tromey  <tromey@redhat.com>
6856         PR libgcj/19681:
6857         * Makefile.in: Rebuilt.
6858         * Makefile.am (ordinary_java_source_files): Added new class.
6859         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
6860         Use system_instance, not instance.
6861         * gnu/gcj/runtime/SystemClassLoader.java: New file.
6862         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
6863         java.class.path.
6864         (system_instance): New field.
6865         (initialize): Initialize the system loader as well.
6866         (VMClassLoader): Default to LIB_CACHE.
6868 2005-02-02  Tom Tromey  <tromey@redhat.com>
6870         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
6871         * prims.cc: Fixed comment.
6873 2005-02-01  Tom Tromey  <tromey@redhat.com>
6875         * Makefile.in: Rebuilt.
6876         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
6877         (.java.class): Use BOOTCLASSPATH.
6879 2005-02-01  Tom Tromey  <tromey@redhat.com>
6881         * external/w3c_dom/Makefile.am: New file.
6882         * external/w3c_dom/Makefile.in: New file.
6883         * external/sax/Makefile.am: New file.
6884         * external/sax/Makefile.in: New file.
6885         * external/Makefile.in: New file.
6886         * external/Makefile.am: New file.
6887         * external/README: New file from Classpath.
6888         * configure, aclocal.m4, Makefile.in: Rebuilt.
6889         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
6890         * Makefile.am (SUBDIRS): Added external.
6891         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
6892         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
6893         (BOOTCLASSPATH): New variable.
6894         (AM_GCJFLAGS): Use it.
6895         (gnu_xml_source_files): New variable.
6896         (libgcj_la_SOURCES): Use it.
6897         (libgcj_la_LDADD): Include new convenience libraries.
6898         (lib_org_ietf_jgss_la_SOURCES): Removed.
6899         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
6900         (lib_org_ietf_jgss_la_LIBADD): Likewise.
6901         (lib_org_w3c_dom_la_SOURCES): Removed.
6902         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
6903         (lib_org_w3c_dom_la_LIBADD): Likewise.
6904         (lib_org_xml_sax_la_SOURCES): Removed.
6905         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
6906         (lib_org_xml_sax_la_LIBADD): Likewise.
6907         (all_java_source_files): Updated.
6908         (property_files): Likewise.
6909         (libgcj-@gcc_version@.jar): Include classes from external/.
6910         (javax_source_files): Updated.
6911         (ordinary_java_source_files): Updated.
6912         * javax/xml/XMLConstants.java,
6913         javax/xml/datatype/DatatypeConfigurationException.java,
6914         javax/xml/datatype/DatatypeConstants.java,
6915         javax/xml/datatype/DatatypeFactory.java,
6916         javax/xml/datatype/Duration.java,
6917         javax/xml/datatype/XMLGregorianCalendar.java,
6918         javax/xml/datatype/package.html,
6919         javax/xml/namespace/NamespaceContext.java,
6920         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
6921         javax/xml/parsers/DocumentBuilder.java,
6922         javax/xml/parsers/DocumentBuilderFactory.java,
6923         javax/xml/parsers/FactoryConfigurationError.java,
6924         javax/xml/parsers/ParserConfigurationException.java,
6925         javax/xml/parsers/SAXParser.java,
6926         javax/xml/parsers/SAXParserFactory.java,
6927         javax/xml/parsers/package.html,
6928         javax/xml/transform/ErrorListener.java,
6929         javax/xml/transform/OutputKeys.java,
6930         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
6931         javax/xml/transform/SourceLocator.java,
6932         javax/xml/transform/Templates.java,
6933         javax/xml/transform/Transformer.java,
6934         javax/xml/transform/TransformerConfigurationException.java,
6935         javax/xml/transform/TransformerException.java,
6936         javax/xml/transform/TransformerFactory.java,
6937         javax/xml/transform/TransformerFactoryConfigurationError.java,
6938         javax/xml/transform/URIResolver.java,
6939         javax/xml/transform/package.html,
6940         javax/xml/transform/dom/DOMLocator.java,
6941         javax/xml/transform/dom/DOMResult.java,
6942         javax/xml/transform/dom/DOMSource.java,
6943         javax/xml/transform/dom/package.html,
6944         javax/xml/transform/sax/SAXResult.java,
6945         javax/xml/transform/sax/SAXSource.java,
6946         javax/xml/transform/sax/SAXTransformerFactory.java,
6947         javax/xml/transform/sax/TemplatesHandler.java,
6948         javax/xml/transform/sax/TransformerHandler.java,
6949         javax/xml/transform/sax/package.html,
6950         javax/xml/transform/stream/StreamResult.java,
6951         javax/xml/transform/stream/StreamSource.java,
6952         javax/xml/transform/stream/package.html,
6953         javax/xml/validation/Schema.java,
6954         javax/xml/validation/SchemaFactory.java,
6955         javax/xml/validation/TypeInfoProvider.java,
6956         javax/xml/validation/Validator.java,
6957         javax/xml/validation/ValidatorHandler.java,
6958         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
6959         javax/xml/xpath/XPathConstants.java,
6960         javax/xml/xpath/XPathException.java,
6961         javax/xml/xpath/XPathExpression.java,
6962         javax/xml/xpath/XPathExpressionException.java,
6963         javax/xml/xpath/XPathFactory.java,
6964         javax/xml/xpath/XPathFactoryConfigurationException.java,
6965         javax/xml/xpath/XPathFunction.java,
6966         javax/xml/xpath/XPathFunctionException.java,
6967         javax/xml/xpath/XPathFunctionResolver.java,
6968         javax/xml/xpath/XPathVariableResolver.java,
6969         javax/xml/xpath/package.html: New files, from GNU JAXP.
6970         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
6971         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
6972         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
6973         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
6974         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
6975         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
6976         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
6977         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
6978         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
6979         org/w3c/dom/ranges/DocumentRange.java,
6980         org/w3c/dom/ranges/Range.java,
6981         org/w3c/dom/ranges/RangeException.java,
6982         org/w3c/dom/traversal/DocumentTraversal.java,
6983         org/w3c/dom/traversal/NodeFilter.java,
6984         org/w3c/dom/traversal/NodeIterator.java,
6985         org/w3c/dom/traversal/TreeWalker.java,
6986         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
6987         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
6988         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
6989         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
6990         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
6991         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
6992         org/xml/sax/SAXNotRecognizedException.java,
6993         org/xml/sax/SAXNotSupportedException.java,
6994         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
6995         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
6996         org/xml/sax/ext/DeclHandler.java,
6997         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
6998         org/xml/sax/helpers/AttributeListImpl.java,
6999         org/xml/sax/helpers/AttributesImpl.java,
7000         org/xml/sax/helpers/DefaultHandler.java,
7001         org/xml/sax/helpers/LocatorImpl.java,
7002         org/xml/sax/helpers/NamespaceSupport.java,
7003         org/xml/sax/helpers/NewInstance.java,
7004         org/xml/sax/helpers/ParserAdapter.java,
7005         org/xml/sax/helpers/ParserFactory.java,
7006         org/xml/sax/helpers/XMLFilterImpl.java,
7007         org/xml/sax/helpers/XMLReaderAdapter.java,
7008         org/xml/sax/helpers/XMLReaderFactory.java,
7009         org/xml/sax/helpers/package.html: Moved to external/.
7010         * external/sax/README,
7011         external/sax/org/xml/sax/AttributeList.java,
7012         external/sax/org/xml/sax/Attributes.java,
7013         external/sax/org/xml/sax/ContentHandler.java,
7014         external/sax/org/xml/sax/DTDHandler.java,
7015         external/sax/org/xml/sax/DocumentHandler.java,
7016         external/sax/org/xml/sax/EntityResolver.java,
7017         external/sax/org/xml/sax/ErrorHandler.java,
7018         external/sax/org/xml/sax/HandlerBase.java,
7019         external/sax/org/xml/sax/InputSource.java,
7020         external/sax/org/xml/sax/Locator.java,
7021         external/sax/org/xml/sax/Parser.java,
7022         external/sax/org/xml/sax/SAXException.java,
7023         external/sax/org/xml/sax/SAXNotRecognizedException.java,
7024         external/sax/org/xml/sax/SAXNotSupportedException.java,
7025         external/sax/org/xml/sax/SAXParseException.java,
7026         external/sax/org/xml/sax/XMLFilter.java,
7027         external/sax/org/xml/sax/XMLReader.java,
7028         external/sax/org/xml/sax/package.html,
7029         external/sax/org/xml/sax/ext/Attributes2.java,
7030         external/sax/org/xml/sax/ext/Attributes2Impl.java,
7031         external/sax/org/xml/sax/ext/DeclHandler.java,
7032         external/sax/org/xml/sax/ext/DefaultHandler2.java,
7033         external/sax/org/xml/sax/ext/EntityResolver2.java,
7034         external/sax/org/xml/sax/ext/LexicalHandler.java,
7035         external/sax/org/xml/sax/ext/Locator2.java,
7036         external/sax/org/xml/sax/ext/Locator2Impl.java,
7037         external/sax/org/xml/sax/ext/package.html,
7038         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7039         external/sax/org/xml/sax/helpers/AttributesImpl.java,
7040         external/sax/org/xml/sax/helpers/DefaultHandler.java,
7041         external/sax/org/xml/sax/helpers/LocatorImpl.java,
7042         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7043         external/sax/org/xml/sax/helpers/NewInstance.java,
7044         external/sax/org/xml/sax/helpers/ParserAdapter.java,
7045         external/sax/org/xml/sax/helpers/ParserFactory.java,
7046         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7047         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7048         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7049         external/sax/org/xml/sax/helpers/package.html,
7050         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7051         external/w3c_dom/org/w3c/dom/Attr.java,
7052         external/w3c_dom/org/w3c/dom/CDATASection.java,
7053         external/w3c_dom/org/w3c/dom/CharacterData.java,
7054         external/w3c_dom/org/w3c/dom/Comment.java,
7055         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7056         external/w3c_dom/org/w3c/dom/DOMError.java,
7057         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7058         external/w3c_dom/org/w3c/dom/DOMException.java,
7059         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7060         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7061         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7062         external/w3c_dom/org/w3c/dom/DOMLocator.java,
7063         external/w3c_dom/org/w3c/dom/DOMStringList.java,
7064         external/w3c_dom/org/w3c/dom/Document.java,
7065         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7066         external/w3c_dom/org/w3c/dom/DocumentType.java,
7067         external/w3c_dom/org/w3c/dom/Element.java,
7068         external/w3c_dom/org/w3c/dom/Entity.java,
7069         external/w3c_dom/org/w3c/dom/EntityReference.java,
7070         external/w3c_dom/org/w3c/dom/NameList.java,
7071         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7072         external/w3c_dom/org/w3c/dom/Node.java,
7073         external/w3c_dom/org/w3c/dom/NodeList.java,
7074         external/w3c_dom/org/w3c/dom/Notation.java,
7075         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7076         external/w3c_dom/org/w3c/dom/Text.java,
7077         external/w3c_dom/org/w3c/dom/TypeInfo.java,
7078         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7079         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7080         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7081         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7082         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7083         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7084         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7085         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7086         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7087         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7088         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7089         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7090         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7091         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7092         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7093         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7094         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7095         external/w3c_dom/org/w3c/dom/css/Counter.java,
7096         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7097         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7098         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7099         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7100         external/w3c_dom/org/w3c/dom/css/Rect.java,
7101         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7102         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7103         external/w3c_dom/org/w3c/dom/events/Event.java,
7104         external/w3c_dom/org/w3c/dom/events/EventException.java,
7105         external/w3c_dom/org/w3c/dom/events/EventListener.java,
7106         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7107         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7108         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7109         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7110         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7111         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7112         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7113         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7114         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7115         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7116         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7117         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7118         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7119         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7120         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7121         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7122         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7123         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7124         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7125         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7126         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7127         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7128         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7129         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7130         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7131         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7132         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7133         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7134         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7135         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7136         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7137         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7138         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7139         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7140         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7141         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7142         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7143         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7144         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7145         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7146         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7147         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7148         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7149         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7150         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7151         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7152         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7153         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7154         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7155         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7156         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7157         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7158         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7159         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7160         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7161         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7162         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7163         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7164         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7165         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7166         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7167         external/w3c_dom/org/w3c/dom/ls/LSException.java,
7168         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7169         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7170         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7171         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7172         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7173         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7174         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7175         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7176         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7177         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7178         external/w3c_dom/org/w3c/dom/ranges/Range.java,
7179         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7180         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7181         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7182         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7183         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7184         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7185         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7186         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7187         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7188         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7189         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7190         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7191         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7192         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7193         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7194         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7195         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7196         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7197         from Classpath.
7199 2005-01-31  Anthony Green  <green@redhat.com>
7201         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7202         Support IP_MULTICAST_LOOP.
7203         (setOption): Support IP_MULTICAST_LOOP.
7205         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7206         SO_REUSEADDR support.
7207         (getOption): Support SO_REUSEADDR.
7209 2005-01-28  Jeroen Frijters  <jeroen@frijters.net>
7211         PR libgcj/19649
7212         * java/util/Date.java
7213         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7214         constructor.
7215         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7216         arguments.
7217         (getTimezoneOffset): Inverted sign.
7219 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
7221         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7222         remove other passing tests and add new XFAILs.
7224 2005-01-24  Tom Tromey  <tromey@redhat.com>
7226         * java/lang/Class.h (next): Updated documentation.  Renamed to
7227         'next_or_version'.
7228         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7229         _Jv_CheckABIVersion.
7230         (_Jv_RegisterClasses_Counted): Likewise.
7231         (_Jv_RegisterClassHookDefault): Fix starting condition of
7232         duplicate-checking loop.
7233         * include/jvm.h (GCJ_VERSION): New define.
7234         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7235         (_Jv_CheckABIVersion): New function.
7237 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
7239         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7240         (libgij_la_LDFLAGS): Add.
7241         * Makefile.in: Rebuilt.
7243 2005-01-24  Roger Sayle  <roger@eyesopen.com>
7245         PR java/19295
7246         * testsuite/libjava.compile/PR19295.java: New test case.
7248 2005-01-19  Tom Tromey  <tromey@redhat.com>
7250         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7251         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7252         if 'handler' is valid.
7254 2005-01-17  Tom Tromey  <tromey@redhat.com>
7256         * java/text/MessageFormat.java (scanString): Changed how quoting
7257         is handled.
7258         (scanFormatElement): Likewise.
7260 2004-12-07  Mark Wielaard  <mark@klomp.org>
7262         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7264 2005-01-15  Michael Koch  <konqueror@gmx.de>
7266         PR libgcj/19444
7267         * java/net/URI.java
7268         (AUTHORITY_REGEXP): New regexp constant.
7269         (AUTHORITY_USERINFO_GROUP): New constant.
7270         (AUTHORITY_HOST_GROUP): Likewise.
7271         (AUTHORITY_PORT_GROUP): Likewise.
7272         (port): Changed default value to -1.
7273         (parseURI): Parse authority part and initialize host,
7274         port and userInfo.
7276 2005-01-14  Robin Green  <greenrd@greenrd.org>
7278         * java/io/File.java (toURI): Generate a URI which we understand.
7280 2005-01-13  Graydon Hoare  <graydon@redhat.com>
7282         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7283         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7284         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7285         * jni.cc: Reuse bottom frame between calls, avoid clearing
7286         frame when no local references are made.
7288 2005-01-13  Michael Koch  <konqueror@gmx.de>
7290         PR libgcj/17784
7291         * java/lang/Thread.java
7292         (Thread): Call checkAccess().
7293         (stop): Fixed argument name to match javadoc.
7294         * java/lang/natThread.cc
7295         (interrupt): Call checkAccess().
7296         (stop): Likewise.
7298 2005-01-11  Michael Koch  <konqueror@gmx.de>
7300         PR libgcj/13972
7301         * java/net/URL.java (URL): Handle specs like
7302         "/redir?http://domain2.com/index.html" which start with a slash.
7304 2005-01-11  Michael Koch  <konqueror@gmx.de>
7306         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7307         * gnu/java/net/BASE64.java,
7308         gnu/java/net/EmptyX509TrustManager.java,
7309         gnu/java/net/LineInputStream.java,
7310         gnu/java/net/protocol/http/Authenticator.java,
7311         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7312         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7313         gnu/java/net/protocol/http/ChunkedInputStream.java,
7314         gnu/java/net/protocol/http/Cookie.java,
7315         gnu/java/net/protocol/http/CookieManager.java,
7316         gnu/java/net/protocol/http/Credentials.java,
7317         gnu/java/net/protocol/http/HTTPConnection.java,
7318         gnu/java/net/protocol/http/HTTPDateFormat.java,
7319         gnu/java/net/protocol/http/HTTPURLConnection.java,
7320         gnu/java/net/protocol/http/Headers.java,
7321         gnu/java/net/protocol/http/Request.java,
7322         gnu/java/net/protocol/http/RequestBodyWriter.java,
7323         gnu/java/net/protocol/http/Response.java,
7324         gnu/java/net/protocol/http/ResponseBodyReader.java,
7325         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7326         gnu/java/net/protocol/http/SimpleCookieManager.java,
7327         gnu/java/net/protocol/http/event/ConnectionEvent.java,
7328         gnu/java/net/protocol/http/event/ConnectionListener.java,
7329         gnu/java/net/protocol/http/event/RequestEvent.java,
7330         gnu/java/net/protocol/http/event/RequestListener.java: New files.
7331         * gnu/java/net/protocol/http/Connection.java: Removed.
7332         * gnu/java/net/protocol/http/Handler.java,
7333         javax/net/ssl/HttpsURLConnection.java: Updated.
7334         * Makefile.am: Added new files and remove old ones.
7335         * Makefile.in: Regenerated.
7337 2005-01-11  Tom Tromey  <tromey@redhat.com>
7339         PR libgcj/18840:
7340         * java/io/BufferedInputStream.java (read): Repeatedly read to
7341         fill buffer.
7342         (refill): Change test to see if buffer must be grown.
7344 2005-01-10  Tom Tromey  <tromey@redhat.com>
7346         * mauve-libgcj: Exclude some swing tests.
7348 2005-01-10  Tom Tromey  <tromey@redhat.com>
7350         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7351         * java/lang/Package.java (getPackages): Use VMClassLoader when
7352         appropriate.
7353         (getPackage): Likewise.
7354         * prims.cc (_Jv_CreateJavaVM): Call
7355         _Jv_RegisterBootstrapPackages.
7356         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7357         * java/lang/VMClassLoader.java (getPackage): Rewrote.
7358         (getPackages): Likewise.
7359         (definedPackages): New field.
7360         (definePackageForNative): New method.
7361         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7362         * java/lang/natVMClassLoader.cc (loadClass): Updated.
7363         * defineclass.cc (handleClassBegin): Use
7364         ClassLoader.findLoadedClass.
7365         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7366         Rewrote.
7367         (struct _Jv_LoaderInfo): Removed.
7368         (initiated_classes): Likewise.
7369         (_Jv_UnregisterClass): Don't use initiated_classes.
7370         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
7371         (_Jv_FindClass): Register classes found during boostrap.
7372         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7373         (bootstrap_class_list): New global.
7374         (bootstrap_index): Likewise.
7375         (_Jv_RegisterBootstrapPackages): New function.
7376         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7377         definePackageForNative.
7378         (findClass): Updated.
7379         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7380         New method.
7382 2005-01-10  Tom Tromey  <tromey@redhat.com>
7384         PR libgcj/18868:
7385         * include/jvm.h (_Jv_Linker::find_field): Declare.
7386         (_Jv_Linker::find_field_helper): Likewise.
7387         * link.cc (find_field_helper): New method.
7388         (find_field): Likewise.
7389         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
7390         not found.
7391         (link_symbol_table): Use find_field.
7393 2005-01-10  Michael Koch  <konqueror@gmx.de>
7395         PR libgcj/18014
7396         * java/util/Locale.java (Locale): Don't uppercase variant.
7397         (getISOCountries): Fixed typo in javadoc.
7399 2005-01-10  Michael Koch  <konqueror@gmx.de>
7401         * java/util/SimpleTimeZone.java (checkRule):
7402         Throw IllegalArgumentException on invalid month values.
7403         * java/util/TimeZone.java (setID):
7404         Throw NullPointerException if needed.
7406 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7408         * java/util/SimpleTimeZone.java (getOffset):
7409         offset end date with daylight savings
7411 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
7413         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7414         * testsuite/libjava.compile/PR19277.xfail: Likewise.
7416 2005-01-09  Michael Koch  <konqueror@gmx.de>
7418         PR libgcj/17069
7419         * java/net/InetAddress.java (getLocalHost):
7420         Throw UnknownHostException if local hostname cannot be determined.
7422 2005-01-06  Tom Tromey  <tromey@redhat.com>
7424         * java/lang/ClassLoader.java (findClass): Fixed documentation.
7426 2005-01-07  Michael Koch  <konqueror@gmx.de>
7428         PR libgcj/18115
7429         * java/nio/Buffer.java (address): New field.
7430         * java/nio/DirectByteBufferImpl.java (address): Removed.
7431         * java/nio/MappedByteBufferImpl.java (address): Likewise.
7432         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7433         Explicitly initialize Buffer.address if needed.
7434         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7435         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7436         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7437         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7438         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7439         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7440         DirectByteBufferImpl object.
7441         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7442         * testsuite/libjava.jni/directbuffer.c,
7443         testsuite/libjava.jni/directbuffer.java,
7444         testsuite/libjava.jni/directbuffer.out,
7445         testsuite/libjava.jni/bytebuffer.c,
7446         testsuite/libjava.jni/bytebuffer.java,
7447         testsuite/libjava.jni/bytebuffer.out: New files.
7449 2005-01-05  Tom Tromey  <tromey@redhat.com>
7451         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7452         argument.
7453         (compressedSize): Now 'long'.  Default to -1.
7454         (getCompressedSize): Rewrote.
7455         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7456         deflate at all if we need input.
7458 2005-01-05  Tom Tromey  <tromey@redhat.com>
7460         PR libgcj/15719:
7461         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7462         correctly.
7464 2005-01-05  Tom Tromey  <tromey@redhat.com>
7466         * java/lang/natRuntime.cc (insertSystemProperties): Set
7467         java.ext.dirs earlier.
7469 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
7471         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7472         sync_info element of the object if needed.
7474 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
7476         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7477         a non-zero exit status from 'false'.
7479 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
7481         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.