aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2002-04-16re PR libgcj/6081 (libjava make install fails: Arg list too long)Tom Tromey6-35/+63
Fix for PR libgcj/6081: * Makefile.in: Rebuilt. * Makefile.am (install-data-local): Use GNU make trick to avoid shell limit. From-SVN: r52370
2002-04-16natFileWin32.cc (performList): Return the correct array type.Adam King2-31/+35
2002-04-16 Adam King <aking@dreammechanics.com> Tom Tromey <tromey@redhat.com> * java/io/natFileWin32.cc (performList): Return the correct array type. Don't duplicate the creation of a File since it's already done earlier in the method and the existing code would cause a ArrayStoreException. Don't use fixed-size array. (_access, _stat, attr, getCanonicalPath, performMkdir, performRenameTo): Don't use fixed-size array. (getCanonicalPath): Use throw, not _Jv_Throw. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r52369
2002-04-15configure.in: Allow building in $srcdir.DJ Delorie3-232/+239
* configure.in: Allow building in $srcdir. * configure: Regenerated. From-SVN: r52347
2002-04-15natPlainDatagramSocketImpl.cc (close): Set timeout to 0.Mark Wielaard3-0/+7
* java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0. * java/net/natSocketImpl.cc (close): Likewise. From-SVN: r52312
2002-04-15Connection.java (usingProxy): return false.Mark Wielaard2-1/+5
2002-04-14 Mark Wielaard <mark@klomp.org> * gnu/gcj/protocol/http/Connection.java (usingProxy): return false. From-SVN: r52310
2002-04-15natDouble.cc (parseDouble): Allow a number to end with the f/F/d/D modifiers.Adam King2-1/+16
2002-04-13 Adam King <aking@dreammechanics.com> * java/lang/natDouble.cc (parseDouble): Allow a number to end with the f/F/d/D modifiers. From-SVN: r52308
2002-04-14re PR libgcj/6302 (http URLConnection does not support HTTP/1.1 (and chunked ↵Mark Wielaard2-0/+8
transfer encoding)) * libjava.mauve/xfails: Expect failures for PR libgcj/6302 and libgcj/6298. From-SVN: r52305
2002-04-14re PR libgcj/6293 (PipedInputStream.close() does not notify writer (Mauve test))Mark Wielaard2-0/+12
* libjava.mauve/xfails: Expect failures for PR libgcj/6293, libgcj/6295, libgcj/6296 and libgcj/6297. From-SVN: r52297
2002-04-12Fix botch in last commit.Anthony Green2-2/+2
From-SVN: r52230
2002-04-12Install libgcj.jar as libgcj-VERSION.jar.Anthony Green10-312/+327
From-SVN: r52226
2002-04-12SyncGlobal.java, [...]: New test case.Loren J. Rittle3-0/+37
* libjava.lang/SyncGlobal.java, libjava.lang/SyncGlobal.out: New test case. From-SVN: r52207
2002-04-12configure.host: Set can_unwind_signal on hosts which support it.Bryce McKinlay4-328/+347
* configure.host: Set can_unwind_signal on hosts which support it. Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD. * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ exceptions and can_unwind_signal isn't set. * configure: Rebuilt. From-SVN: r52193
2002-04-11* win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.Tom Tromey2-4/+8
From-SVN: r52183
2002-04-11jvm.h (_Jv_ThrowBadArrayIndex, [...]): Mark as noreturn.Adam King3-22/+36
2002-04-11 Adam King <aking@dreammechanics.com> Tom Tromey <tromey@redhat.com> * include/jvm.h (_Jv_ThrowBadArrayIndex, _Jv_ThrowNullPointerException): Mark as noreturn. * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked and _Jv_free. Correctly invoke GetTempPath(). Indentation fixes. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r52164
2002-04-10Makefile.in: Rebuilt.Tom Tromey9-20/+138
* Makefile.in: Rebuilt. * Makefile.am (java/lang/Thread.h): Mark _Jv_AttachCurrentThreadAsDaemon as friend. * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare. * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function. * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New function. * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4. * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4. (_Jv_JNI_InvokeFunctions): Added _Jv_JNI_AttachCurrentThreadAsDaemon. (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4. (JNI_GetDefaultJavaVMInitArgs): Likewise. (JNI_CreateJavaVM): Likewise. (_Jv_JNI_AttachCurrentThread): Likewise. (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument. (_Jv_JNI_AttachCurrentThreadAsDaemon): New method. (_Jv_JNIFunctions): Initialize new fields. (_Jv_JNI_NewDirectByteBuffer): New function. (_Jv_JNI_GetDirectBufferAddress): Likewise. (_Jv_JNI_GetDirectBufferCapacity): Likewise. * include/jni.h (JNI_VERSION_1_4): New macro. (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field. (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method. (JNINativeInterface::NewDirectByteBuffer): New field. (JNINativeInterface::GetDirectBufferAddress): New field. (JNINativeInterface::GetDirectBufferCapacity): New field. (_Jv_JNIEnv::NewDirectByteBuffer): New method. (_Jv_JNIEnv::GetDirectBufferAddress): New method. (_Jv_JNIEnv::GetDirectBufferCapacity): New method. From-SVN: r52144
2002-04-09* win32.cc (_Jv_platform_initProperties): Use GetTempPath.Tom Tromey2-1/+5
From-SVN: r52084
2002-04-09re PR java/6204 (gcj generates invalid byte code)Bryce McKinlay5-0/+81
* libjava.lang/PR6204.java, libjava.lang/PR6204.out: New test case. * libjava.lang/PR6085.java, libjava.lang/PR6085.out: Likewise. From-SVN: r52056
2002-04-08re PR libgcj/6187 (method distance of class java.awt.geom.Point2D causes ↵Alberto Biancardi2-1/+7
infinite recursion) 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it> Fix for PR libgcj/6187: * java/awt/geom/Point2D.java (distance): Call distanceSq, not distance. From-SVN: r52027
2002-04-08AbstractMap.java (putAll): Use entrySet size.Mark Wielaard2-5/+10
* java/util/AbstractMap.java (putAll): Use entrySet size. (toString): Explicitly use getKey() and getValue(). From-SVN: r52008
2002-04-07xfails: Add CASE_INSENSITIVE_ORDER...Mark Wielaard2-0/+18
* libjava.mauve/xfails: Add CASE_INSENSITIVE_ORDER, result was unspecified and test should be updated to match latest spec. Add AcuniaPropertiesTest, known bug #6219. Add test_getClassLoader, what we do seems to be not really right or wrong. From-SVN: r52006
2002-04-07Hashtable.java (contains): Remove NullPointer check.Mark Wielaard2-15/+16
* java/util/Hashtable.java (contains): Remove NullPointer check. (containsValue): Add NullPointer check. (remove): Always throw NullPointerException when key is null. From-SVN: r51994
2002-04-07typoBryce McKinlay1-1/+1
From-SVN: r51991
2002-04-07natSystem.cc (init_properties): Call new function _Jv_platform_initProperties.Adam King6-16/+167
2002-04-07 Adam King <aking@dreammechanics.com> * java/lang/natSystem.cc (init_properties): Call new function _Jv_platform_initProperties. * win32 (_Jv_platform_initProperties): New function that adds Win32 support for the System properties os.name, os.arch, os.version, user.name, user.home, and user.dir. * include/posix.h, include/win32.h, posix.cc: New function _Jv_platform_initProperties. From-SVN: r51989
2002-04-07mauve.exp: Use libgcj.jar not libgcj.zip.Mark Wielaard3-1/+12
* libjava.mauve/mauve.exp: Use libgcj.jar not libgcj.zip. * libjava.mauve/xfails: add Character.classify12 (number 1), Character.getType (number 11), Character.getType (number 20) and Character.getType (number 22). We implement 1.4 Character. From-SVN: r51987
2002-04-07* java/lang/Character,java (isDefined): getType() != UNASSIGNED.Mark Wielaard2-1/+5
From-SVN: r51982
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