OSDN Git Service

* java/util/Arrays.java (qsort): Fix off-by-one errors and use of
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index 22dd097..e2a1fe7 100644 (file)
@@ -1,3 +1,207 @@
+2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
+       incorrect "hi" value when count > 40.
+
+2002-04-03  Mark Wielaard  <mark@klomp.org>
+
+       * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
+       ordering.
+
+2002-04-02  Tom Tromey  <tromey@redhat.com>
+
+       * java/lang/natClassLoader.cc (findClass): Compare against `3',
+       not `0'.
+
+2002-04-02  Mark Wielaard  <mark@klomp.org>
+
+       * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
+       list of testsuite crashers.
+
+2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * java/util/IdentityHashMap.java (put): Set new threshold correctly
+       when resizing table.
+
+2002-04-01  Mark Wielaard  <mark@klomp.org>
+
+        * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
+        NegativeArraySizeException
+        (clear(int)): Use sign extended shift.
+        (flip(int)): Likewise.
+        (get(int)): Likewise.
+        (nextClearBit(int)): Likewise.
+        (nextSetBit(int)): Likewise.
+        (set(int)): Likewise.
+
+2002-04-01  Mark Wielaard  <mark@klomp.org>
+
+       * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
+       that can be compiled now and add testsuite crashers to ignore list.
+
+2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
+
+       * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
+
+       * libgcj.spec.in: Override libgcc, not lib.
+       * libgcj-test.spec.in: Likewise.
+
+2002-03-29  Tom Tromey  <tromey@redhat.com>
+
+       * java/net/natPlainDatagramSocketImpl.cc (close): New function.
+       * java/net/natPlainSocketImpl.cc (close): Indentation fix.
+
+2002-03-27  Jeff Sturm  <jsturm@one-point.com>
+
+       * java/net/PlainDatagramSocketImpl.java
+       (close): Use native implementation.
+       (finalize): New method.
+
+       * java/net/PlainSocketImpl.java (finalize): New method.
+
+       * java/net/natPlainDatagramSocketImpl.cc
+       (java/io/FileDescriptor.h): Don't include.
+       (close): Implement method here.
+       (create): Don't assign fd.
+
+       * java/net/natPlainSocketImpl.cc
+       (java/io/FileDescriptor.h): Don't include.
+       (create): Don't assign fd.
+       (accept): Likewise.
+       (close): Synchronize.
+
+2002-03-27  Richard Henderson  <rth@redhat.com>
+
+       * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
+
+2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
+
+        * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
+        (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
+        instead of syscall on IA-64.
+        Add FIXME comment.
+
+2002-03-27  Anthony Green  <green@redhat.com>
+
+       * libgcj.spec.in: Add CHECKREFSPEC.
+       * configure.in: Ditto.
+       * configure.host: Ditto.  Check references for xscale-elf.
+       * configure: Rebuilt.
+
+2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
+
+       * include/dwarf2-signal.h: Temporarily back out last change.
+
+2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
+
+       * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
+
+2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
+
+       * configure.in, configure: enable dwarf2-exception-style
+       exception handling on IA-64.
+       * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
+       (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
+       Add FIXME comment.
+       
+2002-03-25  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
+       (jv_convert_LDFLAGS): Likewise.
+       (gij_LDFLAGS): Likewise.
+       (rmic_LDFLAGS): Likewise.
+       (rmiregistry_LDFLAGS): Likewise.
+       * configure.in (THREADLDFLAGS): New subst; set correctly for
+       *BSD.
+
+2002-03-25  Tom Tromey  <tromey@redhat.com>
+
+       For PR libgcj/5303:
+       * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
+       and --version.
+       (help): New method.
+       (version): Likewise.
+       * gnu/gcj/convert/Convert.java (version): Removed extraneous
+       "GNU".
+       * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
+       "GNU".
+
+2002-03-25  Tom Tromey  <tromey@redhat.com>
+
+       * java/awt/Component.java (processEvent): Check ComponentEvent
+       after KeyEvent.
+
+2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * java/io/PushbackReader.java: Reformat.
+
+       * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
+       calculate correct number of bytes skipped.
+       
+       Based on patch from Intel's ORP team:
+       * java/io/PushbackInputStream.java (available): Calculate correct 
+       number of bytes in buffer.
+       (read): Remove redundant bound check. Return bytes from both the
+       buffer and the stream.
+
+2002-03-24  Tom Tromey  <tromey@redhat.com>
+
+       * java/awt/TextComponent.java (TextComponent): Editable by
+       default.
+
+       * java/awt/MenuItem.java (eventMask): No longer private.
+       * java/awt/Button.java (dispatchEventImpl): Only dispatch to
+       superclass if we didn't handle event.
+       * java/awt/Checkbox.java (dispatchEventImpl): New method.
+       * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
+       * java/awt/Choice.java (dispatchEventImpl): New method.
+       * java/awt/List.java (dispatchEventImpl): New method.
+       * java/awt/Scrollbar.java (dispatchEventImpl): New method.
+       * java/awt/TextComponent.java (dispatchEventImpl): New method.
+       * java/awt/TextField.java (dispatchEventImpl): New method.
+
+2002-03-24  Eric Blake  <ebb9@email.byu.edu>
+
+       * java/beans/IntrospectionException.java: Update to 1.4.
+       * java/beans/PropertyVetoException.java: Ditto.
+
+2002-03-24  Eric Blake  <ebb9@email.byu.edu>
+
+       * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
+       Arrays.equals instead of ArrayHelper.equalsArray.
+
+2002-03-24  C. Brian Jones <cbj@gnu.org>
+
+       * java/beans/Introspector.java: added new static final fields
+       introduced in 1.2, lots of other updates remain to be done
+
+2002-03-24  C. Brian Jones <cbj@gnu.org>
+
+       * java/beans/Introspector.java: reformatting
+
+2002-03-24  C. Brian Jones <cbj@gnu.org>
+
+       * java/beans/Introspector.java: default beanInfoSearchPath will
+       not include sun.beans.infos given we provide no such package and
+       the API doesn't really require it; gnu.java.beans.info is the
+       default.
+
+2002-03-24  Mark Wielaard  <mark@klomp.org>
+
+       Thanks to Orp developers
+       * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
+       switch TRUE and FALSE return values.
+
+2002-03-23  Tom Tromey  <tromey@redhat.com>
+
+       * include/name-finder.h (_Jv_name_finder::myclose): New method.
+       * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
+
+2002-03-23  Michael Smith  <msmith@spinnakernet.com>
+
+       * java/util/GregorianCalendar.java (minimums, maximums): Correct
+       MONTH entry.  Fixes PR libgcj/6045.
+
 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
 
        * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.