summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>billingd2002-05-052-0/+8
| | | | | | | | * testsuite/lib/libjava.exp (test_libjava_from_source): Add comment explaining last patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53201 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR java/6519:mark2002-05-043-0/+25
| | | | | | | | * libjava.lang/emptystring.java: New. * libjava.lang/emptystring.out: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53157 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>billingd2002-05-042-0/+8
| | | | | | | | | | * testsuite/lib/libjava.exp (test_libjava_from_source): Append .exe to executable names. If no suffix is present, then ".exe" is added by default on win32. Harmless elsewhere so always do it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53143 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>tromey2002-05-038-325/+340
| | | | | | | | | | | | | | | | Tom Tromey <tromey@redhat.com> * java/lang/natSystem.cc (getSystemTimeZone): Use HAVE_UNDERSCORE_TIMEZONE. * include/config.h.in: Rebuilt. * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef. * aclocal.m4, configure: Rebuilt. * acinclude.m4: Run AC_EXEEXT. * configure.in: Adjust test for `timezone' so it fails on Cygwin. Add test for `_timezone'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53117 138bc75d-0d04-0410-961f-82ee72b054a4
* Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>aoliva2002-05-033-78/+111
| | | | | | | | | * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front. (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53108 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):hboehm2002-05-032-11/+10
| | | | | | | use sigaction instead of __libc_sigaction. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53074 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/lib/libjava.exp (libjava_find_spec): New function.ro2002-05-022-4/+36
| | | | | | | | (libjava_init): Use it to find libgcj.spec. (libjava_arguments): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53057 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-05-02 David S. Miller <davem@redhat.com>davem2002-05-022-2/+94
| | | | | | | | | PR bootstrap/6525 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use __libc_sigaction on Sparc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53055 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-05-02 Jerome Marc <marcjero@yahoo.com>tromey2002-05-022-0/+17
| | | | | | | | * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and sys/filio.h, if present. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53050 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/BufferedReader.java (fill): Handle case where markPostromey2002-04-302-2/+12
| | | | | | | point to ignored \n. Fixes PR libgcj/6301. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52982 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>bryce2002-04-292-0/+8
| | | | | | | * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52874 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-29 Adam King <aking@dreammechanics.com>bryce2002-04-292-0/+12
| | | | | | | | * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end of file in APPEND mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52869 138bc75d-0d04-0410-961f-82ee72b054a4
* * .cvsignore: Remove files that are present in CVS.mmitchel2002-04-282-6/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52845 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-25 David S. Miller <davem@redhat.com>davem2002-04-272-14/+27
| | | | | | | | | | PR target/6422 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set program counter to next program counter minus 8. Update comments in this macro to explain why. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52820 138bc75d-0d04-0410-961f-82ee72b054a4
* * verify.cc (construct_primitive_array_type) [void_type]: Newtromey2002-04-266-3/+81
| | | | | | | | | | | | | | case. (branch_prepass): Added dummy entries for unused instruction values. (verify_instructions_0): Likewise. * interpret.cc (continue1): Comment fix. * include/java-insns.h (op_xxxunusedxxx1): Removed. * Makefile.in: Rebuilt. * Makefile.am: Added -Wswitch-enum. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52814 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and computetromey2002-04-242-3/+17
| | | | | | | | correct length of UTF-8 encoded name. Strip leading `/'. (_Jv_RegisterResource): Use _Jv_Malloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52744 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-23 Adam Megacz <adam@xwt.org>megacz2002-04-243-0/+33
| | | | | | | | * win32.cc, include/win32.cc (backtrace): Added this function because Win32 does not supply it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52701 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-21 David S. Miller <davem@redhat.com>davem2002-04-222-0/+7
| | | | | | | | * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction reading sequence. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52609 138bc75d-0d04-0410-961f-82ee72b054a4
* * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.mark2002-04-214-0/+17
| | | | | | | | * libjava.mauve/xfail: Expect failures for PR java/6391 and libgcj/6389. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52577 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-19 David S. Miller <davem@redhat.com>davem2002-04-217-8/+204
| | | | | | | | | | | | | | | | | | | | * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer arg. (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc. (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation on Sparc too. * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly for 64-bit sparc. (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works. * sysdeps/sparc/locks.h: New file. * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h on all sparc Solaris configurations. Set to include/dwarf2-signal.h on sparc Linux. * configure: Regenerate * configure.host (can_unwind_signal): sparc*-linux* can do it now. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52575 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>tromey2002-04-203-313/+401
| | | | | | | | * configure: Rebuilt. * configure.in (backtrace): Function doesn't work on IA-64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52544 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/File.java (normalizePath): Add Win32 support for autobryce2002-04-172-0/+10
| | | | | | | conversion of a '/' path separator to Win32's '\' separator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52447 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/negzero.java: New.mark2002-04-173-0/+15
| | | | | | | * libjava.lang/negzero.out: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52429 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/6081:tromey2002-04-166-35/+63
| | | | | | | | | * Makefile.in: Rebuilt. * Makefile.am (install-data-local): Use GNU make trick to avoid shell limit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52370 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-16 Adam King <aking@dreammechanics.com>tromey2002-04-162-31/+35
| | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52369 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Allow building in $srcdir.dj2002-04-163-232/+239
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52347 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.mark2002-04-153-0/+7
| | | | | | | * java/net/natSocketImpl.cc (close): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52312 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-14 Mark Wielaard <mark@klomp.org>mark2002-04-152-1/+5
| | | | | | | * gnu/gcj/protocol/http/Connection.java (usingProxy): return false. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52310 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-13 Adam King <aking@dreammechanics.com>mark2002-04-152-1/+16
| | | | | | | | * java/lang/natDouble.cc (parseDouble): Allow a number to end with the f/F/d/D modifiers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52308 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/xfails: Expect failures for PR libgcj/6302 andmark2002-04-142-0/+8
| | | | | | | libgcj/6298. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52305 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/xfails: Expect failures for PR libgcj/6293,mark2002-04-142-0/+12
| | | | | | | libgcj/6295, libgcj/6296 and libgcj/6297. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52297 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix botch in last commit.green2002-04-122-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52230 138bc75d-0d04-0410-961f-82ee72b054a4
* Install libgcj.jar as libgcj-VERSION.jar.green2002-04-1210-312/+327
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52226 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/SyncGlobal.java, libjava.lang/SyncGlobal.out:ljrittle2002-04-123-0/+37
| | | | | | | New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52207 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.host: Set can_unwind_signal on hosts which support it.bryce2002-04-124-328/+347
| | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52193 138bc75d-0d04-0410-961f-82ee72b054a4
* * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.tromey2002-04-112-4/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52183 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-11 Adam King <aking@dreammechanics.com>tromey2002-04-113-22/+36
| | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52164 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2002-04-109-20/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52144 138bc75d-0d04-0410-961f-82ee72b054a4
* * win32.cc (_Jv_platform_initProperties): Use GetTempPath.tromey2002-04-092-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52084 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/PR6204.java, libjava.lang/PR6204.out: New test case.bryce2002-04-095-0/+81
| | | | | | | * libjava.lang/PR6085.java, libjava.lang/PR6085.out: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52056 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>tromey2002-04-082-1/+7
| | | | | | | | | Fix for PR libgcj/6187: * java/awt/geom/Point2D.java (distance): Call distanceSq, not distance. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52027 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/AbstractMap.java (putAll): Use entrySet size.mark2002-04-082-5/+10
| | | | | | | (toString): Explicitly use getKey() and getValue(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52008 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/xfails: Add CASE_INSENSITIVE_ORDER, result wasmark2002-04-072-0/+18
| | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52006 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/Hashtable.java (contains): Remove NullPointer check.mark2002-04-072-15/+16
| | | | | | | | (containsValue): Add NullPointer check. (remove): Always throw NullPointerException when key is null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51994 138bc75d-0d04-0410-961f-82ee72b054a4
* typobryce2002-04-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51991 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-07 Adam King <aking@dreammechanics.com>bryce2002-04-076-16/+167
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51989 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/mauve.exp: Use libgcj.jar not libgcj.zip.mark2002-04-073-1/+12
| | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51987 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Character,java (isDefined): getType() != UNASSIGNED.mark2002-04-072-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51982 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopymark2002-04-073-5/+28
| | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51979 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/ArrayList.jva (removeRange): If toIndex == fromIndex domark2002-04-062-3/+12
| | | | | | | nothing, if toIndex < fromIndex throw IndexOutIfBoundsException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51947 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud