1 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
4 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
5 MAXPATHLEN. Format exception message using a StringBuffer instead.
7 2005-05-29 Michael Koch <konqueror@gmx.de>
10 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
12 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
14 * ChangeLog: Fix typo.
16 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
18 Testsuite adjustments for PR java/19870.
19 * testsuite/libjava.lang/PR19870.java: New testcase.
20 * testsuite/libjava.lang/PR19870.out: Expected output for the
22 * testsuite/libjava.jacks/jacks.xfail: Add
23 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
26 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
28 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
29 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
30 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
32 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
33 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
34 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
35 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
37 2005-05-25 Richard Henderson <rth@redhat.com>
40 * sysdep/descriptor-n.h: New file.
41 * sysdep/descriptor-y.h: New file.
42 * sysdep/powerpc/descriptor.h: New file.
43 * configure.host: Set $descriptor_h appropriate for the host.
44 * configure.ac: Link it.
45 * configure: Regenerate.
46 * stacktrace.cc: Include sysdep/descriptor.h.
47 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
49 2005-05-25 Chris Burdess <dog@gnu.org>
51 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
54 2005-05-24 Gary Benson <gbenson@redhat.com>
57 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
58 Handle DateFormat.DEFAULT case correctly.
60 2005-05-21 Tom Tromey <tromey@redhat.com>
63 * java/lang/ref/natReference.cc (find_slot): Handle case where
64 table has no NULL entries.
65 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
66 table has no NULL entries.
68 2005-05-22 Andreas Jaeger <aj@suse.de>
70 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
73 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
75 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
77 2005-05-19 Richard Henderson <rth@redhat.com>
79 * exception.cc: Revert 05-17 gcc_unreachable change.
81 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
83 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
84 _Jv_RegisterInitiatingLoader to register array classes, not
86 (_Jv_RegisterInitiatingLoader): Give up if called very early during
87 bootstrapping. Add a FIXME to handle this case better.
89 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
91 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
93 (libgcj_la_SOURCES): New. Move sources here.
94 (libgcj.la): Remove rule.
96 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
99 * gnu/java/security/provider/DSASignature.java: Import updates
102 2005-05-18 Anthony Green <green@redhat.com>
104 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
105 classpath_jawt_object_unlock, classpath_jawt_create_lock,
106 classpath_jawt_destroy_lock): New functions.
107 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
108 classpath_jawt_object_unlock, classpath_jawt_create_lock,
109 classpath_jawt_destroy_lock): New functions.
110 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
112 * jawt.c: #include malloc.h.
113 (_Jv_Lock): Use lock.
115 (_Jv_GetDrawingSurface): Initialize lock.
116 (_Jv_FreeDrawingSurface): Destroy lock.
117 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
119 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
121 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
122 * Makefile.in: Regenerate.
124 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
126 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
127 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
128 * aclocal.m4, configure, config.h.in, include/config.h.in,
129 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
130 external/Makefile.in, external/sax/Makefile.in,
131 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
133 2005-05-17 David Daney <ddaney@avtrex.com>
136 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
138 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
140 * exception.cc (abort): Remove std::abort hack.
141 (gcc_unreacheable): Define.
143 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
145 * Makefile.am (Makefile.deps): Do not create native.list and
147 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
148 * Makefile.in: Regenerate.
150 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
152 * configure.ac (--enable-libgcj-multifile): Remove.
154 * Makefile.am (all_native_compiled_source_files,
155 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
156 all_libgcj_lo_files, all_xlib_lo_files,
157 all_java_deps_files, all_java_stamp_files,
158 all_java_filelist_files): New variables.
159 (EXTRA_DIST): New Automake variable.
160 (CLEANFILES): Add .stamp, .list and .lo files.
161 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
162 (classes.stamp): Depend on $(all_java_stamp_files).
163 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
164 going through write_entries_to_file.
166 (all_java_source_files, all_property_files): Move earlier.
167 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
168 all_java_class_files): Remove.
169 (gtk_awt_peer_sources): Rename to...
170 (gtk_awt_peer_source_files): ... this. Adjust throughout.
173 (libgcj0_convenience_la_SOURCES): Remove Java source files.
174 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
175 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
176 (libgcj_la_SOURCES): Remove.
177 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
178 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
179 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
181 * configure: Regenerate.
182 * Makefile.in: Regenerate.
183 * external/Makefile.in: Regenerate.
184 * external/sax/Makefile.in: Regenerate.
185 * external/w3c_dom/Makefile.in: Regenerate.
186 * gcj/Makefile.in: Regenerate.
187 * include/Makefile.in: Regenerate.
188 * libltdl/Makefile.in: Regenerate.
189 * testsuite/Makefile.in: Regenerate.
191 2005-05-16 Tom Tromey <tromey@redhat.com>
193 * java/nio/charset/Charset.java (encode, decode): Synchronize on
194 'this', not the class.
196 2005-05-16 Tom Tromey <tromey@redhat.com>
198 * gnu/java/net/protocol/http/Headers.java (parse): Include final
201 2005-05-16 Tom Tromey <tromey@redhat.com>
204 * java/net/URI.java (unquote): Handle lower-case letters as well.
206 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
209 * gnu/regexp/RE.java: Add support for quoting constructs.
211 2005-05-15 Tom Tromey <tromey@redhat.com>
213 * java/lang/String.java (startsWith): Fixed javadoc.
215 2005-05-15 Tom Tromey <tromey@redhat.com>
218 * testsuite/libjava.compile/pr21519.java: New file.
219 * testsuite/libjava.compile/pr21519.no-link: New file.
221 2005-05-15 Tom Tromey <tromey@redhat.com>
223 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
225 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
228 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
229 interrupt status flag if _Jv_CondWait is interrupted.
231 2005-05-13 Tom Tromey <tromey@redhat.com>
233 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
236 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
238 * include/jvm.h (gcj::verifyClasses): Declare.
239 * link.cc (gcj::verbose_class_flag): Moved.
240 * prims.cc (gcj::verifyClasses): Define here.
241 (gcj::verbose_class_flag): Move definition here.
242 (_Jv_Linker::wait_for_state): Don't call verify_class
243 if gcj::verifyClasses is not set.
244 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
246 2005-05-12 Aaron Luchko <aluchko@redhat.com>
248 * gij.cc (main): Recognize '-verify', '-noverify', and
251 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
253 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
255 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
257 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
260 2005-05-11 Tom Tromey <tromey@redhat.com>
262 * external/w3c_dom/Makefile.in: Rebuilt.
263 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
265 * external/sax/Makefile.in: Rebuilt.
266 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
268 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
270 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
271 Call _Jv_CopyClassesToSystemLoader.
272 * java/lang/natClassLoader.cc (system_class_list): New global.
273 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
275 (_Jv_CopyClassesToSystemLoader): New function.
276 (SYSTEM_LOADER_INITIALIZED): New define.
277 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
278 (_Jv_CheckABIVersion): Use it.
279 (_Jv_ClassForBootstrapLoader): New function.
280 * Makefile.in: Rebuilt.
281 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
283 2005-05-10 Tom Tromey <tromey@redhat.com>
285 * gcj/javaprims.h: Updated.
286 * java/lang/String.java (String(StringBuilder)): New constructor.
287 * java/lang/natStringBuilder.cc: New file.
288 * java/lang/StringBuilder.java: New file.
289 * Makefile.in: Rebuilt.
290 * Makefile.am (core_java_source_files): Added StringBuilder.java.
291 (nat_source_files): Added natStringBuilder.cc.
293 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
296 * testsuite/libjava.jacks/jacks.xfail: Adjust.
298 2005-05-09 Mike Stump <mrs@apple.com>
300 * configure: Regenerate.
302 2005-05-09 David Daney <ddaney@avtrex.com>
304 * java/util/BitSet.java (get(int, int)): Fix breakage when
305 requested set doesn't start on a multiple of 64.
307 2005-05-07 Matthias Klose <doko@debian.org>
309 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
311 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
313 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
314 * Makefile.in: Regenerate.
315 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
316 (createCompatibleVolatileImage(int,int)): Implement.
317 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
319 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
321 (createVolatileImage): Implement.
322 (createBuffers): Likewise.
323 (getBackBuffer): Likewise.
325 (destroyBuffers): Likewise.
326 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
327 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
328 (CanvasFlipBufferStrategy): Likewise.
329 (createBufferStrategy(int)): New method.
330 (createBufferStrategy(int,BufferCapabilities)): Likewise.
331 * java/awt/Component.java (BltBufferStrategy): Implement and
333 (FlipBufferStrategy): Likewise.
334 * java/awt/Window.java (WindowBltBufferStrategy): New class.
335 (WindowFlipBufferStrategy): Likewise.
336 (createBufferStrategy(int)): New method.
337 (createBufferStrategy(int,BufferCapabilities)): Likewise.
338 (getBufferStrategy): Likewise.
339 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
340 front to frontCaps and back to backCaps.
342 2005-05-06 Michael Koch <konqueror@gmx.de>
344 * java/awt/BufferCapabilities.java
345 (BufferCapabilities): Merged javadoc.
347 2005-05-06 Michael Koch <konqueror@gmx.de>
349 * java/util/Locale.java
350 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
351 (getLocale): New methods. Use it everywhere where instances of Locales
353 (getDisplayLanguage): Merged javadoc.
354 (getDisplayCountry): Likewise.
355 (getDisplayVariant): Likewise.
357 2005-05-06 Archie Cobbs <archie@dellroad.org>
359 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
360 use DeleteLocalRef() to avoid exhausting local native references.
362 2005-05-06 Mark Wielaard <mark@klomp.org>
364 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
365 (window_delete_cb): Don't use C++ style comments.
367 2005-05-06 Robert Schuster <thebohemian@gmx.net>
369 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
372 2005-05-06 Robert Schuster <thebohemian@gmx.net>
374 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
375 (window_delete_cb): Made the function return TRUE.
377 2005-05-06 Roman Kennke <roman@kennke.org>
379 * javax/swing/text/PlainView.java
380 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
382 * javax/swing/text/Utilities.java
383 (drawTabbedText): Initilialize local variable pos correctly.
385 2005-05-06 Roman Kennke <roman@kennke.org>
387 * javax/swing/text/AbstractDocument.java
388 (LeafElement): Made start and end package private fields for
389 effective reindexing.
390 * javax/swing/text/PlainDocument.java
391 (constructor): The field rootElement is always BranchElement,
392 so we handle it as such.
393 (removeUpdate): Rewritten reindexing for removeUpdate so that
394 the actual removal is taken into account.
396 2005-05-06 Roman Kennke <roman@kennke.org>
398 * javax/swing/text/GapContent.java:
399 Removed debugging output stuff, which I accidentally left in.
401 2005-05-06 Roman Kennke <roman@kennke.org>
403 * javax/swing/text/GapContent.java:
404 Implemented a real GapContent. Only the public methods have
405 been implemented so far and still no UndoableEdit support.
407 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
409 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
412 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
414 * java/awt/image/BufferStrategy.java: Document.
416 * java/awt/BufferCapabilities.java: Document.
418 2005-05-04 Tom Tromey <tromey@redhat.com>
420 * java/nio/channels/FileLock.java (toString): Entirely avoid
423 2005-05-04 Andrew Overholt <overholt@redhat.com>
425 * java/nio/channels/FileLock.java (toString): Re-implement using
428 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
430 * java/awt/ImageCapabilities.java: Document.
432 * java/awt/image/VolatileImage.java: Unindent copyright header.
434 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
436 * java/awt/image/VolatileImage.java: Document.
438 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
440 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
441 (init_glib_threads): Check if threading system is already
444 2005-05-03 Andrew Overholt <overholt@redhat.com>
447 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
448 could not be acquired.
449 * java/nio/channels/FileLock.java (toString): Re-implement to be
450 in line with other implementations.
452 2005-05-03 Tom Tromey <tromey@redhat.com>
454 * java/lang/VMSecurityManager.java (currentClassLoader): Use
455 'systemClasssLoader' directly.
457 2005-05-03 Tom Tromey <tromey@redhat.com>
459 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
460 call VMClassLoader.getSystemClassLoader.
462 2005-04-29 Michael Koch <konqueror@gmx.de>
464 * java/net/NetworkInterface.java
466 (NetworkInterface(String,InetAddress)): Made package-private.
467 (NetworkInterface(String,InetAddress[])): New constructor.
468 (getRealNetworkInterfaces): Removed.
469 (getByName): Use VMNetworkInterface.getInterfaces().
470 (getByInetAddress): Likewise.
471 (getNetworkInterfaces): Likewise.
472 * java/net/VMNetworkInterface.java,
473 java/net/natVMNetworkInterfaceNoNet.cc,
474 java/net/natVMNetworkInterfacePosix.c,c
475 java/net/natVMNetworkInterfaceWin32.cc: New files.
476 * java/net/natNetworkInterfaceNoNet.cc,
477 java/net/natNetworkInterfacePosix.cc,
478 java/net/natNetworkInterfaceWin32.cc: Removed.
481 * configure, Makefile.in: Regenerated.
483 2005-04-29 Andrew Haley <aph@redhat.com>
485 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
487 2005-04-29 Dalibor Topic <robilad@kaffe.org>
489 * java/nio/channels/FileChannelImpl.java
490 (FileChannelImpl(String, int)): Removed.
491 (FileChannelImpl(File, int)): Added. Check if opened file is a
493 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
494 Call FileChannelImpl(File, int).
495 * java/io/FileOutputStream.java (FileInputStream): Call
496 FileChannelImpl(File, int).
497 * java/io/RandomAccessFile.java (RandomAccessFile):
498 Call FileChannelImpl(File, int). Switched constructors around.
500 2005-04-27 Andrew Haley <aph@redhat.com>
503 * prims.cc (_Jv_ResolvePoolEntry): New function.
504 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
505 * link.cc (_Jv_Linker::find_field): New arg: found_class.
506 (resolve_pool_entry): Initialize the class in which a field is
508 (link_symbol_table): Pass new arg to found_class.
510 2005-04-29 Michael Koch <konqueror@gmx.de>
512 * java/nio/charset/Charset.java
513 (provider): Reformatted.
515 2005-04-29 Michael Koch <konqueror@gmx.de>
517 * gnu/java/net/protocol/http/HTTPConnection.java:
518 (userAgent): Initialize from system properties.
519 (initUserAgent): Removed.
521 2005-04-29 Mark Wielaard <mark@klomp.org>
523 * java/util/ResourceBundle.java (getObject): Clarify
524 MissingResourceException detailed message.
525 (tryBundle(String,ClassLoader)): Likewise.
527 2005-04-29 Robert Schuster <thebohemian@gmx.net>
529 * java/beans/FeatureDescriptor.java:
530 (getShortDescription): Implemented fallback mechanism and fixed
531 documentation (fixes bug #12637).
532 (getDisplayName): Dito.
534 2005-04-29 Robert Schuster <thebohemian@gmx.net>
536 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
537 will now be set correctly.
538 (flushCaches): Now flushes all cached intermediate data.
540 2005-04-28 Michael Koch <konqueror@gmx.de>
542 * java/net/InetAddress.java
543 (aton): Fixed javadoc.
546 2005-04-28 Tom Tromey <tromey@redhat.com>
548 * javax/swing/Timer.java
549 (drainEvents, queueEvent): Now package-private.
551 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
553 * javax/swing/Timer.java
554 (constructor): Assigning initialDelay.
556 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
558 * javax/swing/Timer.java
559 (Waker.run): firing the first action event.
561 2005-04-28 Michael Koch <konqueror@gmx.de>
563 * javax/swing/Timer.java: Reordered all fields and methods,
566 2005-04-28 Michael Koch <konqueror@gmx.de>
568 * javax/swing/Timer.java: Javadocs merged
571 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
573 * gnu/java/net/protocol/file/Connection.java
574 (StaticData): New inner class to contain statics.
575 (connect, getHeaderField): Modified to use StaticData.
577 2005-04-28 Michael Koch <konqueror@gmx.de>
579 * gnu/java/net/protocol/file/Connection.java
580 (lineSeparator): Initialize with SystemProperties.getProperty().
582 2005-04-27 Chris Burdess <dog@gnu.org>
584 * gnu/java/net/protocol/file/Connection.java: Return correct content
585 length for directory listing.
586 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
587 #11285: return valid URLs for directories.i
589 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
591 * Makefile.am (ordinary_java_source_files): Add
592 gnu/java/net/protocol/https/Handler.java.
593 * Makefile.in: Regenerate.
594 * java/net/URL.java: Remove org.metastatic.jessie from default
595 protocol search path.
597 2005-04-27 Chris Burdess <dog@gnu.org>
599 * gnu/java/net/protocol/https/Handler.java: New file.
601 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
603 * javax/imageio/spi/IIORegistry.java (IIORegistry):
604 Don't assume that awt Toolkit is always ClasspathToolkit.
606 2005-04-27 Chris Burdess <dog@gnu.org>
608 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
609 absolute and relative paths in Location header.
611 2005-04-27 Chris Burdess <dog@gnu.org>
613 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
614 FileNotFoundException and implement getErrorStream on 404.
616 2005-04-27 Sven de Marothy <sven@physto.se>
618 * java/util/TimeZone.java,
619 (getDefaultDisplayName): Fix previous fix.
621 2005-04-27 Sven de Marothy <sven@physto.se>
623 * java/util/TimeZone.java,
624 (getDefaultDisplayName): Don't print zero offsets.
626 2005-04-27 Roman Kennke <roman@kennke.org>
628 * javax/swing/plaf/basic/BasicScrollBarUI
629 (getThumbBounds): Do not make thumb smaller than
631 * javax/swing/plaf/metal/MetalLookAndFeel
632 (initComponentDefaults): Added color defaults for ScrollBar.
633 * javax/swing/plaf/metal/MetalScrollBarUI
635 (getMinimumThumbSize): Added.
637 2005-04-27 Roman Kennke <roman@kennke.org>
639 * javax/swing/plaf/metal/MetalLookAndFeel
640 (initComponentDefaults): Added some default colors.
642 2005-04-27 Roman Kennke <roman@kennke.org>
644 * javax/swing/plaf/basic/BasicScrollBarUI.java
645 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
646 to 'ScrollBar.thumbShadow'. The formes does not exist.
647 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
649 2005-04-27 Roman Kennke <roman@kennke.org>
651 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
652 * javax/swing/BoxLayout.java: Likewise.
653 * javax/swing/UIManager.java: Likewise.
654 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
655 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
656 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
657 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
658 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
659 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
660 * javax/swing/text/Document.java: Likewise.
661 * javax/swing/text/GapContent.java: Likewise.
662 * javax/swing/text/SimpleAttributeSet.java: Likewise.
663 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
665 2005-04-27 Roman Kennke <roman@kennke.org>
667 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
668 (getPropertyPrefix): Added.
670 2005-04-27 Roman Kennke <roman@kennke.org>
672 * javax/swing/plaf/basic/BasicButtonUI.java
673 (getPropertyPrefix): Added.
674 (installDefaults): Use getPropertyPrefix instead of hard-coded
677 2005-04-27 Roman Kennke <roman@kennke.org>
679 * javax/swing/JToggleButton.java
680 (JToggleButton): Removed horizontalAlignment setting, this
681 was wrong. Added setting of an actionCommand, ToggleButtons
682 have "" as default actionCommand.
684 2005-04-27 Michael Koch <konqueror@gmx.de>
686 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
687 to work around CNI limitation.
689 2005-04-27 Sven de Marothy <sven@physto.se>
691 * java/nio/charset/Charset.java:
692 (defaultCharset()): New method.
693 Status updated to 1.5
695 2005-04-27 Sven de Marothy <sven@physto.se>
697 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
699 2005-04-27 Sven de Marothy <sven@physto.se>
701 * java/nio/charset/Charset.java: Reset cached de/encoders.
703 2005-04-27 Robert Schuster <thebohemian@gmx.net>
705 * java/nio/charset/Charset.java (forName): Throws
706 IllegalArgumentException when argument is null
707 and added documentation.
709 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
711 * java/nio/charset/Charset.java (providers):
712 New method to make an array of CharsetProviders defined in
713 META-INF/services/java.nio.charset.spi.CharsetProvider.
714 (charsetForName, availableCharsets): Use the
715 new method providers().
717 2005-04-26 Michael Koch <konqueror@gmx.de>
719 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
720 Fixed typos in javadocs.
721 (isSiteLocalAddress): Fixed handling of byte values.
722 (isMCLinkLocal): Likewise.
723 * java/net/Inet4Address.java
724 (isMulticastAddress): Call super method.
725 (isLoopbackAddress): Likewise.
726 (isAnyLocalAddress): Likewise.
727 (isLinkLocalAddress): Likewise.
728 (isSiteLocalAddress): Likewise.
729 (isMCGlobal): Likewise.
730 (isMCNodeLocal): Likewise.
731 (isMCLinkLocal): Likewise.
732 (isMCSiteLocal): Likewise.
733 (isMCOrgLocal): Likewise.
734 (getHostAddress): Likewise.
736 2005-04-26 Sven de Marothy <sven@physto.se>
738 * java/net/InetAddress.java
739 (toString): Don't print empty hostnames.
741 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
744 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
745 'false' to native lock().
746 (lock): Pass 'true' to native lock().
748 2005-04-26 Michael Koch <konqueror@gmx.de>
750 * java/net/InetAddress.java:
751 Fixed typos in javadocs.
753 2005-04-26 Andrew Haley <aph@redhat.com>
756 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
759 2005-04-26 Tom Tromey <tromey@redhat.com>
761 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
762 gnu): Now package-private.
763 * javax/swing/text/html/parser/DocumentParser.java (parser,
764 callBack, gnu): Now package-private.
765 * javax/swing/text/StringContent.java (content, setOffset,
766 checkLocation): Now package-private.
767 * javax/swing/text/JTextComponent.java (doc): Now
769 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
770 lastGoodOrientation, origParent, borders, cachedBounds,
771 cachedOrientation, DragWindow): Now package-private.
772 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
773 decrButton, viewport, panel, currentScrollLocation, layoutManager,
774 tabAreaRect, contentRect, createIncreaseButton,
775 createDecreaseButton, findPointForIndex): Now package-private.
776 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
777 (currentDividerLocation, moveDividerTo): Now package-private.
778 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
780 * javax/swing/plaf/basic/BasicScrollBarUI.java
781 (calculatePreferredSize, valueForYPosition, valueForXPosition):
783 * javax/swing/plaf/basic/BasicPopupMenuUI.java
784 (topWindowListener): Now package-private.
785 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
786 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
787 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
789 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
791 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
793 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
795 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
796 borderInsets): Now package-private.
797 (arrowButtonWidth): Likewise. Now a constant.
798 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
799 makeTabs, updatePreviewPanel): Now package-private.
800 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
801 darkShadow, highlight): Now package-private.
802 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
803 (addColorToQueue): Now package-private.
804 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
805 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
806 GSpinner, BSpinner): Now package-private.
807 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
808 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
809 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
810 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
811 updateTrack): Now package-private.
812 * javax/swing/TransferHandler.java (clipboard): Now
814 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
816 * javax/swing/Timer.java (drainEvents, queueEvent): Now
818 * javax/swing/RepaintManager.java (globalManager): Now
820 * javax/swing/JFormattedTextField.java (editValid): Now
822 * javax/swing/JColorChooser.java (makeModal): Now
824 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
825 index, path): Now package-private.
826 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
827 lineQuadIntersect, lineCubicIntersect, linesIntersect,
828 pointEquals): Now package-private.
829 * java/awt/geom/Arc2D.java (type): Now package-private.
830 * java/awt/Window.java (windowFocusOwner): Now package-private.
831 * java/awt/TextComponent.java (editable, selectionStart,
832 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
834 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
836 * java/awt/MenuComponent.java (focusListener): Now
838 * java/awt/Frame.java (state): Now package-private.
839 * java/awt/Choice.java (pItems): Now package-private.
840 * java/awt/Checkbox.java (state): Now package-private.
841 * java/awt/Button.java (actionCommand, label): Now
843 * gnu/javax/swing/text/html/parser/support/Parser.java
844 (attributes, _handleEndTag_remaining, _handleStartTag): Now
846 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
848 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
849 clip, transform, font, comp): Now package-private.
851 2005-04-26 Tom Tromey <tromey@redhat.com>
853 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
856 2005-04-26 Mark Wielaard <mark@klomp.org>
858 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
859 to MalformedURLException.
861 2005-04-26 Michael Koch <konqueror@gmx.de>
863 * java/security/AccessControlContext.java:
865 (protectedDomains): Renamed from 'protectionDomain'.
866 * java/security/AccessController.java:
869 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
871 * gnu/java/security/action/GetSecurityPropertyAction.java
872 (GetSecurityPropertyAction): Implement PrivilegedAction instead
873 of extending GetPropertyAction.
876 (setParamters): New methods.
877 (GetSecurityPropertyAction): Use new setParameters methods.
879 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
881 * java/security/Security.java,
882 java/security/cert/X509CRLSelector.java,
883 java/security/cert/X509CertSelector.java:
884 Modified to use SystemProperties.
886 2005-04-26 Michael Koch <konqueror@gmx.de>
888 * java/lang/System.java
889 (setSecurityManager): Fixed comment.
890 (getSecurityManager): Removed obsolete comment.
892 2005-04-25 Tom Tromey <tromey@redhat.com>
894 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
896 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
898 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
899 (connectSignals): Realize the window widget after connecting
902 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
904 * java/awt/GraphicsEnvironment.java
905 (localGraphicsEnvironment): New field.
906 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
908 (isHeadless): Added support for java.awt.headless property.
909 (isHeadlessInstance): Call headless().
911 2005-04-25 Roman Kennke <roman@kennke.org>
913 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
914 (getDisplayMode): Added. Returns the current display mode.
915 (isFullScreenSupported): Added.
916 * java/awt/GraphicsDevice.java
917 (setFullScreenWindow): Implemented a primitive fullscreen mode.
918 This resizes and relocates the fullscreen window so that it uses
919 the whole screen. This is not a fully accelerated fullscreen
922 2005-04-25 Michael Koch <konqueror@gmx.de>
924 * java/lang/Runtime.java,
925 java/lang/SecurityManager.java,
926 java/lang/System.java,
927 java/lang/ThreadGroup.java:
928 Replaced java.lang.Runtime.securityManager by
929 java.lang.SecurityManager.current (as used in GNU classpath).
931 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
933 * java/awt/Transparency.java
934 (getTransparency): fixed API docs.
936 2005-04-25 Archie Cobbs <archie@dellroad.org>
938 * java/lang/Throwable.java: simplify initializing cause in constructor
940 2005-04-25 Michael Koch <konqueror@gmx.de>
942 * gnu/classpath/SystemProperties.java: New file.
943 * gnu/classpath/natSystemProperties.cc: New file.
944 * java/lang/Runtime.java
945 (defaultProperties): Removed.
947 (): Made thrown exceptions more verbose.
948 (insertSystemProperties): Removed.
949 * java/lang/System.java
951 (properties): Likewise.
952 (setSecurityManager): Reordered modifiers.
953 (getenv): Improved javadoc.
955 (isWordsBigEndian): Removed.
956 * java/lang/natRuntime.cc
957 (_Jv_SetDLLSearchPath): Likewise.
958 (file_encoding): Likewise.
959 (default_file_encoding): Likewise.
960 (getpwuid_adaptor): Likewise.
961 (insertSystemProperties): Likewise.
962 * java/lang/natSystem.cc
963 (isWordsBigEndian): Likewise.
965 (ordinary_java_source_files):
966 Added gnu/classpath/SystemProperties.java.
967 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
968 * Makefile.in: Regenerated.
970 2005-04-25 Roman Kennke <roman@kennke.org>
972 * javax/swing/plaf/basic/BasicScrollBarUI.java
973 (initDefaults): Initialize thumb*Color fields correctly.
975 2005-04-25 Roman Kennke <roman@kennke.org>
977 * javax/swing/text/GapContent.java:
980 2005-04-25 Roman Kennke <roman@kennke.org>
982 * javax/swing/plaf/metal/MetalBorders.java:
983 Added inner class ScrollPaneBorder.
984 * javax/swing/plaf/metal/MetalLookAndFeel.java
985 (initComponentDefaults): Added default for "ScrollPane.border"
986 to use the new ScrollPaneBorder.
988 2005-04-25 Roman Kennke <roman@kennke.org>
990 * javax/swing/text/AbstractDocument.java:
991 Added FIXME comments. This class still has to be
992 implemented thread-safe.
994 2005-04-25 Roman Kennke <roman@kennke.org>
996 * javax/swing/tree/DefaultTreeSelectionModel.java
997 (DefaultTreeSelectionModel): Initialize listenerList here.
999 2005-04-25 Roman Kennke <roman@kennke.org>
1001 * javax/swing/plaf/metal/MetalTextFieldUI.java
1002 (createUI): Return one instance per Component instead of a
1005 2005-04-25 Roman Kennke <roman@kennke.org>
1007 * javax/swing/text/Document.java:
1008 Added API documentation comments.
1010 2005-04-25 Roman Kennke <roman@kennke.org>
1012 * javax/swing/text/AbstractDocument.java
1013 (getDocumentProperties): Implemented.
1014 (setDocumentProperties): Implemented.
1015 (getProperty): Implemented.
1016 (putProperty): Implemented.
1018 2005-04-25 Roman Kennke <roman@kennke.org>
1020 * javax/swing/BoxLayout
1021 (preferredLayoutSize): Fixed computation so that it correctly
1022 adds the top and bottom insets of the container.
1024 2005-04-25 Roman Kennke <roman@kennke.org>
1026 * javax/swing/plaf/basic/BasicMenuItemUI.java
1027 (paintText): Make use of the 'selectionForeground' UI default
1030 2005-04-25 Roman Kennke <roman@kennke.org>
1032 * javax/swing/plaf/basic/BasicLookAndFeel.java
1033 (initSystemColorDefaults): Modified colors to match the
1034 BasicLookAndFeel in the reference implementation.
1035 (initComponentDefaults): Likewise.
1037 2005-04-25 Tom Tromey <tromey@redhat.com>
1039 * include/jni.h (_Jv_va_list): Removed.
1040 Moved configuration code...
1041 * include/jni_md.h: ... here. New file.
1042 * include/Makefile.in: Rebuilt.
1043 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1045 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1047 * java/io/FileInputStream.java (FileInputStream(File)),
1048 java/io/FileOutputStream.java (FileOutputStream(File)):
1049 Removed unnecessary File.isDirectory() check.
1051 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1053 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1054 gij if get_multilibs fails.
1056 2005-04-22 Anthony Green <green@redhat.com>
1058 * jni.cc (natrehash): Don't bother clearing memory again.
1059 * interpret.cc (do_allocate_static_fields): Ditto.
1060 * java/lang/natString.cc (rehash): Ditto.
1062 2005-04-22 Roman Kennke <roman@kennke.org>
1064 * javax/swing/plaf/basic/BasicLookAndFeel.java
1065 (initComponentDefaults): Changed Button.border to be
1066 BasicBorders.getButtonBorder as it should be.
1068 2005-04-22 Roman Kennke <roman@kennke.org>
1070 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1071 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1072 should according to a mauve testcase, instead of the preferred
1075 2005-04-22 Roman Kennke <roman@kennke.org>
1077 * javax/swing/JMenu.java
1078 (add): add(Component) now calls PopupMenu.insert(..) instead of
1079 PopupMenu.add(..). add(..) is not implemented for Component,
1080 so JComponent.add(..) is called instead, adding the component
1083 2005-04-22 Roman Kennke <roman@kennke.org>
1085 * javax/swing/plaf/basic/BasicButtonListener.java
1086 (mousePressed): replaced query to getModifiersEx with getModifiers.
1087 This method relied on faulty behaviour in getModifierEx.
1088 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1089 This method relied on faulty behaviour in getModifierEx.
1091 2005-04-22 Roman Kennke <roman@kennke.org>
1093 * javax/swing/plaf/metal/MetalLookAndFeel.java
1094 (getDefaults): Call addCustomEntriesToTable on the theme.
1096 2005-04-22 Roman Kennke <roman@kennke.org>
1098 * javax/swing/tree/DefaultTreeSelectionModel.java
1099 (constructor): Added implementation.
1100 (getRowMapper): Added implementation.
1101 (setSelectionMode): Added implementation.
1102 (getSelectionMode): Added implementation.
1103 (getSelectionPath): Added implementation.
1104 (getSelectionPaths): Added implementation.
1105 (getSelectionCount): Added implementation.
1106 (isSelectionEmpty): Added implementation.
1107 (getSelectionRows): Added implementation.
1108 (getMinSelectionRow): Added implementation.
1109 (getMaxSelectionRow): Added implementation.
1110 (getLeadSelectionRow): Added implementation.
1111 (getLeadSelectionPath): Added implementation.
1113 2005-04-22 Casey Marshall <csm@gnu.org>
1115 * gnu/java/security/der/DERValue.java
1116 (getValueAs): new method.
1117 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1118 (<init>): read both dates with 'DERValue.getValueAs', with
1119 'GENERALIZED_TIME' as the argument.
1121 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1123 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1124 be null, check for that case and don't deference it.
1126 2005-04-22 Sven de Marothy <sven@physto.se>
1128 * java/util/logging/LogManager.java: Reformatted.
1129 (readConfiguration): If a logger for a key is not found, create one.
1131 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1133 * java/rmi/Naming.java:
1134 Added class documentation.
1135 (lookup(String)): Call parseURL and getName.
1136 (bind(String,java.rmi.Remote)): Likewise.
1137 (unbind(String)): Likewise.
1138 (rebind(String, java.rmi.Remote)): Likewise.
1139 (list(String)): Call parseURL.
1140 (parseURL(String)): New method to handle parsing and defaults.
1141 (getName(java.net.URL)): New method to handle finding the service name.
1143 2005-04-21 Tom Tromey <tromey@redhat.com>
1145 * java/lang/natClass.cc (initializeClass): Link class.
1147 2005-04-21 Tom Tromey <tromey@redhat.com>
1149 * java/lang/AssertionError.java: Typo fix.
1151 2005-04-21 Tom Tromey <tromey@redhat.com>
1153 * java/lang/VMClassLoader.java (transformException): Removed.
1154 (resolveClass): No longer native. Now does nothing.
1155 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1157 2005-04-21 Anthony Green <green@redhat.com>
1160 * testsuite/libjava.special/special.exp,
1161 testsuite/libjava.special/pr21115I.java,
1162 testsuite/libjava.special/pr21115.java,
1163 testsuite/libjava.special/pr21115.out: New files.
1165 2005-04-21 Chris Burdess <dog@gnu.org>
1167 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1168 CRLF-delimited chunks.
1170 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1172 * java/net/URI.java:
1173 Added class documentation.
1174 (parseURI(String)): Only handle scheme-specific parts
1175 if URI is not opaque. Allow for parts that can't be null.
1176 (toString()): Output the scheme-specific part whole, rather
1177 than as its possibly non-existent components.
1179 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1181 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1182 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1183 Adjusted to match new regexp.
1185 2005-04-20 Michael Koch <konqueror@gmx.de>
1187 * gnu/java/net/protocol/file/Connection.java,
1188 gnu/java/net/protocol/jar/Connection.java:
1189 Reorganized import statements. Fixed @author tags.
1191 2005-04-20 Chris Burdess <dog@gnu.org>
1193 * java/io/DataOutputStream.java (writeUTF): Use block write for
1196 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1198 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1199 (readLine): Changed newline handling.
1201 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1203 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1204 ColorModel,byte[],int,int): Fixed byte to int conversion.
1206 2005-04-20 Michael Koch <konqueror@gmx.de>
1208 * java/io/FilePermission.java
1209 (serialVersionUID): Made private.
1210 (ALL_FILES): New constant.
1211 (implies): Handle '<<ALL FILES>>' case.
1213 2005-04-20 Sven de Marothy <sven@physto.se>
1215 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1216 (drawImage): Don't notify the image observer for offscreen images.
1217 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1218 (setPixels): Don't notify the image observer.
1220 2005-04-20 Sven de Marothy <sven@physto.se>
1222 * java/nio/ByteBufferImpl.java:
1223 (putChar): Inlined for speed.
1224 (put, get): Bulk methods can use arraycopy.
1225 * java/nio/CharBufferImpl.java:
1226 (put, get): Bulk methods can use arraycopy.
1228 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1230 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1232 * java/nio/CharBufferImpl.java
1233 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1234 (get(), put(char)): Inlined checks and field updates. Fixed to
1235 take array_offset into account.
1236 (get(int), put(int, char)): Fixed to take array_offset into account.
1238 2005-04-20 Sven de Marothy <sven@physto.se>
1240 * java/text/SimpleDateFormat.java:
1241 (formatWithAttribute): Pad year before truncating digits.
1243 2005-04-20 Michael Koch <konqueror@gmx.de>
1245 * gnu/java/net/PlainDatagramSocketImpl.java:
1246 Merged copyright header.
1247 * gnu/java/net/PlainSocketImpl.java:
1248 Reorganized import statements. Fixed @author tags.
1250 2005-04-20 Michael Koch <konqueror@gmx.de>
1252 * gnu/java/lang/ClassHelper.java,
1253 gnu/java/lang/reflect/TypeSignature.java:
1256 2005-04-20 Michael Koch <konqueror@gmx.de>
1258 * gnu/java/beans/IntrospectionIncubator.java:
1259 Fixed HTML tags in javadocs.
1261 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1263 * gnu/java/beans/IntrospectionIncubator.java
1264 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1265 set(), is(), add() and remove() with properties or events.
1267 2005-04-20 Michael Koch <konqueror@gmx.de>
1269 * gnu/java/awt/image/XBMDecoder.java:
1270 Fixed modifier order.
1272 2005-04-20 Roman Kennke <roman@kennke.org>
1274 * javax/swing/plaf/basic/BasicButtonUI.java
1275 (paint): This should not care about margin and insets
1276 at the same time, as insets already include the margin
1278 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1279 (getPreferredButtonSize): Likewise.
1280 * javax/swing/plaf/metal/MetalBorders.java
1281 (getBorderInsets): Likewise.
1283 2005-04-20 Roman Kennke <roman@kennke.org>
1285 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1286 (createMessageArea): The JPanel that holds the message area
1287 doesn't need to override getPreferredSize. This prevents some
1288 message components from rendering nicely.
1290 2005-04-20 Roman Kennke <roman@kennke.org>
1292 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1293 (createUI): Do not share instances between components.
1294 * javax/swing/plaf/metal/MetalSliderUI.java
1295 (createUI): Do not share instances between components.
1297 2005-04-20 Roman Kennke <roman@kennke.org>
1299 * javax/swing/plaf/metal/MetalBorders:
1300 (PopupMenuBorder): Added.
1301 * javax/swing/plaf/metal/MetalLookAndFeel
1302 (initComponentDefaults): Added PopupMenuBorder.
1304 2005-04-20 Roman Kennke <roman@kennke.org>
1306 * javax/swing/tree/DefaultTreeSelectionModel.java:
1307 Added API documentation all over the class.
1309 2005-04-20 Roman Kennke <roman@kennke.org>
1311 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1312 (installDefaults): Link managed JScrollPane in instance field.
1313 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1315 2005-04-20 Roman Kennke <roman@kennke.org>
1317 * javax/swing/plaf/basic/BasicScrollBarUI.java
1318 (PropertyChangeHandler.propertyChange): Add default
1319 to switch statement to avoid errors with unusual values
1321 (installComponents): Likewise.
1323 2005-04-20 Roman Kennke <roman@kennke.org>
1325 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1326 (createUI): Instances cannot be shared among JScrollPanes.
1328 2005-04-20 Roman Kennke <roman@kennke.org>
1330 * javax/swing/plaf/metal/MetalLookAndFeel.java
1331 (initComponentDefaults): Added defaults for Menu, MenuBar
1334 2005-04-20 Roman Kennke <roman@kennke.org>
1336 * javax/swing/plaf/basic/BasicScrollBarUI.java
1337 (installUI): Install listeners after everything all, otherwise
1338 we get strange NPEs in some situations, especially with
1340 (createIncreaseButton): Orientation is expected to be
1341 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1342 HORIZONTAL or VERTICAL.
1343 (createDecreaseButton): Orientation is expected to be
1344 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1345 HORIZONTAL or VERTICAL.
1346 (installComponents): Orientation for buttons is expected to be
1347 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1348 HORIZONTAL or VERTICAL.
1350 2005-04-20 Roman Kennke <roman@kennke.org>
1352 * javax/swing/JToolBar.java
1353 (addImpl): Adjust added AbstractButtons to look and feel like
1355 * javax/swing/plaf/metal/MetalBorders.java:
1356 Adjusted insets of ButtonBorder.
1357 (RolloverMarginBorder): Added class for toolbar buttons.
1358 (getButtonBorder): Adjusted factory method to return a shared
1359 instance of button border.
1360 (getToolbarButtonBorder): Added factory method to return a shared
1361 instance of toolbar button border.
1362 (getMarginBorder): Added factory method to return a shared
1363 instance of margin border.
1364 * javax/swing/plaf/metal/MetalButtonUI.java
1365 (installDefauls): If button is child of a JToolBar then set
1366 special border on this button.
1368 2005-04-20 Michael Koch <konqueror@gmx.de>
1370 * java/net/URLConnection.java
1371 (getContent): Fixed javadoc comment.
1373 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1375 * java/net/URL.java:
1376 (toURI()): Implemented.
1378 2005-04-19 Michael Koch <konqueror@gmx.de>
1380 * java/net/InetAddress.java
1381 (InetAddress): Fixed javadoc comment.
1383 (lookup): Added javadoc.
1384 (getFamily): Likewise.
1385 * java/net/ServerSocket.java
1386 (getChannel): Improved javadoc comment.
1388 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1390 * gnu/xml/dom/html2/DomHTMLParser.java:
1391 Changed 'enum' references to become 'enumeration'.
1393 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1395 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1397 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1399 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1400 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1401 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1402 (validateParameters(TagElement,htmlAttributeSet)):
1403 Replaced 'enum' with 'enumeration'.
1404 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1407 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1409 * javax/swing/text/html/parser/Entity.java (getType): New method.
1410 * javax/swing/text/html/parser/DocumentParser.java:
1411 Inherit from javax.swing.text.html.parser.Parser.
1413 2005-04-19 Chris Burdess <dog@gnu.org>
1415 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1416 check for HTML/XHTML namespace.
1418 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1420 * javax/swing/text/html/parser/Parser.java,
1421 javax/swing/text/html/parser/Entity.java:
1422 Inheriting from DTDConstants.
1423 * javax/swing/text/html/parser/AttributeList.java
1424 (getValues): Changed return type.
1425 * javax/swing/text/html/parser/DocumentParser
1426 (parse): Adding the callback parameter that receives
1429 2005-04-19 Chris Burdess <dog@gnu.org>
1431 * gnu/xml/dom/DomImpl.java,
1432 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1433 gnu/xml/dom/html2/DomHTMLDocument.java,
1434 gnu/xml/dom/html2/DomHTMLElement.java,
1435 gnu/xml/dom/html2/DomHTMLFormElement.java,
1436 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1437 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1438 gnu/xml/dom/html2/DomHTMLImpl.java,
1439 gnu/xml/dom/html2/DomHTMLInputElement.java,
1440 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1441 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1442 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1443 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1444 gnu/xml/dom/html2/DomHTMLTableElement.java,
1445 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1446 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1447 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1448 UI events, and tree utility functions.
1450 2005-04-19 Michael Koch <konqueror@gmx.de>
1452 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1453 gnu/javax/swing/text/html/parser/gnuDTD.java,
1454 gnu/javax/swing/text/html/parser/models/node.java:
1455 Reworked import statements.
1457 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1459 * javax/swing/text/html/HTMLDocument.java: New file.
1461 2005-04-19 Michael Koch <konqueror@gmx.de>
1463 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1465 * javax/swing/text/html/parser/AttributeList.java:
1466 Fixed order of modifiers.
1467 (AttributeList): Made final.
1468 * javax/swing/text/html/parser/ContentModel.java:
1469 Fixed html characters in javadocs.
1470 * javax/swing/text/html/parser/DTD.java
1471 (DTD): Don't implement java.io.Serializable directly.
1472 (getElement): Simplified.
1473 * javax/swing/text/html/parser/DTDConstants.java:
1475 * javax/swing/text/html/parser/Element.java:
1476 Fixed order of modifiers.
1477 * javax/swing/text/html/parser/Parser.java:
1478 Reformatted. Don't use fully-qualified class names.
1479 * javax/swing/text/html/parser/ParserDelegator.java:
1480 Fixed order of modifiers.
1481 * javax/swing/text/rtf/RTFParser.java:
1482 Re-ordered import statements.
1483 * javax/swing/text/rtf/RTFScanner.java:
1484 Removed unused import statement.
1486 2005-04-19 Chris Burdess <dog@gnu.org>
1488 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
1489 gnu/xml/dom/html2/DomHTMLCollection.java,
1490 gnu/xml/dom/html2/DomHTMLDocument.java,
1491 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
1493 * gnu/xml/dom/html2/DomHTMLDListElement.java,
1494 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
1495 gnu/xml/dom/html2/DomHTMLDivElement.java,
1496 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
1497 gnu/xml/dom/html2/DomHTMLFontElement.java,
1498 gnu/xml/dom/html2/DomHTMLFormElement.java,
1499 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1500 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
1501 gnu/xml/dom/html2/DomHTMLHRElement.java,
1502 gnu/xml/dom/html2/DomHTMLHeadElement.java,
1503 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
1504 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
1505 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1506 gnu/xml/dom/html2/DomHTMLImageElement.java,
1507 gnu/xml/dom/html2/DomHTMLInputElement.java,
1508 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
1509 gnu/xml/dom/html2/DomHTMLLIElement.java,
1510 gnu/xml/dom/html2/DomHTMLLabelElement.java,
1511 gnu/xml/dom/html2/DomHTMLLegendElement.java,
1512 gnu/xml/dom/html2/DomHTMLLinkElement.java,
1513 gnu/xml/dom/html2/DomHTMLMapElement.java,
1514 gnu/xml/dom/html2/DomHTMLMenuElement.java,
1515 gnu/xml/dom/html2/DomHTMLMetaElement.java,
1516 gnu/xml/dom/html2/DomHTMLModElement.java,
1517 gnu/xml/dom/html2/DomHTMLOListElement.java,
1518 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1519 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
1520 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1521 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
1522 gnu/xml/dom/html2/DomHTMLParamElement.java,
1523 gnu/xml/dom/html2/DomHTMLPreElement.java,
1524 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
1525 gnu/xml/dom/html2/DomHTMLScriptElement.java,
1526 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1527 gnu/xml/dom/html2/DomHTMLStyleElement.java,
1528 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
1529 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1530 gnu/xml/dom/html2/DomHTMLTableColElement.java,
1531 gnu/xml/dom/html2/DomHTMLTableElement.java,
1532 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1533 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1534 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
1535 gnu/xml/dom/html2/DomHTMLTitleElement.java,
1536 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
1538 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1540 * javax/swing/text/ChangedCharSetException.java,
1541 javax/swing/text/html/HTMLEditorKit.java,
1542 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
1543 javax/swing/text/html/parser/AttributeList.java,
1544 javax/swing/text/html/parser/ContentModel.java,
1545 javax/swing/text/html/parser/DocumentParser.java,
1546 javax/swing/text/html/parser/DTD.java,
1547 javax/swing/text/html/parser/DTDConstants.java,
1548 javax/swing/text/html/parser/Element.java,
1549 javax/swing/text/html/parser/Entity.java,
1550 javax/swing/text/html/parser/Parser.java,
1551 javax/swing/text/html/parser/TagElement.java,
1552 gnu/javax/swing/text/html/package.html,
1553 gnu/javax/swing/text/html/parser/gnuDTD.java,
1554 gnu/javax/swing/text/html/parser/HTML_401F.java,
1555 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1556 gnu/javax/swing/text/html/parser/htmlValidator.java,
1557 gnu/javax/swing/text/html/parser/package.html,
1558 gnu/javax/swing/text/html/parser/models/list.java,
1559 gnu/javax/swing/text/html/parser/models/node.java,
1560 gnu/javax/swing/text/html/parser/models/noTagModel.java,
1561 gnu/javax/swing/text/html/parser/models/package.html,
1562 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
1563 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
1564 gnu/javax/swing/text/html/parser/models/transformer.java,
1565 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
1566 gnu/javax/swing/text/html/parser/support/package.html,
1567 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
1568 gnu/javax/swing/text/html/parser/support/Parser.java,
1569 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
1570 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
1571 gnu/javax/swing/text/html/parser/support/low/Constants.java,
1572 gnu/javax/swing/text/html/parser/support/low/Location.java,
1573 gnu/javax/swing/text/html/parser/support/low/node.java,
1574 gnu/javax/swing/text/html/parser/support/low/package.html,
1575 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
1576 gnu/javax/swing/text/html/parser/support/low/pattern.java,
1577 gnu/javax/swing/text/html/parser/support/low/Queue.java,
1578 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
1580 * javax/swing/text/html/HTML.java,
1581 javax/swing/text/html/parser/ParserDelegator.java:
1582 New files (replacing).
1583 * javax/swing/text/html/package.html,
1584 javax/swing/text/html/parser/package.html: Documenting the
1587 2005-04-19 Chris Burdess <dog@gnu.org>
1589 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1590 gnu/xml/dom/html2/DomHTMLAppletElement.java,
1591 gnu/xml/dom/html2/DomHTMLAreaElement.java,
1592 gnu/xml/dom/html2/DomHTMLBaseElement.java,
1593 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
1594 gnu/xml/dom/html2/DomHTMLBodyElement.java,
1595 gnu/xml/dom/html2/DomHTMLBRElement.java,
1596 gnu/xml/dom/html2/DomHTMLButtonElement.java,
1597 gnu/xml/dom/html2/DomHTMLCollection.java,
1598 gnu/xml/dom/html2/DomHTMLDocument.java,
1599 gnu/xml/dom/html2/DomHTMLElement.java: New files.
1601 2005-04-19 Michael Koch <konqueror@gmx.de>
1603 * Makefile.am: Added new files.
1604 * Makefile.in: Regenerated.
1606 2005-04-19 Roman Kennke <roman@kennke.org>
1608 * javax/swing/text/JTextComponent.java
1609 (JTextComponent): Added repaintListener which issues repaint
1610 requests when the underlying document changes.
1611 (setDocument): Adds repaintListener to document when the
1612 document is changed.
1613 * javax/swing/text/DefaultEditorKit.java:
1614 Removed repaint calls on JTextComponent. This is now handled
1615 through a DocumentListener in JTextComponent that repaints
1616 the component when needed.
1618 2005-04-19 Roman Kennke <roman@kennke.org>
1621 * javax/swing/text/StyleContext.java
1622 (NamedStyle.setResolveParent): Added null
1625 2005-04-19 Michael Koch <konqueror@gmx.de>
1627 * java/rmi/server/RemoteObject.java:
1628 Removed unused import statement.
1630 2005-04-19 Michael Koch <konqueror@gmx.de>
1632 * java/net/URL.java: Formatting cleanups.
1634 2005-04-19 Michael Koch <konqueror@gmx.de>
1636 * java/awt/FontMetrics.java: Reformatted.
1637 (getFontRenderContext): Handle case when java.awt.Graphics context is
1640 2005-04-19 Michael Koch <konqueror@gmx.de>
1642 * java/awt/FontMetrics.java
1643 (getStringBounds): New methods.
1646 2005-04-19 Michael Koch <konqueror@gmx.de>
1648 * gnu/java/security/x509/X509Certificate.java
1649 (parse): Handle val == null case.
1651 2005-04-19 Roman Kennke <roman@kennke.org>
1653 * javax/swing/plaf/metal/MetalLookAndFeel.java
1654 (initComponentDefaults): Added defaults for Menu, MenuBar
1657 2005-04-19 Roman Kennke <roman@kennke.org>
1659 * javax/swing/plaf/metal/MetalLookAndFeel.java
1660 (initComponentDefaults): Added Label.font.
1661 (initSystemColorDefaults): Added this method and adjusted the
1662 general control color.
1664 2005-04-19 Roman Kennke <roman@kennke.org>
1666 * javax/swing/plaf/metal/MetalBorders.java:
1668 * javax/swing/plaf/metal/MetalButtonUI.java:
1669 (installDefaults): Install button font.
1670 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1671 (initComponentDefaults): Added button border, font and margin.
1672 Changed components background color to the Metal current themes
1675 2005-04-19 Roman Kennke <roman@kennke.org>
1677 * javax/swing/plaf/metal/MetalLookAndFeel.java
1678 (initComponentDefaults): Added to set Metal specific component
1681 2005-04-19 Mark Wielaard <mark@klomp.org>
1683 * javax/swing/plaf/metal/MetalLookAndFeel.java
1684 (initClassDefaults): Call super.initClassDefaults().
1686 2005-04-19 Roman Kennke <roman@kennke.org>
1688 * javax/swing/plaf/metal/MetalLookAndFeel.java
1689 (initClassDefaults): Added to include the *UI classes.
1691 2005-04-19 Roman Kennke <roman@kennke.org>
1693 * javax/swing/plaf/metal/MetalComboBoxUI.java:
1695 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
1697 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
1699 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
1701 * javax/swing/plaf/metal/MetalProgressBarUI.java:
1703 * javax/swing/plaf/metal/MetalRootPaneUI.java:
1705 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1707 * javax/swing/plaf/metal/MetalSeparatorUI.java:
1709 * javax/swing/plaf/metal/MetalSliderUI.java:
1711 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
1713 * javax/swing/plaf/metal/MetalTextFieldUI.java:
1715 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
1717 2005-04-19 Roman Kennke <roman@kennke.org>
1719 * javax/swing/plaf/metal/MetalButtonUI.java:
1720 Added skeleton class.
1721 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
1722 Added skeleton class.
1723 * javax/swing/plaf/metal/MetalLabelUI.java:
1724 Added skeleton class.
1725 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
1726 Added skeleton class.
1727 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
1728 Added skeleton class.
1729 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
1730 Added skeleton class.
1732 2005-04-19 Roman Kennke <roman@kennke.org>
1734 * javax/swing/UIDefaults.java:
1735 Added API documentation for all methods.
1737 2005-04-19 Roman Kennke <roman@kennke.org>
1739 * javax/swing/UIDefaults.java
1740 (put): Now uses new checkAndPut method instead of checking
1742 (putDefaults): Fixed so that it accepts null-values and
1743 treats them like remove(key).
1744 (checkAndPut): Added. This checks for null-values and calls
1747 2005-04-19 Michael Koch <konqueror@gmx.de>
1749 * Makefile.am: Added new files.
1750 * Makefile.in: Regenerated.
1752 2005-04-19 Mark Wielaard <mark@klomp.org>
1754 * java/lang/natRuntime.cc (insertSystemProperties): Set
1755 java.class.path to CLASSPATH only when not empty. Fall back to
1756 default path "." when java.class.path is empty.
1758 2005-04-19 Michael Koch <konqueror@gmx.de>
1760 * javax/swing/text/rtf/ControlWordToken.java,
1761 javax/swing/text/rtf/RTFEditorKit.java,
1762 javax/swing/text/rtf/RTFParseException.java,
1763 javax/swing/text/rtf/RTFParser.java,
1764 javax/swing/text/rtf/RTFScanner.java,
1765 javax/swing/text/rtf/TextToken.java,
1766 javax/swing/text/rtf/Token.java: New files.
1767 * Makefile.am: Added new files.
1768 * Makefile.in: Regenerated.
1770 2005-04-19 Michael Koch <konqueror@gmx.de>
1772 * java/awt/geom/QuadCurve2D.java:
1773 Fixed Brian Gough's name for real.
1775 2005-04-19 Roman Kennke <roman@kennke.org>
1777 * javax/swing/UIManager.java:
1778 Make the UIManager respect the swing.defaultlaf system
1781 2005-04-19 Tom Tromey <tromey@redhat.com>
1783 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
1786 2005-04-19 Roman Kennke <roman@kennke.org>
1788 * javax/swing/plaf/basic/BasicMenuBarUI.java:
1789 Fixed tabs to spaces.
1791 2005-04-19 Roman Kennke <roman@kennke.org>
1793 * javax/swing/plaf/basic/BasicMenuUI.java
1794 (getMaximumSize): Now returns preferredSize because JMenu should
1795 never be bigger than that.
1796 * javax/swing/JRootPane
1797 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
1799 2005-04-19 Roman Kennke <roman@kennke.org>
1801 * javax/swing/JRootPane.java:
1802 Fixed various tabs to be spaces.
1803 (RootLayout.layoutContainer): Made menubar left aligned.
1805 2005-04-19 Roman Kennke <roman@ontographics.com>
1807 * javax/swing/JList.java
1808 (getPreferredScrollableViewportSize):
1809 The previous implementation was merely guessing the size,
1810 now it respects layoutOrientation, visibleRowCount
1812 (getScrollableTracksViewportHeight):
1813 Reimplemented so that layoutOrientation, visibleRowCount
1814 and preferred size are respected.
1815 (getScrollableTracksViewportWidth):
1816 Reimplemented so that layoutOrientation, visibleRowCount
1817 and preferred size are respected.
1818 * javax/swing/plaf/basic/BasicListUI.java
1820 Improved calculation of preferredSize when JList is
1821 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
1823 The previous implementation assumed a layoutOrientation of
1824 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
1825 JList.VERTICAL_WRAP.
1827 2005-04-19 Roman Kennke <roman@ontographics.com>
1829 * javax/swing/plaf/basic/BasicListUI.java
1830 (paintCell): use CellRendererPane for painting the cells.
1832 2005-04-19 Roman Kennke <roman@ontographics.com>
1834 * javax/swing/plaf/basic/BasicListUI:
1835 fixed modifiers of several fields, methods and inner
1836 classes to match the 'spec'.
1837 (getMaximumSize): removed. It's not in the spec and the
1838 implementations was superfluous.
1840 2005-04-19 Roman Kennke <roman@ontographics.com>
1842 * javax/swing/plaf/basic/BasicListUI:
1843 make BasicListUI capable of wrapping lists
1844 (layoutOrientation property of javax.swing.JList)
1846 2005-04-19 Roman Kennke <roman@ontographics.com>
1848 * javax/swing/plaf/basic/BasicListUI
1849 (updateLayoutState,paint): make BasicListUI aware of the
1850 width of the rendered JList.
1852 2005-04-19 Roman Kennke <roman@kennke.org>
1854 * javax/swing/ImageIcon.java
1855 Added API documentation.
1857 2005-04-19 Roman Kennke <roman@kennke.org>
1859 * javax/swing/text/ImageIcon.java
1860 (ImageIcon): Use setImage instead of direct assignment.
1861 (setImage): Call loadImage to make sure that the image is loaded.
1862 (loadImage): Waits for the image to complete loading.
1863 (getImageLoadStatus): Added. Returns the load status of the
1866 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1868 * javax/swing/JTextArea.java (replaceRange):
1869 Fixing doc.remove(start, length) misinterpretation.
1871 2005-04-19 Roman Kennke <roman@ontographics.com>
1873 * javax/swing/CellRendererPane.java:
1874 implemented all methods of this class.
1875 reformatted all wrong formatted code.
1877 2005-04-19 Roman Kennke <roman@kennke.org>
1879 * javax/swing/BoxLayout.java:
1880 (layoutContainer): Made this layout manager respect the
1881 minimum, maximum and preferred size more correctly.
1883 2005-04-19 Roman Kennke <roman@ontographics.com>
1885 * javax/swing/BoxLayout.java:
1886 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
1887 layoutContainer): Make these methods and thereby the
1888 BoxLayout respect the insets (like borders) of the
1889 component that is laid out.
1891 2005-04-19 Roman Kennke <roman@kennke.org>
1893 * javax/swing/JComponent.java:
1894 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
1895 Untabified the file.
1897 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1899 * javax/swing/JComboBox.java (constructors): selecting the
1900 first item if the box was constructed from the provided
1901 non - empty array or vector.
1903 2005-04-19 Michael Koch <konqueror@gmx.de>
1905 * gnu/java/awt/peer/gtk/GdkGraphics.java
1906 (getClipBounds): Handle clip being null.
1907 (setClip): Likewise.
1908 * java/beans/beancontext/BeanContextSupport.java
1912 (removeAll): Likewise.
1913 (retainAll): Likewise.
1915 2005-04-19 Michael Koch <konqueror@gmx.de>
1917 * java/beans/beancontext/BeanContextServicesSupport.java
1918 (BeanContextServicesSupport): Reimplemented.
1919 (addBeanContextServicesListener): Implemented.
1920 (initialize): Likewise.
1921 (removeBeanContextServicesListener): Likewise.
1922 * java/beans/beancontext/BeanContextSupport.java
1924 (addBeanContextMembershipListener): Likewise.
1925 (getLocale): Likewise.
1926 (initialize): Likewise.
1927 (iterator): Likewise.
1929 (toArray): Likewise.
1931 2005-04-19 Roman Kennke <roman@kennke.org>
1933 * java/awt/MediaTracker.java:
1934 Reindented tabs to spaces.
1936 2005-04-19 Roman Kennke <roman@kennke.org>
1938 * java/awt/MediaTracker.java
1939 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
1940 confused the media tracker and lead to lockups. The LOADING
1941 bit is handled on other places.
1942 (addImage): Removed the 'start image tracking' stuff. This
1943 is not necessary and could confuse the media tracker.
1944 (checkAll): Improved the check for image status so that
1945 images that already complete images are detected. Also now
1946 are really all images checked and if necessary loaded. Before
1947 the method bailed out after the first incomplete image.
1948 (statusAll): Detect images that are complete after the
1949 call to Component.prepareImage(..).
1950 (checkID): The same as in checkAll.
1951 (statusID): The same as in statusAll.
1953 2005-04-19 Roman Kennke <roman@kennke.org>
1955 * java/awt/MediaTracker.java
1956 (addImage): Synchronized list access.
1957 (waitForAll): Fixed comparison of time (changed < to >).
1958 (waitForID): Fixed comparison of time (changed < to >).
1959 (removeImage): Synchronized list access.
1961 2005-04-19 Roman Kennke <roman@kennke.org>
1963 * java/awt/MediaTracker.java
1964 Added API documentation.
1966 2005-04-19 Roman Kennke <roman@kennke.org>
1968 * java/awt/MediaTracker.java
1969 (MediaEntry.imageUpdate): Fixed flags. The different flags
1970 must not be ORed together.
1971 (checkAll): Modified to handle different meaning of the flags.
1972 (waitForAll): Fixed so that it waits maximum the
1973 specified amount of milliseconds.
1974 (statusAll): Modified to handle different meaning of the flags.
1975 (waitForID): Fixed so that it waits maximum the
1976 specified amount of milliseconds.
1978 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
1980 * java/awt/Font.java (decode): Handle null argument and allow
1983 2005-04-19 Robert Schuster <thebohemian@gmx.net>
1985 * java/beans/EventHandler.java: Reworked documentation.
1986 (invoke): Fixed behavior to match spec.
1988 2005-04-19 Michael Koch <konqueror@gmx.de>
1990 * java/awt/print/PrinterJob.java
1991 (pageDialog): New method.
1992 (printDialog): Implemented.
1994 2005-04-19 Michael Koch <konqueror@gmx.de>
1996 * java/awt/image/ConvolveOp.java:
1997 Removed comment added by eclipse.
1999 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2001 * java/awt/image/IndexColorModel.java
2002 (getRGB): Check if pixel is negative.
2004 2005-04-19 Michael Koch <konqueror@gmx.de>
2006 * java/awt/image/RasterOp.java:
2007 Fixed wrong formatting.
2009 2005-04-18 Roman Kennke <roman@kennke.org>
2011 * java/awt/Compmonent.java
2012 (setComponentOrientation): Made this property firing a
2013 PropertyChangeEvent.
2015 2005-04-18 Roman Kennke <roman@kennke.org>
2017 * java/awt/BorderLayout.java
2018 (calcSize): Check for overflow when component sizes are added.
2020 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2022 * java/awt/AWTEvent.java (toString): Added case
2023 for source not being an AWT component.
2025 2005-04-18 Chris Burdess <dog@gnu.org>
2027 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2029 2005-04-18 Michael Koch <konqueror@gmx.de>
2031 gnu/java/awt/EmbeddedWindowSupport.java,
2032 gnu/java/net/HeaderFieldHelper.java,
2033 gnu/java/net/URLParseError.java,
2034 gnu/java/net/protocol/file/Handler.java,
2035 gnu/java/net/protocol/jar/Handler.java:
2036 Fixed usage of @author tag.
2038 2005-04-18 Michael Koch <konqueror@gmx.de>
2040 * gnu/xml/aelfred2/XmlParser.java:
2041 Reverted my typo fix.
2043 2005-04-18 Michael Koch <konqueror@gmx.de>
2045 * java/awt/geom/CubicCurve2D.java,
2046 java/awt/geom/QuadCurve2D.java:
2047 Fixed mentioning of Brian Gouph.
2049 2005-04-18 Michael Koch <konqueror@gmx.de>
2051 * gnu/java/awt/Buffers.java,
2052 gnu/java/awt/image/ImageDecoder.java,
2053 gnu/java/awt/image/XBMDecoder.java,
2054 gnu/java/awt/peer/ClasspathFontPeer.java,
2055 gnu/java/net/CRLFInputStream.java,
2056 gnu/java/net/EmptyX509TrustManager.java,
2057 gnu/java/net/LineInputStream.java,
2058 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2059 gnu/java/net/protocol/ftp/BlockInputStream.java,
2060 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2061 gnu/java/net/protocol/ftp/DTP.java,
2062 gnu/java/net/protocol/ftp/DTPInputStream.java,
2063 gnu/java/net/protocol/ftp/FTPConnection.java,
2064 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2065 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2066 gnu/java/net/protocol/ftp/StreamInputStream.java,
2067 gnu/java/net/protocol/http/ChunkedInputStream.java,
2068 gnu/java/net/protocol/http/HTTPConnection.java,
2069 gnu/java/net/protocol/http/HTTPURLConnection.java,
2070 gnu/java/net/protocol/http/Headers.java,
2071 gnu/java/net/protocol/http/Request.java,
2072 gnu/java/nio/ChannelInputStream.java,
2073 gnu/java/nio/ChannelOutputStream.java,
2074 gnu/java/nio/InputStreamChannel.java,
2075 gnu/java/nio/OutputStreamChannel.java,
2076 gnu/java/nio/SelectorProviderImpl.java,
2077 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2078 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2079 gnu/java/rmi/dgc/DGCImpl.java,
2080 gnu/java/rmi/registry/RegistryImpl.java,
2081 gnu/java/rmi/server/ProtocolConstants.java,
2082 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2083 gnu/java/rmi/server/RMIIncomingThread.java,
2084 gnu/java/rmi/server/RMIObjectInputStream.java,
2085 gnu/java/rmi/server/RMIObjectOutputStream.java,
2086 gnu/java/rmi/server/RMIVoidValue.java,
2087 gnu/java/rmi/server/UnicastConnectionManager.java,
2088 gnu/java/rmi/server/UnicastRef.java,
2089 gnu/java/rmi/server/UnicastRemoteCall.java,
2090 gnu/java/rmi/server/UnicastRemoteStub.java,
2091 gnu/java/rmi/server/UnicastServerRef.java,
2092 gnu/java/security/OID.java,
2093 gnu/java/security/der/DERReader.java,
2094 gnu/java/security/provider/CollectionCertStoreImpl.java,
2095 gnu/java/security/provider/DSAParameterGenerator.java,
2096 gnu/java/security/provider/DefaultPolicy.java,
2097 gnu/java/security/provider/EncodedKeyFactory.java,
2098 gnu/java/security/provider/GnuDHPublicKey.java,
2099 gnu/java/security/provider/GnuDSAPrivateKey.java,
2100 gnu/java/security/provider/GnuDSAPublicKey.java,
2101 gnu/java/security/provider/GnuRSAPrivateKey.java,
2102 gnu/java/security/provider/GnuRSAPublicKey.java,
2103 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2104 gnu/java/security/provider/RSA.java,
2105 gnu/java/security/provider/SHA1PRNG.java,
2106 gnu/java/security/provider/SHA1withRSA.java,
2107 gnu/java/security/provider/X509CertificateFactory.java,
2108 gnu/java/security/x509/GnuPKIExtension.java,
2109 gnu/java/security/x509/X500DistinguishedName.java,
2110 gnu/java/security/x509/X509CRL.java,
2111 gnu/java/security/x509/X509CRLEntry.java,
2112 gnu/java/security/x509/X509CertPath.java,
2113 gnu/java/security/x509/X509CertSelectorImpl.java,
2114 gnu/java/security/x509/X509Certificate.java,
2115 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2116 gnu/java/security/x509/ext/BasicConstraints.java,
2117 gnu/java/security/x509/ext/CRLNumber.java,
2118 gnu/java/security/x509/ext/CertificatePolicies.java,
2119 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2120 gnu/java/security/x509/ext/Extension.java,
2121 gnu/java/security/x509/ext/GeneralNames.java,
2122 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2123 gnu/java/security/x509/ext/KeyUsage.java,
2124 gnu/java/security/x509/ext/PolicyConstraint.java,
2125 gnu/java/security/x509/ext/PolicyMappings.java,
2126 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2127 gnu/java/security/x509/ext/ReasonCode.java,
2128 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2129 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2130 Reorganized import statements.
2132 2005-04-18 Michael Koch <konqueror@gmx.de>
2134 * gnu/java/awt/color/CieXyzConverter.java,
2135 gnu/java/awt/color/ClutProfileConverter.java,
2136 gnu/java/awt/color/ColorLookUpTable.java,
2137 gnu/java/awt/color/ColorSpaceConverter.java,
2138 gnu/java/awt/color/GrayProfileConverter.java,
2139 gnu/java/awt/color/GrayScaleConverter.java,
2140 gnu/java/awt/color/LinearRGBConverter.java,
2141 gnu/java/awt/color/ProfileHeader.java,
2142 gnu/java/awt/color/PyccConverter.java,
2143 gnu/java/awt/color/RgbProfileConverter.java,
2144 gnu/java/awt/color/SrgbConverter.java,
2145 gnu/java/awt/color/TagEntry.java,
2146 gnu/java/awt/color/ToneReproductionCurve.java:
2147 Standardized file headers.
2149 2005-04-16 Tom Tromey <tromey@redhat.com>
2151 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2152 'ANY' package-private.
2154 2005-04-15 Tom Tromey <tromey@redhat.com>
2156 * Makefile.in: Rebuilt.
2157 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2158 (libgcj0_convenience_la_LIBADD): ... here.
2160 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2162 * gij.cc (version): Properly quote java version.
2163 (main): Fix typo in comment.
2165 2005-04-13 Mark Wielaard <mark@klomp.org>
2167 * java/lang/natRuntime.cc (insertSystemProperties): Set
2168 java.class.path to CLASSPATH if not already set.
2170 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2172 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2174 2005-04-12 Mike Stump <mrs@apple.com>
2176 * configure: Regenerate.
2178 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2181 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2182 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2184 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2187 * scripts/TexinfoDoclet.java: Removed.
2188 * Makefile.am (texinfo): Removed.
2189 * Makefile.in: Regenerated.
2191 2005-04-11 Michael Koch <konqueror@gmx.de>
2193 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2194 Fixed wrong casting.
2196 2005-04-06 Andrew Haley <aph@redhat.com>
2198 * testsuite/libjava.lang/bytearray.java: New file.
2199 * testsuite/libjava.lang/bytearray.out: New file.
2200 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2201 (loadClass): Use it.
2202 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2204 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2206 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2207 gcj-dbtool dependency
2208 * Makefile.in: Regenerated
2210 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2212 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2213 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2215 2005-04-05 Andrew Haley <aph@redhat.com>
2217 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2218 (Tokenizer): New class.
2219 (getFiles): New method.
2220 (main): Add "-" argument.
2222 Read list of files from stdin when merging map databases.
2223 (usage): Add "-" argument.
2227 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2230 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2231 * Makefile.in: Regenerate.
2232 * configure.ac: Add --with-java-home option.
2233 * configure: Regenerate.
2234 * external/Makefile.in: Regenerate.
2235 * external/sax/Makefile.in: Regenerate.
2236 * external/w3c_dom/Makefile.in: Regenerate.
2237 * gcj/Makefile.in: Regenerate.
2238 * include/Makefile.in: Regenerate.
2239 * testsuite/Makefile.in: Regenerate.
2240 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2243 2005-04-05 Tom Tromey <tromey@redhat.com>
2245 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2246 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2247 Rewrote to use _Jv_FindClassFromSignature.
2248 * verify.cc (resolve): throw NoClassDefFoundError.
2249 * link.cc (resolve_field): Throw NoClassDefFoundError.
2250 (find_field): Likewise.
2251 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2252 Handle error cases. Added 'endp' argument.
2253 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2255 2005-04-05 Tom Tromey <tromey@redhat.com>
2257 * Makefile.in: Rebuilt.
2258 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2259 gtk_awt_peer_sources.
2260 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2261 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2262 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2263 (gtk-awt-peer.lo): New target.
2265 2005-04-04 Steve Pribyl <steve@netfuel.com>
2268 * configure.ac: Fix fastjar definition for cross builds.
2269 * configure: Rebuilt.
2271 2005-04-04 Tom Tromey <tromey@redhat.com>
2273 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2274 it was already found.
2276 2005-04-04 Tom Tromey <tromey@redhat.com>
2278 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2279 org.metastatic.jessie.
2281 2005-04-02 Anthony Green <green@redhat.com>
2284 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2286 2005-04-02 Mark Wielaard <mark@klomp.org>
2288 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2289 Attributes and attribute order doesn't matter.
2290 (BasicAttributesEnumeration.where): Initialize to zero.
2291 (BasicAttributesEnumeration.nextElement): Update and compare where
2292 appropriately (zero based).
2294 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2296 PR libgcj/20090, PR libgcj/20526
2297 * gij.cc (nonstandard_opts_help): New function.
2298 (add_option): New function.
2299 (main): Support java options. Set java.class.path. Don't set
2301 * prims.cc (parse_x_arg): New function.
2302 (parse_init_args): Call parse_x_arg for -X and _ options, when
2303 ignoreUnrecognized is true.
2304 (new _Jv_RunMain): New vm_args variant.
2305 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2306 (_Jv_Jar_Class_Path): Remove variable.
2307 * include/java-props.h: Likewise.
2308 * include/cni.h (JvRealloc): New function.
2309 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2310 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2311 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2313 * configure.ac (JV_VERSION): Define.
2314 (JV_API_VERSION): Likewise.
2315 * configure: Regenerate.
2316 * include/config.h.in: Regenerate.
2318 2005-04-01 Mark Anderson <mark@panonet.net>
2320 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2321 -Infinity as parameters.
2323 2005-04-01 Michael Koch <konqueror@gmx.de>
2325 * java/io/PipedInputStream.java
2326 (read): Make sure a positive byte value is returned. Revised javadoc.
2327 Thanks to Olafur Bragason for reporting these bugs.
2329 2005-04-01 Tom Tromey <tromey@redhat.com>
2331 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2332 Updated for name change.
2333 (nativeFindClass): New method.
2334 (loadClass): Use nativeFindClass.
2335 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2337 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2338 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2340 (initialize): New method.
2341 (nativeFindClass): Declare.
2342 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2343 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2344 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2346 (definePackageForNative): Removed.
2347 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2348 Moved to VMClassLoader.java.
2349 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2350 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2351 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2352 removed VMClassLoader.java.
2353 (nat_source_files): Removed natVMClassLoader.cc.
2355 2005-04-01 Tom Tromey <tromey@redhat.com>
2357 * Makefile.in: Rebuilt.
2358 * Makefile.am (db_pathtail): Use $(gcc_version), not
2361 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2363 * java/util/Timer.java
2364 (run): Stop the queue if a task throws an exception.
2366 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2368 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2370 2005-03-29 Ian Lance Taylor <ian@airs.com>
2372 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2373 * external/sax/Makefile.in: Rebuild.
2374 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2376 * external/w3c_dom/Makefile.in: Rebuild.
2378 2005-03-29 Tom Tromey <tromey@redhat.com>
2380 * java/lang/natRuntime.cc (insertSystemProperties): Set
2381 gnu.gcj.runtime.endorsed.dirs.
2382 * Makefile.in: Rebuilt.
2383 * Makefile.am (ordinary_java_source_files): Added
2384 HelperClassLoader.java.
2385 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2386 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2388 (init): Use addDirectoriesFromProperty.
2389 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2390 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2391 gnu.gcj.runtime.endorsed.dirs.
2392 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2394 2005-03-26 Chris Burdess <dog@gnu.org>
2396 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2399 2005-03-13 Michael Koch <konqueror@gmx.de>
2401 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2403 2005-03-11 Chris Burdess <dog@gnu.org>
2405 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2408 2005-02-27 Chris Burdess <dog@gnu.org>
2410 * gnu/xml/aelfred2/JAXPFactory.java,
2411 gnu/xml/aelfred2/SAXDriver.java,
2412 gnu/xml/aelfred2/XmlParser.java,
2413 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2414 formatting conventions. Replaced arrays of Object with struct-like
2415 classes for easier maintainability. Made SAXDriver.stringInterning
2416 package private to allow access from XmlParser inside the loop without
2417 a method call overhead.
2419 2005-03-11 Chris Burdess <dog@gnu.org>
2421 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2424 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2426 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2427 settings to sub Makefiles.
2428 (GCJH, ZIP): Prefix with top_builddir.
2429 * configure: Rebuild.
2430 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2431 * external/w3c_dom/Makefile.in: Rebuild.
2432 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2433 * external/sax/Makefile.in: Rebuild.
2435 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2437 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2438 libsocket to the libraries to link for Solaris.
2440 2005-03-28 Per Bothner <per@bothner.com>
2442 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2443 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2445 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2447 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2448 to fix a ONESTEP fallout.
2449 * Makefile.in: Regenerate.
2451 2005-03-25 Mike Stump <mrs@apple.com>
2453 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2454 paths like we do for the compiler, as we use it in external/sax
2455 and it doesn't get MULTIBUILDTOP right when multilibing.
2457 2005-03-24 Anthony Green <green@redhat.com>
2459 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2461 (usage): Add [LIBDIR] to help output.
2462 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2463 * Makefile.am (AM_CXXFLAGS): Define
2464 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2465 (db_pathtail): New macro.
2467 2005-03-24 Tom Tromey <tromey@redhat.com>
2469 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2470 add sax and w3c libraries.
2471 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2473 * external/w3c_dom/Makefile.in: Rebuilt.
2474 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2476 (libw3c_gcj_la_LDFLAGS): New variable.
2477 (noinst_LTLIBRARIES): Renamed.
2478 * external/sax/Makefile.in: Rebuilt.
2479 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
2481 (libsax_gcj_la_LDFLAGS): New variable.
2482 (noinst_LTLIBRARIES): Renamed.
2484 2005-03-23 Tom Tromey <tromey@redhat.com>
2486 * Makefile.in: Rebuilt.
2487 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
2488 (libgcj0_convenience_la_SOURCES): Don't include
2489 gnu_xml_source_files.
2490 (libgcj0_convenience_la_LIBADD): New variable.
2491 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
2492 (all_java_source_files): javax_imageio_source_files,
2493 javax_xml_source_files, and gnu_java_beans_source_files.
2494 ($(gnu_xml_source_files:.java=.lo)): Removed target.
2495 (gnu-xml.lo): New target.
2496 (javax-imageio.lo): Likewise.
2497 (javax-xml.lo): Likewise.
2498 (gnu-java-beans.lo): Likewise.
2499 (gnu_java_beans_source_files): New variable.
2500 (javax_imageio_source_files): Likewise.
2501 (javax_xml_source_files): Likewise.
2502 (javax_source_files): Moved files to other variable.
2503 (awt_java_source_files): Likewise.
2504 (ordinary_java_source_files): Added BootClassLoader.java.
2505 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
2506 not system class loader.
2507 (initBootLoader): New method.
2508 (loadClass): Search bootLoader.
2509 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
2510 boot loader, not system class loader.
2511 (_Jv_UnregisterInitiatingLoader): Likewise.
2512 (_Jv_FindClass): Likewise. Ensure entries in
2513 bootstrap_class_list are unique.
2514 * java/lang/natClass.cc (getClassLoader): Don't special case
2515 system class loader.
2516 * java/lang/VMClassLoader.java (bootLoader): New field.
2517 (getResource): Use bootLoader.
2518 (getResources): Likewise.
2519 (initBootLoader): Declare.
2520 * gnu/gcj/runtime/BootClassLoader.java: New file.
2521 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
2522 (EMPTY_ENUMERATION): Now package-private.
2523 * external/w3c_com/Makefile.in: Rebuilt.
2524 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
2525 (w3c.jar): New target.
2526 (classes.stamp): Updated.
2527 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2528 Changed name of library.
2529 (libw3c_gcj_la_SOURCES): New variable.
2530 (libw3c_gcj_la_GCJFLAGS): Likewise.
2531 (source_files): Renamed from lib3c_convenience_la_SOURCES.
2532 * external/sax/Makefile.in: Rebuilt.
2533 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
2534 (sax.jar): New target.
2535 (classes.stamp): Updated.
2536 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
2537 Changed name of library.
2538 (libsax_gcj_la_SOURCES): New variable.
2539 (libsax_gcj_la_GCJFLAGS): Likewise.
2540 (source_files): Renamed from libsax_convenience_la_SOURCES.
2541 * stacktrace.cc (non_system_trace_fn): Don't look at system class
2543 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
2545 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
2547 2005-03-23 Sven de Marothy <sven@physto.se>
2549 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
2551 * java/util/Calendar.java
2552 (set): Use starting day of week when one is needed if none is given.
2553 * java/text/SimpleDateFormat.java
2554 (parse): Handle 1-12 and 1-24 timestamps correctly.
2555 * java/util/GregorianCalendar.java
2556 (computeTime, computeFields): HOUR should be in 0-11 format.
2557 (nonLeniencyCheck): Adjust leniency checking to that fact.
2558 (getLinearDay): Should be private.
2560 2005-03-23 Tom Tromey <tromey@redhat.com>
2562 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2563 (_Jv_CheckABIVersion): Use it.
2565 2005-03-22 Mike Stump <mrs@apple.com>
2567 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
2569 * include/posix.h: .dylib is used on all Apple MACH platforms.
2570 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
2572 2005-03-22 Tom Tromey <tromey@redhat.com>
2574 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
2576 2005-03-21 Tom Tromey <tromey@redhat.com>
2578 * java/lang/VMCompiler.java (static block): Also catch
2579 BufferUnderflowException.
2581 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2583 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
2584 set tool_include_dir. In all substitutions, leave $(gcc_version)
2585 to be expanded by the Makefile.
2586 * aclocal.m4, configure: Regenerate.
2587 * Makefile.am: Set gcc_version. Replace all uses of
2588 @gcc_version@ with $(gcc_version).
2589 * external/Makefile.am, external/sax/Makefile.am
2590 * external/w3c_dom/Makefile.am, gcj/Makefile.am
2591 * testsuite/Makefile.am: Set gcc_version.
2592 * include/Makefile.am: Set gcc_version and tool_include_dir.
2593 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
2594 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
2595 * testsuite/Makefile.in: Regenerate.
2597 2005-03-17 Andrew Haley <aph@redhat.com>
2599 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
2601 Pass klass to _Jv_StackTrace::GetClassContext().
2602 * java/lang/ClassLoader.java (getParent): Pass class to
2603 VMSecurityManager.getClassContext()
2604 (getSystemClassLoader): Likewise.
2605 * java/lang/Package.java (getPackage): Likewise.
2606 (getPackages): Likewise.
2607 * java/lang/SecurityManager.java (getClassContext): Likewise.
2608 (currentClassLoader): Likewise.
2609 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
2610 (currentClassLoader) Add new arg: caller.
2611 Pass caller to VMSecurityManager.getClassContext.
2613 * stacktrace.cc (GetClassContext): Correct calculation of
2616 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
2617 im->source_file_name.
2619 2005-03-16 Andrew Haley <aph@redhat.com>
2621 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
2623 2005-03-16 Tom Tromey <tromey@redhat.com>
2625 * link.cc (ensure_class_linked): Removed #ifdef.
2626 (print_class_loaded): Likewise.
2627 (wait_for_state): Likewise.
2628 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
2629 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
2630 * include/java-interp.h: ... here.
2632 2005-03-16 Tom Tromey <tromey@redhat.com>
2634 * gnu/java/lang/MainThread.java (run): Load main class using
2635 system class loader.
2637 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
2639 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2640 lgcc_s to the libraries to link for Darwin.
2642 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
2644 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
2645 interpreter-specific code with #ifdef INTERPRETER.
2646 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
2647 (_Jv_StackTrace::FillInFrameInfo): Likewise.
2648 (_Jv_StackTrace::non_system_trace_fn): Likewise.
2649 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
2650 #ifdef INTERPRETER. Also protect declarations that use it.
2651 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
2652 #ifdef INTERPRETER block.
2654 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2657 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
2658 * Makefile.in: Rebuilt.
2660 2005-03-15 David Daney <ddaney@avtrex.com>
2662 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
2665 2005-03-15 David Daney <ddaney@avtrex.com>
2667 * java/io/BufferedInputStream.java (available): Use 'in' instead
2668 of 'super' for underlying stream access.
2670 (read(byte[], int, int)): Ditto.
2672 (skip): Call skip on underlying stream when possible.
2674 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
2676 * stacktrace.cc (GetCallerInfo): Return nothing in case of
2677 SJLJ_EXCEPTIONS is defined.
2679 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
2681 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
2684 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
2686 * testsuite/lib/libjava.exp (libjava_init): Use the same target
2688 (libjava_arguments): Likewise.
2690 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
2691 (gcj_jni_test_one): Likewise.
2692 (gcj_jni_invocation_compile_c_to_binary): Likewise.
2693 Add flags to keep the Darwin linker quiet.
2694 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
2695 Add -liconv for Darwin.
2697 2005-03-11 Tom Tromey <tromey@redhat.com>
2699 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
2700 (_Jv_CheckABIVersion): Use it.
2702 2005-03-11 Tom Tromey <tromey@redhat.com>
2704 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
2705 (usage): Document '-p'.
2706 * Makefile.in: Rebuilt.
2707 * Makefile.am (dbexecdir): New variable.
2708 (db_name): Likewise.
2709 (dbexec_DATA): Likewise.
2710 ($(db_name)): New target.
2711 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
2712 * java/lang/natRuntime.cc (insertSystemProperties): Set default
2715 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2717 * exception.cc: Remove stray MethodRef.h include.
2718 * java/lang/natClass.cc: Likewise.
2719 * gnu/gcj/runtime/MethodRef.java: Removed.
2720 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2721 gnu/gcj/runtime/natStackTrace.cc: Really removed.
2722 * java/lang/natRuntime.cc (_load): Remove unsed variable.
2723 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
2724 * Makefile.in: Rebuilt.
2726 2005-03-10 Tom Tromey <tromey@redhat.com>
2728 * Makefile.in: Rebuilt.
2729 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
2731 2005-03-10 Chris Burdess <dog@bluezoo.org>
2733 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
2734 not currently parsing the DTD.
2736 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
2738 New Stack Trace infrastructure.
2739 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
2740 (gnu/gcj/runtime/StackTrace.java): Removed.
2741 (ordinary_java_source_files): Remove obsolete files.
2742 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
2743 * configure.host (fallback_backtrace_h): Set backtrace header
2744 for mingw and cygwin targets.
2745 * configure.ac: Make symlink for fallback backtrace headers.
2746 * Makefile.in, configure: Rebuilt.
2747 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
2748 Read 'LineNumberTable' attribute.
2749 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
2751 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
2753 * exception.cc: Remove unused include.
2754 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
2755 (SAVE_PC): New macro. Save current PC in the interpreter frame.
2756 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
2757 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
2758 table to direct threaded instruction values.
2759 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
2760 (_Jv_InterpMethod::run): No longer member function. All
2761 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
2762 is made or where an instruction could throw.
2763 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
2765 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
2766 (catch_fpe): Likewise.
2767 * stacktrace.cc: New file. Stack trace code now here.
2768 * gnu/gcj/runtime/MethodRef.java:
2769 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
2770 calls addr2line to look up PC addresses in a given binary or shared
2772 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
2773 gnu/gcj/runtime/natStackTrace.cc: Removed.
2774 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
2775 this function name is specially recognised by the stack trace code
2776 and shouldn't be changed.
2777 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
2778 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
2779 (_Jv_InterpMethod::run): Update declaration.
2780 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
2782 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
2783 * include/java-stack.h: New file. Declarations for stack tracing.
2784 * include/jvm.h (_Jv_Frame_info): Removed.
2785 * java/lang/Class.h: Update friend declarations.
2786 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
2788 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
2789 (getStackTrace): Now native.
2790 (data): New RawDataManaged field.
2791 * java/lang/natClass.cc: Update includes.
2792 (forName): Use _Jv_StackTrace::GetCallingClass for
2793 calling-classloader check.
2794 (getClassLoader): Likewise.
2795 * java/lang/natRuntime.cc: Update includes.
2796 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
2797 * java/lang/natVMSecurityManager.cc: Update includes.
2798 (getClassContext): Use _Jv_StackTrace::GetClassContext.
2799 * java/lang/natVMThrowable.cc: New file. Native methods for
2801 * java/lang/reflect/natArray.cc: Update includes.
2802 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2803 accessibility check.
2804 * java/lang/reflect/natConstructor.cc: Update includes.
2805 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
2806 accessibility check.
2807 * java/lang/reflect/natField.cc: Update includes.
2808 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
2809 accessibility check.
2810 * java/lang/reflect/natMethod.cc: Update includes.
2811 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
2812 accessibility check.
2813 * java/util/natResourceBundle.cc: Update includes.
2814 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
2815 * java/util/logging/natLogger.cc: Update includes. Use
2816 _Jv_StackTrace::GetCallerInfo to get call-site info.
2817 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
2819 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
2822 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
2824 * testsuite/libjava.compile/PR20312.java: New file.
2825 * testsuite/libjava.compile/PR20312.xfail: Likewise.
2826 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
2828 2005-03-09 Andrew Haley <aph@redhat.com>
2830 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
2832 (smallTransferTo): New.
2833 (transferFrom): Loop around smallTransferFrom, copying pageSize
2835 (transferTo): Likewise.
2837 2005-03-09 David Daney <ddaney@avtrex.com>
2840 Merge BufferedInputStream from GNU Classpath.
2841 * java/io/BufferedInputStream.java (marktarget): Field removed.
2842 (CHUNKSIZE): Field removed.
2843 (bufferSize): New field.
2844 (BufferedInputStream): Initialize fields.
2845 (close): Invalidate mark and buffer indexes.
2847 (read()): Move mark handling code to refill.
2848 (read(byte[], int, int)): Ditto.
2849 (skip): Ditto and simplify EOF testing.
2850 (refill): Rewritten.
2851 * java/io/InputStreamReader.java (refill): Removed mark and reset
2852 of internal BufferedInputStream.
2854 2005-03-09 Tom Tromey <tromey@redhat.com>
2856 * java/lang/natVMClassLoader.cc (defineClass): Reference
2857 'systemClassLoader' field directly.
2858 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
2860 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
2861 Reference 'systemClassLoader' field directly.
2862 (_Jv_UnregisterInitiatingLoader): Likewise.
2863 (_Jv_FindClass): Likewise.
2865 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
2867 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
2869 * java/lang/mprec.h: Remove commented headers. Fix comment to match
2870 the file in GNU Classpath style.
2872 2005-03-09 Tom Tromey <tromey@redhat.com>
2874 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
2875 (toString): Synchronize.
2877 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
2879 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
2880 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
2882 2005-03-07 Tom Tromey <tromey@redhat.com>
2884 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
2885 (usage): Document '-f'.
2887 2005-03-07 Tom Tromey <tromey@redhat.com>
2889 * java/lang/VMCompiler.java (md5Digest): New field.
2890 (compileClass): Clone md5Digest instead of looking up a new one.
2892 2005-03-07 Tom Tromey <tromey@redhat.com>
2895 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
2896 * link.cc (find_field_helper): Added 'type' argument.
2897 (find_field): Updated.
2899 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
2900 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
2901 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
2902 throw UnsupportedOperationException, fixed comments.
2903 (setFont, setForeground): Fixed comments.
2904 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
2905 return type to boolean.
2906 (getNextEvent): Fixed javadocs.
2907 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
2908 (nativeQueueEmpty): Removed unused code.
2909 (iterateNativeQueue): Removed outer loop.
2911 2005-03-06 Roger Sayle <roger@eyesopen.com>
2914 * Makefile.am (libgcj0_convenience.la): Revert last change.
2915 * Makefile.in: Regenerate.
2917 2005-03-05 Anthony Green <green@redhat.com>
2919 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
2920 classpath_jawt_lock, classpath_jawt_unlock): New functions.
2921 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
2922 (_Jv_GetDrawingSurface): Set visualID.
2923 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
2924 (JAWT_GetAWT): Set Lock and Unlock.
2925 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
2927 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
2928 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
2929 JAWT_LOCK_SURFACE_CHANGED): New macros.
2930 (struct _JAWT): Add Lock and Unlock.
2932 2005-03-05 Roger Sayle <roger@eyesopen.com>
2933 Alexandre Oliva <aoliva@redhat.com>
2934 Kelley Cook <kcook@gcc.gnu.org>
2937 * Makefile.am (libgcj0_convenience.la): New rule to create a file
2938 of the object files to link to avoid exceeding the command line
2939 length limits on some platforms.
2940 (clean-local): Clean up objectlist files.
2941 * Makefile.in: Regenerate.
2943 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
2945 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
2946 spec_case. Initialize pointer mlo.
2948 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
2951 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
2953 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
2956 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
2957 uninitialized variable z.
2959 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
2960 possible unused variables.
2962 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
2964 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
2966 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2969 * testsuite/libjava.jni/jni.exp
2970 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
2972 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
2974 2005-02-23 David Daney <ddaney@avtrex.com>
2976 * configure.host: Don't use -mxgot for MIPS builds.
2978 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
2981 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2982 (COMPPATH): Removed.
2983 (ZIP, GCJH): Replace it with ../$(host_subdir).
2984 (built_gcc_dir): Add $(host_subdir).
2985 * configure: Regenerate.
2986 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2987 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
2988 external/w3c_dom/Makefile.in: Regenerate.
2990 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
2992 * java/awt/font/TextAttribute.java: changed names to lower case;
2993 (readResolve): implemented.
2994 Added doc comments all over.
2996 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2999 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3000 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3001 value. Move argument parsing code to prims.cc.
3002 * prims.cc (no_properties): Remove.
3003 (_Jv_Compiler_Properties): Initialize to NULL.
3004 (_Jv_Properties_Count): Initialize to 0.
3005 (parse_verbose_args): New function.
3006 (parse_init_args): New function.
3007 (_Jv_CreateJavaVM): Call parse_init_args.
3008 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3009 * gcj/cni.h (JvVMOption): New struct.
3010 (JvVMInitArgs): Likewise.
3011 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3013 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3014 (_Jv_VMInitArgs): Likewise.
3015 * include/java-props.h (_Jv_Properties_Count): Declare.
3016 * java/lang/natRuntime.cc (insertSystemProperties): Use
3017 _Jv_Properties_Count in for loop exit condition.
3018 * testsuite/libjava.jni/jni.exp
3019 (gcj_invocation_compile_c_to_binary): New procedure.
3020 (gcj_invocation_test_one): Likewise.
3021 (gcj_jni_run): Run JNI invocation API tests.
3022 * testsuite/libjava.jni/invocation/PR16923.c,
3023 testsuite/libjava.jni/invocation/PR16923.java,
3024 testsuite/libjava.jni/invocation/PR16923.out: New test.
3026 2005-02-23 Michael Koch <konqueror@gmx.de>
3028 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3029 * Makefile.in: Regenerated.
3031 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3033 * gnu/java/nio/ChannelReader: Fixed comments.
3035 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3037 * java/nio/channels/Channels: Added FIXMEs about
3038 stub method implementation.
3039 (newReader): Implemented.
3040 * gnu/java/nio/ChannelReader: New class.
3042 2005-02-23 Michael Koch <konqueror@gmx.de>
3044 * java/text/SimpleDateFormat.java:
3045 Removed unused import.
3047 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3050 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3051 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3052 * Makefile.in: Regenerate.
3053 * configure.ac: Check for libXtst.
3054 * configure: Regenerate.
3056 2005-02-22 Mark Wielaard <address@bogus.example.com>
3058 * java/security/AlgorithmParameterGenerator.java (getInstance):
3059 Mention provider when throwing NoSuchProviderException.
3060 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3061 * java/security/KeyFactory.java (getInstance): Likewise.
3062 * java/security/KeyStore.java (getInstance): Likewise.
3063 * java/security/SecureRandom.java (getInstance): Likewise.
3064 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3066 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3068 * java/lang/reflect/Proxy.java,
3070 java/security/SecureRandom.java,
3071 java/util/Timer.java,
3072 java/util/prefs/AbstractPreferences.java:
3073 Don't catch java.lang.ThreadDeath.
3075 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3077 * java/awt/font/TransformAttribute.java,
3078 (TransformAttribute(AffineTransform)): throw
3079 IllegalArgumentException for null transform.
3080 (getTransform): return a copy of transform.
3081 Added doc comments to all.
3083 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3085 * java/io/Externalizable.java,
3086 java/io/Serializable.java
3087 (serialVersionUID): Removed.
3088 * java/rmi/server/RemoteObject.java,
3089 java/rmi/server/UID.java
3090 (serialVersionUID): Made private.
3091 * java/rmi/server/RemoteRef.java,
3092 java/rmi/server/ServerRef.java
3093 (serialVersionUID): Set proper value.
3094 * java/security/interfaces/DSAPrivateKey.java,
3095 java/security/interfaces/DSAPublicKey.java,
3096 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3097 java/security/interfaces/RSAPrivateCrtKey.java,
3098 java/security/interfaces/RSAPrivateKey.java,
3099 java/security/interfaces/RSAPublicKey.java,
3100 javax/crypto/SecretKey.java
3101 (serialVersionUID): Added.
3103 2005-02-22 Tom Tromey <tromey@redhat.com>
3105 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3107 2005-02-22 Tom Tromey <tromey@redhat.com>
3110 * verify.cc (type::EITHER): New constant.
3111 (check_field_constant): Use it.
3112 (type::compatible): Handle it.
3114 2005-02-22 Michael Koch <konqueror@gmx.de>
3116 * gnu/java/security/PolicyFile.java,
3117 gnu/java/security/pkcs/PKCS7SignedData.java,
3118 gnu/java/security/pkcs/SignerInfo.java:
3119 Fixed copyright header.
3121 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3123 * java/beans/PropertyDescriptor.java
3124 (PropertyDescriptor,setReadMethod): Set propertyType.
3126 2005-02-22 Michael Koch <konqueror@gmx.de>
3128 * java/nio/DirectByteBufferImpl.java
3129 (owner): Fixed formatting of javadoc.
3130 * java/text/DateFormat.java
3131 (getAvailableLocales): Fixed formatting.
3132 * java/text/SimpleDateFormat.java:
3133 Fixed formatting and import statement order.
3134 * java/util/Calendar.java
3135 (Calendar): Fixed javadoc to be HTML compliant.
3136 * java/util/SimpleTimeZone.java:
3139 2005-02-22 Roman Kennke <roman@ontographics.com>
3141 * javax/swing/plaf/basic/BasicLookAndFeel.java
3142 (initComponentDefaults): Fixed Button left and right margin.
3144 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3146 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3150 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3151 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3152 (getWidth): New method.
3153 (getHeight): Likewise.
3154 (create): Remove width, height and insets parameters. Move size
3156 (realize_cb): ... here. New function.
3157 (connectSignals): Connect realize_cb.
3158 (request_frame_extents): Remove FIXME. Move
3159 postInsetsChangedEvent lookup ...
3160 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3161 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3162 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3164 (windowGetWidthID): Likewise.
3165 (windowGetHeightID): Likewise.
3167 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3170 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3171 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3173 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3175 Merge serialization from GNU Classpath.
3176 * gcj/method.h: Add missing #includes.
3177 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3178 primitive class IDs on the stream here...
3179 (resolveClass): ...not here.
3180 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3182 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3183 setLongNative, setIntNative, setShortNative, setCharNative,
3184 setByteNative, setBooleanNative, setObjectNative): New native methods.
3185 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3186 setLongNative, setIntNative, setShortNative, setCharNative,
3187 setByteNative, setBooleanNative, setObjectNative): Implement them.
3188 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3189 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3190 the constructor here.
3191 (callConstructor): Removed.
3192 (getCallersClassLoader): Removed.
3193 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3194 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3195 to control whether setting final field values is permitted. Call
3196 getAddr() with checkFinal parameter instead of setAddr().
3197 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3198 only if not done already.
3199 (getAddr): Add checkFinal parameter. Do the final field check only if
3203 2005-02-21 Mark Wielaard <mark@klomp.org>
3206 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3209 2005-02-21 Mark Wielaard <mark@klomp.org>
3212 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3213 without a super class and us ObjectStreamClass.lookupForClassObject().
3214 (resolveClass): Check for primitive types.
3215 (lookupClass): Return null when argument is null.
3217 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3219 * java/io/ObjectInputStream.java
3220 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3222 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3224 * java/io/ObjectOutputStream.java
3225 (writeObject, callWriteMethod): Replaced reflection with accessing
3226 cached info in ObjectStreamClass.
3227 (getMethod): Removed.
3228 * java/io/ObjectStreamClass.java
3229 (findMethod): Added check to make sure the method found has the
3231 (cacheMethods): Added writeReplace and writeObject methods.
3232 (setFlags): Look at new writeObjectMethod field instead of doing
3234 (writeReplaceMethod): New field.
3235 (writeObjectMethod): New field.
3237 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3238 Jeroen Frijters <jeroen@frijters.net>
3240 * java/io/ObjectInputStream.java
3241 (newObject): Changed prototype. Get a constructor reflect object
3243 (callConstructor): Removed.
3244 (allocateObject): Changed prototype.
3245 (readClassDescriptor): Build the constructor reflection directly.
3246 (readObject): Invoke newObject using the new prototype.
3248 * java/io/ObjectStreamClass.java
3249 (firstNonSerializableParent): Removed.
3250 (firstNonSerializableParentConstructor): Added.
3252 2005-02-21 Mark Wielaard <mark@klomp.org>
3254 * gnu/java/locale/LocaleInformation_en.java: Extend
3255 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3257 2005-02-21 Mark Wielaard <mark@klomp.org>
3259 * java/text/SimpleDateFormat.java
3260 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3261 NullPointerException when formatData is null.
3263 2005-02-21 Mark Wielaard <mark@klomp.org>
3265 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3266 taking dstSavings into account.
3268 2005-02-21 Sven de Marothy <sven@physto.se>
3270 * java/text/SimpleDateFormat.java,
3271 (parse): Set correct DST_OFFSET to the correct value.
3273 2005-02-21 Mark Wielaard <mark@klomp.org>
3275 * java/util/SimpleTimeZone.java (checkRule): Throw
3276 IllegalArgumentException when month out of range.
3278 2005-02-21 Sven de Marothy <sven@physto.se>
3280 * java/util/GregorianCalendar.java,
3281 (add): Don't set fields directly anymore. Use set()
3283 2005-02-21 Mark Wielaard <mark@klomp.org>
3285 * java/text/SimpleDateFormat.java (CompiledField.toString):
3286 Use StringBuffer, not StringBuilder.
3287 (toString): Likewise.
3289 2005-02-21 Sven de Marothy <sven@physto.se>
3291 * java/util/Calendar.java
3292 (clear): Dates should clear to local time.
3293 * java/util/GregorianCalendar.java
3294 (computeTime): Fix priority problem with DAY_OF_WEEK,
3295 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3297 2005-02-21 Sven de Marothy <sven@physto.se>
3299 * java/util/Calendar.java
3300 (Calendar): Constructor should clear fields.
3302 2005-02-21 Sven de Marothy <sven@physto.se>
3304 * java/text/SimpleDateFormat.java
3305 (parse): Tweak handling of 2-year dates
3306 * java/util/Calendar.java
3307 (clear): Clear fields to correct value.
3308 * java/util/GregorianCalendar.java
3309 (computeTime): Correct handling of time zones.
3310 Correct field minimum values.
3312 2005-02-21 Sven de Marothy <sven@physto.se>
3314 * java/util/Calendar.java
3315 (set) Invalidate all fields on first call to set().
3317 2005-02-21 Sven de Marothy <sven@physto.se>
3319 * java/util/GregorianCalendar.java
3320 (computeTime): Fixed handling of time zones.
3322 2005-02-21 Sven de Marothy <sven@physto.se>
3324 * java/util/Calendar.java
3325 (clear): Set values to Epoch instead of zero.
3326 (set): Set isSet to the relevant field pattern instead of just
3328 * java/util/GregorianCalendar.java
3329 (getBundle): Removed.
3330 (getDayOfYear): Removed.
3331 (getFirstDayOfMonth): New private method.
3332 (nonLeniencyCheck): New private method.
3333 (computeTime): Correct handling of insufficient data.
3335 2005-02-21 Sven de Marothy <sven@physto.se>
3337 * java/util/Calendar.java: Invalidate ERA field on setting
3339 * java/util/SimpleTimeZone.java:
3340 (getDaysInMonth): Reimplemented.
3341 * java/util/GregorianCalendar.java:
3342 (getLinearTime): Removed.
3343 (isLeapYear(int,boolean)): Removed.
3344 (before(), after()): Removed.
3345 (computeTime): Reimplemented.
3347 2005-02-21 Sven de Marothy <sven@physto.se>
3349 * java/util/Calendar.java: Reformatted.
3350 * java/util/GregorianCalendar.java: Reformatted.
3351 * java/util/SimpleTimeZone.java: Reformatted.
3353 2005-02-21 Sven de Marothy <sven@physto.se>
3355 * java/util/GregorianCalendar.java
3356 (GregorianCalendar): Update fields in the constructor
3358 2005-02-21 Noa Resare <noa@resare.com>
3360 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3361 (set(int,int)): Set and use new field.
3362 (set(int,int,int)): Check new field.
3364 2005-02-21 Noa Resare <address@hidden>
3366 * java/util/Calendar.java(set):
3367 Fix for DST related regression.
3369 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3371 * java/util/Calendar.java
3372 (setTimeInMillis): Added call to clear, removed computeFields call.
3373 * java/util/Date.java
3374 (Date(int,int,int,int,int,int)): Removed workaround for
3375 GregorianCalendar bug.
3376 * java/util/GregorianCalendar.java
3377 (GregorianCalendar): Chained all constructors to a (new)
3379 (computeTime): Fixed support for lenient month treatment.
3380 (getLinearDay): Return long instead of int.
3381 (calculateDay): Added fields argument and changed day argument
3384 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3386 * java/text/SimpleDateFormat.java
3387 Lots of documentation updates.
3388 (readObject(java.io.ObjectInputStream)): Wraps
3389 IllegalArgumentException as specified.
3390 (compileFormat(String)): Uses standardChars
3391 rather than the local pattern characters.
3392 Throws IllegalArgumentException rather than
3394 (toString()): Extended to include all variables
3396 (translateLocalizedPattern(String, String, String)):
3397 Renamed to better define the use of this method.
3399 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3401 * java/text/DateFormat.java:
3402 Documented pattern character offset constants and
3404 (Field): Added new static fields for new pattern chars.
3405 * java/text/SimpleDateFormat.java:
3406 (CompiledField): Changed name of FieldSizePair class
3407 to CompiledField after adding the character as an
3408 attribute. Changed fields to private and added
3409 accessors to give encapsulation.
3410 (CompiledField.CompiledField(int,int,char)): Extended
3411 with character field.
3412 (CompiledField.getField()): New accessor method.
3413 (CompiledField.getSize()): New acceessor method.
3414 (CompiledField.getCharacter()): New accessor method.
3415 (CompiledField.toString()): Added primarily for debugging.
3416 (standardChars): Now uses extended 24 character sequence.
3417 (compileFormat(String)): Changed to use CompiledField.
3418 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3419 java.text.FieldPosition)): Changed to use CompiledField.
3420 New handler for RFC 822 timezones added.
3422 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3424 * java/text/SimpleDateFormat.java:
3425 (parse(String, java.text.ParsePosition)):
3426 Changed 'E' and 'M' cases to use both
3427 short and long names. Extended 'z'
3428 case to also handle 'Z', and deal
3429 with simple GMT offsets such as +0100.
3430 (computeOffset(String)): New private method,
3431 which converts a GMT offset specification,
3432 such as GMT-0500 to a numeric offset in
3434 * java/util/TimeZone.java:
3435 (timezones()): Added "CEST", the daylight
3436 savings time version of "CET", or Central
3439 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3441 * java/text/SimpleDateFormat.java:
3442 (parse): Set the DST offset to 0 when parsing
3443 GMT offset timezones.
3445 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3447 * java/text/SimpleDateFormat.java:
3448 (parse): Use offset to set ZONE_OFFSET
3449 rather than the DST_OFFSET, so that
3450 GMT offset timezones change the right
3453 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3455 * java/text/SimpleDateFormat.java:
3456 (getDateFormatSymbols()): return a copy
3457 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3458 throw exception on null input
3459 (clone()): implemented to clone
3462 2005-02-21 Sven de Marothy <sven@physto.se>
3464 * java/text/SimpleDateFormat.java
3465 (parse): comparison should be case-insensitive, ignore null
3468 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3470 * gnu/java/beans/IntrospectionIncubator.java
3471 (addMethod) Reverts the patch that ntroduced a regression (see bug
3472 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3474 2005-02-21 Michael Koch <konqueror@gmx.de>
3476 * java/awt/Checkbox.java
3477 (next_checkbox_number): New static variable.
3478 (generateName): New method.
3479 (getUniqueLong): Likewise.
3480 * java/awt/Window.java
3481 (next_window_number): New static variable.
3482 (generateName): New method.
3483 (getUniqueLong): Likewise.
3485 2005-02-21 Mark Wielaard <mark@klomp.org>
3487 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
3490 2005-02-21 Andrew Haley <aph@redhat.com>
3492 * Makefile.in: Rebuilt.
3493 * Makefile.am (nat_source_files): Added natLogger.cc.
3494 * java/util/logging/natLogger.cc: New file.
3495 * java/util/logging/Logger.java (getCallerStackFrame): Now
3498 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
3500 * Makefile.am (all_property_files): Remove left over.
3501 (classes.stamp): Add stamp for the ONESTEP build, also known as
3502 --enable-libgcj-multifile.
3503 * Makefile.in: Regenerated.
3505 2005-02-21 Michael Koch <konqueror@gmx.de>
3507 * java/awt/Button.java,
3508 java/awt/Container.java,
3510 java/awt/Frame.java,
3511 java/text/CollationElementIterator.java,
3512 java/text/RuleBasedCollator.java,
3513 java/util/PropertyPermission.java:
3514 Fixed formatting issues all over.
3516 2005-02-21 Mark Wielaard <mark@klomp.org>
3518 * java/io/FileDescriptor.java (sync): Add real exception to
3519 SyncFailedException.
3521 2005-02-21 Michael Koch <konqueror@gmx.de>
3523 * java/io/InputStreamReader.java:
3526 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
3529 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
3531 2005-02-20 Dalibor Topic <robilad@kaffe.org>
3533 * libraries/javalib/gnu/regexp/RE.java,
3534 libraries/javalib/java/io/ObjectInputStream.java,
3535 libraries/javalib/java/security/AllPermission.java,
3536 libraries/javalib/java/security/BasicPermission.java,
3537 libraries/javalib/java/security/Permissions.java,
3538 libraries/javalib/java/text/MessageFormat.java:
3539 Made 'inner' classes real public static inner classes,
3540 and made them final where possible, or removed them
3543 2005-02-20 Michael Koch <konqueror@gmx.de>
3545 * gnu/java/text/FormatCharacterIterator.java:
3546 Removed redundant modifiers.
3548 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3550 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
3553 2005-02-19 Michael Koch <konqueror@gmx.de>
3555 * Makefile.am: Added new files in gnu/java/beans and
3556 java/beans/XMLDecoder.java.
3557 * Makefile.in: Regenerated.
3559 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3561 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
3562 assignment behavior by using java.lang.reflect.Array.set()
3565 2005-02-19 Dalibor Topic <robilad@kaffe.org>
3567 * gnu/java/beans/EmptyBeanInfo.java,
3568 gnu/java/beans/info/ComponentBeanInfo.java:
3569 Removed unused files.
3571 2005-02-19 Robert Schuster <thebohemian@gmx.net>
3573 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
3574 of AppletStub for java.beans.Beans.instantiate.
3575 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
3577 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
3578 to be conformant with Javadoc guidelines.
3579 (instantiate): Added two more overloaded variants, reworked user
3580 documentation, fixed exception behavior, fixed behavior when
3583 2005-02-19 Mark Wielaard <mark@klomp.org>
3585 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
3587 * gnu/java/beans/decoder/DummyContext.java: Likewise.
3589 2005-02-19 Robert Schuster <theBohemian@gmx.net>
3591 * gnu/java/beans/decoder/AbstractContext.java,
3592 gnu/java/beans/decoder/AbstractCreatableContext.java,
3593 gnu/java/beans/decoder/AbstractElementHandler.java,
3594 gnu/java/beans/decoder/AbstractObjectContext.java,
3595 gnu/java/beans/decoder/ArrayContext.java,
3596 gnu/java/beans/decoder/ArrayHandler.java,
3597 gnu/java/beans/decoder/AssemblyException.java,
3598 gnu/java/beans/decoder/BooleanHandler.java,
3599 gnu/java/beans/decoder/ByteHandler.java,
3600 gnu/java/beans/decoder/CharHandler.java,
3601 gnu/java/beans/decoder/ClassHandler.java,
3602 gnu/java/beans/decoder/ConstructorContext.java,
3603 gnu/java/beans/decoder/Context.java,
3604 gnu/java/beans/decoder/DecoderContext.java,
3605 gnu/java/beans/decoder/DefaultExceptionListener.java,
3606 gnu/java/beans/decoder/DoubleHandler.java,
3607 gnu/java/beans/decoder/DummyContext.java,
3608 gnu/java/beans/decoder/DummyHandler.java,
3609 gnu/java/beans/decoder/ElementHandler.java,
3610 gnu/java/beans/decoder/FloatHandler.java,
3611 gnu/java/beans/decoder/GrowableArrayContext.java,
3612 gnu/java/beans/decoder/IndexContext.java,
3613 gnu/java/beans/decoder/IntHandler.java,
3614 gnu/java/beans/decoder/JavaHandler.java,
3615 gnu/java/beans/decoder/LongHandler.java,
3616 gnu/java/beans/decoder/MethodContext.java,
3617 gnu/java/beans/decoder/MethodFinder.java,
3618 gnu/java/beans/decoder/NullHandler.java,
3619 gnu/java/beans/decoder/ObjectContext.java,
3620 gnu/java/beans/decoder/ObjectHandler.java,
3621 gnu/java/beans/decoder/PersistenceParser.java,
3622 gnu/java/beans/decoder/PropertyContext.java,
3623 gnu/java/beans/decoder/ShortHandler.java,
3624 gnu/java/beans/decoder/SimpleHandler.java,
3625 gnu/java/beans/decoder/StaticMethodContext.java,
3626 gnu/java/beans/decoder/StringHandler.java,
3627 gnu/java/beans/decoder/VoidHandler.java: New class
3628 implementing java.beans.XMLDecoder decoding functionality.
3629 * java/beans/XMLDecoder.java: New class.
3631 2005-02-19 Michael Koch <konqueror@gmx.de>
3633 * javax/swing/JTextField.java
3634 (notfiyAction): Added javadoc.
3636 2005-02-19 Sven de Marothy <sven@physto.se>
3638 * javax/swing/SpinnerDateModel.java: Implemented.
3640 2005-02-19 Michael Koch <konqueror@gmx.de>
3642 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
3643 * Makefile.in: Regenerated.
3645 2005-02-19 Michael Koch <konqueror@gmx.de>
3647 * gnu/java/nio/SelectorImpl.java:
3648 Reworked import statements.
3649 (register): Removed unused code.
3650 * java/nio/channels/Channels.java: Reformatted.
3651 * java/nio/charset/Charset.java: Likewise.
3652 * java/rmi/server/RemoteObject.java
3653 (serialVersionUID): Made private.
3654 * java/rmi/server/UID.java
3655 (serialVersionUID): Likewise.
3657 2005-02-19 Michael Koch <konqueror@gmx.de>
3659 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
3660 gnu/java/net/protocol/ftp/BlockInputStream.java,
3661 gnu/java/net/protocol/ftp/BlockOutputStream.java,
3662 gnu/java/net/protocol/ftp/CompressedInputStream.java,
3663 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
3664 gnu/java/net/protocol/ftp/DTPInputStream.java,
3665 gnu/java/net/protocol/ftp/DTP.java,
3666 gnu/java/net/protocol/ftp/DTPOutputStream.java,
3667 gnu/java/net/protocol/ftp/FTPConnection.java,
3668 gnu/java/net/protocol/ftp/FTPException.java,
3669 gnu/java/net/protocol/ftp/FTPResponse.java,
3670 gnu/java/net/protocol/ftp/FTPURLConnection.java,
3671 gnu/java/net/protocol/ftp/Handler.java,
3672 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
3673 gnu/java/net/protocol/ftp/StreamInputStream.java,
3674 gnu/java/net/protocol/ftp/StreamOutputStream.java,
3675 gnu/java/net/CRLFInputStream.java,
3676 gnu/java/net/CRLFOutputStream.java,
3677 gnu/java/net/GetLocalHostAction.java,
3678 gnu/java/net/protocol/ftp/package.html: New files.
3679 * Makefile.am: Added new files.
3680 * Makefile.in: Regenerated.
3682 2005-02-18 Tom Tromey <tromey@redhat.com>
3684 * link.cc (make_vtable): Remove abstract method check.
3685 (append_partial_itable): Likewise.
3688 * verify.cc (type::equals): Fixed test.
3689 * testsuite/libjava.lang/PR20056.out: New file.
3690 * testsuite/libjava.lang/PR20056.java: New file.
3692 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
3694 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
3695 not the HashEntry. Reported by Jean-Marie White.
3697 2005-02-18 Tom Tromey <tromey@redhat.com>
3700 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
3701 * link.cc (has_field_p): New function.
3702 * verify.cc (check_field_constant): Added 'putfield' argument.
3703 (verify_instructions_0): Updated.
3704 (type::equals): New method.
3706 2005-02-18 Anthony Green <green@redhat.com>
3708 * NEWS: Draft of libgcj NEWS for 4.0.
3710 2005-02-18 Anthony Green <green@redhat.com>
3712 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
3713 architecture names to "i386" for compatibility reasons. Win32
3716 2005-02-18 Anthony Green <green@redhat.com>
3718 * gij.cc (version): Change year for '--version' to 2005.
3719 * gnu/gcj/convert/Convert.java: Ditto.
3720 * gnu/java/rmi/rmic/RMIC.java: Ditto.
3721 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
3723 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
3724 recent copyright year in `--version' output.
3726 2005-02-18 Robert Schuster <thebohemian@gmx.net>
3728 * java/nio/charset/Charset.java (forName): Throws
3729 IllegalArgumentException when argument is null
3730 and added documentation.
3732 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3734 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
3735 Move the position of the source buffer forward.
3737 2005-02-17 Tom Tromey <tromey@redhat.com>
3739 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
3740 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
3741 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
3742 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
3743 Changed type of second argument. Rewrote.
3744 (make_vtable): Use it.
3745 (append_partial_itable): Updated.
3746 (layout_vtable_methods): Updated.
3748 2005-02-17 Michael Koch <konqueror@gmx.de>
3750 * gnu/java/net/PlainSocketImpl.java
3751 (shutdownInput): Added javadoc.
3752 (shutdownOutput): Likewise.
3754 2005-02-17 Michael Koch <konqueror@gmx.de>
3756 * javax/print/attribute/standard/Chromaticity.java,
3757 javax/print/attribute/standard/Destination.java,
3758 javax/print/attribute/standard/MediaPrintableArea.java,
3759 javax/print/attribute/standard/MediaSize.java: New files.
3760 * Makefile.am: Added new files.
3761 * Makefile.in: Regenerated.
3763 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
3764 Michael Koch <konqueror@gmx.de>
3766 * gnu/java/net/protocol/http/Cookie.java,
3767 gnu/java/net/protocol/http/HTTPConnection.java,
3768 gnu/java/net/protocol/http/HTTPDateFormat.java,
3769 gnu/java/net/protocol/http/Request.java,
3770 gnu/java/nio/PipeImpl.java,
3771 gnu/java/rmi/dgc/DGCImpl.java,
3772 gnu/java/rmi/server/ConnectionRunnerPool.java,
3773 gnu/java/rmi/server/UnicastConnectionManager.java,
3774 gnu/java/security/der/DERWriter.java,
3775 gnu/java/security/pkcs/SignerInfo.java,
3776 gnu/java/security/provider/EncodedKeyFactory.java,
3777 gnu/java/security/provider/GnuDHPublicKey.java,
3778 gnu/java/security/provider/GnuDSAPrivateKey.java,
3779 gnu/java/security/provider/GnuDSAPublicKey.java,
3780 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
3781 gnu/java/security/x509/X500DistinguishedName.java,
3782 gnu/java/security/x509/X509CRL.java,
3783 gnu/java/security/x509/X509CRLEntry.java,
3784 gnu/java/security/x509/X509Certificate.java,
3785 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
3786 gnu/java/security/x509/ext/CertificatePolicies.java,
3787 gnu/java/security/x509/ext/PolicyConstraint.java,
3788 gnu/xml/dom/Consumer.java,
3789 gnu/xml/dom/DomCharacterData.java,
3790 gnu/xml/dom/DomDocument.java,
3791 gnu/xml/dom/DomDocumentBuilder.java,
3792 gnu/xml/dom/DomIterator.java,
3793 gnu/xml/dom/DomNode.java,
3794 gnu/xml/dom/DomXPathExpression.java,
3795 gnu/xml/dom/DomXPathResult.java,
3796 gnu/xml/dom/JAXPFactory.java,
3797 gnu/xml/pipeline/CallFilter.java,
3798 gnu/xml/pipeline/DomConsumer.java,
3799 gnu/xml/pipeline/LinkFilter.java,
3800 gnu/xml/pipeline/NSFilter.java,
3801 gnu/xml/pipeline/TeeConsumer.java,
3802 gnu/xml/pipeline/ValidationConsumer.java,
3803 gnu/xml/pipeline/WellFormednessFilter.java,
3804 gnu/xml/pipeline/XIncludeFilter.java,
3805 gnu/xml/pipeline/XsltFilter.java,
3806 gnu/xml/transform/ApplyImportsNode.java,
3807 gnu/xml/transform/Bindings.java,
3808 gnu/xml/transform/DocumentFunction.java,
3809 gnu/xml/transform/FormatNumberFunction.java,
3810 gnu/xml/transform/NodeNumberNode.java,
3811 gnu/xml/transform/NumberNode.java,
3812 gnu/xml/transform/Stylesheet.java,
3813 gnu/xml/transform/SystemPropertyFunction.java,
3814 gnu/xml/transform/Template.java,
3815 gnu/xml/transform/TemplatesImpl.java,
3816 gnu/xml/transform/TransformerImpl.java,
3817 gnu/xml/transform/ValueOfNode.java,
3818 gnu/xml/transform/XSLURIResolver.java,
3819 gnu/xml/util/DoParse.java,
3820 gnu/xml/util/Resolver.java,
3821 gnu/xml/xpath/Expr.java,
3822 gnu/xml/xpath/FunctionCall.java,
3823 gnu/xml/xpath/RelationalExpr.java,
3824 gnu/xml/xpath/Selector.java,
3825 gnu/xml/xpath/XPathParser.java:
3826 Reworked import statements, fixed modifier order and some little
3829 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
3831 * java/nio/ByteBufferImpl.java (compact):
3832 Set position and limit even if no bytes were moved.
3834 2005-02-17 Michael Koch <konqueror@gmx.de>
3836 * java/nio/CharViewBufferImpl.java (compact): Likewise.
3837 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
3838 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
3839 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
3840 * java/nio/IntViewBufferImpl.java (compact): Likewise.
3841 * java/nio/LongViewBufferImpl.java (compact): Likewise.
3842 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
3843 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
3844 * java/nio/FloatBufferImpl.java (compact): Set position.
3845 * java/nio/CharBufferImpl.java (compact): Likewise.
3846 * java/nio/DoubleBufferImpl.java (compact): Likewise.
3847 * java/nio/IntBufferImpl.java (compact): Likewise.
3848 * java/nio/LongBufferImpl.java (compact): Likewise.
3849 * java/nio/ShortBufferImpl.java (compact): Likewise.
3851 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
3853 * java/nio/ByteBufferImpl.java,
3854 java/nio/CharBufferImpl.java,
3855 java/nio/DirectByteBufferImpl.java,
3856 java/nio/DoubleBufferImpl.java,
3857 java/nio/FloatBufferImpl.java,
3858 java/nio/IntBufferImpl.java,
3859 java/nio/LongBufferImpl.java,
3860 java/nio/MappedByteBufferImpl.java,
3861 java/nio/ShortBufferImpl.java
3862 (compact): Added explicit read-only check and invalidate mark.
3864 2005-02-17 Michael Koch <konqueror@gmx.de>
3866 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3867 gnu/java/awt/peer/gtk/GdkFontPeer.java,
3868 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3869 gnu/java/awt/peer/gtk/GdkGraphics.java,
3870 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3871 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
3872 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
3873 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3874 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
3875 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
3876 gnu/java/awt/peer/gtk/GdkTextLayout.java,
3877 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3878 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3879 gnu/java/awt/peer/gtk/GtkClipboard.java,
3880 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3881 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3882 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3883 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3884 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3885 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3886 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3887 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3888 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3889 gnu/java/awt/peer/gtk/GtkToolkit.java,
3890 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3891 java/applet/Applet.java,
3892 java/awt/AWTError.java,
3893 java/awt/AWTEvent.java,
3894 java/awt/AWTEventMulticaster.java,
3895 java/awt/AWTException.java,
3896 java/awt/AWTKeyStroke.java,
3897 java/awt/AWTPermission.java,
3898 java/awt/ActiveEvent.java,
3899 java/awt/Adjustable.java,
3900 java/awt/AlphaComposite.java,
3901 java/awt/AttributeValue.java,
3902 java/awt/BorderLayout.java,
3903 java/awt/BufferCapabilities.java,
3904 java/awt/Button.java,
3905 java/awt/Canvas.java,
3906 java/awt/CheckboxGroup.java,
3907 java/awt/CheckboxMenuItem.java,
3908 java/awt/Color.java,
3909 java/awt/ColorPaintContext.java,
3910 java/awt/Component.java,
3911 java/awt/ComponentOrientation.java,
3912 java/awt/Composite.java,
3913 java/awt/CompositeContext.java,
3914 java/awt/Container.java,
3915 java/awt/ContainerOrderFocusTraversalPolicy.java,
3916 java/awt/DefaultFocusTraversalPolicy.java,
3917 java/awt/Dialog.java,
3918 java/awt/Dimension.java,
3919 java/awt/DisplayMode.java,
3920 java/awt/EventQueue.java,
3921 java/awt/FileDialog.java,
3922 java/awt/FontFormatException.java,
3923 java/awt/Graphics.java,
3924 java/awt/Graphics2D.java,
3925 java/awt/GraphicsConfigTemplate.java,
3926 java/awt/GraphicsConfiguration.java,
3927 java/awt/GraphicsDevice.java,
3928 java/awt/GridBagLayout.java,
3929 java/awt/GridBagLayoutInfo.java,
3930 java/awt/GridLayout.java,
3931 java/awt/HeadlessException.java,
3932 java/awt/IllegalComponentStateException.java,
3933 java/awt/Image.java,
3934 java/awt/Insets.java,
3935 java/awt/ItemSelectable.java,
3936 java/awt/JobAttributes.java,
3937 java/awt/KeyEventDispatcher.java,
3938 java/awt/KeyEventPostProcessor.java,
3939 java/awt/KeyboardFocusManager.java,
3940 java/awt/Label.java,
3941 java/awt/LayoutManager.java,
3942 java/awt/MenuBar.java,
3943 java/awt/MenuComponent.java,
3944 java/awt/MenuContainer.java,
3945 java/awt/PageAttributes.java,
3946 java/awt/Paint.java,
3947 java/awt/PaintContext.java,
3948 java/awt/Panel.java,
3949 java/awt/Point.java,
3950 java/awt/Polygon.java,
3951 java/awt/PrintGraphics.java,
3952 java/awt/PrintJob.java,
3953 java/awt/Rectangle.java,
3954 java/awt/RenderingHints.java,
3955 java/awt/Shape.java,
3956 java/awt/Stroke.java,
3957 java/awt/SystemColor.java,
3958 java/awt/Toolkit.java,
3959 java/awt/Transparency.java,
3960 java/awt/Window.java,
3961 java/awt/color/CMMException.java,
3962 java/awt/color/ColorSpace.java,
3963 java/awt/color/ICC_ColorSpace.java,
3964 java/awt/color/ICC_Profile.java,
3965 java/awt/color/ProfileDataException.java,
3966 java/awt/datatransfer/FlavorTable.java,
3967 java/awt/datatransfer/MimeTypeParseException.java,
3968 java/awt/datatransfer/Transferable.java,
3969 java/awt/datatransfer/UnsupportedFlavorException.java,
3970 java/awt/dnd/Autoscroll.java,
3971 java/awt/dnd/DnDConstants.java,
3972 java/awt/dnd/DragGestureListener.java,
3973 java/awt/dnd/DragSourceAdapter.java,
3974 java/awt/dnd/DragSourceDropEvent.java,
3975 java/awt/dnd/DragSourceListener.java,
3976 java/awt/dnd/DragSourceMotionListener.java,
3977 java/awt/dnd/DropTargetAdapter.java,
3978 java/awt/dnd/DropTargetContext.java,
3979 java/awt/dnd/DropTargetListener.java,
3980 java/awt/dnd/InvalidDnDOperationException.java,
3981 java/awt/dnd/MouseDragGestureRecognizer.java,
3982 java/awt/dnd/peer/DropTargetContextPeer.java,
3983 java/awt/event/AWTEventListener.java,
3984 java/awt/event/AWTEventListenerProxy.java,
3985 java/awt/event/ActionEvent.java,
3986 java/awt/event/AdjustmentEvent.java,
3987 java/awt/event/AdjustmentListener.java,
3988 java/awt/event/ComponentAdapter.java,
3989 java/awt/event/ComponentEvent.java,
3990 java/awt/event/ComponentListener.java,
3991 java/awt/event/ContainerAdapter.java,
3992 java/awt/event/ContainerEvent.java,
3993 java/awt/event/ContainerListener.java,
3994 java/awt/event/FocusAdapter.java,
3995 java/awt/event/FocusEvent.java,
3996 java/awt/event/FocusListener.java,
3997 java/awt/event/InputEvent.java,
3998 java/awt/event/InputMethodEvent.java,
3999 java/awt/event/InputMethodListener.java,
4000 java/awt/event/InvocationEvent.java,
4001 java/awt/event/ItemEvent.java,
4002 java/awt/event/ItemListener.java,
4003 java/awt/event/KeyAdapter.java,
4004 java/awt/event/KeyEvent.java,
4005 java/awt/event/KeyListener.java,
4006 java/awt/event/MouseAdapter.java,
4007 java/awt/event/MouseEvent.java,
4008 java/awt/event/MouseListener.java,
4009 java/awt/event/MouseMotionAdapter.java,
4010 java/awt/event/MouseMotionListener.java,
4011 java/awt/event/MouseWheelEvent.java,
4012 java/awt/event/MouseWheelListener.java,
4013 java/awt/event/PaintEvent.java,
4014 java/awt/event/TextEvent.java,
4015 java/awt/event/TextListener.java,
4016 java/awt/event/WindowAdapter.java,
4017 java/awt/event/WindowEvent.java,
4018 java/awt/event/WindowFocusListener.java,
4019 java/awt/event/WindowListener.java,
4020 java/awt/event/WindowStateListener.java,
4021 java/awt/font/TextHitInfo.java,
4022 java/awt/geom/CubicCurve2D.java,
4023 java/awt/geom/Dimension2D.java,
4024 java/awt/geom/Ellipse2D.java,
4025 java/awt/geom/IllegalPathStateException.java,
4026 java/awt/geom/Line2D.java,
4027 java/awt/geom/NoninvertibleTransformException.java,
4028 java/awt/geom/PathIterator.java,
4029 java/awt/geom/Point2D.java,
4030 java/awt/geom/QuadCurve2D.java,
4031 java/awt/geom/RectangularShape.java,
4032 java/awt/geom/RoundRectangle2D.java,
4033 java/awt/im/InputContext.java,
4034 java/awt/im/InputMethodHighlight.java,
4035 java/awt/im/InputMethodRequests.java,
4036 java/awt/im/InputSubset.java,
4037 java/awt/im/spi/InputMethod.java,
4038 java/awt/im/spi/InputMethodDescriptor.java,
4039 java/awt/image/BandCombineOp.java,
4040 java/awt/image/BandedSampleModel.java,
4041 java/awt/image/ByteLookupTable.java,
4042 java/awt/image/ComponentSampleModel.java,
4043 java/awt/image/DataBuffer.java,
4044 java/awt/image/DataBufferByte.java,
4045 java/awt/image/DataBufferDouble.java,
4046 java/awt/image/DataBufferFloat.java,
4047 java/awt/image/DataBufferInt.java,
4048 java/awt/image/DataBufferShort.java,
4049 java/awt/image/DataBufferUShort.java,
4050 java/awt/image/ImagingOpException.java,
4051 java/awt/image/Kernel.java,
4052 java/awt/image/LookupTable.java,
4053 java/awt/image/MultiPixelPackedSampleModel.java,
4054 java/awt/image/PackedColorModel.java,
4055 java/awt/image/PixelInterleavedSampleModel.java,
4056 java/awt/image/RGBImageFilter.java,
4057 java/awt/image/Raster.java,
4058 java/awt/image/RasterFormatException.java,
4059 java/awt/image/SampleModel.java,
4060 java/awt/image/ShortLookupTable.java,
4061 java/awt/image/SinglePixelPackedSampleModel.java,
4062 java/awt/image/WritableRaster.java,
4063 java/awt/print/PrinterAbortException.java,
4064 java/awt/print/PrinterException.java,
4065 java/awt/print/PrinterIOException.java,
4066 java/beans/AppletInitializer.java,
4067 java/beans/ExceptionListener.java,
4068 java/beans/PropertyChangeEvent.java,
4069 java/beans/PropertyChangeListenerProxy.java,
4070 java/beans/PropertyChangeSupport.java,
4071 java/beans/PropertyDescriptor.java,
4072 java/beans/VetoableChangeListenerProxy.java,
4073 java/beans/VetoableChangeSupport.java,
4074 java/io/BufferedReader.java,
4075 java/io/ByteArrayInputStream.java,
4076 java/io/ByteArrayOutputStream.java,
4077 java/io/CharArrayReader.java,
4078 java/io/CharArrayWriter.java,
4079 java/io/CharConversionException.java,
4080 java/io/DataInput.java,
4081 java/io/DataInputStream.java,
4082 java/io/DataOutput.java,
4083 java/io/DataOutputStream.java,
4084 java/io/EOFException.java,
4085 java/io/FileInputStream.java,
4086 java/io/FileNotFoundException.java,
4087 java/io/FileOutputStream.java,
4088 java/io/FilenameFilter.java,
4089 java/io/FilterInputStream.java,
4090 java/io/FilterOutputStream.java,
4091 java/io/FilterReader.java,
4092 java/io/FilterWriter.java,
4093 java/io/IOException.java,
4094 java/io/InputStream.java,
4095 java/io/InterruptedIOException.java,
4096 java/io/LineNumberInputStream.java,
4097 java/io/LineNumberReader.java,
4098 java/io/ObjectInputStream.java,
4099 java/io/ObjectStreamException.java,
4100 java/io/OptionalDataException.java,
4101 java/io/OutputStream.java,
4102 java/io/OutputStreamWriter.java,
4103 java/io/PrintStream.java,
4104 java/io/PrintWriter.java,
4105 java/io/PushbackInputStream.java,
4106 java/io/PushbackReader.java,
4107 java/io/RandomAccessFile.java,
4108 java/io/Reader.java,
4109 java/io/SequenceInputStream.java,
4110 java/io/Serializable.java,
4111 java/io/StreamCorruptedException.java,
4112 java/io/StreamTokenizer.java,
4113 java/io/StringBufferInputStream.java,
4114 java/io/StringWriter.java,
4115 java/io/SyncFailedException.java,
4116 java/io/UTFDataFormatException.java,
4117 java/io/UnsupportedEncodingException.java,
4118 java/io/WriteAbortedException.java,
4119 java/io/Writer.java,
4120 java/lang/AbstractMethodError.java,
4121 java/lang/ArithmeticException.java,
4122 java/lang/ArrayIndexOutOfBoundsException.java,
4123 java/lang/ArrayStoreException.java,
4124 java/lang/AssertionError.java,
4125 java/lang/Boolean.java,
4126 java/lang/Byte.java,
4127 java/lang/Class.java,
4128 java/lang/ClassCastException.java,
4129 java/lang/ClassCircularityError.java,
4130 java/lang/ClassLoader.java,
4131 java/lang/ClassNotFoundException.java,
4132 java/lang/CloneNotSupportedException.java,
4133 java/lang/Cloneable.java,
4134 java/lang/Comparable.java,
4135 java/lang/Compiler.java,
4136 java/lang/Double.java,
4137 java/lang/Error.java,
4138 java/lang/Exception.java,
4139 java/lang/ExceptionInInitializerError.java,
4140 java/lang/Float.java,
4141 java/lang/IllegalAccessError.java,
4142 java/lang/IllegalAccessException.java,
4143 java/lang/IllegalArgumentException.java,
4144 java/lang/IllegalMonitorStateException.java,
4145 java/lang/IllegalStateException.java,
4146 java/lang/IllegalThreadStateException.java,
4147 java/lang/IncompatibleClassChangeError.java,
4148 java/lang/IndexOutOfBoundsException.java,
4149 java/lang/InheritableThreadLocal.java,
4150 java/lang/InstantiationError.java,
4151 java/lang/InstantiationException.java,
4152 java/lang/Integer.java,
4153 java/lang/InternalError.java,
4154 java/lang/InterruptedException.java,
4155 java/lang/LinkageError.java,
4156 java/lang/Long.java,
4157 java/lang/NegativeArraySizeException.java,
4158 java/lang/NoClassDefFoundError.java,
4159 java/lang/NoSuchFieldError.java,
4160 java/lang/NoSuchFieldException.java,
4161 java/lang/NoSuchMethodError.java,
4162 java/lang/NoSuchMethodException.java,
4163 java/lang/NullPointerException.java,
4164 java/lang/Number.java,
4165 java/lang/NumberFormatException.java,
4166 java/lang/OutOfMemoryError.java,
4167 java/lang/Process.java,
4168 java/lang/Runnable.java,
4169 java/lang/Runtime.java,
4170 java/lang/RuntimeException.java,
4171 java/lang/RuntimePermission.java,
4172 java/lang/SecurityException.java,
4173 java/lang/SecurityManager.java,
4174 java/lang/Short.java,
4175 java/lang/StackOverflowError.java,
4176 java/lang/StackTraceElement.java,
4177 java/lang/StringBuffer.java,
4178 java/lang/StringIndexOutOfBoundsException.java,
4179 java/lang/ThreadDeath.java,
4180 java/lang/ThreadGroup.java,
4181 java/lang/Throwable.java,
4182 java/lang/UnsatisfiedLinkError.java,
4183 java/lang/UnsupportedOperationException.java,
4184 java/lang/VerifyError.java,
4185 java/lang/VirtualMachineError.java,
4186 java/lang/reflect/AccessibleObject.java,
4187 java/lang/reflect/Array.java,
4188 java/lang/reflect/InvocationTargetException.java,
4189 java/lang/reflect/Member.java,
4190 java/lang/reflect/Modifier.java,
4191 java/lang/reflect/Proxy.java,
4192 java/lang/reflect/ReflectPermission.java,
4193 java/lang/reflect/UndeclaredThrowableException.java,
4194 java/math/BigInteger.java,
4195 java/net/NetworkInterface.java,
4196 java/nio/ByteBufferHelper.java,
4197 java/nio/ByteBufferImpl.java,
4198 java/nio/DirectByteBufferImpl.java,
4199 java/nio/DoubleBufferImpl.java,
4200 java/nio/FloatBufferImpl.java,
4201 java/nio/IntBufferImpl.java,
4202 java/nio/LongBufferImpl.java,
4203 java/nio/ShortBufferImpl.java,
4204 java/nio/channels/Channel.java,
4205 java/nio/channels/IllegalBlockingModeException.java,
4206 java/nio/charset/spi/CharsetProvider.java,
4207 java/security/AccessControlException.java,
4208 java/security/BasicPermission.java,
4209 java/security/DigestException.java,
4210 java/security/DigestInputStream.java,
4211 java/security/DigestOutputStream.java,
4212 java/security/GeneralSecurityException.java,
4213 java/security/Guard.java,
4214 java/security/GuardedObject.java,
4215 java/security/InvalidAlgorithmParameterException.java,
4216 java/security/InvalidKeyException.java,
4217 java/security/InvalidParameterException.java,
4218 java/security/Key.java,
4219 java/security/KeyException.java,
4220 java/security/KeyManagementException.java,
4221 java/security/KeyStoreException.java,
4222 java/security/MessageDigestSpi.java,
4223 java/security/NoSuchAlgorithmException.java,
4224 java/security/NoSuchProviderException.java,
4225 java/security/Permission.java,
4226 java/security/PermissionCollection.java,
4227 java/security/Permissions.java,
4228 java/security/Principal.java,
4229 java/security/PrivateKey.java,
4230 java/security/PrivilegedActionException.java,
4231 java/security/ProviderException.java,
4232 java/security/PublicKey.java,
4233 java/security/SecureRandom.java,
4234 java/security/SecureRandomSpi.java,
4235 java/security/SignatureException.java,
4236 java/security/SignatureSpi.java,
4237 java/security/SignedObject.java,
4238 java/security/Signer.java,
4239 java/security/UnrecoverableKeyException.java,
4240 java/security/UnresolvedPermission.java,
4241 java/security/acl/AclNotFoundException.java,
4242 java/security/acl/LastOwnerException.java,
4243 java/security/acl/NotOwnerException.java,
4244 java/security/cert/CertPath.java,
4245 java/security/cert/CertPathBuilderException.java,
4246 java/security/cert/CertPathValidatorException.java,
4247 java/security/cert/CertStoreException.java,
4248 java/text/BreakIterator.java,
4249 java/text/ChoiceFormat.java,
4250 java/text/CollationElementIterator.java,
4251 java/text/CollationKey.java,
4252 java/text/Collator.java,
4253 java/text/DateFormat.java,
4254 java/text/DateFormatSymbols.java,
4255 java/text/DecimalFormat.java,
4256 java/text/DecimalFormatSymbols.java,
4257 java/text/FieldPosition.java,
4258 java/text/Format.java,
4259 java/text/NumberFormat.java,
4260 java/text/ParseException.java,
4261 java/text/ParsePosition.java,
4262 java/text/StringCharacterIterator.java,
4263 java/util/AbstractCollection.java,
4264 java/util/AbstractList.java,
4265 java/util/AbstractMap.java,
4266 java/util/AbstractSequentialList.java,
4267 java/util/AbstractSet.java,
4268 java/util/ArrayList.java,
4269 java/util/Arrays.java,
4270 java/util/BitSet.java,
4271 java/util/Collection.java,
4272 java/util/Collections.java,
4273 java/util/Comparator.java,
4274 java/util/ConcurrentModificationException.java,
4275 java/util/Currency.java,
4276 java/util/Date.java,
4277 java/util/EmptyStackException.java,
4278 java/util/Enumeration.java,
4279 java/util/EventListener.java,
4280 java/util/EventListenerProxy.java,
4281 java/util/EventObject.java,
4282 java/util/HashMap.java,
4283 java/util/HashSet.java,
4284 java/util/Hashtable.java,
4285 java/util/IdentityHashMap.java,
4286 java/util/Iterator.java,
4287 java/util/LinkedHashSet.java,
4288 java/util/LinkedList.java,
4289 java/util/List.java,
4290 java/util/ListIterator.java,
4291 java/util/ListResourceBundle.java,
4293 java/util/MissingResourceException.java,
4294 java/util/NoSuchElementException.java,
4295 java/util/Observable.java,
4296 java/util/Observer.java,
4297 java/util/Properties.java,
4298 java/util/PropertyPermissionCollection.java,
4299 java/util/RandomAccess.java,
4301 java/util/SortedMap.java,
4302 java/util/SortedSet.java,
4303 java/util/Stack.java,
4304 java/util/StringTokenizer.java,
4305 java/util/TooManyListenersException.java,
4306 java/util/TreeMap.java,
4307 java/util/TreeSet.java,
4308 java/util/Vector.java,
4309 java/util/logging/FileHandler.java,
4310 java/util/logging/Level.java,
4311 java/util/prefs/BackingStoreException.java,
4312 java/util/prefs/InvalidPreferencesFormatException.java,
4313 java/util/prefs/Preferences.java,
4314 javax/accessibility/Accessible.java,
4315 javax/accessibility/AccessibleAction.java,
4316 javax/accessibility/AccessibleBundle.java,
4317 javax/accessibility/AccessibleComponent.java,
4318 javax/accessibility/AccessibleContext.java,
4319 javax/accessibility/AccessibleEditableText.java,
4320 javax/accessibility/AccessibleExtendedComponent.java,
4321 javax/accessibility/AccessibleExtendedTable.java,
4322 javax/accessibility/AccessibleHyperlink.java,
4323 javax/accessibility/AccessibleHypertext.java,
4324 javax/accessibility/AccessibleIcon.java,
4325 javax/accessibility/AccessibleKeyBinding.java,
4326 javax/accessibility/AccessibleRelation.java,
4327 javax/accessibility/AccessibleRelationSet.java,
4328 javax/accessibility/AccessibleResourceBundle.java,
4329 javax/accessibility/AccessibleRole.java,
4330 javax/accessibility/AccessibleSelection.java,
4331 javax/accessibility/AccessibleState.java,
4332 javax/accessibility/AccessibleStateSet.java,
4333 javax/accessibility/AccessibleTable.java,
4334 javax/accessibility/AccessibleTableModelChange.java,
4335 javax/accessibility/AccessibleText.java,
4336 javax/accessibility/AccessibleValue.java,
4337 javax/imageio/IIOException.java,
4338 javax/imageio/ImageIO.java,
4339 javax/imageio/spi/IIOServiceProvider.java,
4340 javax/imageio/spi/ImageInputStreamSpi.java,
4341 javax/imageio/spi/ImageOutputStreamSpi.java,
4342 javax/imageio/spi/ImageReaderWriterSpi.java,
4343 javax/imageio/spi/ImageTranscoderSpi.java,
4344 javax/imageio/spi/RegisterableService.java,
4345 javax/imageio/spi/ServiceRegistry.java,
4346 javax/imageio/stream/IIOByteBuffer.java,
4347 javax/imageio/stream/ImageInputStream.java,
4348 javax/imageio/stream/ImageOutputStream.java,
4349 javax/naming/Binding.java,
4350 javax/naming/CannotProceedException.java,
4351 javax/naming/CompositeName.java,
4352 javax/naming/CompoundName.java,
4353 javax/naming/LinkException.java,
4354 javax/naming/LinkRef.java,
4355 javax/naming/NameClassPair.java,
4356 javax/naming/Reference.java,
4357 javax/naming/ReferralException.java,
4358 javax/naming/directory/Attribute.java,
4359 javax/naming/directory/AttributeModificationException.java,
4360 javax/naming/directory/Attributes.java,
4361 javax/naming/directory/DirContext.java,
4362 javax/naming/directory/ModificationItem.java,
4363 javax/naming/directory/SearchControls.java,
4364 javax/naming/directory/SearchResult.java,
4365 javax/naming/event/EventContext.java,
4366 javax/naming/event/EventDirContext.java,
4367 javax/naming/event/NamespaceChangeListener.java,
4368 javax/naming/event/NamingExceptionEvent.java,
4369 javax/naming/event/NamingListener.java,
4370 javax/naming/event/ObjectChangeListener.java,
4371 javax/naming/ldap/Control.java,
4372 javax/naming/ldap/ExtendedResponse.java,
4373 javax/naming/ldap/HasControls.java,
4374 javax/naming/ldap/LdapContext.java,
4375 javax/naming/ldap/UnsolicitedNotification.java,
4376 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4377 javax/naming/ldap/UnsolicitedNotificationListener.java,
4378 javax/naming/spi/DirectoryManager.java,
4379 javax/naming/spi/ResolveResult.java,
4380 javax/naming/spi/Resolver.java,
4381 javax/security/auth/callback/Callback.java,
4382 javax/security/auth/callback/CallbackHandler.java,
4383 javax/security/auth/callback/ChoiceCallback.java,
4384 javax/security/auth/callback/ConfirmationCallback.java,
4385 javax/security/auth/callback/LanguageCallback.java,
4386 javax/security/auth/callback/NameCallback.java,
4387 javax/security/auth/callback/PasswordCallback.java,
4388 javax/security/auth/callback/TextInputCallback.java,
4389 javax/security/auth/callback/TextOutputCallback.java,
4390 javax/security/auth/callback/UnsupportedCallbackException.java,
4391 javax/security/sasl/Sasl.java,
4392 javax/security/sasl/SaslServerFactory.java,
4393 javax/swing/DefaultBoundedRangeModel.java,
4394 javax/swing/JComponent.java,
4395 javax/swing/JList.java,
4396 javax/swing/JProgressBar.java,
4397 javax/swing/JRadioButton.java,
4398 javax/swing/JTextArea.java,
4399 javax/swing/JTextField.java,
4400 javax/swing/JToggleButton.java,
4401 javax/swing/JTree.java,
4402 javax/swing/SpinnerListModel.java,
4403 javax/swing/event/EventListenerList.java,
4404 javax/swing/text/JTextComponent.java,
4405 javax/swing/text/StringContent.java,
4406 javax/swing/text/Utilities.java,
4407 javax/swing/undo/UndoManager.java,
4408 javax/swing/undo/UndoableEditSupport.java,
4409 javax/transaction/HeuristicCommitException.java,
4410 javax/transaction/HeuristicMixedException.java,
4411 javax/transaction/HeuristicRollbackException.java,
4412 javax/transaction/InvalidTransactionException.java,
4413 javax/transaction/NotSupportedException.java,
4414 javax/transaction/RollbackException.java,
4415 javax/transaction/Status.java,
4416 javax/transaction/Synchronization.java,
4417 javax/transaction/SystemException.java,
4418 javax/transaction/Transaction.java,
4419 javax/transaction/TransactionManager.java,
4420 javax/transaction/TransactionRequiredException.java,
4421 javax/transaction/TransactionRolledbackException.java,
4422 javax/transaction/UserTransaction.java,
4423 javax/transaction/xa/XAException.java,
4424 javax/transaction/xa/XAResource.java,
4425 javax/transaction/xa/Xid.java,
4426 javax/xml/XMLConstants.java,
4427 javax/xml/datatype/DatatypeConfigurationException.java,
4428 javax/xml/datatype/DatatypeConstants.java,
4429 javax/xml/datatype/DatatypeFactory.java,
4430 javax/xml/datatype/Duration.java,
4431 javax/xml/datatype/XMLGregorianCalendar.java,
4432 javax/xml/namespace/NamespaceContext.java,
4433 javax/xml/namespace/QName.java,
4434 javax/xml/parsers/DocumentBuilder.java,
4435 javax/xml/parsers/DocumentBuilderFactory.java,
4436 javax/xml/parsers/FactoryConfigurationError.java,
4437 javax/xml/parsers/ParserConfigurationException.java,
4438 javax/xml/parsers/SAXParser.java,
4439 javax/xml/parsers/SAXParserFactory.java,
4440 javax/xml/transform/ErrorListener.java,
4441 javax/xml/transform/OutputKeys.java,
4442 javax/xml/transform/Result.java,
4443 javax/xml/transform/Source.java,
4444 javax/xml/transform/SourceLocator.java,
4445 javax/xml/transform/Templates.java,
4446 javax/xml/transform/Transformer.java,
4447 javax/xml/transform/TransformerConfigurationException.java,
4448 javax/xml/transform/TransformerException.java,
4449 javax/xml/transform/TransformerFactory.java,
4450 javax/xml/transform/TransformerFactoryConfigurationError.java,
4451 javax/xml/transform/URIResolver.java,
4452 javax/xml/transform/dom/DOMLocator.java,
4453 javax/xml/transform/dom/DOMResult.java,
4454 javax/xml/transform/dom/DOMSource.java,
4455 javax/xml/transform/sax/SAXResult.java,
4456 javax/xml/transform/sax/SAXSource.java,
4457 javax/xml/transform/sax/SAXTransformerFactory.java,
4458 javax/xml/transform/sax/TemplatesHandler.java,
4459 javax/xml/transform/sax/TransformerHandler.java,
4460 javax/xml/transform/stream/StreamResult.java,
4461 javax/xml/transform/stream/StreamSource.java,
4462 javax/xml/validation/Schema.java,
4463 javax/xml/validation/SchemaFactory.java,
4464 javax/xml/validation/TypeInfoProvider.java,
4465 javax/xml/validation/Validator.java,
4466 javax/xml/validation/ValidatorHandler.java,
4467 javax/xml/xpath/XPathConstants.java,
4468 javax/xml/xpath/XPathException.java,
4469 javax/xml/xpath/XPathExpression.java,
4470 javax/xml/xpath/XPathExpressionException.java,
4471 javax/xml/xpath/XPathFactory.java,
4472 javax/xml/xpath/XPathFactoryConfigurationException.java,
4473 javax/xml/xpath/XPathFunction.java,
4474 javax/xml/xpath/XPathFunctionException.java,
4475 javax/xml/xpath/XPathFunctionResolver.java:
4476 Fixed usage of @author tag, reworked import statements,
4477 removed CVS tags, changed the modifier order and fixed
4478 HTML usage in javadocs.
4480 2005-02-16 Julian Scheid <julian@sektor37.de>
4482 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
4484 (encodeLoop): Likewise.
4486 2005-02-16 Mark Wielaard <mark@klomp.org>
4488 * Makefile.am (ordinary_java_source_files): Add new files
4489 gnu/java/security/ber/BER.java,
4490 gnu/java/security/ber/BEREncodingException.java,
4491 gnu/java/security/ber/BERReader.java,
4492 gnu/java/security/ber/BERValue.java,
4493 gnu/java/security/pkcs/PKCS7SignedData.java and
4494 gnu/java/security/pkcs/SignerInfo.java.
4495 * Makefile.in: Regenerated.
4497 2005-02-16 Casey Marshall <csm@gnu.org>
4499 * gnu/java/security/provider/GnuDSAPrivateKey.java
4500 (encodedKey): new field.
4501 (getFormat): return "PKCS#8".
4502 (getEncoded): implemented.
4503 (toString): check for 'null' values.
4504 * gnu/java/security/provider/GnuDSAPublicKey.java
4505 (encodedKey): new field.
4506 (getFormat): return "X.509".
4507 (getEncoded): implemented.
4508 (toString): check for 'null' values.
4510 2005-02-16 Michael Koch <konqueror@gmx.de>
4512 * java/util/jar/JarFile.java: Imports reworked.
4514 2005-02-16 Mark Wielaard <mark@klomp.org>
4516 * java/util/jar/JarFile.java (verify): Make package private.
4517 (signaturesRead): Likewise.
4518 (verified): Likewise.
4519 (entryCerts): Likewise.
4522 (entries): Construct new JarEnumeration with reference to this.
4523 (JarEnumeration): Make static.
4524 (JarEnumeration.jarfile): New field.
4525 (JarEnumeration.nextElement): Use and synchronize on jarfile.
4526 Compare verified value to Boolean.TRUE or Boolean.False only
4527 when verify is true.
4528 (getEntry): Make synchronized. Compare value of verified to
4530 (getInputStream): Construct EntryInputStream with reference to this.
4531 (getManifest): Make synchronized.
4532 (EntryInputStream): Make static.
4533 (EntryInputStream.jarfile): New field.
4534 (EntryInputStream.EntryInputStream): Check if manifest exists,
4535 before getting attributes.
4536 (eof): Synchronize on jarfile.
4538 2005-02-16 Casey Marshall <csm@gnu.org>
4540 * java/util/jar/JarFile.java (verify): return if the jar is signed
4541 with an unsupported algorithm.
4543 2005-02-16 Mark Wielaard <mark@klomp.org>
4545 * java/util/jar/JarFile.java (EntryInputStream): Add actual
4546 InputStream as argument.
4547 (getInputStream): Construct a new EntryInputStream with the result of
4548 super.getInputStream(entry).
4550 2005-02-16 Casey Marshall <csm@gnu.org>
4552 Signed JAR file support.
4553 * java/net/URLClassLoader.java
4554 (JarURLResource.getCertificates): re-read jar entry to ensure
4555 certificates are picked up.
4556 (findClass): fill in class `signers' field, too.
4557 * java/util/jar/JarFile.java (META_INF): new constant.
4558 (PKCS7_DSA_SUFFIX): new constant.
4559 (PKCS7_RSA_SUFFIX): new constant.
4560 (DIGEST_KEY_SUFFIX): new constant.
4561 (SF_SUFFIX): new constant.
4562 (MD2_OID): new constant.
4563 (MD4_OID): new constant.
4564 (MD5_OID): new constant.
4565 (SHA1_OID): new constant.
4566 (DSA_ENCRYPTION_OID): new constant.
4567 (RSA_ENCRYPTION_OID): new constant.
4568 (signaturesRead): new field.
4569 (verified): new field.
4570 (entryCerts): new field.
4571 (DEBUG): new constant.
4572 (debug): new method.
4573 (JarEnumeration.nextElement): fill in entry certificates, read
4574 signatures if they haven't been read.
4575 (getEntry): likewise.
4576 (getInputStream): verify stream if it hasn't been verified yet.
4577 (readSignatures): new method.
4578 (verify): new method.
4579 (verifyHashes): new method.
4580 (readManifestEntry): new method.
4581 (EntryInputStream): new class.
4582 * gnu/java/io/Base64InputStream.java (decode): new class
4584 * gnu/java/security/der/DERReader.java don't make class
4586 (in): made protected.
4588 (readLength): likewise.
4589 * gnu/java/security/ber/BER.java,
4590 * gnu/java/security/ber/BEREncodingException.java,
4591 * gnu/java/security/ber/BERReader.java,
4592 * gnu/java/security/ber/BERValue.java,
4593 * gnu/java/security/pkcs/PKCS7SignedData.java,
4594 * gnu/java/security/pkcs/SignerInfo.java:
4597 2005-02-16 Tom Tromey <tromey@redhat.com>
4599 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
4600 copied file on exit.
4602 2005-02-15 Mark Wielaard <mark@klomp.org>
4604 * java/awt/BasicStroke.java (hashCode): Check for null dash.
4606 2005-02-15 Michael Koch <konqueror@gmx.de>
4608 * gnu/java/awt/peer/gtk/GtkArg.java,
4609 gnu/java/awt/peer/gtk/GtkArgList.java:
4612 2005-02-15 Craig Black <craig.black@aonix.com>
4614 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
4615 (postMenuActionEvent): Implement to notify ItemListeners.
4616 * java/awt/CheckboxMenuItem.java
4617 (dispatchEventImpl): Update state on ItemEvent.
4618 * java/awt/MenuItem.java
4619 (processActionEvent): Retarget event source.
4621 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4623 * gnu/java/awt/color/ClutProfileConverter.java,
4624 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
4625 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4626 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4627 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4628 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4629 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4630 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4631 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4632 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4633 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4634 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4635 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4636 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4637 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4638 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4639 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4640 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4641 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4642 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4643 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4644 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4645 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4646 gnu/java/awt/peer/gtk/GtkToolkit.java,
4647 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4648 javax/swing/JPopupMenu.java,
4649 javax/swing/JSpinner.java,
4650 javax/swing/SortingFocusTraversalPolicy.java,
4651 javax/swing/SwingUtilities.java,
4652 javax/swing/plaf/basic/BasicComboBoxEditor.java,
4653 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
4654 javax/swing/tree/DefaultMutableTreeNode.java:
4655 Removed unused imports and expanded starred
4658 2005-02-15 Mark Wielaard <mark@klomp.org>
4660 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
4661 IllegalArgumentException when the given String is null.
4663 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
4664 when given keystoke sequence cannot be parsed.
4666 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
4667 if one is installed. Only install the given menubar is not null.
4669 * javax/swing/JViewport.java (getViewSize): Return an empty
4670 Dimension when the view isn't set or preferred component size when
4673 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
4674 empty Dimension when there is no view set.
4675 (minimumLayoutSize): Likewise.
4676 (layoutContainer): Don't try to layout when there is no view.
4678 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4681 * include/jawt.h: Likewise.
4682 * include/jawt_md.h: Likewise.
4683 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
4685 * jni/classpath/classpath_jawt.h: Likewise.
4686 * jni/gtk-peer/gtk_jawt.c: Likewise.
4687 * Makefile.am: Build libjawt.so.
4689 2005-02-15 Michael Koch <konqueror@gmx.de>
4691 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4692 Merged file header with classpath CVS head.
4693 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4694 Merged code formatting with classpath CVS head.
4695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
4697 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4698 Handle special JNI strings with 2 '\0' at the end.
4699 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4700 Merged file header with classpath CVS head.
4701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4702 Merged code formatting with classpath CVS head.
4704 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4706 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
4707 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
4708 (handle_response): Use GTK_RESPONSE_ACCEPT.
4710 2005-02-15 Graydon Hoare <graydon@redhat.com>
4712 * Makefile.am: Fix library build breakage.
4713 * Makefile.in: Regenerate.
4715 2005-02-15 Michael Koch <konqueror@gmx.de>
4717 * javax/swing/JTabbedPane.java
4718 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
4720 2005-02-15 Michael Koch <konqueror@gmx.de>
4722 * javax/swing/tree/DefaultMutableTreeNode.java:
4723 Reworked Javadocs all over.
4724 (getPathToRoot): Fixed direction of result array initialization.
4726 2005-02-15 Michael Koch <konqueror@gmx.de>
4728 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
4729 Fix includes for cairo 0.3.0 snappshot.
4730 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4731 Merged file header from classpath CVS HEAD.
4733 2005-02-15 Craig Black <craig.black@aonix.com>
4735 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
4736 (copyState): Pass a JNI global reference to signal handler.
4737 (realize_cb): Use and free JNI global reference.
4738 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
4739 (create): Pass a JNI global reference to signal handler.
4740 (selection_changed): Match declaration.
4741 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
4742 (dispose): Do not remove entries from state tables until after widget is
4745 2005-02-15 Michael Koch <konqueror@gmx.de>
4747 * java/awt/Container.javai (paramString):
4748 If layoutMgr is null just return result of super.paramString().
4749 * java/awt/Scrollbar.java: Reformatted.
4750 * java/awt/im/InputContext.java (static):
4751 Removed redundant initializations.
4753 2005-02-15 Michael Koch <konqueror@gmx.de>
4755 * javax/swing/ImageIcon.java,
4756 javax/swing/UIManager.java,
4757 javax/swing/text/EditorKit.java,
4758 javax/swing/text/Segment.java:
4759 More whitespace cleanups.
4761 2005-02-15 Michael Koch <konqueror@gmx.de>
4763 * gnu/java/awt/EmbeddedWindow.java,
4764 gnu/java/awt/image/ImageDecoder.java,
4765 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4766 java/awt/DefaultKeyboardFocusManager.java,
4767 java/awt/Frame.java,
4768 java/awt/image/RGBImageFilter.java,
4769 javax/swing/AbstractButton.java,
4770 javax/swing/ActionMap.java,
4771 javax/swing/ComponentInputMap.java,
4772 javax/swing/DefaultDesktopManager.java,
4773 javax/swing/ImageIcon.java,
4774 javax/swing/InputMap.java,
4775 javax/swing/JButton.java,
4776 javax/swing/JCheckBox.java,
4777 javax/swing/JCheckBoxMenuItem.java,
4778 javax/swing/JEditorPane.java,
4779 javax/swing/JMenu.java,
4780 javax/swing/JMenuItem.java,
4781 javax/swing/JOptionPane.java,
4782 javax/swing/JRootPane.java,
4783 javax/swing/JTable.java,
4784 javax/swing/MenuSelectionManager.java,
4785 javax/swing/RepaintManager.java,
4786 javax/swing/ScrollPaneLayout.java,
4787 javax/swing/SortingFocusTraversalPolicy.java,
4788 javax/swing/UIManager.java,
4789 javax/swing/ViewportLayout.java,
4790 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4791 javax/swing/plaf/basic/BasicInternalFrameUI.java,
4792 javax/swing/plaf/basic/BasicLabelUI.java,
4793 javax/swing/plaf/basic/BasicListUI.java,
4794 javax/swing/plaf/basic/BasicMenuItemUI.java,
4795 javax/swing/plaf/basic/BasicMenuUI.java,
4796 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4797 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4798 javax/swing/plaf/basic/BasicRootPaneUI.java,
4799 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4800 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4801 javax/swing/plaf/basic/BasicTextUI.java,
4802 javax/swing/table/TableColumnModel.java,
4803 javax/swing/text/AbstractDocument.java,
4804 javax/swing/text/EditorKit.java,
4805 javax/swing/text/Position.java,
4806 javax/swing/text/Segment.java,
4807 javax/swing/text/StyledEditorKit.java,
4808 javax/swing/text/ViewFactory.java:
4809 Cleanup whitespace differences to classpath CVS HEAD.
4811 2005-02-15 Graydon Hoare <graydon@redhat.com>
4813 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
4814 (finalize): Call finish from here.
4815 (produce): Not from here.
4816 * Makefile.am (gtk_c_source_files):
4817 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
4818 * Makefile.in: Regenerate.
4819 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4821 (cairoDrawGdkTextLayout):
4823 (getPeerTextMetrics):
4824 (getPeerFontMetrics): Remove.
4825 (setFont): Don't call cairoSetFont.
4826 (cairoDrawGlyphVector): Accept font peer argument.
4827 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
4828 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4829 (ensure_metrics_cairo):
4830 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
4831 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
4832 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
4833 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
4835 (metrics_surface): Remove.
4836 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
4837 Pass and install font peer.
4839 2005-02-15 Graydon Hoare <graydon@redhat.com>
4841 * Makefile.am: Create "split library" structure.
4842 * Makefile.in: Regenerate.
4844 2005-02-15 Graydon Hoare <graydon@redhat.com>
4846 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4847 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4850 Release GDK lock during upcalls.
4852 2005-02-15 Graydon Hoare <graydon@redhat.com>
4854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
4855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
4856 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
4857 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
4858 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
4859 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
4860 * gnu/java/awt/peer/gtk/GdkFontPeer.java
4863 (getTextMetrics): New native methods.
4864 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
4865 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
4866 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
4867 * Makefile.in: Regenerate.
4869 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4871 * javax/swing/SwingUtilities.java:
4872 (getAccessibleAt(java.awt.Component, java.awt.Point)):
4873 Implemented and documented.
4874 (getAccessibleChild(java.awt.Component, int)): Likewise.
4875 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
4876 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
4877 (getAccessibleStateSet(java.awt.Component)): Likewise.
4879 2005-02-15 Michael Koch <konqueror@gmx.de>
4881 * javax/swing/SwingUtilities.java
4882 (getFontMetrics): Removed.
4884 2005-02-15 Michael Koch <konqueror@gmx.de>
4886 * java/awt/Container.java
4887 (paramString): Implemented.
4888 * javax/swing/AbstractButton.java
4889 (paramString): Implemented.
4890 * javax/swing/JComponent.java
4891 (paramString): Implemented.
4892 * javax/swing/JMenu.java
4893 (paramString): Implemented.
4894 * javax/swing/JMenuBar.java
4895 (paramString): Implemented.
4896 * javax/swing/JMenuItem.java
4897 (paramString): Implemented.
4898 * javax/swing/JPopupMenu.java
4899 (paramString): Implemented.
4901 2005-02-15 Michael Koch <konqueror@gmx.de>
4903 * javax/swing/JMenu.java
4904 (uiClassID): Removed.
4905 (JMenu): Set invoker on popup menu.
4906 (getUIClassID): Return id directly.
4907 (getItemCount): Simply return getMenuComponentCount().
4909 (isTopLevelMenu): Simplified.
4910 * javax/swing/JMenuItem.java
4911 (uiClassID): Removed.
4912 (getUIClassID): Return id directly.
4913 * javax/swing/JPopupMenu.java
4914 (uiClassID): Removed.
4915 (JPopupMenu): Always initialize correctly.
4916 (getSubElements): Only return components implementing MenuElement
4918 (HeavyWeightPopup.hide): Removed.
4920 2005-02-15 Michael Koch <konqueror@gmx.de>
4922 * java/awt/image/ReplicateScaleFilter.java
4923 (replicatePixels): Made private.
4924 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4925 (DefaultRGBChooserPanel): Made package private.
4926 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4927 (RecentSwatchPanel): Likewise.
4928 * javax/swing/event/MouseInputAdapter.java: Reformatted.
4929 (MouseInputAdapter): Made abstract.
4930 * javax/swing/tree/DefaultMutableTreeNode.java
4932 (growTree): Likewise.
4934 2005-02-15 Michael Koch <konqueror@gmx.de>
4936 * java/awt/dnd/DropTarget.java (addDropTargetListener):
4939 2005-02-15 Michael Koch <konqueror@gmx.de>
4941 * javax/swing/JComponent.java (getComponentGraphics):
4942 Removed accidently commited code.
4944 2005-02-15 Graydon Hoare <graydon@redhat.com>
4946 * java/awt/dnd/DropTarget.java
4947 (addDropTargetListener): Despite documentation, do not throw.
4948 * javax/swing/JComponent.java: Set a default DropTarget.
4950 2005-02-15 Michael Koch <konqueror@gmx.de>
4952 * javax/swing/AbstractAction.java
4953 (ENABLED_PROPERTY): Removed.
4954 (setEnabled): Replaced constant with real string.
4955 * javax/swing/AbstractButton.java
4956 (createActionPropertyChangeListener.propertyChange): Likewise.
4957 * javax/swing/JComboBox.java
4958 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
4959 (EDITABLE_CHANGED_PROPERTY): Removed.
4960 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
4961 (ENABLED_CHANGED_PROPERTY):Likewise.
4962 (RENDERER_CHANGED_PROPERTY):Likewise.
4963 (EDITOR_CHANGED_PROPERTY):Likewise.
4964 (MODEL_CHANGED_PROPERTY):Likewise.
4965 (uiClassID):Likewise.
4966 (getUIClassID): Replaced constant with real string.
4967 (setModel):Likewise.
4968 (setEditable):Likewise.
4969 (setMaximumRowCount):Likewise.
4970 (setRenderer):Likewise.
4971 (setEditor):Likewise.
4972 (setEnabled):Likewise.
4973 * javax/swing/JLabel.java
4974 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
4975 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
4976 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
4977 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4978 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4979 (ICON_CHANGED_PROPERTY): Likewise.
4980 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
4981 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
4982 (TEXT_CHANGED_PROPERTY): Likewise.
4983 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
4984 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
4985 (setText): Replaced constant with real string.
4986 (setIcon): Likewise.
4987 (setDisabledIcon): Likewise.
4988 (setDisplayedMnemonic): Likewise.
4989 (setIconTextGap): Likewise.
4990 (setVerticalAlignment): Likewise.
4991 (setHorizontalAlignment): Likewise.
4992 (setVerticalTextPosition): Likewise.
4993 (setHorizontalTextPosition): Likewise.
4994 (setLabelFor): Replaced constant with real string.
4995 Fire property change event after property got changed.
4996 * javax/swing/JList.java
4997 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
4998 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
4999 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5000 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5001 (MODEL_PROPERTY_CHANGED): Likewise.
5002 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5003 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5004 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5005 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5006 (setFixedCellWidth): Reimplemented.
5007 (setFixedCellHeight): Exit if new value is identical.
5008 Replaced constant with real string.
5009 (setSelectionBackground): Likewise.
5010 (setSelectionForeground): Likewise.
5011 (setPrototypeCellValue): Likewise.
5012 (setCellRenderer): Replaced constant with real string.
5013 (setModel): Likewise.
5014 (setSelectionModel): Likewise.
5015 * javax/swing/JMenuBar.java
5016 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5017 (MODEL_CHANGED_PROPERTY): Likewise.
5018 (MARGIN_CHANGED_PROPERTY): Likewise.
5019 (setBorderPainted): Reimplemented.
5020 (setMargin): Likewise.
5021 (setSelectionModel): Replaced constant with real string.
5022 * javax/swing/JPopupMenu.java
5023 (LABEL_CHANGED_PROPERTY): Removed.
5024 (VISIBLE_CHANGED_PROPERTY): Likewise.
5025 (borderPainted): Likewise.
5026 (setLabel): Replaced constant with real string.
5027 (setVisible): Exit if new value is identical.
5028 Replaced constant with real string.
5029 * javax/swing/JProgressBar.java
5030 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5031 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5032 (STRING_CHANGED_PROPERTY): Likewise.
5033 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5034 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5035 (setOrientation): Replaced constant with real string.
5036 (setStringPainted): Likewise.
5037 (setString): Likewise.
5038 (setBorderPainted): Likewise.
5039 (setIndeterminate): Likewise.
5040 * javax/swing/JScrollBar.java
5041 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5042 (MODEL_CHANGED_PROPERTY): Likewise.
5043 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5044 (setOrientation): Replaced constant with real string.
5045 (setModel): Likewise.
5046 (setUnitIncrement): Likewise.
5047 (setBlockIncrement): Likewise.
5048 * javax/swing/JScrollPane.java
5049 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5050 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5051 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5052 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5053 (LAYOUT_CHANGED_PROPERTY): Likewise.
5054 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5055 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5056 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5057 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5058 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5059 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5060 (setComponentOrientation): Replaced constant with real string.
5061 (setColumnHeader): Likewise.
5062 (setHorizontalScrollBar): Likewise.
5063 (setHorizontalScrollBarPolicy): Likewise.
5064 (setRowHeader): Likewise.
5065 (setVerticalScrollBar): Likewise.
5066 (setVerticalScrollBarPolicy): Likewise.
5067 (setWheelScrollingEnabled): Likewise.
5068 (setViewport): Likewise.
5069 (setViewportBorder): Likewise.
5070 * javax/swing/JSlider.java
5071 (INVERTED_CHANGED_PROPERTY): Removed.
5072 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5073 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5074 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5075 (MODEL_CHANGED_PROPERTY): Likewise.
5076 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5077 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5078 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5079 (setModel): Replaced constant with real string.
5080 (setOrientation): Likewise.
5081 (setLabelTable): Likewise.
5082 (setInverted): Likewise.
5083 (setMajorTickSpacing): Likewise.
5084 (setMinorTickSpacing): Likewise.
5085 (setPaintTicks): Likewise.
5086 (setPaintLabels): Likewise.
5087 * javax/swing/JTabbedPane.java
5088 (MODEL_CHANGED_PROPERTY): Removed.
5089 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5090 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5091 (setModel): Replaced constant with real string.
5092 (setTabPlacement): Likewise.
5093 (setTabLayoutPolicy): Likewise.
5094 * javax/swing/JToolBar.java
5095 (ORIENTATION_CHANGED_PROPERTY): Removed.
5096 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5097 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5098 (MARGIN_CHANGED_PROPERTY): Likewise.
5099 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5100 (setRollover): Replaced constant with real string.
5101 (setMargin): Likewise.
5102 (setBorderPainted): Likewise.
5103 (setFloatable): Likewise.
5104 (setOrientation): Likewise.
5105 * javax/swing/plaf/basic/BasicComboBoxUI.java
5106 (PropertyChangeHandler.propertyChange): Likewise.
5107 * javax/swing/plaf/basic/BasicComboPopup.java
5108 (PropertyChangeHandler.propertyChange): Likewise.
5109 * javax/swing/plaf/basic/BasicMenuBarUI.java
5110 (PropertyChangeHandler.propertyChange): Likewise.
5111 * javax/swing/plaf/basic/BasicProgressBarUI.java
5112 (PropertyChangeHandler.propertyChange): Likewise.
5113 * javax/swing/plaf/basic/BasicScrollBarUI.java
5114 (PropertyChangeHandler.propertyChange): Likewise.
5115 * javax/swing/plaf/basic/BasicSliderUI.java
5116 (PropertyChangeHandler.propertyChange): Likewise.
5117 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5118 (PropertyChangeHandler.propertyChange): Likewise.
5119 * javax/swing/plaf/basic/BasicToolBarUI.java
5120 (PropertyChangeHandler.propertyChange): Likewise.
5122 2005-02-15 Michael Koch <konqueror@gmx.de>
5124 * javax/swing/DefaultButtonModel.java
5125 (changeState): Made private.
5126 * javax/swing/DefaultDesktopManager.java
5127 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5128 * javax/swing/JLayeredPane.java
5129 (layerToRange): Made private.
5130 (incrLayer): Likewise.
5131 (decrLayer): Likewise.
5132 * javax/swing/JTable.java
5133 (dragEnabled): Likewise.
5134 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5135 * javax/swing/KeyStroke.java
5136 (Keystroke): Made private.
5137 * javax/swing/TransferHandler.java
5138 (COMMAND_COPY): Likewise.
5139 (COMMAND_CUT): Likewise.
5140 (COMMAND_PASTE): Likewise.
5142 2005-02-15 Michael Koch <konqueror@gmx.de>
5144 * javax/swing/JTextField.java
5145 (postActionEvent): Use text in field when actionCommand is null.
5146 (getActionCommand): Removed.
5148 2005-02-15 Michael Koch <konqueror@gmx.de>
5150 * javax/swing/AbstractSet.java: Removed.
5151 * Makefile.am: Removed javax/swing/AbstractSet.java.
5152 * Makefile.in: Regenerated.
5154 2005-02-15 Michael Koch <konqueror@gmx.de>
5156 * java/awt/Window.java
5157 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5158 * java/awt/dnd/DnDConstants.java
5159 (DnDConstants): New private constructor.
5161 2005-02-15 Michael Koch <konqueror@gmx.de>
5163 * javax/swing/DefaultCellRenderer.java: Removed.
5164 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5165 * Makefile.in: Regenerated.
5167 2005-02-15 Michael Koch <konqueror@gmx.de>
5169 * javax/swing/AbstractButton.java
5170 (fireItemStateChanged): Made protected.
5171 (fireActionPerformed): Likewise.
5172 (fireStateChanged): Likewise.
5173 * javax/swing/DefaultButtonModel.java
5174 (fireItemStateChanged): Likewise.
5175 (fireActionPerformed): Likewise.
5176 (fireStateChanged): Likewise.
5177 * javax/swing/JApplet.java
5179 (frameInit): Likewise.
5180 (setRootPane): Made protected.
5181 (createRootPane): Likewise.
5182 * javax/swing/JComponent.java
5183 (getClientProperty): Likewise.
5184 (putClientProperty): Likewise.
5185 * javax/swing/JEditorPane.java
5186 (getContentType): Likewise.
5187 (setContentType): Likewise.
5188 * javax/swing/JFrame.java
5189 (setRootPane): Likewise.
5190 (createRootPane): Likewise.
5191 * javax/swing/JInternalFrame.java
5192 (getFocusCycleRootAncestor): Made final. Added @since tag.
5193 (isFocusCycleRoot): Likewise.
5194 (getWarningString): Made final.
5195 * javax/swing/JScrollBar.java
5196 (changeListener): Removed.
5197 (changeEvent): Likewise.
5198 (createChangeListener): Likewise.
5199 (fireStateChanged): Likewise.
5200 (addChangeListener): Likewise.
5201 (removeChangeListener): Likewise.
5202 (getChangeListeners): Likewise.
5203 * javax/swing/JScrollPane.java
5204 (createViewport): Made protected.
5205 * javax/swing/JViewport.java
5206 (addImpl): Likewise.
5207 (setBorder): New method.
5208 * javax/swing/JWindow.java
5209 (setRootPane): Made protected.
5210 (createRootPane): Likewise.
5211 * javax/swing/plaf/basic/BasicButtonUI.java
5212 (installListeners): Likewise.
5213 (uninstallListeners): Likewise.
5214 * javax/swing/plaf/basic/BasicProgressBarUI.java
5215 (incrementAnimationIndex): Likewise.
5216 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5217 (createLayoutManager): Likewise.
5218 * javax/swing/table/DefaultTableCellRenderer.java
5219 (firePropertyChange): Likewise.
5220 * javax/swing/table/JTableHeader.java
5221 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5223 * javax/swing/text/PlainDocument.java
5224 (reindex): Made private.
5225 * javax/swing/text/PlainView.java
5226 (drawLine): Made protected.
5227 (getTabSize): Likewise.
5228 * javax/swing/text/View.java
5230 (preferenceChanged): New method.
5231 (getBreakWeight): Likewise.
5232 (breakView): Likewise.
5233 (getViewIndex): Likewise.
5235 2005-02-15 Michael Koch <konqueror@gmx.de>
5237 * javax/swing/JScrollPane.java
5238 (ScrollBar): Made class protected.
5239 * javax/swing/JSpinner.java
5240 (JSpinner): Added @since tag.
5241 (listenerList): Removed.
5242 * javax/swing/JTable.java
5243 (setValueAt): New method.
5244 (getColumn): Likewise.
5245 * javax/swing/JWindow.java
5246 (rootPaneCheckingEnabled): Renamed from checking.
5248 2005-02-15 Michael Koch <konqueror@gmx.de>
5250 * javax/swing/plaf/basic/BasicTextUI.java
5251 (RootView.modelToView): Made it public and return a java.awt.Shape.
5252 Handle null subview.
5253 (uninstall): Set textComponent to null when its not possible used
5255 * javax/swing/text/View.java
5256 (setParent): Use better argument name.
5257 (getContainer): Get parent via getParent().
5258 (getViewFactory): Likewise.
5259 (getAttributes): Get element via getElement().
5260 (getStartOffset): Likewise.
5261 (getEndOffset): Likewise.
5262 (getResizeWeight): New method.
5263 (getMaximumSpan): Likewise.
5264 (getMinimumSpan): Likewise.
5265 (setSize): Likewise.
5266 (getGraphics): Likewise.
5268 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5270 * java/awt/Checkbox.java:
5271 (AccessibleAWTCheckbox()): Added public constructor
5273 * java/awt/Choice.java:
5274 (AccessibleAWTChoice): Added class documentation.
5275 (AccessibleAWTChoice()): Added public constructor
5277 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5278 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5279 and changed role to COMBO_BOX.
5280 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5281 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5282 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5284 2005-02-15 Graydon Hoare <graydon@redhat.com>
5285 Michael Koch <konqueror@gmx.de>
5287 * javax/swing/LayoutFocusTraversalPolicy.java,
5288 javax/swing/SortingFocusTraversalPolicy.java:
5290 * Makefile.am: Added new classes.
5291 * Makefike.in: Regenerated.
5294 2005-02-15 Michael Koch <konqueror@gmx.de>
5296 * javax/swing/DebugGraphics.java: Mostly implemented.
5298 2005-02-15 Michael Koch <konqueror@gmx.de>
5300 * javax/swing/SwingUtilities.java
5301 (findFocusOwner): New method.
5303 2005-02-15 Michael Koch <konqueror@gmx.de>
5305 * javax/swing/text/DefaultEditorKit.java
5306 (read): Added '\n' after each line.
5307 * javax/swing/text/PlainView.java
5308 (modelToView): Update metrics.
5309 (drawLine): Use offsets from element.
5310 (paint): Update metrics. Draw all lines.
5312 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5314 * java/awt/Checkbox.java:
5315 (AccessibleAWTCheckbox): Added class documentation
5316 * java/awt/Scrollbar.java:
5317 (AccessibleAWTScrollBar): typo corrected and docs added
5318 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5319 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5320 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5321 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5322 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5323 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5324 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5325 (getAccessibleContext()): name of accessible class corrected
5327 2005-02-15 Mark Wielaard <mark@klomp.org>
5329 * java/awt/BasicStroke.java (hashCode): Implement.
5332 2005-02-15 Michael Koch <konqueror@gmx.de>
5334 * java/awt/print/PrinterJob.java
5335 (pageDialog): Throws java.awt.HeadlessException.
5336 (printDialog): Likewise.
5338 2005-02-15 Mark Wielaard <mark@klomp.org>
5340 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5342 2005-02-15 Michael Koch <konqueror@gmx.de>
5344 * javax/swing/JTable.java
5345 (getValueAt): New method.
5346 * javax/swing/table/JTableHeader.java
5347 (columnAtPoint): New method.
5349 2005-02-15 Michael Koch <konqueror@gmx.de>
5351 * javax/swing/JTextField.java
5352 (actions): New field.
5353 (static): Initalize actions field.
5354 (getActions): New method.
5356 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5358 * java/awt/Checkbox.java:
5359 (AccessibleAWTCheckbox): name capitalization corrected
5360 and serialization UID added.
5361 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5363 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5364 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5365 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5366 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5367 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5368 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5369 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5370 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5371 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5372 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5373 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5375 (getAccessibleContext()): name of accessible class corrected
5377 2005-02-15 Sven de Marothy <sven@physto.se>
5379 * java/awt/geom/doc-files/Area-1.png,
5380 java/awt/geom/doc-files/Ellipse-1.png,
5381 java/awt/geom/doc-files/GeneralPath-1.png:
5384 2005-02-15 Graydon Hoare <graydon@redhat.com>
5386 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5387 Use union to avoid type-punning warning.
5389 2005-02-15 Michael Koch <konqueror@gmx.de>
5391 * javax/swing/DefaultListSelectionModel.java
5392 (clone): New method.
5394 2005-02-15 Mark Wielaard <mark@klomp.org>
5396 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5397 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5398 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5399 Correct method signature of gtkSetFilename.
5401 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5403 * javax/swing/text/StringContent.java: New file.
5405 2005-02-15 Michael Koch <konqueror@gmx.de>
5407 * Makefile.am: Added javax/swing/text/StringContent.java.
5408 * Makefile.in: Regenerated.
5410 2005-02-15 Michael Koch <konqueror@gmx.de>
5412 * gnu/java/awt/ClasspathToolkit.java:
5413 Import statements reworked.
5414 (imageCache): Made it of type java.util.HashMap.
5416 2005-02-15 Michael Koch <konqueror@gmx.de>
5418 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5419 Reworked import statements.
5421 2005-02-15 Graydon Hoare <graydon@redhat.com>
5423 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5425 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5426 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5427 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5429 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5430 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5431 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5433 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5435 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5436 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5438 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5439 Rewrite uses of extern variable to be function calls.
5440 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5441 function, from extern variable.
5442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5443 (gdk_env): Remove variable, add new function.
5444 (java_vm): Add new variable.
5445 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5446 java_vm rather than old gdk_env variable.
5448 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5450 * javax/swing/DefaultListModel.java
5451 (add): fire correct event,
5452 (addElement): corrected interval indices in event,
5453 (clear): corrected upper bound for interval, only fire event if
5455 (setSize): fire appropriate event.
5457 2005-02-15 Graydon Hoare <graydon@redhat.com>
5459 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5460 * gnu/awt/xlib/XToolkit.java: Likewise.
5461 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5462 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5463 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5464 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5465 * java/awt/EventQueue.java (getNextEvent):
5466 Adjust event loop to switch to native mode after 100ms.
5467 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5469 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5470 Wake up event thread.
5471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5472 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5473 Adjust event loop to switch to java mode after 100ms.
5475 2005-02-15 Graydon Hoare <graydon@redhat.com>
5477 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5478 accidentally removed in last change.
5480 2005-02-15 Michael Koch <konqueror@gmx.de>
5482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5483 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
5485 2005-02-15 Graydon Hoare <graydon@redhat.com>
5487 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
5488 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
5489 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
5490 * jni.cc: Reuse bottom frame between calls, avoid clearing
5491 frame when no local references are made.
5493 2005-02-15 Michael Koch <konqueror@gmx.de>
5495 * javax/swing/UIDefaults.java (UIDefaults):
5496 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
5497 Fixed HTML entity and removed a redundant comma.
5499 2005-02-15 Michael Koch <konqueror@gmx.de>
5501 * javax/swing/text/DefaultEditorKit.java
5502 (deinstall): Removed.
5503 (install): Likewise.
5505 2005-02-15 Michael Koch <konqueror@gmx.de>
5507 * javax/swing/UIDefaults.java (put): Handle value of null.
5509 2005-02-15 Michael Koch <konqueror@gmx.de>
5511 * java/awt/Robot.java,
5512 java/awt/Scrollbar.java,
5513 java/awt/print/PrinterJob.java,
5514 javax/swing/JTable.java,
5515 javax/swing/text/AbstractDocument.java:
5516 Reworked import statements.
5518 2005-02-15 Michael Koch <konqueror@gmx.de>
5520 * javax/swing/JEditorPane.java
5521 (read): Implemented.
5523 * javax/swing/text/DefaultEditorKit.java
5524 (page): Renamed from page_url. Made private.
5525 (editorKit): Renamed from kit. Made private.
5527 (JEditorPane): All constructors reimplemented.
5528 (getContentType): Use content type from editor kit.
5529 (getEditorKit): Return editorKit.
5530 (getEditorKitForContentType):Likewise.
5531 (getPage): Return page.
5532 (setContentType): Reimplemented.
5533 (setEditorKit): Likewise.
5534 (setEditorKitForContentType): Removed wrong implementation.
5535 (setPage): Implemented.
5537 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5540 (nativeSetIconImageFromData): Re-add native implementation.
5542 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5544 * javax/swing/table/DefaultTableModel.java
5545 (DefaultTableModel()): Added Javadocs.
5546 (DefaultTableModel(int, int)): Fixed implementation.
5547 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
5548 for negative rowCount.
5549 (DefaultTableModel(Object[], int)): Added Javadocs.
5550 (DefaultTableModel(Vector, Vector)): Likewise.
5551 (DefaultTableModel(Object[][], Object[])): Likewise.
5552 (getDataVector): Likewise.
5553 (setDataVector(Vector, Vector)): Likewise.
5554 (setDataVector(Object[][], Object[])): Likewise.
5555 (newDataAvailable): Likewise.
5556 (newRowsAdded): Likewise.
5557 (rowsRemoved): Likewise.
5558 (setColumnIdentifiers(Vector)): Allow for null argument.
5559 (setColumnIdentifiers(Object[])): Added Javadocs.
5560 (setNumRows): Likewise.
5561 (setRowCount): Adds new rows if necessary, and sends more specific
5563 (setColumnCount): Allow for null columnIdentifiers.
5564 (addColumn(Object)): Added Javadocs.
5565 (addColumn(Object, Vector)): Handle null columnData.
5566 (addColumn(Object, Object[])): Handle columnData with more or less
5567 entries than rows in the table.
5568 (addRow(Vector)): Fire appropriate event.
5569 (addRow(Object[])): Added Javadocs.
5570 (insertRow(int, Vector)): Fire appropriate event.
5571 (insertRow(int, Object[])): Added Javadocs.
5572 (moveRow): Reimplemented.
5573 (removeRow(int)): Fire appropriate event.
5574 (getColumnCount): Allow for null columnIdentifiers.
5575 (getColumnName): Now returns empty string when column index is too
5577 (isCellEditable): Added Javadocs.
5578 (getValueAt): Likewise.
5579 (setValueAt): Fire more specific event.
5580 (convertToVector): Added Javadocs.
5581 * javax/swing/table/TableModel.java
5584 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5586 * libgcj.spec.in (lib): Add -l-javax-imageio.
5588 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5590 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
5591 references to event queue q with method call q().
5592 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
5593 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
5594 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
5595 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
5596 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
5597 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
5600 2005-02-15 Graydon Hoare <graydon@redhat.com>
5602 * gnu/java/awt/ClasspathToolkit.java
5603 (registerImageIOSpis): New method.
5604 * gnu/java/awt/image/ImageDecoder.java
5605 (imageDecoder): New constructor using InputStream
5606 (startProduction): Handle existing InputStream.
5607 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5608 (findSimpleIntegerArray): Make public and static.
5609 (updateBufferedImage): Set each pixel, in a loop.
5610 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5611 Implement ImageIO SPI classes.
5612 (createBufferedImage): Rewrite in terms of SPI classes.
5613 * gnu/java/awt/peer/gtk/GtkToolkit.java
5614 (registerImageIOSpis): New method.
5615 * java/lang/reflect/natMethod.cc
5616 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
5617 which lets JNI call interface methods properly.
5618 * javax/imageio/ImageIO.java
5619 (WriterFormatFilter.filter): Fix copy-and-paste typos.
5620 (WriterMIMETypeFilter.filter): Likewise.
5621 (ImageReaderIterator): Pass extension argument through to SPI.
5622 (getReadersByFilter): Likewise.
5623 (getWritersByFilter): Likewise.
5624 (getImageReadersByFormatName): Likewise.
5625 (getImageReadersByMIMEType): Likewise.
5626 (getImageReadersBySuffix): Likewise.
5627 (getImageWritersByFormatName): Likewise.
5628 (getImageWritersByMIMEType): Likewise.
5629 (getImageWritersBySuffix): Likewise.
5632 * javax/imageio/ImageReader.java
5633 (progressListeners): Initialize.
5634 (setInput): Implement.
5635 * javax/imageio/ImageWriter.java
5636 (progressListeners): Initialize.
5637 (warningListeners): Likewise.
5638 (warningLocales): Likewise.
5639 (setOutput): Test "isInstance" rather than class equality.
5640 * javax/imageio/spi/IIORegistry.java
5641 (static): Add reader and writer SPIs.
5642 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
5643 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5644 (query_formats): New function.
5645 (save_to_stream): Likewise.
5646 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
5648 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5650 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
5652 (keyPress): Likewise.
5653 (keyRelease): Likewise.
5655 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5657 * javax/swing/JTable.java
5658 (columnAtPoint): New Method. Implemented.
5659 (rowAtPoint): Likewise.
5660 (countSelections): Fixed few small count errors.
5661 (getSelections): Likewise.
5662 (setSelectionMode): Set selection mode for column
5663 selection model in addition to row selection model.
5664 * javax/swing/plaf/basic/BasicTableUI.java:
5665 (getRowForPoint): Removed. Replaced by
5666 JTable.rowAtPoint().
5667 (getColForPoint): Removed. Replaced by
5668 JTable.columnAtPoint().
5669 (updateSelection): Updated to call JTable.columnAtPoint
5670 and JTable.rowAtPoint.
5671 * javax/swing/table/DefaultTableColumnModel.java:
5672 (getSelectedColumns): Implemented.
5673 (getSelectedColumnCount): Implemented.
5675 2005-02-15 Graydon Hoare <graydon@redhat.com>
5678 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
5679 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
5680 * Makefile.in: Regenerate.
5681 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
5682 * gnu/awt/xlib/XFramePeer.java: Likewise.
5683 * gnu/awt/xlib/XToolkit.java: Likewise.
5684 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5685 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5686 * gnu/java/awt/ClasspathToolkit.java
5689 (iterateNativeQueue): New methods.
5690 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
5691 * gnu/java/awt/peer/gtk/GtkToolkit.java
5692 (gtkInit): Absorb from defunct GtkMainThread class.
5693 (static): Run gtkInit in static startup block.
5694 (GtkToolkit): Remove construction of GtkMainThread and queue.
5695 (getSystemEventQueueImpl): Construct queue when requested.
5698 (iterateNativeQueue): New methods.
5699 * java/awt/Component.java (removeNotify): Remove race.
5700 * java/awt/EventDispatchThread.java
5701 (EventDispatchThread): Don't start on construction.
5702 (run): Remove isInterrupted check.
5703 * java/awt/EventQueue.java (shutdown): New flag.
5704 (isShutdown): New method checking J2SE shutdown condition.
5705 (setShutdown): New method.
5706 (getNextEvent): Restructure to use ClasspathToolkit.
5707 (postEvent): Activate new thread on posting, wake thread on
5708 post of possible shutdown condition event.
5709 * java/awt/Frame.java
5710 (Frame): Call noteFrame in all constructors.
5711 (fireDummyEvent): New helper method.
5712 (addNotify): Fire a dummy event to wake up queue.
5713 (removeNotify): Fire a dummy event to wake up queue.
5714 (noteFrame): New method.
5715 (weakFrames): New static field.
5716 (getFrames): Implement.
5717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
5719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
5720 Move everything from GtkMainThread into this file
5721 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
5722 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
5723 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
5724 New functions to implement single-threaded queue semantics.
5726 2005-02-15 Michael Koch <konqueror@gmx.de>
5728 * javax/swing/plaf/metal/MetalLookAndFeel.java
5729 (getControlTextFont): New method.
5730 (getMenuTextFont): Likewise.
5731 (getSubTextFont): Likewise.
5732 (getSystemTextFont): Likewise.
5733 (getUserTextFont): Likewise.
5734 (getWindowTitleFont): Likewise.
5736 2005-02-15 Michael Koch <konqueror@gmx.de>
5738 * javax/swing/text/AbstractDocument.java
5739 (documentFilter): New field.
5740 (getDocumentFilter): New method.
5741 (setDocumentFilter): Likewise.
5744 2005-02-15 Michael Koch <konqueror@gmx.de>
5746 * javax/swing/JTree.java
5747 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
5749 2005-02-15 Michael Koch <konqueror@gmx.de>
5751 * javax/swing/text/AbstractDocument.java
5752 (AbstractElement.getLength): Fixed off-by-one error.
5753 (AbstractElement.children): Made abstract.
5754 (AbstractElement.getAllowsChildren): Likewise.
5755 (AbstractElement.getElement): Likewise.
5756 (AbstractElement.dumpElement): New private method.
5757 (AbstractElement.dump): New method.
5758 (BranchElememt.getName): Fixed implementation.
5759 (BranchElememt.toString): Likewise.
5760 (BranchElememt.getElement): Fixed arguments.
5761 (LeafElement.getName): Fixed implementation.
5762 (LeafElement.toString): Likewise.
5763 * javax/swing/text/GapContent.java
5764 (GapContent): Put default content into buffer.
5765 * javax/swing/text/PlainDocument.java
5766 (reindex): Use empty attribute sets instead of null.
5767 (createDefaultRoot): Reimplemented.
5768 (insertUpdate): Call super method.
5769 (removeUpdate): Likewise.
5770 (getParagraphElement): Implemented.
5772 2005-02-15 Michael Koch <konqueror@gmx.de>
5774 * gnu/java/awt/ClasspathToolkit.java
5775 (createRobot): Throws java.awt.AWTException.
5776 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
5777 Added '__attribute__((unused))' to all unused method arguments.
5779 2005-02-15 Michael Koch <konqueror@gmx.de>
5781 * javax/swing/DefaultBoundedRangeModel.java
5782 (fireValueChanged): Fixed off-by-one error.
5784 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5786 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
5787 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
5789 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
5790 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
5791 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
5792 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
5793 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5794 (getDefaultScreenDevice): Implement.
5795 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
5796 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
5797 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
5798 * java/awt/Robot.java: Implement.
5799 * java/awt/peer/RobotPeer.java: Rename parameters.
5800 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
5801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5802 (awt_keycode_to_keysym): Make non-static.
5803 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
5804 AWT_BUTTON3_MASK): Declare constants.
5805 (awt_keycode_to_keysym): Declare.
5807 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
5808 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
5809 and is non-empty pass its value to "make check".
5810 (test_mauve_sim): Likewise.
5812 2005-02-15 Michael Koch <konqueror@gmx.de>
5814 * javax/imageio/IIOParam.java
5815 (setSourceBands): New method.
5816 (setSourceSubsampling): Likewise.
5817 * javax/imageio/ImageReadParam.java
5818 (setDestination): Likewise.
5819 (setDestinationBands): Likewise.
5820 (setSourceProgressivePasses): Likewise.
5821 * javax/imageio/metadata/IIOInvalidTreeException.java
5822 (serialVersionUID): New static field.
5823 * javax/imageio/metadata/IIOMetadataNode.java
5824 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
5825 (parent): Dont initailize with default value explicitely.
5827 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
5828 (removeAttributeNode): Likewise.
5829 (removeAttributeNS): Likewise.
5830 (setAttribute): Likewise.
5831 (setAttributeNode): Likewise.
5832 (setAttributeNodeNS): Likewise.
5833 (setAttributeNS): Likewise.
5834 (appendChild): Likewise.
5835 (getNodeValue): Likewise.
5836 (insertBefore): Likewise.
5837 (removeChild): Likewise.
5838 (replaceChild): Likewise.
5839 (setPrefix): Likewise.
5841 2005-02-15 Michael Koch <konqueror@gmx.de>
5843 * javax/swing/LookAndFeel.java
5844 (getDesktopPropertyValue): New method.
5846 2005-02-15 Michael Koch <konqueror@gmx.de>
5848 * javax/swing/JTree.java
5849 (hasChildren): New instance field.
5851 2005-02-15 Michael Koch <konqueror@gmx.de>
5853 * javax/swing/JComponent.java
5854 (getToolTipText): New method.
5855 (getTitledBorderText): Likewise.
5856 (getAccessibleKeyBinding): Likewise.
5857 (getVerifyInputWhenFocusTarget): Likewise.
5858 (setVerifyInputWhenFocusTarget): Likewise.
5859 (verifyInputWhenFocusTarget): New instance field.
5861 2005-02-15 Michael Koch <konqueror@gmx.de>
5863 * javax/swing/DefaultListSelectionModel.java
5864 (fireValueChanged): New method.
5866 2005-02-15 Michael Koch <konqueror@gmx.de>
5868 * javax/swing/DefaultBoundedRangeModel.java:
5869 Fixed javadocs all over.
5870 (fireStateChanged): Simplified.
5871 * javax/swing/BoundedRangeModel.java:
5874 2005-02-15 Michael Koch <konqueror@gmx.de>
5876 * javax/swing/JRootPane.java
5877 (setMenuBar): Added @deprecated tag.
5878 (getMenuBar): Likewise.
5879 * javax/swing/JTable.java
5880 (sizeColumnsToFit): Likewise.
5882 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
5884 * javax/swing/ImageIcon.java (setImage): Implemented.
5886 2005-02-15 Michael Koch <konqueror@gmx.de>
5888 * javax/swing/JTable.java:
5889 Removed unused imports.
5891 2005-02-15 Olga Rodimina <rodimina@redhat.com>
5893 (prepareRenderer): Get column's index in dataModel instead
5894 of column's view index.
5895 (getColumnCount): return count of the columns in ColumnModel,
5897 (removeColumn): Implemented.
5898 (moveColumm): Likewise.
5899 (setRowHeight): throw IllegalArgumentException if height is
5901 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
5902 (DefaultTableColumnModel):Add call to createSelectionModel().
5903 (addColumn): Fire columnAdded event to registered listeners.
5904 (removeColumn): Fire columnRemoved event to registered listeners.
5905 (moveColumn): Fire columnMoved event to registered listeners.
5906 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
5907 (getColumnIndex): Changed parameter name.
5908 (setColumnSelectionAllowed): Likewise.
5909 (fireColumnAdded): Implemented.
5910 (fireColumnRemoved): Likewise.
5911 (fireColumnMoved): Likewise.
5912 (fireColumnMarginChanged): Likewise.
5913 (getListeners): Changed parameter name.
5914 (propertyChange): Implemented.
5915 (valueChanged): Changed parameter name.
5916 (createSelectionModel): Implemented.
5918 2005-02-15 Michael Koch <konqueror@gmx.de>
5920 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5921 Explicitely import used classes.
5922 (getLocalGraphicsEnvironment): Simplify.
5923 * java/awt/Window.java (Window):
5924 Enable code to get the default GraphicsConfiguration.
5926 2005-02-15 Michael Koch <konqueror@gmx.de>
5928 * javax/swing/plaf/metal/DefaultMetalTheme.java
5929 (CONTROL_TEXT_FONT): New static field.
5930 (MENU_TEXT_FONT): Likewise.
5931 (SUB_TEXT_FONT): Likewise.
5932 (SYSTEM_TEXT_FONT): Likewise.
5933 (USER_TEXT_FONT): Likewise.
5934 (WINDOW_TITLE_FONT): Likewise.
5935 (getControlTextFont): New method.
5936 (getMenuTextFont): Likewise.
5937 (getSubTextFont): Likewise.
5938 (getSystemTextFont): Likewise.
5939 (getUserTextFont): Likewise.
5940 (getWindowTitleFont): Likewise.
5941 * javax/swing/plaf/metal/MetalTheme.java
5942 (BLACK): Initialize with Color.BLACK.
5943 (WHITE): Initialize with Color.WHITE.
5944 (getInactiveControlTextColor): Return getControlDisabled().
5945 (getMenuDisabledForeground): Return getSecondary3().
5946 (getControlTextFont): New abstract method.
5947 (getMenuTextFont): Likewise.
5948 (getSubTextFont): Likewise.
5949 (getSystemTextFont): Likewise.
5950 (getUserTextFont): Likewise.
5951 (getWindowTitleFont): Likewise.
5953 2005-02-15 Michael Koch <konqueror@gmx.de>
5955 * javax/swing/JFormattedTextField.java
5956 (getFocusLostBehavior): Fixed typo in method name.
5957 (setFocusLostBehavior): Likewise.
5959 2005-02-15 Michael Koch <konqueror@gmx.de>
5961 * javax/swing/TransferHandler.java:
5962 Reworked import statements.
5964 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
5966 * java/awt/Button.java,
5967 java/awt/Canvas.java,
5968 java/awt/Checkbox.java,
5969 java/awt/CheckboxMenuItem.java,
5970 java/awt/Choice.java,
5971 java/awt/Dialog.java,
5972 java/awt/Frame.java,
5973 java/awt/Label.java,
5976 java/awt/MenuBar.java,
5977 java/awt/MenuItem.java,
5978 java/awt/PopupMenu.java,
5979 java/awt/ScrollPane.java,
5980 java/awt/Scrollbar.java,
5981 java/awt/TextArea.java,
5982 java/awt/Window.java (getAccessibleContext): Clean up comments.
5984 * java/awt/Button.java,
5985 java/awt/Checkbox.java,
5986 java/awt/Choice.java,
5988 java/awt/PopupMenu.java,
5989 java/awt/TextArea.java (getAccessibleContext): Only create new
5991 * java/awt/TextComponent.java (getAccessibleContext): Implement.
5993 2005-02-15 Michael Koch <konqueror@gmx.de>
5995 * java/awt/Button.java,
5996 javax/swing/JApplet.java,
5997 javax/swing/JFormattedTextField.java,
5998 javax/swing/JWindow.java,
5999 javax/swing/JTree.java,
6000 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6001 javax/swing/plaf/basic/BasicTextPaneUI.java,
6002 javax/swing/plaf/basic/BasicTreeUI.java:
6003 Reworked import statements.
6005 2005-02-15 Michael Koch <konqueror@gmx.de>
6007 * Makefile.am: Put javax.imageio into its own library and link it
6008 against lib-org-w3c-dom.la to fix bootstrapping.
6009 * Makefile.in: Regenerated.
6011 2005-02-15 Michael Koch <konqueror@gmx.de>
6013 * javax/swing/text/TextAction.java
6014 (getTextComponent): Simplified. Added Javadoc.
6015 (augmentList): Implemented. Added Javadoc.
6016 (getFocusedComponent): Added javadoc.
6018 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6020 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6021 getAccessibleContext): Implement.
6022 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6023 getAccessibleContext): Implement.
6025 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6027 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6029 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6031 * java/awt/Window.java (getAccessibleContext): Fix comment.
6032 Remove extra import.
6034 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6036 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6037 (isActive, isFocused, getAccessibleContext): Implement.
6039 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6041 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6042 * java/awt/MenuComponent.java (accessibleContext): Make package
6044 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6045 AccessibleAWTCheckboxMenuItem): Implement.
6047 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6049 * java/awt/List.java: Implement AccessibleAWTList,
6050 AccessibleAWTListChild.
6052 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6054 * java/awt/Choice.java: Add implements declaration for
6057 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6059 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6062 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6064 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6065 implemented interface list.
6067 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6069 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6070 * javax/imageio/metadata/IIOAttr.java: New class.
6071 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6072 * javax/imageio/metadata/IIONodeList.java: New class.
6073 * Makefile.am: Added new files.
6074 * Makefile.in: Regenerated.
6076 2005-02-15 Michael Koch <konqueror@gmx.de>
6078 * javax/swing/AbstractAction.java,
6079 javax/swing/AbstractCellEditor.java,
6080 javax/swing/AbstractListModel.java,
6081 javax/swing/DefaultBoundedRangeModel.java,
6082 javax/swing/DefaultButtonModel.java,
6083 javax/swing/DefaultCellEditor.java,
6084 javax/swing/DefaultComboBoxModel.java,
6085 javax/swing/DefaultDesktopManager.java,
6086 javax/swing/JMenu.java,
6087 javax/swing/JSlider.java,
6088 javax/swing/KeyStroke.java,
6089 javax/swing/OverlayLayout.java,
6090 javax/swing/ScrollPaneLayout.java,
6091 javax/swing/SizeRequirements.java,
6092 javax/swing/ViewportLayout.java:
6093 Made serialVersionUID private.
6095 2005-02-15 Michael Koch <konqueror@gmx.de>
6097 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6100 2005-02-15 Michael Koch <konqueror@gmx.de>
6102 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6104 2005-02-15 Michael Koch <konqueror@gmx.de>
6106 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6108 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6110 * java/awt/EventDispatchThread.java,
6111 java/awt/Toolkit.java:
6112 Don't catch java.lang.ThreadDeath.
6114 2005-02-15 Michael Koch <konqueror@gmx.de>
6116 * javax/swing/text/PasswordView.java
6117 (drawEchoCharacter): Added javadoc.
6118 (drawSelectedText): Likewise.
6119 (drawUnselectedText): Likewise.
6121 2005-02-15 Michael Koch <konqueror@gmx.de>
6123 * javax/swing/JRootPane.java
6124 (windowDecorationStyle): New field.
6125 (setMenuBar): New method.
6126 (getMenuBar): Likewise.
6127 (getWindowDecorationStyle): Likewise.
6128 (setWindowDecorationStyle): Likewise.
6130 2005-02-15 Michael Koch <konqueror@gmx.de>
6132 * javax/swing/DefaultListSelectionModel.java
6133 (leadAnchorNotificationEnabled): Made protected.
6135 2005-02-15 Michael Koch <konqueror@gmx.de>
6137 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6138 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6139 * Makefile.in: Regenerated.
6142 2005-02-15 Michael Koch <konqueror@gmx.de>
6144 * javax/swing/JFormattedTextField.java: Implemented.
6145 * javax/swing/JWindow.java
6146 (JWindow): New constructors.
6147 (initWindow): Renamed from initFrame.
6148 * javax/swing/UIDefaults.java
6149 (ActiveValue): Made interface static.
6150 (LazyValue): Likewise.
6151 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6152 (TitlePaneLayout.TitlePaneLayout): New constructor.
6153 * javax/swing/plaf/basic/BasicSliderUI.java
6154 (ChangeHandler): Made public.
6155 (FocusHandler): Likewise.
6156 (PropertyChangeHandler): Likewise.
6157 (ScrollListener): Likewise.
6158 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6159 (FocusHandler): Likewise.
6160 (MouseHandler): Likewise.
6161 * javax/swing/plaf/basic/BasicTextPaneUI.java
6162 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6163 * javax/swing/plaf/basic/BasicToolBarUI.java
6164 (BasicToolBarUI): Simplified. Reworked javadoc.
6165 (canDock): Simplified. Make public.
6166 (DockingListener): Made public.
6167 * javax/swing/text/JTextComponent.java
6168 (navigationFilter): New field.
6169 (getNavigationFilter): New method.
6170 (setNavigationFilter): Likewise.
6172 2005-02-15 Michael Koch <konqueror@gmx.de>
6174 * javax/swing/plaf/metal/MetalTheme.java
6175 (getControlTextColor): Return getControlInfo().
6176 (getHighlightedTextColor): Return getControlTextColor().
6178 2005-02-15 Michael Koch <konqueror@gmx.de>
6180 * javax/swing/plaf/basic/BasicButtonListener.java
6181 (BasicButtonListener): New constructor.
6182 * javax/swing/plaf/basic/BasicButtonUI.java
6183 (createButtonListener): Usw new BasicButtonListener constructor.
6185 2005-02-15 Michael Koch <konqueror@gmx.de>
6187 * javax/imageio/event/package.html,
6188 javax/imageio/metadata/package.html: New files.
6190 2005-02-15 Michael Koch <konqueror@gmx.de>
6192 * java/awt/image/MemoryImageSource.java: Reformatted.
6194 2005-02-15 Michael Koch <konqueror@gmx.de>
6196 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6198 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6200 * java/awt/color/ICC_Profile.java
6201 (finalize): Removed pointless field assignments.
6203 2005-02-15 Michael Koch <konqueror@gmx.de>
6205 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6206 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6207 * Makefile.in: Regenerated.
6209 2005-02-15 Michael Koch <konqueror@gmx.de>
6211 * javax/swing/text/DefaultStyledDocument.java: New file.
6212 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6213 * Makefile.in: Regenerated.
6215 2005-02-15 Michael Koch <konqueror@gmx.de>
6217 * javax/swing/JFileChooser.java
6218 (showDialog): Return CANCEL_OPTION for now.
6219 (showOpenDialog): Likewise.
6220 (showSaveDialog): Likewise.
6222 2005-02-15 Michael Koch <konqueror@gmx.de>
6224 * javax/swing/JApplet.java
6225 (HIDE_ON_CLOSE): Removed.
6226 (EXIT_ON_CLOSE): Likewise.
6227 (DISPOSE_ON_CLOSE): Likewise.
6228 (DO_NOTHING_ON_CLOSE): Likewise.
6229 (close_action): Likewise.
6230 (getDefaultCloseOperation): Likewise.
6231 (setDefaultCloseOperation): Likewise.
6232 (processWindowEvent): Likewise.
6233 (getPreferredSize): Simplified.
6234 * javax/swing/JInternalFrame.java
6235 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6237 * javax/swing/JWindow.java
6238 (HIDE_ON_CLOSE): Removed.
6239 (EXIT_ON_CLOSE): Likewise.
6240 (DISPOSE_ON_CLOSE): Likewise.
6241 (DO_NOTHING_ON_CLOSE): Likewise.
6242 (close_action): Likewise.
6243 (processKeyEvent): Likewise.
6244 (setDefaultCloseOperation): Likewise.
6245 (getPreferredSize): Simplified.
6247 2005-02-15 Michael Koch <konqueror@gmx.de>
6249 * javax/swing/JTextField.java
6250 (getPreferredSize): Re-implemented.
6252 2005-02-15 Michael Koch <konqueror@gmx.de>
6254 * javax/swing/JLabel.java
6255 (setDisplayedMnemonic): Use only upper case characters.
6256 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6257 PropertyChangeEvent after property got set to the new index.
6259 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6261 * javax/swing/JComboBox.java:
6262 (JComboBox): Removed selection of the
6263 first item in the model.
6265 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6267 * javax/swing/JComboBox.java
6268 added support for no item being selected
6269 (JComboBox): select first or nothing depending on element count
6270 (setModel): cleaned up unneeded "this." usage, added more
6271 docs, made exception behavior match that of the JDK
6272 (setLighWeightPopupEnabled): removed unneeded "this." usage
6274 (setMaximumRowCount): dito
6276 (setPrototypeDisplayValue): dito
6277 (getSelectedItem): simplified, added more user doc
6278 (setSelectedIndex): corrected exception behavior, added more user doc
6279 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6280 added performance warning to user doc
6281 (addItem): fixed exception behavior, added user doc
6282 (insertItemAt): dito
6284 (removeItemAt): dito
6285 (removeAll): fixed exception behavior, added user doc, added support
6286 for model not being instance of DefaultComboBoxModel
6287 (getSelectedItemObjects): simplified
6288 (getItemCount): fixed dependency on DefaultComboBoxModel
6289 (getItemAt): fixed dependency on MutableComboBoxModel
6290 * javax/swing/DefaultComboBoxModel.java:
6291 (setSelectedItem): updates selected item only if new
6292 value is null or known (match JDK behavior)
6293 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6294 (paintCurrentValue): renders "" if no item is selected
6296 2005-02-15 Michael Koch <konqueror@gmx.de>
6298 * javax/swing/plaf/metal/MetalTheme.java,
6299 javax/swing/plaf/metal/DefaultMetalTheme.java:
6301 * javax/swing/plaf/metal/MetalLookAndFeel.java
6302 * Makefile.am: Added the new files.
6303 * Makefile.in: Regenerated.
6305 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6307 * javax/swing/JTable.java
6308 (editorComp): New field.
6309 (JTable): Initialize local variables and call updateUI
6310 (selectionBackground): Make protected.
6311 (selectionForeground): Likewise.
6312 (initializeLocalVars): Create default editors and renderers,
6313 initialize editingColumn, editingRow variables.
6314 (createDefaultEditors): New Method.
6315 (createDefaultRenderers): Likewise.
6316 (createDefaultListSelectionModel): Removed
6317 (createDefaultSelectionModel): New Method.
6318 (createDefaultTableHeader): Likewise
6319 (removeColumn): Likewise.
6320 (getEditingColumn): Likewise.
6321 (setEditingColumn): Likewise.
6322 (getEditingRow): Likewise.
6323 (setEditingRow): Likewise.
6324 (getEditorComponent): Likewise.
6325 (isEditing): Likewise.
6326 (setDefaultEditor): Likewise.
6327 (addColumnSelectionInterval): Likewise.
6328 (addRowSelectionInterval): Likewise.
6329 (setColumnSelectionInterval): Likewise.
6330 (setRowSelectionInterval): Likewise.
6331 (removeColumnSelectionInterval): Likewise.
6332 (removeRowSelectionInterval): Likewise.
6333 (isColumnSelected): Likewise.
6334 (isRowSelected): Likewise.
6335 (isCellSelected): Likewise.
6336 (selectAll): Likewise.
6338 2005-02-15 Michael Koch <konqueror@gmx.de>
6340 * javax/swing/JTable.java
6341 (addColumn): New method.
6342 (getColumnClass): Likewise.
6343 (getColumnName): Likewise.
6345 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6347 * javax/swing/TransferHandler.java
6348 (createTransferable): Made protected.
6350 2005-02-15 Michael Koch <konqueror@gmx.de>
6352 * javax/swing/JTable.java,
6353 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6354 javax/swing/plaf/basic/BasicTableUI.java:
6355 Use fixed get/setIntercellSpacing() methods.
6357 2005-02-15 Michael Koch <konqueror@gmx.de>
6359 * javax/swing/JTable.java
6360 (getIntercellSpacing): Fixed typo in method name.
6361 (setIntercellSpacing): Likewise.
6363 2005-02-15 Michael Koch <konqueror@gmx.de>
6365 * javax/swing/text/JTextComponent.java
6366 (focusAccelerator): New variable.
6367 (getFocusAccelerator): New method.
6368 (setFocusAccelerator): Likewise.
6370 2005-02-15 Michael Koch <konqueror@gmx.de>
6372 * javax/swing/JComponent.java
6373 (setTransferHandler): Made public. Fire property change event.
6374 * javax/swing/TransferHandler.java: Implemented.
6375 * javax/swing/text/JTextComponent.java
6376 (DefaultTransferHandler): New inner class.
6377 (defaultTransferHandler): New variable.
6381 (doTransferAction): Likewise.
6383 2005-02-15 Michael Koch <konqueror@gmx.de>
6385 * javax/swing/JTree.java
6386 (collapsePath): New method.
6387 (collapseRow): Likewise.
6388 (expandPath): Likewise.
6389 (expandRow): Likewise.
6390 (checkExpandParents): Likewise.
6391 (doExpandParents): Likewise.
6392 (setExpandedState): Likewise.
6393 (makeVisible): Likewise.
6395 2005-02-15 Michael Koch <konqueror@gmx.de>
6397 * javax/swing/JPasswordField.java: Updated javadocs.
6399 2005-02-15 Michael Koch <konqueror@gmx.de>
6401 * javax/swing/JLayeredPane.java
6402 (getLayer): Fixed return type, made public.
6403 (getPosition): Use new getLayer().
6404 (SetPosition): Likewise.
6405 (getIndexOf): Likewise.
6407 * javax/swing/JInternalFrame.java
6408 (getLayer): Use new JLayeredPane.getLayer().
6411 2005-02-15 Michael Koch <konqueror@gmx.de>
6413 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6414 (setHeaderValue): Simplified. Do nothing when old value == new value.
6416 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6418 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6419 against null clip region.
6420 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6421 gtkWindowSetResizable.
6422 (postConfigureEvent): Only revalidate if frame size has changed.
6423 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6424 Only revalidate if frame size has changed.
6425 * java/awt/Component.java (reshape): Only repaint and post
6426 component events if component is showing.
6427 * java/awt/Container.java (addImpl): Only post container event if
6428 container is showing.
6430 * java/awt/Window.java (setLocationRelativeTo): Implement.
6431 (setBoundsCallback): Only post component events if component is
6433 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6434 Protect against null graphics structure. Flush gdk event queue.
6436 2005-02-15 Michael Koch <konqueror@gmx.de>
6438 * javax/imageio/ImageReader.java,
6439 javax/imageio/ImageTranscoder.java,
6440 javax/imageio/ImageWriter.java,
6441 javax/imageio/spi/ImageInputStreamSpi.java,
6442 javax/imageio/spi/ImageOutputStreamSpi.java,
6443 javax/imageio/spi/ServiceRegistry.java,
6444 javax/imageio/stream/ImageInputStream.java,
6445 javax/imageio/stream/ImageOutputStream.java: Updated.
6446 * javax/imageio/IIOException.java,
6447 javax/imageio/IIOImage.java,
6448 javax/imageio/IIOParam.java,
6449 javax/imageio/IIOParamController.java,
6450 javax/imageio/ImageIO.java,
6451 javax/imageio/ImageReadParam.java,
6452 javax/imageio/ImageTypeSpecifier.java,
6453 javax/imageio/ImageWriteParam.java,
6454 javax/imageio/spi/IIORegistry.java,
6455 javax/imageio/spi/ImageReaderSpi.java,
6456 javax/imageio/spi/ImageWriterSpi.java,
6457 javax/imageio/stream/FileCacheImageInputStream.java,
6458 javax/imageio/stream/FileCacheImageOutputStream.java,
6459 javax/imageio/stream/FileImageInputStream.java,
6460 javax/imageio/stream/FileImageOutputStream.java,
6461 javax/imageio/stream/ImageInputStreamImpl.java,
6462 javax/imageio/stream/ImageOutputStreamImpl.java,
6463 javax/imageio/stream/MemoryCacheImageInputStream.java,
6464 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6465 javax/imageio/event/IIOReadProgressListener.java,
6466 javax/imageio/event/IIOReadUpdateListener.java,
6467 javax/imageio/event/IIOReadWarningListener.java,
6468 javax/imageio/event/IIOWriteProgressListener.java,
6469 javax/imageio/event/IIOWriteWarningListener.java,
6470 javax/imageio/metadata/IIOMetadata.java,
6471 javax/imageio/metadata/IIOMetadataController.java,
6472 javax/imageio/metadata/IIOMetadataFormat.java,
6473 javax/imageio/metadata/IIOInvalidTreeException.java,
6474 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6475 javax/imageio/metadata/IIOMetadataNode.java: New files.
6476 * Makefile.am (javax_source_files): Added new files
6477 * Makefile.in: Regenerated.
6479 2005-02-15 Graydon Hoare <graydon@redhat.com>
6481 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6482 Rework painting into BufferedImages
6483 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6484 Construct BufferedImage with alpha only when alpha is
6485 present in colormodel.
6486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6487 Rework painting into client-side jint arrays.
6488 * jni/gtk-peer/gtkcairopeer.h:
6491 2005-02-15 Michael Koch <konqueror@gmx.de>
6493 * javax/swing/DefaultListCellRenderer.java
6494 (serialVersionUID): Made private.
6495 (getListCellRendererComponent): Set horizontal alignment.
6496 * javax/swing/JLabel.java
6497 (setVerticalAlignment): Re-implemented.
6498 (setHorizontalAlignment): Do nothing if old value = new value.
6499 * javax/swing/JList.java
6500 (setCellRenderer): Likewise.
6501 (setModel): Re-implemented.
6502 (setSelectionModel): Likewise.
6504 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6506 * java/awt/Component.java,
6507 java/awt/geom/Rectangle2D.java:
6510 2005-02-15 Michael Koch <konqueror@gmx.de>
6512 * javax/swing/AbstractListModel.java
6513 (fireContentsChanged): Simplified.
6514 (fireIntervalAdded): Likewise.
6515 (fireIntervalRemoved): Likewise.
6516 * javax/swing/DefaultSingleSelectionModel.java:
6518 (fireStateChanged): Simplified.
6519 * javax/swing/JPopupMenu.java
6520 (setSelectionModel): Set property.
6522 2005-02-15 Michael Koch <konqueror@gmx.de>
6524 * java/awt/print/Book.java: Reformatted.
6526 2005-02-15 Michael Koch <konqueror@gmx.de>
6528 * java/awt/geom/Area.java
6529 (QuadSegment.curveArea): Remove unused variables.
6530 (CubicSegment.curveArea): Likewise.
6532 2005-02-15 Michael Koch <konqueror@gmx.de>
6534 * javax/swing/JTree.java
6535 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
6536 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6537 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6538 (EXPANDED): New constant.
6539 (COLLAPSED): Likewise.
6540 (nodeStates): New field.
6541 (cellEditor): New method.
6542 (cellRenderer): Likewise.
6543 (selectionModel): Likewise.
6544 (treeModel): Likewise.
6545 (scrollPathToVisible): Likewise.
6546 (scrollRowToVisible): Likewise.
6547 (isCollapsed): Likewise.
6548 (isExpanded): Likewise.
6549 (clearToggledPaths): Likewise.
6550 (getDescendantToggledPaths): Likewise.
6551 (hasBeenExpanded): Likewise.
6552 (isVisible): Likewise.
6553 (isPathEditable): Likewise.
6555 2005-02-15 Michael Koch <konqueror@gmx.de>
6557 * javax/swing/JLayeredPane.java: Reformatted.
6559 2005-02-15 Michael Koch <konqueror@gmx.de>
6561 * javax/swing/tree/DefaultMutableTreeNode.java:
6563 * javax/swing/tree/MutableTreeNode.java:
6566 2005-02-15 Michael Koch <konqueror@gmx.de>
6568 * javax/swing/JFormattedTextField.java
6569 (setDocument): Call setDocument of super class. Don't fire property
6572 2005-02-15 Sven de Marothy <sven@physto.se>
6574 * java/awt/image/IndexColorModel.java:
6575 Add FIXME with respect to alpha handling.
6576 (getAlpha): Default to returning opaque pixels.
6577 * java/awt/image/MultiPixelPackedSampleModel.java
6578 (MultiPixelPackedSampleModel): Corrected parameters, order of
6579 bit shifts and masks, stride length off by one.
6581 2005-02-15 Michael Koch <konqueror@gmx.de>
6583 * javax/swing/JList.java, javax/swing/JTree.java:
6584 Added much new methods and fixed much methods setting bound properties.
6586 2005-02-16 Mark Wielaard <mark@klomp.org>
6588 * Makefile.am (gnu_xml_source_files): Removed
6589 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
6590 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
6591 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
6592 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
6593 gnu/xml/dom/DomDocumentFragment.java,
6594 gnu/xml/dom/DomProcessingInstruction.java and
6595 gnu/xml/dom/ls/DomLSException.java.
6596 * Makefile.in: Regenerated.
6598 2005-02-16 Tom Tromey <tromey@redhat.com>
6600 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
6601 attribute index is out of bounds.
6603 2005-02-16 Chris Burdess <dog@gnu.org>
6605 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
6606 isDeclared methods. Improved performance of isSpecified methods.
6608 2005-02-16 Chris Burdess <dog@gnu.org>
6610 Fixes bug libgcj/19864
6611 * gnu/xml/dom/DomAttr.java,
6612 gnu/xml/dom/DomCDATA.java,
6613 gnu/xml/dom/DomCDATASection.java,
6614 gnu/xml/dom/DomCharacterData.java,
6615 gnu/xml/dom/DomDOMException.java,
6616 gnu/xml/dom/DomDoctype.java,
6617 gnu/xml/dom/DomDocument.java,
6618 gnu/xml/dom/DomDocumentConfiguration.java,
6619 gnu/xml/dom/DomDocumentFragment.java,
6620 gnu/xml/dom/DomElement.java,
6621 gnu/xml/dom/DomEx.java,
6622 gnu/xml/dom/DomFragment.java,
6623 gnu/xml/dom/DomImpl.java,
6624 gnu/xml/dom/DomIterator.java,
6625 gnu/xml/dom/DomNamedNodeMap.java,
6626 gnu/xml/dom/DomNode.java,
6627 gnu/xml/dom/DomNsNode.java,
6628 gnu/xml/dom/DomPI.java,
6629 gnu/xml/dom/DomProcessingInstruction.java,
6630 gnu/xml/dom/DomText.java,
6631 gnu/xml/dom/DomLSEx.java,
6632 gnu/xml/dom/DomLSException.java,
6633 gnu/xml/dom/DomLSParser.java,
6634 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
6635 implementation class names to conform to Classpath guidelines. Make
6636 DomLSException use JDK 1.4+ exception chaining.
6637 * gnu/xml/util/SAXNullTransformerFactory.java,
6638 gnu/xml/xpath/Predicate.java: Use constants relative to
6639 declaring class or interface.
6641 2005-02-16 Andrew Haley <aph@redhat.com>
6643 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
6644 null, create a new AccessControlContext.
6645 * java/security/SecureClassLoader.java (protectionDomainCache):
6647 (defineClass): Create a new protection domain and add it to our
6650 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
6651 addStub() to keep track of the stub we've exported.
6652 (unexportObject): Call deleteStub().
6653 * java/rmi/server/RemoteObject.java (stubs): New field.
6654 (addStub): New method.
6655 (deleteStub): New method.
6658 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
6659 true to findHelper (tryParents).
6660 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
6662 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
6663 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
6665 If tryParents is false, don't scan parent class loaders.
6667 * java/security/Permissions.java (PermissionsHash.implies):
6668 Iterate over the collection and invoke implies() on each
6671 2005-02-16 Andrew Haley <aph@redhat.com>
6673 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
6675 (PersistentByteMap): Set name
6676 Magic number changed to 0x67636a64 ("gcjd").
6677 (init): Force the map to be prime.
6678 (emptyPersistentByteMap): File name was a string, now a File.
6679 (addBytes): Share srings between entries.
6680 (stringTableSize): New method.
6681 (capacity): Scale by load factor.
6682 (force): New method.
6683 (getFile): New method.
6684 (close): New method.
6685 (putAll): New method.
6686 (ByteWrapper): New class.
6687 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
6688 (main): Guess the average string size as 32, not 64.
6689 Copy a database before modifying it, so that we can update a
6690 database in a running system.
6691 If a database isn't big enough, resize it.
6692 "-m": new option: merges databases.
6693 "-a": Create a new detabase if it doesn't exist.
6694 (usage): Correct, add new option.
6695 (addJar): Copy a database before modifying it.
6696 (resizeMap): New method.
6698 2005-02-15 David Daney <ddaney@avtrex.com>
6699 Bryce McKinlay <mckinlay@redhat.com>
6701 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
6702 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
6703 ensure that GC threads inherit the new signal mask.
6704 (block_sigchld): Call JvFail rather than throwing exception if
6705 pthread_sigmask() fails.
6707 2005-02-15 Mark Wielaard <mark@klomp.org>
6709 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
6710 file path elements are separated by spaces.
6712 2005-02-15 Mark Wielaard <mark@klomp.org>
6714 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
6715 to describe attributes without a constant field value in this class.
6717 2005-02-15 Michael Koch <konqueror@gmx.de>
6719 * java/util/jar/Attributes.java
6720 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
6722 2005-02-15 Mark Wielaard <mark@klomp.org>
6724 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
6725 space for parsing CLASS_PATH attribute.
6727 2005-02-15 Mark Wielaard <mark@klomp.org>
6729 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
6730 aside for "GCJLIBS" in directory where jarfiles are loaded.
6731 (JarURLLoader.getClass): Removed method.
6732 (JarURLLoader.toString): Removed method.
6733 (FileResource.toString): Removed method.
6735 2005-02-15 Mark Wielaard <mark@klomp.org>
6737 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
6738 and/or cause before throwing.
6740 2005-02-15 Richard Henderson <rth@redhat.com>
6742 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
6743 (libgcj0_convenience_la_SOURCES): ... here.
6744 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
6745 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
6746 * Makefile.in: Regenerate.
6748 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6751 * include/jawt.h: Likewise.
6752 * include/jawt_md.h: Likewise.
6753 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
6755 * include/Makefile.in: Regenerate.
6756 * jni/classpath/classpath_jawt.h: Likewise.
6757 * jni/gtk-peer/gtk_jawt.c: Likewise.
6758 * Makefile.am: Build libjawt.so.
6759 * Makefile.in: Regenerate.
6761 2005-02-14 Tom Tromey <tromey@redhat.com>
6763 * testsuite/libjava.lang/PR19921.java: Use correct class name.
6765 2005-02-14 Tom Tromey <tromey@redhat.com>
6767 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
6768 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
6770 2005-02-14 Tom Tromey <tromey@redhat.com>
6773 * testsuite/libjava.lang/PR19929.out: New file.
6774 * testsuite/libjava.lang/PR19929.java: New file.
6776 2005-02-14 Anthony Green <green@redhat.com>
6779 * testsuite/libjava.jni/PR18116.c: New file.
6780 * testsuite/libjava.jni/PR18116.java: New file.
6781 * testsuite/libjava.jni/PR18116.out: New file.
6783 2005-02-13 Anthony Green <green@redhat.com>
6786 * jni.cc (nathash_add): Don't strdup the method signature.
6787 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
6791 2005-02-12 Mark Wielaard <mark@klomp.org>
6793 Fixes bug libgcj/8170
6794 * java/lang/ClassLoader.java (loadClass): Don't rewrap
6795 ClassNotFoundException.
6796 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
6797 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
6798 (remove_internal): New field superceding remove_interpreter.
6799 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
6800 Remove no-class methods starting with "_Jv_". And Replace null
6801 class or method names with the empty string. Stop at either the
6802 MainThread or a real Thread run() method.
6803 (newElement): Made static.
6804 * java/net/URLClassLoader.java (findClass): Throw
6805 ClassNotFoundExceptions including urls, plus parent using toString().
6806 (thisString): New field.
6807 (toString): New method.
6809 2005-02-10 Tom Tromey <tromey@redhat.com>
6811 * external/sax/Makefile.in: Rebuilt.
6812 * external/sax/Makefile.am (all-local): Removed.
6813 (BUILT_SOURCES): New variable.
6814 (mostlyclean-local): No error if no classes to delete.
6815 * external/w3c_dom/Makefile.in: Rebuilt.
6816 * external/w3c_dom/Makefile.am (all-local): Removed.
6817 (BUILT_SOURCES): New variable.
6818 (mostlyclean-local): No error if no classes to delete.
6820 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
6822 * testsuite/libjava.mauve/xfails: Updated to reflect current state
6823 of mauve and libjava.
6825 2005-02-09 Tom Tromey <tromey@redhat.com>
6827 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
6828 jar file with OPEN_DELETE.
6829 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
6830 OPEN_DELETE is used.
6832 2005-02-09 Tom Tromey <tromey@redhat.com>
6834 * java/util/zip/InflaterInputStream.java (markSupported):
6836 (mark, reset): Likewise.
6838 2005-02-08 Tom Tromey <tromey@redhat.com>
6840 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
6841 name or port is missing.
6842 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
6843 AUTHORITY_PORT_GROUP): Updated.
6845 2005-02-08 Tom Tromey <tromey@redhat.com>
6847 * configure: Rebuilt.
6848 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
6851 2005-02-07 Tom Tromey <tromey@redhat.com>
6853 * java/lang/natRuntime.cc (insertSystemProperties): Set
6854 sun.boot.class.path earlier.
6856 2005-02-07 Tom Tromey <tromey@redhat.com>
6858 * defineclass.cc (handleClassBegin): Use
6859 _Jv_RegisterInitiatingLoader.
6860 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
6861 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
6862 class. Use _Jv_UnregisterInitiatingLoader.
6863 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
6866 2005-02-07 Mark Wielaard <mark@klomp.org>
6868 Reported by Timo Lindfors <timo.lindfors@iki.fi>
6869 java/util/regex/Matcher.java (lookingAt): Set position when match
6871 (matches): Implemented through lookingAt().
6873 2005-02-07 Mark Wielaard <mark@klomp.org>
6875 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
6876 * java/util/regex/Pattern.java (split(CharSequence,int)):
6877 Fix while empties > 0 loops.
6879 2005-02-07 Robert Schuster <thebohemian@gmx.net>
6881 * gnu/java/nio/charset/ISO_8859_1.java,
6882 gnu/java/nio/charset/US_ASCII.java,
6883 gnu/java/nio/charset/UTF_16.java,
6884 gnu/java/nio/charset/UTF_16_LE.java,
6885 gnu/java/nio/charset/UTF_16_BE.java,
6886 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
6887 and aliases according to
6888 "http://www.iana.org/assignments/character-sets",
6889 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
6890 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
6891 * gnu/java/nio/charset/Provider.java: Made charset lookup
6892 case-insensitive which fixes bug #11740.
6894 2005-02-07 Tom Tromey <tromey@redhat.com>
6897 * Makefile.in: Rebuilt.
6898 * Makefile.am (src.zip): New target.
6899 (install-src.zip): Likewise.
6900 (sourcesdir): New variable.
6902 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
6904 * javax/imageio/metadata/IIOMetadataNode.java:
6906 * javax/imageio/metadata/IIOAttr.java,
6907 javax/imageio/metadata/IIONamedNodeMap.java,
6908 javax/imageio/metadata/IIONodeList.java:
6911 2005-02-06 Graydon Hoare <graydon@redhat.com>
6913 * gnu/java/awt/ClasspathToolkit.java
6914 (registerImageIOSpis): New method.
6915 * javax/imageio/ImageIO.java
6916 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6917 (WriterMIMETypeFilter.filter): Likewise.
6918 (ImageReaderIterator): Pass extension argument through to SPI.
6919 (getReadersByFilter): Likewise.
6920 (getWritersByFilter): Likewise.
6921 (getImageReadersByFormatName): Likewise.
6922 (getImageReadersByMIMEType): Likewise.
6923 (getImageReadersBySuffix): Likewise.
6924 (getImageWritersByFormatName): Likewise.
6925 (getImageWritersByMIMEType): Likewise.
6926 (getImageWritersBySuffix): Likewise.
6929 * javax/imageio/ImageReader.java
6930 (progressListeners): Initialize.
6931 (setInput): Implement.
6932 * javax/imageio/ImageWriter.java
6933 (progressListeners): Initialize.
6934 (warningListeners): Likewise.
6935 (warningLocales): Likewise.
6936 (setOutput): Test "isInstance" rather than class equality.
6937 * javax/imageio/spi/IIORegistry.java
6938 (static): Add reader and writer SPIs.
6939 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6941 2005-02-06 Michael Koch <konqueror@gmx.de>
6943 * javax/imageio/metadata/IIOInvalidTreeException.java
6944 (IIOInvalidTreeException): Reformatted.
6945 * javax/imageio/spi/IIORegistry.java
6946 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
6947 * javax/imageio/stream/MemoryCacheImageInputStream.java:
6948 Reworked import statements.
6950 2005-02-06 Michael Koch <konqueror@gmx.de>
6952 * javax/imageio/stream/FileImageOutputStream.java:
6955 2005-02-06 Michael Koch <konqueror@gmx.de>
6957 * javax/imageio/stream/FileCacheImageInputStream.java,
6958 javax/imageio/stream/FileCacheImageOutputStream.java,
6959 javax/imageio/stream/FileImageInputStream.java,
6960 javax/imageio/stream/ImageInputStreamImpl.java,
6961 javax/imageio/stream/ImageOutputStreamImpl.java,
6962 javax/imageio/stream/MemoryCacheImageInputStream.java,
6963 javax/imageio/stream/MemoryCacheImageOutputStream.java:
6964 Added all missing methods in javax.imageio.stream.
6966 2005-02-02 David Daney <ddaney@avtrex.com>
6968 * java/net/InetAddress.java (InetAddress): Make a private copy of
6970 * java/net/Inet4Address.java (getAddress): Return a copy of the
6972 * java/net/Inet6Address.java (Inet6Address): Use private copy of
6974 (getAddress): Return a copy of the address.
6977 2005-02-02 Tom Tromey <tromey@redhat.com>
6979 * Makefile.in: Rebuilt.
6980 * Makefile.am (classes.stamp): New target, broken out from
6982 ($(all_java_class_files)): Depend on it.
6983 (libgcj-@gcc_version@.jar): Likewise.
6984 (all-recursive): Likewise.
6985 (CLEANFILES): Include classes.stamp.
6987 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
6989 * link.cc: Include <stdio.h>
6991 2005-02-02 Tom Tromey <tromey@redhat.com>
6994 * Makefile.in: Rebuilt.
6995 * Makefile.am (ordinary_java_source_files): Added new class.
6996 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
6997 Use system_instance, not instance.
6998 * gnu/gcj/runtime/SystemClassLoader.java: New file.
6999 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7001 (system_instance): New field.
7002 (initialize): Initialize the system loader as well.
7003 (VMClassLoader): Default to LIB_CACHE.
7005 2005-02-02 Tom Tromey <tromey@redhat.com>
7007 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7008 * prims.cc: Fixed comment.
7010 2005-02-01 Tom Tromey <tromey@redhat.com>
7012 * Makefile.in: Rebuilt.
7013 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7014 (.java.class): Use BOOTCLASSPATH.
7016 2005-02-01 Tom Tromey <tromey@redhat.com>
7018 * external/w3c_dom/Makefile.am: New file.
7019 * external/w3c_dom/Makefile.in: New file.
7020 * external/sax/Makefile.am: New file.
7021 * external/sax/Makefile.in: New file.
7022 * external/Makefile.in: New file.
7023 * external/Makefile.am: New file.
7024 * external/README: New file from Classpath.
7025 * configure, aclocal.m4, Makefile.in: Rebuilt.
7026 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7027 * Makefile.am (SUBDIRS): Added external.
7028 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7029 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7030 (BOOTCLASSPATH): New variable.
7031 (AM_GCJFLAGS): Use it.
7032 (gnu_xml_source_files): New variable.
7033 (libgcj_la_SOURCES): Use it.
7034 (libgcj_la_LDADD): Include new convenience libraries.
7035 (lib_org_ietf_jgss_la_SOURCES): Removed.
7036 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7037 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7038 (lib_org_w3c_dom_la_SOURCES): Removed.
7039 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7040 (lib_org_w3c_dom_la_LIBADD): Likewise.
7041 (lib_org_xml_sax_la_SOURCES): Removed.
7042 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7043 (lib_org_xml_sax_la_LIBADD): Likewise.
7044 (all_java_source_files): Updated.
7045 (property_files): Likewise.
7046 (libgcj-@gcc_version@.jar): Include classes from external/.
7047 (javax_source_files): Updated.
7048 (ordinary_java_source_files): Updated.
7049 * javax/xml/XMLConstants.java,
7050 javax/xml/datatype/DatatypeConfigurationException.java,
7051 javax/xml/datatype/DatatypeConstants.java,
7052 javax/xml/datatype/DatatypeFactory.java,
7053 javax/xml/datatype/Duration.java,
7054 javax/xml/datatype/XMLGregorianCalendar.java,
7055 javax/xml/datatype/package.html,
7056 javax/xml/namespace/NamespaceContext.java,
7057 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7058 javax/xml/parsers/DocumentBuilder.java,
7059 javax/xml/parsers/DocumentBuilderFactory.java,
7060 javax/xml/parsers/FactoryConfigurationError.java,
7061 javax/xml/parsers/ParserConfigurationException.java,
7062 javax/xml/parsers/SAXParser.java,
7063 javax/xml/parsers/SAXParserFactory.java,
7064 javax/xml/parsers/package.html,
7065 javax/xml/transform/ErrorListener.java,
7066 javax/xml/transform/OutputKeys.java,
7067 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7068 javax/xml/transform/SourceLocator.java,
7069 javax/xml/transform/Templates.java,
7070 javax/xml/transform/Transformer.java,
7071 javax/xml/transform/TransformerConfigurationException.java,
7072 javax/xml/transform/TransformerException.java,
7073 javax/xml/transform/TransformerFactory.java,
7074 javax/xml/transform/TransformerFactoryConfigurationError.java,
7075 javax/xml/transform/URIResolver.java,
7076 javax/xml/transform/package.html,
7077 javax/xml/transform/dom/DOMLocator.java,
7078 javax/xml/transform/dom/DOMResult.java,
7079 javax/xml/transform/dom/DOMSource.java,
7080 javax/xml/transform/dom/package.html,
7081 javax/xml/transform/sax/SAXResult.java,
7082 javax/xml/transform/sax/SAXSource.java,
7083 javax/xml/transform/sax/SAXTransformerFactory.java,
7084 javax/xml/transform/sax/TemplatesHandler.java,
7085 javax/xml/transform/sax/TransformerHandler.java,
7086 javax/xml/transform/sax/package.html,
7087 javax/xml/transform/stream/StreamResult.java,
7088 javax/xml/transform/stream/StreamSource.java,
7089 javax/xml/transform/stream/package.html,
7090 javax/xml/validation/Schema.java,
7091 javax/xml/validation/SchemaFactory.java,
7092 javax/xml/validation/TypeInfoProvider.java,
7093 javax/xml/validation/Validator.java,
7094 javax/xml/validation/ValidatorHandler.java,
7095 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7096 javax/xml/xpath/XPathConstants.java,
7097 javax/xml/xpath/XPathException.java,
7098 javax/xml/xpath/XPathExpression.java,
7099 javax/xml/xpath/XPathExpressionException.java,
7100 javax/xml/xpath/XPathFactory.java,
7101 javax/xml/xpath/XPathFactoryConfigurationException.java,
7102 javax/xml/xpath/XPathFunction.java,
7103 javax/xml/xpath/XPathFunctionException.java,
7104 javax/xml/xpath/XPathFunctionResolver.java,
7105 javax/xml/xpath/XPathVariableResolver.java,
7106 javax/xml/xpath/package.html: New files, from GNU JAXP.
7107 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7108 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7109 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7110 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7111 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7112 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7113 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7114 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7115 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7116 org/w3c/dom/ranges/DocumentRange.java,
7117 org/w3c/dom/ranges/Range.java,
7118 org/w3c/dom/ranges/RangeException.java,
7119 org/w3c/dom/traversal/DocumentTraversal.java,
7120 org/w3c/dom/traversal/NodeFilter.java,
7121 org/w3c/dom/traversal/NodeIterator.java,
7122 org/w3c/dom/traversal/TreeWalker.java,
7123 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7124 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7125 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7126 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7127 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7128 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7129 org/xml/sax/SAXNotRecognizedException.java,
7130 org/xml/sax/SAXNotSupportedException.java,
7131 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7132 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7133 org/xml/sax/ext/DeclHandler.java,
7134 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7135 org/xml/sax/helpers/AttributeListImpl.java,
7136 org/xml/sax/helpers/AttributesImpl.java,
7137 org/xml/sax/helpers/DefaultHandler.java,
7138 org/xml/sax/helpers/LocatorImpl.java,
7139 org/xml/sax/helpers/NamespaceSupport.java,
7140 org/xml/sax/helpers/NewInstance.java,
7141 org/xml/sax/helpers/ParserAdapter.java,
7142 org/xml/sax/helpers/ParserFactory.java,
7143 org/xml/sax/helpers/XMLFilterImpl.java,
7144 org/xml/sax/helpers/XMLReaderAdapter.java,
7145 org/xml/sax/helpers/XMLReaderFactory.java,
7146 org/xml/sax/helpers/package.html: Moved to external/.
7147 * external/sax/README,
7148 external/sax/org/xml/sax/AttributeList.java,
7149 external/sax/org/xml/sax/Attributes.java,
7150 external/sax/org/xml/sax/ContentHandler.java,
7151 external/sax/org/xml/sax/DTDHandler.java,
7152 external/sax/org/xml/sax/DocumentHandler.java,
7153 external/sax/org/xml/sax/EntityResolver.java,
7154 external/sax/org/xml/sax/ErrorHandler.java,
7155 external/sax/org/xml/sax/HandlerBase.java,
7156 external/sax/org/xml/sax/InputSource.java,
7157 external/sax/org/xml/sax/Locator.java,
7158 external/sax/org/xml/sax/Parser.java,
7159 external/sax/org/xml/sax/SAXException.java,
7160 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7161 external/sax/org/xml/sax/SAXNotSupportedException.java,
7162 external/sax/org/xml/sax/SAXParseException.java,
7163 external/sax/org/xml/sax/XMLFilter.java,
7164 external/sax/org/xml/sax/XMLReader.java,
7165 external/sax/org/xml/sax/package.html,
7166 external/sax/org/xml/sax/ext/Attributes2.java,
7167 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7168 external/sax/org/xml/sax/ext/DeclHandler.java,
7169 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7170 external/sax/org/xml/sax/ext/EntityResolver2.java,
7171 external/sax/org/xml/sax/ext/LexicalHandler.java,
7172 external/sax/org/xml/sax/ext/Locator2.java,
7173 external/sax/org/xml/sax/ext/Locator2Impl.java,
7174 external/sax/org/xml/sax/ext/package.html,
7175 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7176 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7177 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7178 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7179 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7180 external/sax/org/xml/sax/helpers/NewInstance.java,
7181 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7182 external/sax/org/xml/sax/helpers/ParserFactory.java,
7183 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7184 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7185 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7186 external/sax/org/xml/sax/helpers/package.html,
7187 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7188 external/w3c_dom/org/w3c/dom/Attr.java,
7189 external/w3c_dom/org/w3c/dom/CDATASection.java,
7190 external/w3c_dom/org/w3c/dom/CharacterData.java,
7191 external/w3c_dom/org/w3c/dom/Comment.java,
7192 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7193 external/w3c_dom/org/w3c/dom/DOMError.java,
7194 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7195 external/w3c_dom/org/w3c/dom/DOMException.java,
7196 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7197 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7198 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7199 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7200 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7201 external/w3c_dom/org/w3c/dom/Document.java,
7202 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7203 external/w3c_dom/org/w3c/dom/DocumentType.java,
7204 external/w3c_dom/org/w3c/dom/Element.java,
7205 external/w3c_dom/org/w3c/dom/Entity.java,
7206 external/w3c_dom/org/w3c/dom/EntityReference.java,
7207 external/w3c_dom/org/w3c/dom/NameList.java,
7208 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7209 external/w3c_dom/org/w3c/dom/Node.java,
7210 external/w3c_dom/org/w3c/dom/NodeList.java,
7211 external/w3c_dom/org/w3c/dom/Notation.java,
7212 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7213 external/w3c_dom/org/w3c/dom/Text.java,
7214 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7215 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7216 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7217 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7218 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7219 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7220 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7221 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7222 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7223 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7224 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7225 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7226 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7227 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7228 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7229 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7230 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7231 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7232 external/w3c_dom/org/w3c/dom/css/Counter.java,
7233 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7234 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7235 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7236 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7237 external/w3c_dom/org/w3c/dom/css/Rect.java,
7238 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7239 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7240 external/w3c_dom/org/w3c/dom/events/Event.java,
7241 external/w3c_dom/org/w3c/dom/events/EventException.java,
7242 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7243 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7244 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7245 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7246 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7247 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7248 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7249 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7250 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7251 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7252 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7253 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7254 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7255 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7256 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7257 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7258 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7259 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7260 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7261 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7262 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7263 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7264 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7265 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7266 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7267 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7268 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7269 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7270 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7271 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7272 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7273 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7274 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7275 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7276 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7277 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7278 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7279 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7280 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7281 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7282 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7283 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7284 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7285 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7286 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7287 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7288 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7289 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7290 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7291 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7292 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7293 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7294 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7295 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7296 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7297 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7298 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7299 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7300 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7301 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7302 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7303 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7304 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7305 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7306 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7307 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7308 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7309 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7310 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7311 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7312 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7313 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7314 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7315 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7316 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7317 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7318 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7319 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7320 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7321 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7322 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7323 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7324 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7325 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7326 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7327 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7328 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7329 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7330 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7331 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7332 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7333 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7336 2005-01-31 Anthony Green <green@redhat.com>
7338 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7339 Support IP_MULTICAST_LOOP.
7340 (setOption): Support IP_MULTICAST_LOOP.
7342 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7343 SO_REUSEADDR support.
7344 (getOption): Support SO_REUSEADDR.
7346 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7349 * java/util/Date.java
7350 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7352 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7354 (getTimezoneOffset): Inverted sign.
7356 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7358 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7359 remove other passing tests and add new XFAILs.
7361 2005-01-24 Tom Tromey <tromey@redhat.com>
7363 * java/lang/Class.h (next): Updated documentation. Renamed to
7365 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7366 _Jv_CheckABIVersion.
7367 (_Jv_RegisterClasses_Counted): Likewise.
7368 (_Jv_RegisterClassHookDefault): Fix starting condition of
7369 duplicate-checking loop.
7370 * include/jvm.h (GCJ_VERSION): New define.
7371 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7372 (_Jv_CheckABIVersion): New function.
7374 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7376 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7377 (libgij_la_LDFLAGS): Add.
7378 * Makefile.in: Rebuilt.
7380 2005-01-24 Roger Sayle <roger@eyesopen.com>
7383 * testsuite/libjava.compile/PR19295.java: New test case.
7385 2005-01-19 Tom Tromey <tromey@redhat.com>
7387 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7388 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7389 if 'handler' is valid.
7391 2005-01-17 Tom Tromey <tromey@redhat.com>
7393 * java/text/MessageFormat.java (scanString): Changed how quoting
7395 (scanFormatElement): Likewise.
7397 2004-12-07 Mark Wielaard <mark@klomp.org>
7399 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7401 2005-01-15 Michael Koch <konqueror@gmx.de>
7405 (AUTHORITY_REGEXP): New regexp constant.
7406 (AUTHORITY_USERINFO_GROUP): New constant.
7407 (AUTHORITY_HOST_GROUP): Likewise.
7408 (AUTHORITY_PORT_GROUP): Likewise.
7409 (port): Changed default value to -1.
7410 (parseURI): Parse authority part and initialize host,
7413 2005-01-14 Robin Green <greenrd@greenrd.org>
7415 * java/io/File.java (toURI): Generate a URI which we understand.
7417 2005-01-13 Graydon Hoare <graydon@redhat.com>
7419 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7420 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7421 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7422 * jni.cc: Reuse bottom frame between calls, avoid clearing
7423 frame when no local references are made.
7425 2005-01-13 Michael Koch <konqueror@gmx.de>
7428 * java/lang/Thread.java
7429 (Thread): Call checkAccess().
7430 (stop): Fixed argument name to match javadoc.
7431 * java/lang/natThread.cc
7432 (interrupt): Call checkAccess().
7435 2005-01-11 Michael Koch <konqueror@gmx.de>
7438 * java/net/URL.java (URL): Handle specs like
7439 "/redir?http://domain2.com/index.html" which start with a slash.
7441 2005-01-11 Michael Koch <konqueror@gmx.de>
7443 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7444 * gnu/java/net/BASE64.java,
7445 gnu/java/net/EmptyX509TrustManager.java,
7446 gnu/java/net/LineInputStream.java,
7447 gnu/java/net/protocol/http/Authenticator.java,
7448 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7449 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7450 gnu/java/net/protocol/http/ChunkedInputStream.java,
7451 gnu/java/net/protocol/http/Cookie.java,
7452 gnu/java/net/protocol/http/CookieManager.java,
7453 gnu/java/net/protocol/http/Credentials.java,
7454 gnu/java/net/protocol/http/HTTPConnection.java,
7455 gnu/java/net/protocol/http/HTTPDateFormat.java,
7456 gnu/java/net/protocol/http/HTTPURLConnection.java,
7457 gnu/java/net/protocol/http/Headers.java,
7458 gnu/java/net/protocol/http/Request.java,
7459 gnu/java/net/protocol/http/RequestBodyWriter.java,
7460 gnu/java/net/protocol/http/Response.java,
7461 gnu/java/net/protocol/http/ResponseBodyReader.java,
7462 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7463 gnu/java/net/protocol/http/SimpleCookieManager.java,
7464 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7465 gnu/java/net/protocol/http/event/ConnectionListener.java,
7466 gnu/java/net/protocol/http/event/RequestEvent.java,
7467 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7468 * gnu/java/net/protocol/http/Connection.java: Removed.
7469 * gnu/java/net/protocol/http/Handler.java,
7470 javax/net/ssl/HttpsURLConnection.java: Updated.
7471 * Makefile.am: Added new files and remove old ones.
7472 * Makefile.in: Regenerated.
7474 2005-01-11 Tom Tromey <tromey@redhat.com>
7477 * java/io/BufferedInputStream.java (read): Repeatedly read to
7479 (refill): Change test to see if buffer must be grown.
7481 2005-01-10 Tom Tromey <tromey@redhat.com>
7483 * mauve-libgcj: Exclude some swing tests.
7485 2005-01-10 Tom Tromey <tromey@redhat.com>
7487 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
7488 * java/lang/Package.java (getPackages): Use VMClassLoader when
7490 (getPackage): Likewise.
7491 * prims.cc (_Jv_CreateJavaVM): Call
7492 _Jv_RegisterBootstrapPackages.
7493 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
7494 * java/lang/VMClassLoader.java (getPackage): Rewrote.
7495 (getPackages): Likewise.
7496 (definedPackages): New field.
7497 (definePackageForNative): New method.
7498 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
7499 * java/lang/natVMClassLoader.cc (loadClass): Updated.
7500 * defineclass.cc (handleClassBegin): Use
7501 ClassLoader.findLoadedClass.
7502 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
7504 (struct _Jv_LoaderInfo): Removed.
7505 (initiated_classes): Likewise.
7506 (_Jv_UnregisterClass): Don't use initiated_classes.
7507 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
7508 (_Jv_FindClass): Register classes found during boostrap.
7509 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
7510 (bootstrap_class_list): New global.
7511 (bootstrap_index): Likewise.
7512 (_Jv_RegisterBootstrapPackages): New function.
7513 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
7514 definePackageForNative.
7515 (findClass): Updated.
7516 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
7519 2005-01-10 Tom Tromey <tromey@redhat.com>
7522 * include/jvm.h (_Jv_Linker::find_field): Declare.
7523 (_Jv_Linker::find_field_helper): Likewise.
7524 * link.cc (find_field_helper): New method.
7525 (find_field): Likewise.
7526 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
7528 (link_symbol_table): Use find_field.
7530 2005-01-10 Michael Koch <konqueror@gmx.de>
7533 * java/util/Locale.java (Locale): Don't uppercase variant.
7534 (getISOCountries): Fixed typo in javadoc.
7536 2005-01-10 Michael Koch <konqueror@gmx.de>
7538 * java/util/SimpleTimeZone.java (checkRule):
7539 Throw IllegalArgumentException on invalid month values.
7540 * java/util/TimeZone.java (setID):
7541 Throw NullPointerException if needed.
7543 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
7545 * java/util/SimpleTimeZone.java (getOffset):
7546 offset end date with daylight savings
7548 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
7550 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
7551 * testsuite/libjava.compile/PR19277.xfail: Likewise.
7553 2005-01-09 Michael Koch <konqueror@gmx.de>
7556 * java/net/InetAddress.java (getLocalHost):
7557 Throw UnknownHostException if local hostname cannot be determined.
7559 2005-01-06 Tom Tromey <tromey@redhat.com>
7561 * java/lang/ClassLoader.java (findClass): Fixed documentation.
7563 2005-01-07 Michael Koch <konqueror@gmx.de>
7566 * java/nio/Buffer.java (address): New field.
7567 * java/nio/DirectByteBufferImpl.java (address): Removed.
7568 * java/nio/MappedByteBufferImpl.java (address): Likewise.
7569 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
7570 Explicitly initialize Buffer.address if needed.
7571 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
7572 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
7573 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
7574 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
7575 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
7576 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
7577 DirectByteBufferImpl object.
7578 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7579 * testsuite/libjava.jni/directbuffer.c,
7580 testsuite/libjava.jni/directbuffer.java,
7581 testsuite/libjava.jni/directbuffer.out,
7582 testsuite/libjava.jni/bytebuffer.c,
7583 testsuite/libjava.jni/bytebuffer.java,
7584 testsuite/libjava.jni/bytebuffer.out: New files.
7586 2005-01-05 Tom Tromey <tromey@redhat.com>
7588 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
7590 (compressedSize): Now 'long'. Default to -1.
7591 (getCompressedSize): Rewrote.
7592 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
7593 deflate at all if we need input.
7595 2005-01-05 Tom Tromey <tromey@redhat.com>
7598 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
7601 2005-01-05 Tom Tromey <tromey@redhat.com>
7603 * java/lang/natRuntime.cc (insertSystemProperties): Set
7604 java.ext.dirs earlier.
7606 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
7608 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
7609 sync_info element of the object if needed.
7611 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
7613 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
7614 a non-zero exit status from 'false'.
7616 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
7618 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.