aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2002-05-08libjava.exp (test_libjava_from_javac): Append .exe to executable names.David Billinghurst2-1/+9
2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com> * testsuite/lib/libjava.exp (test_libjava_from_javac): Append .exe to executable names. Fix for cygwin. From-SVN: r53291
2002-05-08configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and ↵Alexandre Oliva3-311/+331
set LD to it when configuring multilibs. * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs. * configure: Rebuilt. From-SVN: r53278
2002-05-07* java/lang/natString.cc (unintern): Fixed typo.Tom Tromey2-2/+6
From-SVN: r53265
2002-05-06libjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*.David Billinghurst2-1/+9
2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com> * testsuite/lib/libjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*. From-SVN: r53210
2002-05-05libjava.exp (test_libjava_from_source): Add comment explaining last patch.David Billinghurst2-0/+8
2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com> * testsuite/lib/libjava.exp (test_libjava_from_source): Add comment explaining last patch. From-SVN: r53201
2002-05-04For PR java/6519:Mark Wielaard3-0/+25
* libjava.lang/emptystring.java: New. * libjava.lang/emptystring.out: New. From-SVN: r53157
2002-05-04libjava.exp (test_libjava_from_source): Append .exe to executable names.David Billinghurst2-0/+8
2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com> * 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. From-SVN: r53143
2002-05-03natSystem.cc (getSystemTimeZone): Use HAVE_UNDERSCORE_TIMEZONE.David Billinghurst8-325/+340
2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com> 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'. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r53117
2002-05-03Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>Alexandre Oliva3-78/+111
Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front. (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise. * Makefile.in: Rebuilt. From-SVN: r53108
2002-05-03dwarf2-signal.h (INIT_SEGV, [...]): use sigaction instead of __libc_sigaction.Hans Boehm2-11/+10
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64): use sigaction instead of __libc_sigaction. From-SVN: r53074
2002-05-02libjava.exp (libjava_find_spec): New function.Rainer Orth2-4/+36
* testsuite/lib/libjava.exp (libjava_find_spec): New function. (libjava_init): Use it to find libgcj.spec. (libjava_arguments): Likewise. From-SVN: r53057
2002-05-02re PR bootstrap/6525 (libjava won't build on Red Hat Linux 6.2/sparc)David S. Miller2-2/+94
2002-05-02 David S. Miller <davem@redhat.com> PR bootstrap/6525 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use __libc_sigaction on Sparc. From-SVN: r53055
2002-05-02natPlainSocketImpl.cc: Include sys/ioctl.h and sys/filio.h, if present.Jerome Marc2-0/+17
2002-05-02 Jerome Marc <marcjero@yahoo.com> * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and sys/filio.h, if present. From-SVN: r53050
2002-04-30re PR libgcj/6301 (gij -jar does not work)Tom Tromey2-2/+12
* java/io/BufferedReader.java (fill): Handle case where markPos point to ignored \n. Fixes PR libgcj/6301. From-SVN: r52982
2002-04-29ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.Gerhard Tonn2-0/+8
2002-04-29 Gerhard Tonn <GerhardTonn@swol.de> * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390. From-SVN: r52874
2002-04-29natFileDescriptorWin32.cc (open): Move file pointer to end of file in APPEND ↵Adam King2-0/+12
mode. 2002-04-29 Adam King <aking@dreammechanics.com> * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end of file in APPEND mode. From-SVN: r52869
2002-04-28* .cvsignore: Remove files that are present in CVS.Mark Mitchell2-6/+7
From-SVN: r52845
2002-04-26re PR target/6422 (libjava failures on sparc-linux)David S. Miller2-14/+27
2002-04-25 David S. Miller <davem@redhat.com> 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. From-SVN: r52820
2002-04-26verify.cc (construct_primitive_array_type): New case.Tom Tromey6-3/+81
* verify.cc (construct_primitive_array_type) [void_type]: New 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. From-SVN: r52814
2002-04-24natCore.cc (create): Use __builtin_alloca, and compute correct length of ↵Tom Tromey2-3/+17
UTF-8 encoded name. * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute correct length of UTF-8 encoded name. Strip leading `/'. (_Jv_RegisterResource): Use _Jv_Malloc. From-SVN: r52744
2002-04-24win32.cc, win32.cc (backtrace): Added this function because Win32 does not ↵Adam Megacz3-0/+33
supply it. 2002-04-23 Adam Megacz <adam@xwt.org> * win32.cc, include/win32.cc (backtrace): Added this function because Win32 does not supply it. From-SVN: r52701
2002-04-22dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction ↵David S. Miller2-0/+7
reading sequence. 2002-04-21 David S. Miller <davem@redhat.com> * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction reading sequence. From-SVN: r52609
2002-04-21re PR java/6391 (Constant float to int conversions don't use ↵Mark Wielaard4-0/+17
ieee_real_to_integer when compiled to byte-code) * mauve-libgcj: Don't run java.lang.ref tests since they are buggy. * libjava.mauve/xfail: Expect failures for PR java/6391 and libgcj/6389. From-SVN: r52577
2002-04-21dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer arg.David S. Miller7-8/+204
2002-04-19 David S. Miller <davem@redhat.com> * 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. From-SVN: r52575
2002-04-20configure: Rebuilt.Hans Boehm3-313/+401
2002-04-19 Hans Boehm <Hans_Boehm@hp.com> * configure: Rebuilt. * configure.in (backtrace): Function doesn't work on IA-64. From-SVN: r52544
2002-04-18File.java (normalizePath): Add Win32 support for auto conversion of a '/' ↵Adam King2-0/+10
path separator to Win32's '\'... * java/io/File.java (normalizePath): Add Win32 support for auto conversion of a '/' path separator to Win32's '\' separator. From-SVN: r52447
2002-04-17negzero.java: New.Mark Wielaard3-0/+15
* libjava.lang/negzero.java: New. * libjava.lang/negzero.out: New. From-SVN: r52429
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