OSDN Git Service

2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index 40eaea7..088ef4b 100644 (file)
@@ -1,9 +1,313 @@
+2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * java/util/ResourceBundle.java (bundleCache): Renamed from
+       resourceBundleCache. Update comments.
+       (getObject): Don't catch MissingResourceException.
+       (getBundle(String)): Remove 'final'. Use system classloader if
+       getCallingClassLoader returned null.
+       (getBundle(String, Locale)): Likewise.
+       (BundleKey): New private class. HashMap key for bundle cache lookup.
+       (lookupKey): New. Singleton instance of BundleKey.
+       (nullEntry): New. Cache entry to represent failed lookups.
+       (getBundle(String, Locale, ClassLoader)): Re-written to use new 
+       caching strategy, no-allocation lookup, and new tryBundle methods.
+       (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
+       name using given classloader.
+       (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
+       baseName for given Locale and attempt to load bundle.
+
+2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
+       illegal protected method calls.
+
+2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
+
+       Fix or remove some bogus test cases.
+       * testsuite/libjava.compile/pr10459_2.java: Removed.
+       * testsuite/libjava.compile/pr10459.java: Test using its own method,
+       not Object.clone().
+       * testsuite/libjava.compile/inner_data.java: Test against its own
+       protected field.
+
+2004-07-09  Michael Koch  <konqueror@gmx.de>
+
+       * scripts/unicode-muncher.pl: Updated to version 2.1
+       from GNU classpath. Added some clarifications on where to find the
+       needed files from www.unicode.org.
+       * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
+       gnu/gcj/convert/UnicodeData-3.0.0.txt:
+       Removed, these can directly be downloaded from www.unicode.org if
+       needed. 
+       * gnu/java/lang/CharData.java: Regenerated.
+       * include/java-chartables.h: Regenerated.
+       * Makefile.am (ordinary_java_source_files):
+       Removed gnu/java/lang/CharData.java.
+       * Makefile.in: Regenerated.
+
+2004-07-09  Michael Koch  <konqueror@gmx.de>
+
+       * java/security/AccessControlContext.java,
+       java/security/SecureClassLoader.java:
+       Fixed javadocs.
+
+2004-07-09  Michael Koch  <konqueror@gmx.de>
+
+       * java/io/ObjectInputStream.java (readFields): Use long datatype
+       when shifting byte values more then 24 bits left.
+
+2004-07-09  Michael Koch  <konqueror@gmx.de>
+
+       * java/util/zip/DeflaterOutputStream.java,
+       java/util/zip/GZIPInputStream.java,
+       java/util/zip/GZIPOutputStream.java,
+       java/util/zip/InflaterInputStream.java:
+       Reformatted. Added javadocs. Reordered all stuff.
+       Renamed variables to be more clear.
+
+2004-07-09  Michael Koch  <konqueror@gmx.de>
+
+       * javax/imageio/IIOException.java,
+       javax/imageio/event/IIOReadProgressListener.java,
+       javax/imageio/event/IIOReadUpdateListener.java,
+       javax/imageio/event/IIOReadWarningListener.java,
+       javax/imageio/event/IIOWriteProgressListener.java,
+       javax/imageio/event/IIOWriteWarningListener.java:
+       New files.
+       * Makefile.am: Added new files.
+       * Makefile.in: Regenerated.
+
+2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
+
+       * java/text/RuleBasedCollator.java
+       (mergeRules): Use ArrayList instead of Vector.
+       (subParseString): likewise.
+       (parseString): likewise.
+       (buildCollationVector): likewise.
+       (getCollationKey): likewise.
+
+2004-07-09  Dalibor Topic  <robilad@kaffe.org>
+
+       * java/text/DateFormat.java (parse):
+       Improved javadoc. Improved exception message.
+
+2004-07-09  Mark Wielaard  <mark@klomp.org>
+
+       * gnu/java/nio/SelectorImpl.java (select): Call static Thread
+       interrupted() method to clear interupt flag of our Thread.
+
+2004-07-09  Dalibor Topic  <robilad@kaffe.org>
+
+       * java/nio/Buffer.java,
+       java/nio/ByteBuffer.java,
+       java/nio/ByteBufferHelper.java,
+       java/nio/ByteBufferImpl.java,
+       java/nio/CharBuffer.java,
+       java/nio/CharBufferImpl.java,
+       java/nio/CharViewBufferImpl.java,
+       java/nio/DirectByteBufferImpl.java,
+       java/nio/DoubleBuffer.java,
+       java/nio/DoubleBufferImpl.java,
+       java/nio/DoubleViewBufferImpl.java,
+       java/nio/FloatBuffer.java,
+       java/nio/FloatBufferImpl.java,
+       java/nio/FloatViewBufferImpl.java,
+       java/nio/IntBuffer.java,
+       java/nio/IntBufferImpl.java,
+       java/nio/IntViewBufferImpl.java,
+       java/nio/LongBuffer.java,
+       java/nio/LongBufferImpl.java,
+       java/nio/LongViewBufferImpl.java,
+       java/nio/MappedByteBufferImpl.java,
+       java/nio/ShortBuffer.java,
+       java/nio/ShortBufferImpl.java,
+       java/nio/ShortViewBufferImpl.java:
+        Fixed javadocs all over. Improved input error
+        checking.
+
+       * java/nio/Buffer.java
+       (checkForUnderflow, checkForOverflow, checkIndex,
+       checkIfReadOnly, checkArraySize): New helper methods
+        for error checking.
+
+       * java/nio/ByteBufferHelper.java
+       (checkRemainingForRead, checkRemainingForWrite,
+       checkAvailableForRead, checkAvailableForWrite): Removed
+        no longer needed methods.
+
+2004-07-09  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/regexp/CharIndexedInputStream.java:
+       Reordered imports to match classpath.
+
+2004-07-09  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/awt/EmbeddedWindow.java:
+       Load native library for setWindowPeer method.
+
+2004-07-08  Randolph Chung  <tausq@debian.org>
+
+       * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
+       * configure: Regenerate.
+       * configure.host: Set can_unwind_signal for hppa*-linux.
+       * include/pa-signal.h: New file.
+
+2004-07-07  Per Bothner  <per@bothner.com>
+
+       * Makefile.am:  Add rules to build libgij from just gij.cc.
+
+       * include/jvm.h (namespace jcj):  Declare verbose_class_flag
+       * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
+       (initializeClass):  If verbose_class_flag, print message.
+       * gij.cc (main):  Handle -verbose:class flag.
+
+2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * configure.host: Enable hash synchronization on Darwin.
+       * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
+       ';', since this is a comment on Darwin.
+       (compare_and_swap_release): Likewise.
+
+2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
+
+       * java/net/URLStreamHandler.java (parseURL): Canonicalize
+       file portion of URL in addition to spec for file: protocol.
+
+2004-07-05  Anthony Green  <green@redhat.com>
+
+       * java/io/File.java (toURI): Merge from Classpath.
+
+2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
+       before passing to URL constructor. Rethrow any MalformedURLException
+       as a RuntimeException. Catch MalformedURLException specifically, not
+       all exceptions.
+
+2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * java/util/Locale.java (readObject): Intern strings read from object
+       stream.
+
+2004-07-04  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/gcj/runtime/FirstThread.java,
+       gnu/gcj/runtime/natFirstThread.cc: Removed.
+       * gnu/java/lang/MainThread.java,
+       gnu/java/lang/natMainThread.cc: New files.
+       * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
+       * Makefile.am: Added new files and removed deleted ones.
+       * Makefile.in: Regenerated.
+
+2004-07-03  Mark Wielaard  <mark@klomp.org>
+           Anthony Green  <green@redhat.com>
+
+       * java/net/URL.java (getFile): Clarify return value doc.
+       (getPath): Return null if file is empty - not empty String.
+       (set): Convert protocol to lower case before doing anything.
+       Only change the protocol handler if it's different.
+
+2004-07-03  Anthony Green  <green@redhat.com>
+
+       * java/net/URL.java (URL): Convert protocol to lower case before
+       doing anything, so we getURLStreamHandler() with the proper value.
+
+2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * java/util/Locale.java (hashcode): Made transient.
+       (hashCode): No longer synchronized.
+       (equals): Remove comment.
+       (writeObject): No longer synchronized. Implement using writeObject 
+       calls instead of tweaking hashCode field. Update doc.
+       (readObject): Implement using readObject calls.
+
+2004-06-26  Geoffrey Keating  <geoffk@apple.com>
+           Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * configure.host (powerpc-*-darwin*): New case, define
+       can_unwind_signal.
+       * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
+       * configure: Regenerate.
+       * include/darwin-signal.h: New.
+
+2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
+
+       * java/beans/Statement.java (doExecute): Fix formatting.
+
+2004-06-29  Per Bothner  <per@bothner.com>
+
+       * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
+       etc etc):  Remove needless parenthesis, which causes __stdcall__
+       attribute on MinGW to get ignored.
+
+2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
+
+2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
+
+2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
+
+       * java/beans/Expression.java: New file.
+       * java/beans/Statement.java: New file.
+       * Makefile.am: Added new files.
+       * Makefile.in: Re-generate.
+
+2004-06-27 Mark Wielaard  <mark@klomp.org>
+
+       * java/io/FilePermission.java (usingPerms): Removed.
+       (actionsString): Made final.
+       (cachePerms): Renamed to checkPerms.
+       (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
+       on action String.
+       (FilePermission): Check arguments, call checkPerms().
+       (equals): Remove cachePerms() call.
+       (implies): Likewise.
+
+2004-06-27  Mark Wielaard  <mark@klomp.org>
+
+       * gnu/java/net/protocol/http/Connection.java (userAgent): New static
+       final field.
+       (sendRequest): Use new field in user-agent http agent.
+
+2004-06-27  Mark Wielaard  <mark@klomp.org>
+
+       * java/awt/EventQueue.java (postEvent): Throw NullPointerException
+       when argument is null.
+
+2004-06-26  Mark Wielaard  <mark@klomp.org>
+
+       * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
+       (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
+       GetMethodID call.
+       (cancel_clicked): Likewise.
+
+2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
+       (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
+       can not calculate the right value.
+       (dpi_changed_cb): Likewise. Mark *pspec as unused.
+
+2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * testsuite/libjava.jacks/jacks.xfail: Remove
+       15.9.1-qualified-concrete-20.
+
+2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
+       encoding name to iconv.
+       * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
+
 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
 
        PR libgcj/16134:
-       * gnu/gcj/convert/BytesToUnicode.java: Canonicalize encoding nam
-       before cache lookup. Thanks to Hannes Wallnoefer.
-       * gnu/gcj/convert/UnicodeToBytes.java: Likewise.
+       * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicaliz
+       encoding name before cache lookup. Thanks to Hannes Wallnoefer.
+       * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
 
 2004-06-21  Andrew Haley  <aph@redhat.com>