aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2002-04-07ArrayList.java (addAll(int,Collection)): System.arraycopy all of the ↵Mark Wielaard3-5/+28
remaining elements. * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy all of the remaining elements. * java/util/Vector.java (addAll(int,Collection)): Likewise. (removeRange): If toIndex == fromIndex do nothing, if toIndex < fromIndex throw IndexOutIfBoundsException. (removeAll): Always throw NullPointerException when collection is null. (retrainAll): Likewise. From-SVN: r51979
2002-04-06ArrayList.jva (removeRange): If toIndex == fromIndex do nothing...Mark Wielaard2-3/+12
* java/util/ArrayList.jva (removeRange): If toIndex == fromIndex do nothing, if toIndex < fromIndex throw IndexOutIfBoundsException. From-SVN: r51947
2002-04-06exception.cc (abort): added static modifierAdam Megacz1-0/+4
2002-04-05 Adam Megacz <adam@xwt.org> * exception.cc (abort): added static modifier From-SVN: r51938
2002-04-06exception.cc (abort): added static modifierAdam Megacz1-1/+2
2002-04-05 Adam Megacz <adam@xwt.org> * exception.cc (abort): added static modifier From-SVN: r51937
2002-04-05win32.h (_Jv_platform_close_on_exec): added inline modifier.Adam Megacz2-1/+7
2002-04-04 Adam Megacz <adam@xwt.org> * include/win32.h (_Jv_platform_close_on_exec): added inline modifier. From-SVN: r51899
2002-04-05Fix cut-n-paste typo.Loren J. Rittle1-1/+1
From-SVN: r51897
2002-04-05configure.host: Add case statement to support generic port properties.Loren J. Rittle2-5/+24
* configure.host: Add case statement to support generic port properties. Add *-*-freebsd* section. From-SVN: r51896
2002-04-05mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode test.Mark Wielaard3-3/+34
* mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode test. * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest, FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests that depend on awt code and BufferedByteOutputStream.interrupt. From-SVN: r51893
2002-04-04Arrays.java (qsort): Fix off-by-one errors and use of incorrect "hi" value ↵Bryce McKinlay2-42/+54
when count > 40. * java/util/Arrays.java (qsort): Fix off-by-one errors and use of incorrect "hi" value when count > 40. From-SVN: r51854
2002-04-04Modifier.java (toString(int,StringBuffer)): Fix ordering.Mark Wielaard2-8/+13
* java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix ordering. From-SVN: r51848
2002-04-02natClassLoader.cc (findClass): Compare against `3', not `0'.Tom Tromey2-2/+8
* java/lang/natClassLoader.cc (findClass): Compare against `3', not `0'. From-SVN: r51764
2002-04-02mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to list of ↵Mark Wielaard2-0/+6
testsuite crashers. * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to list of testsuite crashers. From-SVN: r51753
2002-04-02IdentityHashMap.java (put): Set new threshold correctly when resizing table.Bryce McKinlay2-1/+6
* java/util/IdentityHashMap.java (put): Set new threshold correctly when resizing table. From-SVN: r51751
2002-04-01BitSet.java (BitSet(int)): if nbits < 0 throw NegativeArraySizeExceptionMark Wielaard2-6/+20
* 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. From-SVN: r51701
2002-04-01mauve-libgcj: Add JDK1.3...Mark Wielaard2-26/+18
* 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. From-SVN: r51693
2002-03-31* libgcj.spec.in, libgcj-test.spec.in: Revert for now.Alexandre Oliva3-4/+6
From-SVN: r51659
2002-03-31libgcj.spec.in: Override libgcc, not lib.Alexandre Oliva3-4/+9
* libgcj.spec.in: Override libgcc, not lib. * libgcj-test.spec.in: Likewise. From-SVN: r51640
2002-03-29natPlainDatagramSocketImpl.cc (close): New function.Tom Tromey3-2/+15
* java/net/natPlainDatagramSocketImpl.cc (close): New function. * java/net/natPlainSocketImpl.cc (close): Indentation fix. From-SVN: r51563
2002-03-28Throw_2.java: New.Andrew Haley3-0/+62
2002-03-28 Andrew Haley <aph@redhat.com> * libjava.lang/Throw_2.java: New. * libjava.lang/Throw_2.out: New. From-SVN: r51515
2002-03-28* java/net/PlainDatagramSocketImpl.javaJeff Sturm5-31/+73
(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. From-SVN: r51492
2002-03-27* include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.Richard Henderson2-2/+6
From-SVN: r51468
2002-03-27dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.Andrew Haley2-0/+62
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. From-SVN: r51459
2002-03-27libgcj.spec.in: Add CHECKREFSPEC.Anthony Green9-104/+121
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. From-SVN: r51457
2002-03-27InvokeReturn.java: Modify test for targets which do not yet support reflection.Anthony Green2-0/+9
2002-03-27 Anthony Green <green@redhat.com> * libjava.lang/InvokeReturn.java: Modify test for targets which do not yet support reflection. From-SVN: r51455
2002-03-27jni.exp (gcj_jni_run): Fix cross build test.Anthony Green2-2/+6
2002-03-27 Anthony Green <green@redhat.com> * libjava.jni/jni.exp (gcj_jni_run): Fix cross build test. From-SVN: r51453
2002-03-27libjava.exp: Add the wrapper link options only when we're linking.Anthony Green2-8/+15
2002-03-27 Anthony Green <green@redhat.com> * lib/libjava.exp: Add the wrapper link options only when we're linking. From-SVN: r51451
2002-03-26* include/dwarf2-signal.h: Temporarily back out last change.Hans Boehm2-30/+6
From-SVN: r51415
2002-03-26mauve.exp (test_mauve): Use correct stderr redirection code.Tom Tromey2-2/+7
* libjava.mauve/mauve.exp (test_mauve): Use correct stderr redirection code. From-SVN: r51405
2002-03-26* include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.Loren J. Rittle2-0/+9
From-SVN: r51383
2002-03-26configure.in, configure: enable dwarf2-exception-style exception handling on ↵Andrew Haley4-2/+44
IA-64. * 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. From-SVN: r51367
2002-03-26Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.Tom Tromey8-361/+410
* 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. From-SVN: r51363
2002-03-25For PR libgcj/5303:Tom Tromey4-3/+41
* 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". From-SVN: r51343
2002-03-25Component.java (processEvent): Check ComponentEvent after KeyEvent.Tom Tromey2-2/+7
* java/awt/Component.java (processEvent): Check ComponentEvent after KeyEvent. From-SVN: r51301
2002-03-25Based on patch from Intel's ORP team:Bryce McKinlay2-7/+18
* 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. From-SVN: r51296
2002-03-25FileInputStream.java (skip): Call fd.getFilePointer() and calculate correct ↵Bryce McKinlay2-1/+6
number of bytes skipped. * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and calculate correct number of bytes skipped. From-SVN: r51293
2002-03-25* java/io/PushbackReader.java: Reformat.Bryce McKinlay2-396/+340
From-SVN: r51291
2002-03-24TextComponent.java (TextComponent): Editable by default.Tom Tromey2-0/+4
* java/awt/TextComponent.java (TextComponent): Editable by default. From-SVN: r51278
2002-03-24MenuItem.java (eventMask): No longer private.Tom Tromey10-5/+107
* 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. From-SVN: r51277
2002-03-24[multiple changes]Mark Wielaard6-439/+595
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. From-SVN: r51273
2002-03-23reverted erroneous checkinTom Tromey6-382/+345
From-SVN: r51235
2002-03-23name-finder.h (_Jv_name_finder::myclose): New method.Tom Tromey9-352/+426
* include/name-finder.h (_Jv_name_finder::myclose): New method. * name-finder.cc (_Jv_name_finder): Initialize file descriptors. From-SVN: r51234
2002-03-23re PR libgcj/6045 (GregorianCalendar: getMinimum() and getMaximum() ↵Michael Smith2-3/+8
incorrect for month) 2002-03-23 Michael Smith <msmith@spinnakernet.com> * java/util/GregorianCalendar.java (minimums, maximums): Correct MONTH entry. Fixes PR libgcj/6045. From-SVN: r51232
2002-03-23* java/nat/natPlainSocketImpl.cc (write): Abort loop on error.Jeff Sturm2-0/+6
From-SVN: r51230
2002-03-23For PR java/6026:Eric Blake2-0/+9
2002-03-22 Eric Blake <ebb9@email.byu.edu> For PR java/6026: * libjava.compile/PR6026.java: New file. From-SVN: r51209
2002-03-22Thread_Interrupt.java (Looper.calibrate): New.Andrew Haley2-1/+27
2002-03-21 Andrew Haley <aph@redhat.com> * libjava.lang/Thread_Interrupt.java (Looper.calibrate): New. (yields): New. From-SVN: r51169
2002-03-21posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, not ↵Bryce McKinlay4-2/+26
release_set. * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, not release_set. * sysdep/powerpc/locks.h (write_barrier): New function. * sysdep/i386/locks.h (write_barrier): New function. From-SVN: r51101
2002-03-192002-03-19 Martin Kahlert <martin.kahlert@infineon.com>Martin Kahlert2-1/+5
* include/jni.h Use correct C comments From-SVN: r51046
2002-03-18jni.h (JNIIMPORT): New macro.Tom Tromey2-0/+17
* include/jni.h (JNIIMPORT): New macro. (JNIEXPORT): Likewise. (JNICALL): Likewise. From-SVN: r51009
2002-03-18jni.exp (gcj_jni_test_one): Find libstdc++ in build tree.Tom Tromey2-5/+35
* libjava.jni/jni.exp (gcj_jni_test_one): Find libstdc++ in build tree. (gcj_invoke): Added ld_library_additions argument. From-SVN: r51006
2002-03-18i386-signal.h (old_i386_kernel_sigaction): New.Andrew Haley2-26/+47
2002-03-18 Andrew Haley <aph@cambridge.redhat.com> * include/i386-signal.h (old_i386_kernel_sigaction): New. INIT_SEGV: Use old_i386_kernel_sigaction. INIT_FP: Likewise. From-SVN: r50980