OSDN Git Service

2003-08-05 Matthias Klose <doko@debian.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index ea7d7c7..fb54384 100644 (file)
@@ -1,3 +1,193 @@
+2003-08-05  Matthias Klose  <doko@debian.org>
+
+       * aclocal.m4: check for libart-config binary
+         under the name libart2-config as well.
+       * configure: regenerated.
+
+2003-08-04  David P Grove  <groved@us.ibm.com>
+
+       * java/text/DecimalFormat.java (format): avoid ArithmeticException
+       when groupingSize is 0.
+       (parse): Likewise.
+
+2003-08-04  Matthias Klose  <doko@debian.org>
+
+       * libart.m4: check for libart-config binary
+         under the name libart2-config as well.
+       * configure, aclocal.m4: regenerated.
+
+2003-08-02  Michael Koch  <konqueror@gmx.de>
+
+       * java/nio/ByteBufferImpl.java
+       (getChar): Check remaining bytes, fixed comment about endianess.
+       (putChar): Likewise.
+       (getShort): Likewise.
+       (putShort): Likewise.
+       (getInt): Check remaining bytes, fixed conversion, fixed comment about
+       endianess.
+       (putInt): Likewise.
+       (getLong): Likewise.
+       (putLong): Likewise.
+       (getFloat): Likewise.
+       (putFloat): Likewise.
+       (getDouble): Likewise.
+       (putDouble): Likewise.
+       * java/nio/DirectByteBufferImpl.java
+       (getChar): Wrapped code, fixed comment about endianess.
+       (putchar): Likewise.
+       (getShort): Likewise.
+       (putShort): Likewise.
+       (getInt): Fixed conversion, fixed comment about endianess.
+       (putInt): Likewise.
+       (getLong): Likewise.
+       (putLong): Likewise.
+       (getFloat): Likewise.
+       (putFloat): Likewise.
+       (getDouble): Likewise.
+       (putDouble): Likewise.
+       * java/nio/MappedByteBufferImpl.java
+       (compact): Implemented.
+       (getChar): Implemented.
+       (putChar): Implemented.
+       (getDouble): Implemented.
+       (putdouble): Implemented.
+       (getFloat): Implemented.
+       (putFloat): Implemented.
+       (getInt): Implemented.
+       (putInt): Implemented.
+       (getLong): Implemented.
+       (putLong): Implemented.
+       (getShort): Implemented.
+       (putShort): Implemented.
+       * java/nio/channels/FileChannelImpl.java
+       (read): Set position where to access file.
+       (write): Likewise.
+       (transferTo): Flip buffer after read and before write.
+       (transferFrom): Likewise.
+
+2003-08-02  Michael Koch  <konqueror@gmx.de>
+
+       * gnu/java/lang/ArrayHelper.java
+       (equalsArray): Reformated, added method documentation.
+
+2003-08-02  Michael Koch  <konqueror@gmx.de>
+
+       * java/net/URL.java
+       (URL): Added paragraph about the
+       gnu.java.net.nocache_protocol_handlers property.
+       (ph_cache): Renamed from handlers to match classpath's implementation.
+       Reordered it with factory and serialVersionUID member variables.
+       (cache_handlers): New member variable.
+       (static): New static initializer to initialize cache_handlers from
+       gnu.java.net.nocache_protocol_handlers property.
+       (URL): Use ph_cache instead of handlers, reformatted some code to
+       match classpath's implementation.
+
+2003-08-01  Tom Tromey  <tromey@redhat.com>
+
+       Fix for PR libgcj/11241:
+       * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
+       initialCapacity is 0, set it to 1.
+
+2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
+
+       * java/net/SocketImpl.java (toString): Display the remote address
+       of an unconnected server socket as "0.0.0.0/0.0.0.0".
+
+2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
+
+       * javax/swing/border/BevelBorder.java,
+       javax/swing/border/EtchedBorder.java,
+       javax/swing/border/LineBorder.java,
+       javax/swing/border/MatteBorder.java,
+       javax/swing/border/SoftBevelBorder.java,
+       javax/swing/plaf/BorderUIResource.java,
+       javax/swing/plaf/ComponentUI.java,
+       javax/swing/plaf/TreeUI.java,
+       javax/swing/plaf/basic/BasicBorders.java,
+       javax/swing/plaf/basic/BasicGraphicsUtils.java,
+       javax/swing/plaf/basic/BasicTreeUI.java:
+       Prepend "doc-files" to all paths to embedded Javadoc images, so
+       that the generated documentation contains the correct URL.
+
+2003-08-01  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuilt.
+       * configure.in (tool_include_dir): Redefine to match gcc.
+
+2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
+            Mark Wielaard  <mark@klomp.org>
+           
+       * java/math/BigDecimal (divide): Correctly handle
+       ROUND_HALF_EVEN when amount is greater than 0.5.
+       Simplify and optimize code.
+
+2003-07-31  Tom Tromey  <tromey@redhat.com>
+
+       More for PR libgcj/11737:
+       * java/io/ObjectInputStream.java (processResolution): Use
+       getMethod.
+       (getMethod): Make method accessible.
+       (getField): Make field accessible.
+       (setBooleanField): Don't call setAccessible here.
+       (setByteField, setCharField, setDoubleField, setFloatField,
+       setIntField, setLongField, setShortField, setObjectField):
+       Likewise.
+       (callReadMethod): Don't check whether method is null.  Catch
+       NoSuchMethodException.
+       * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
+       cause on thrown exceptions.
+
+2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
+
+       Fix for PR libgcj/11728:
+       * java/util/HashMap.java (readObject): Set size.
+
+2003-07-31  Tom Tromey  <tromey@redhat.com>
+
+       Fix for PR libgcj/11737:
+       * java/io/ObjectOutputStream.java (getMethod): Make method
+       accessible.
+       (getField): Likewise.
+       (writeObject): Use getMethod.
+       Import PrivilegedAction and AccessController.
+       (callWriteMethod): Don't check whether m is null.  Catch
+       NoSuchMethodException.
+
+       * java/awt/geom/Arc2D.java (getBounds2D): Implement.
+       (containsAngle): Likewise.
+       (getStartPoint): Rewrote.
+       (getEndPoint): Likewise.
+       (setAngleStart(Point2D)): Likewise.
+
+2003-07-31  Roger Sayle  <roger@eyesopen.com>
+           Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * configure.in: Add new THREADCXXFLAGS variable.
+       Handle POSIX threads on alpha*-dec-osf*.
+       * configure: Regenerate.
+       * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
+       * Makefile.in: Regenerate.
+
+2003-07-08  Andrew Haley  <aph@redhat.com>
+
+        * include/i386-signal.h (RESTORE): New.
+        (INIT_SEGV): Set restorer.
+        (INIT_FPE): Likewise.
+
+2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
+       than getXLFD.
+       * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
+       * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
+       * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
+       (gtkSetFont): Scale size parameter by PANGO_SCALE.
+       * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
+       Likewise.
+       * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
+       Likewise.
+
 2003-07-29  Tom Tromey  <tromey@redhat.com>
 
        * defineclass.cc (handleField): Throw exception if field name is