aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2001-07-10Makefile.am: Added `java/lang/ThreadLocal.java'.Alexandre Petit-Bianco7-1/+240
libjava: 2001-07-10 Alexandre Petit-Bianco <apbianco@redhat.com> * Makefile.am: Added `java/lang/ThreadLocal.java'. * Makefile.in: Regenerate. * java/lang/ThreadLocal.java: Initial import. libjava/testsuite: 2001-07-10 Alexandre Petit-Bianco <apbianco@readhat.com> * libjava.lang/TLtest.java: New file. * libjava.lang/TLtest.out: New file. (http://gcc.gnu.org/ml/java-patches/2001-q3/msg00042.html ) From-SVN: r43915
2001-07-07Makefile.am (libgcj.jar): Don't recursively make built_java_source_files.Jeff Sturm3-1006/+92
* Makefile.am (libgcj.jar): Don't recursively make built_java_source_files. Avoid long command lines. Don't change to $(srcdir) to invoke javac. (libgcj.la, libgcjx.la); Avoid long command lines. ($(nat_headers),$(x_nat_headers)): Depend on libgcj.jar. * Makefile.in: Rebuilt. From-SVN: r43836
2001-07-06i386-signal.h: Don't do anything with unsigned divide overflow except throw ↵Andrew Haley2-15/+5
an exception. 2001-07-06 Andrew Haley <aph@cambridge.redhat.com> * include/i386-signal.h: Don't do anything with unsigned divide overflow except throw an exception. From-SVN: r43813
2001-07-06Divide_1.java: Add may more test cases.Andrew Haley3-3/+117
2001-07-06 Andrew Haley <aph@cambridge.redhat.com> * libjava.lang/Divide_1.java: Add may more test cases. * libjava.lang/Divide_1.out: Likewise. From-SVN: r43812
2001-07-05For PR java/3562:Tom Tromey2-2/+8
* java/lang/Class.h (Class(void)): Now private. Removed implementation. From dmorsberger@sensysdl.com. From-SVN: r43781
2001-07-03II.java: New file.Jeff Sturm3-0/+22
* libjava.lang/II.java: New file. * libjava.lang/II.out: New file. From-SVN: r43744
2001-07-03configure: Rebuilt.Tom Tromey3-145/+172
* configure: Rebuilt. * configure.in: Added aux-dir hacks to satisfy automake and in-tree builds. From-SVN: r43740
2001-07-03re PR bootstrap/3281 (Installation failure (mkinstalldirs))Tom Tromey9-306/+352
Fix for PR bootstrap/3281: * aclocal.m4, configure: Rebuilt. * acinclude.m4 (LIBGCJ_CONFIGURE): Don't set libgcj_flagbasedir. Correctly compute libgcj_basedir. (mkinstalldirs): Define and subst. From-SVN: r43739
2001-07-02For PR libgcj/3523:Jeremy Nimmer2-2/+8
2001-07-01 Jeremy Nimmer <jwnimmer@alum.mit.edu> For PR libgcj/3523: * java/io/LineNumberReader.java (reset): Pass correct arguments to countLines. From-SVN: r43683
2001-06-27IOConverter.java: Manually maintained alias now lowercase.Tom Tromey2-1/+6
* gnu/gcj/convert/IOConverter.java: Manually maintained alias now lowercase. From-SVN: r43620
2001-06-26encodings.pl: Generate lower-case names.Tom Tromey3-26/+38
* scripts/encodings.pl: Generate lower-case names. Updated URL for `character-sets' file. * gnu/gcj/convert/IOConverter.java (canonicalize): Convert name to lower case. Rebuilt list of aliases. From-SVN: r43566
2001-06-26natFileDescriptorPosix.cc (open): Change error message formatting.Tom Tromey2-1/+8
* java/io/natFileDescriptorPosix.cc (open): Change error message formatting. From David Brownell. From-SVN: r43564
2001-06-25* libjava.lang/stub.xfail: Removed.Tom Tromey2-3/+4
From-SVN: r43558
2001-06-25jni.exp (gcj_jni_compile_c_to_so): Fix path for jni.h.Andreas Jaeger2-27/+31
* libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Fix path for jni.h. From-SVN: r43549
2001-06-21java-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL.Tom Tromey2-1/+8
* include/java-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL. From Corey Minyard. From-SVN: r43484
2001-06-19BigInteger.java (byteArrayToIntArray): Don't include extraneous/malformed ↵Mark J. Roberts2-5/+6
sign word. 2001-06-19 Mark J. Roberts <mjr@statesmean.com> * java/math/BigInteger.java (byteArrayToIntArray): Don't include extraneous/malformed sign word. From-SVN: r43455
2001-06-15* jni.cc (_Jv_JNI_NewLocalRef): Search other frames.Tom Tromey2-8/+19
From-SVN: r43415
2001-06-15natRuntime.cc (_Jv_FindSymbolInExecutable): Return NULL if no library on the ↵Tom Tromey3-3/+23
list has the symbol. * java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Return NULL if no library on the list has the symbol. (init): Call add_library on the program itself. * prims.cc (JvRunMain): Initialize Runtime before searching for `main'. (_Jv_RunMain): Likewise. From-SVN: r43413
2001-06-15jni.cc (ClassClass): Removed; updated all users.Tom Tromey2-30/+51
* jni.cc (ClassClass): Removed; updated all users. (ObjectClass): Likewise. (ThrowableClass): Likewise. (MethodClass): Likewise. (ThreadGroupClass): Likewise. (local_ref_table): Renamed from `ref_table'. (global_ref_table): New global. (_Jv_JNI_Init): Initialize both ref tables. (mark_for_gc): Added `ref_table' parameter. (unmark_for_gc): Likewise. Also, fail if we unreferenced too many times. (_Jv_JNI_NewGlobalRef): Updated for new mark function. (_Jv_JNI_DeleteGlobalRef): Likewise. (_Jv_JNI_DeleteLocalRef): Likewise. (_Jv_JNI_NewLocalRef): Likewise. (_Jv_JNI_PopLocalFrame): Likewise. (_Jv_JNI_GetStringChars): Likewise. (_Jv_JNI_ReleaseStringChars): Likewise. (_Jv_JNI_GetPrimitiveArrayElements): Likewise. (_Jv_JNI_ReleasePrimitiveArrayElements): Likewise. From-SVN: r43409
2001-06-14jni.exp: New file.Tom Tromey3-0/+176
* libjava.jni/jni.exp: New file. * lib/libjava.exp (gcj_link): New proc. From-SVN: r43375
2001-06-14re PR libgcj/3144 (java.lang.Date.compareTo() not supported)Tom Tromey2-143/+415
Fix for PR libgcj/3144: * java/util/Date.java: Merged with Classpath. From-SVN: r43374
2001-06-13Added John Gilmore.Per Bothner1-0/+1
From-SVN: r43330
2001-06-13aclocal.m4, configure: Rebuilt.Tom Tromey4-3/+15
* aclocal.m4, configure: Rebuilt. * acinclude.m4: Find configure.host in srcdir. From-SVN: r43325
2001-06-10exception.cc (cstdlib): Replaces stdlib.h.Alexandre Petit-Bianco2-3/+9
2001-06-10 Alexandre Petit-Bianco <apbianco@redhat.com> * exception.cc (cstdlib): Replaces stdlib.h. (_Jv_Throw): Use std::abort(). (PERSONALITY_FUNCTION): Likewise. (http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00620.html ) From-SVN: r43153
2001-06-09acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in ↵Alexandre Oliva3-238/+246
autoconf 2.50. * acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50. * aclocal.m4, configure: Rebuilt. From-SVN: r43108
2001-06-09acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in ↵Alexandre Oliva2-0/+10
autoconf 2.50. * acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50. * configure: Rebuilt. From-SVN: r43104
2001-06-08configure: Rebuilt.Tom Tromey3-242/+242
* configure: Rebuilt. * configure.in: Compute new aux dir using `pwd'. From-SVN: r43064
2001-06-08re PR libgcj/2874 (libjava testsuite disk space usage)Tom Tromey3-23/+89
Fix for PR libgcj/2874: * libjava.mauve/mauve.exp (gcj_run_mauve_tests): New proc. (test_mauve): Return 0 on failure. * lib/libjava.exp (test_libjava_from_source): Remove generated files if test is successful. (test_libjava_from_javac): Likewise. (gcj_cleanup): New proc. From-SVN: r43050
2001-06-08re PR libgcj/3059 (System doesn't set java.home property)Tom Tromey4-4/+16
Fix for PR libgcj/3059: * java/lang/natSystem.cc (init_properties): Define `java.home'. * Makefile.in: Rebuilt. * Makefile.am (AM_CXXFLAGS): Define PREFIX. From-SVN: r43040
2001-06-08For PR bootstrap/3075:Tom Tromey10-450/+475
* configure, aclocal.m4, Makefile.am: Rebuilt. * configure.in: Pass `--with-auxdir' to subdir configure. Don't call AC_CONFIG_AUX_DIR or AC_CANONICAL_SYSTEM. Look for unwind.h relative to libgcj_basedir. * acinclude.m4 ((LIBGCJ_CONFIGURE): Call AC_CONFIG_AUX_DIR and AC_CANONICAL_SYSTEM here. * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not libgcj_basedir. ($(extra_headers)): New target. From-SVN: r43034
2001-06-06libjava.exp (libjava_arguments): Build with `-no-install' when $mode == "link".Jeff Sturm2-0/+10
* lib/libjava.exp (libjava_arguments): Build with `-no-install' when $mode == "link". From-SVN: r42928
2001-06-05natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors table index is ↵Martin Kahlert2-6/+25
within allowed bounds. 2001-06-05 Martin Kahlert <martin.kahlert@infineon.com> Bryce McKinlay <bryce@waitaki.otago.ac.nz> * java/lang/natClass.cc (_Jv_IsAssignableFrom): Ensure that ancestors table index is within allowed bounds. Ensure that we dont try to access class itable at a negative offset. Avoid an ancestor table lookup if source is a primitive type class. (isInstance): Remove redundant isPrimitive() check. Co-Authored-By: Bryce McKinlay <bryce@waitaki.otago.ac.nz> From-SVN: r42898
2001-06-04PublicKey.java: Extend Key.Tom Tromey3-4/+9
* java/security/PublicKey.java: Extend Key. * java/security/PrivateKey.java: Extend Key. From-SVN: r42886
2001-06-02!defined(USE_LTDL) fixAnthony Green2-0/+13
From-SVN: r42813
2001-06-02Remove libgcjdata hack. Fix jv-scan usage in dejagnu.Anthony Green10-147/+60
From-SVN: r42812
2001-06-02Fake a PASS for targets which don't support invocation.Anthony Green2-0/+11
From-SVN: r42792
2001-06-02USE_LIBFFI changeAnthony Green11-323/+390
From-SVN: r42791
2001-06-02Check for sigaction.Anthony Green4-297/+291
From-SVN: r42790
2001-06-01natFile.cc (get_entry): Removed functions.Jeff Sturm2-25/+15
* natFile.cc (get_entry): Removed functions. (performList): Call readdir or readdir_r if HAVE_READDIR_R defined. Allocate enough storage for d_name if using readdir_r. From-SVN: r42767
2001-05-31natFileDescriptorPosix.cc (open): Allocate buffer to correct size.Tom Tromey2-21/+37
* java/io/natFileDescriptorPosix.cc (open): Allocate buffer to correct size. (write): Loop until write completes. From Corey Minyard. From-SVN: r42749
2001-05-31Rectangle2D.java: fix doc typo.Laurent Guerby2-1/+5
2001-05-29 Laurent Guerby <guerby@acm.org> * java/awt/geom/Rectangle2D.java: fix doc typo. From-SVN: r42746
2001-05-31DriverManager.java (getDrivers): Handle case where driver's class loader is ↵Tom Tromey2-3/+13
null. * java/sql/DriverManager.java (getDrivers): Handle case where driver's class loader is null. From Corey Minyard. From-SVN: r42745
2001-05-30invokethrow.out: New file.Tom Tromey3-0/+35
* libjava.lang/invokethrow.out: New file. * libjava.lang/invokethrow.java: New file. From-SVN: r42711
2001-05-29* include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.Tom Tromey2-1/+3
From-SVN: r42694
2001-05-29configure: Rebuilt.Tom Tromey3-6/+18
* configure: Rebuilt. * configure.in: Only add multilib support code if we just rebuilt top-level Makefile. From-SVN: r42693
2001-05-29i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame pointer...Andrew Haley6-183/+102
2001-05-29 Andrew Haley <aph@redhat.com> * include/i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame pointer: the dwarf unwinder in libgcc will do everything that's needed. (HANDLE_DIVIDE_OVERFLOW): Tidy. Don't mess with stack frames any more than we absolutely need to. * configure.host (EXCEPTIONSPEC): Remove libgcj_sjlj on Alpha. * configure.in (SIGNAL_HANDLER): Use include/dwarf2-signal.h on Alpha. (SIGNAL_HANDLER): Test "$enable_sjlj_exceptions", not "$libgcj_sjlj". * configure: Rebuilt. * include/dwarf2-signal.h (MAKE_THROW_FRAME): Adjust PC for Alpha. (SIGNAL_HANDLER): Use siginfo style handler. (INIT_SEGV): Likewise. (INIT_FPE): Likewise. * include/ppc-signal.h: Delete whole file. From-SVN: r42691
2001-05-24natString.cc (init): Throw ArrayIndexOutOfBoundsException.Tom Tromey2-8/+16
* java/lang/natString.cc (init): Throw ArrayIndexOutOfBoundsException. (getChars): Likewise. (getBytes): Likewise. (valueOf): Likewise. From-SVN: r42531
2001-05-24configure.in: Only allow hash synchronization when POSIX threads are enabled.Tom Tromey4-232/+245
* configure.in: Only allow hash synchronization when POSIX threads are enabled. * java/lang/natObject.cc (alloc_heavy): Properly find `init' field of sync info object. From-SVN: r42530
2001-05-24Makefile.in: Rebuilt.Tom Tromey3-2/+5
* Makefile.in: Rebuilt. * Makefile.am (AM_CXXFLAGS): Remove -fvtable-thunks. From-SVN: r42521
2001-05-24Revert patch of 2001-05-21:Tom Tromey3-67/+1568
* Makefile.am (libgcj_la_DEPENDENCIES): Removed nat_files. (libgcj_la_LIBADD): Likewise. (libgcjx_la_DEPENDENCIES): Removed x_nat_files. (libgcjx_la_LIBADD): Likewise. From-SVN: r42520