summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* * gnu/gcj/convert/IOConverter.java: Manually maintained alias nowtromey2001-06-272-1/+6
| | | | | | | lowercase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43620 138bc75d-0d04-0410-961f-82ee72b054a4
* * scripts/encodings.pl: Generate lower-case names. Updated URLtromey2001-06-263-26/+38
| | | | | | | | | | for `character-sets' file. * gnu/gcj/convert/IOConverter.java (canonicalize): Convert name to lower case. Rebuilt list of aliases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43566 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/natFileDescriptorPosix.cc (open): Change error messagetromey2001-06-262-1/+8
| | | | | | | formatting. From David Brownell. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43564 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/stub.xfail: Removed.tromey2001-06-252-3/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43558 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Fix path foraj2001-06-252-27/+31
| | | | | | | jni.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43549 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/java-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL.tromey2001-06-212-1/+8
| | | | | | | From Corey Minyard. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43484 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-06-19 Mark J. Roberts <mjr@statesmean.com>warrenl2001-06-192-5/+6
| | | | | | | | * java/math/BigInteger.java (byteArrayToIntArray): Don't include extraneous/malformed sign word. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43455 138bc75d-0d04-0410-961f-82ee72b054a4
* * jni.cc (_Jv_JNI_NewLocalRef): Search other frames.tromey2001-06-152-8/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43415 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Returntromey2001-06-153-3/+23
| | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43413 138bc75d-0d04-0410-961f-82ee72b054a4
* * jni.cc (ClassClass): Removed; updated all users.tromey2001-06-152-30/+51
| | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43409 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.jni/jni.exp: New file.tromey2001-06-143-0/+176
| | | | | | | * lib/libjava.exp (gcj_link): New proc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43375 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/3144:tromey2001-06-142-143/+415
| | | | | | | * java/util/Date.java: Merged with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43374 138bc75d-0d04-0410-961f-82ee72b054a4
* Added John Gilmore.bothner2001-06-131-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43330 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4, configure: Rebuilt.tromey2001-06-134-3/+15
| | | | | | | * acinclude.m4: Find configure.host in srcdir. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43325 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-06-10 Alexandre Petit-Bianco <apbianco@redhat.com>apbianco2001-06-102-3/+9
| | | | | | | | | | | * 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 ) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43153 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (AC_EXEEXT): Work around in case it expands toaoliva2001-06-093-238/+246
| | | | | | | | nothing, as in autoconf 2.50. * aclocal.m4, configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43108 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (AC_EXEEXT): Work around in case it expands toaoliva2001-06-092-0/+10
| | | | | | | | nothing, as in autoconf 2.50. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43104 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey2001-06-083-242/+242
| | | | | | | * configure.in: Compute new aux dir using `pwd'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43064 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/2874:tromey2001-06-083-23/+89
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43050 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/3059:tromey2001-06-084-4/+16
| | | | | | | | | * java/lang/natSystem.cc (init_properties): Define `java.home'. * Makefile.in: Rebuilt. * Makefile.am (AM_CXXFLAGS): Define PREFIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43040 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR bootstrap/3075:tromey2001-06-0810-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43034 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_arguments): Build with `-no-install'jsturm2001-06-062-0/+10
| | | | | | | when $mode == "link". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42928 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-06-05 Martin Kahlert <martin.kahlert@infineon.com>bryce2001-06-052-6/+25
| | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42898 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/security/PublicKey.java: Extend Key.tromey2001-06-043-4/+9
| | | | | | | * java/security/PrivateKey.java: Extend Key. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42886 138bc75d-0d04-0410-961f-82ee72b054a4
* !defined(USE_LTDL) fixgreen2001-06-022-0/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42813 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove libgcjdata hack. Fix jv-scan usage in dejagnu.green2001-06-0210-147/+60
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42812 138bc75d-0d04-0410-961f-82ee72b054a4
* Fake a PASS for targets which don't support invocation.green2001-06-022-0/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42792 138bc75d-0d04-0410-961f-82ee72b054a4
* USE_LIBFFI changegreen2001-06-0211-323/+390
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42791 138bc75d-0d04-0410-961f-82ee72b054a4
* Check for sigaction.green2001-06-024-297/+291
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42790 138bc75d-0d04-0410-961f-82ee72b054a4
* * natFile.cc (get_entry): Removed functions.jsturm2001-06-012-25/+15
| | | | | | | | (performList): Call readdir or readdir_r if HAVE_READDIR_R defined. Allocate enough storage for d_name if using readdir_r. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42767 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/natFileDescriptorPosix.cc (open): Allocate buffer totromey2001-05-312-21/+37
| | | | | | | | correct size. (write): Loop until write completes. From Corey Minyard. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42749 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-29 Laurent Guerby <guerby@acm.org>tromey2001-05-312-1/+5
| | | | | | | * java/awt/geom/Rectangle2D.java: fix doc typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42746 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/sql/DriverManager.java (getDrivers): Handle case wheretromey2001-05-312-3/+13
| | | | | | | driver's class loader is null. From Corey Minyard. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42745 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/invokethrow.out: New file.tromey2001-05-303-0/+35
| | | | | | | * libjava.lang/invokethrow.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42711 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.tromey2001-05-292-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42694 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey2001-05-293-6/+18
| | | | | | | | * configure.in: Only add multilib support code if we just rebuilt top-level Makefile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42693 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-29 Andrew Haley <aph@redhat.com>aph2001-05-296-183/+102
| | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42691 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natString.cc (init): Throwtromey2001-05-242-8/+16
| | | | | | | | | | ArrayIndexOutOfBoundsException. (getChars): Likewise. (getBytes): Likewise. (valueOf): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42531 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Only allow hash synchronization when POSIX threadstromey2001-05-244-232/+245
| | | | | | | | | are enabled. * java/lang/natObject.cc (alloc_heavy): Properly find `init' field of sync info object. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42530 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2001-05-243-2/+5
| | | | | | | * Makefile.am (AM_CXXFLAGS): Remove -fvtable-thunks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42521 138bc75d-0d04-0410-961f-82ee72b054a4
* Revert patch of 2001-05-21:tromey2001-05-243-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42520 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-23 Tom Tromey <tromey@redhat.com>tromey2001-05-2425-428/+1890
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix-threads.cc (_Jv_self_cache): Renamed from self_cache. * gcj/Makefile.in: Rebuilt. * gcj/Makefile.am (gcj_HEADERS): Added libgcj-config.h. * gcj/javaprims.h: Include gcj/libgcj-config.h. * gcj/libgcj-config.h.in: New file. * libgcj.spec.in (*jc1): Added @HASH_SYNC_SPEC@. * configure: Rebuilt. * configure.in: Enable hash synchronization by default on some platforms. (HASH_SYNC_SPEC): New subst. (AC_CONFIG_HEADER): Added gcj/libgcj-config.h. Correctly use `test -z' instead of `test -n' in a couple places. (JV_HASH_SYNCHRONIZATION): Use AC_DEFINE; don't add to LIBGCJ_CXXFLAGS. * configure.host (enable_java_net_default): Initialize. (enable_hash_synchronization_default): New variable. 2001-05-23 Hans Boehm <Hans_Boehm@hp.com> * boehm.cc (_Jv_MarkObj): Don't mark sync_info when hash synchronization in use. (_Jv_MarkArray): Likewise. (_Jv_AllocBytes): Don't check return result. (handle_out_of_memory): New function. (_Jv_InitGC): Set GC_oom_fn. (trace_one_vtable): New global. (_Jv_AllocTraceOne): New function. * configure.in: Added --enable-hash-synchronization. * defineclass.cc, prims.cc, resolve.cc, java/lang/natString.cc, java/net/natInetAddress.cc: Remove _Jv_AllocBytesChecked. * nogc.cc (_Jv_AllocObj): Throw out-of-memory. (_Jv_AllocArray): Likewise. (_Jv_AllocBytes): Likewise. (_Jv_AllocPtrFreeObject): New function. (_Jv_AllocTraceOne): Likewise. * posix-threads.cc (_Jv_ThreadRegister): Handle slow pthread_self(). (self_cache): New global. (_Jv_ThreadSelf_out_of_line): New function. * prims.cc (_Jv_AllocBytesChecked): Removed. (_Jv_ThrowNoMemory): New function. (_Jv_AllocObject): Don't check for null return from allocator. (_Jv_NewObjectArray): Likewise. (_Jv_AllocPtrFreeObject): New function. (_Jv_NewPrimArray): Allocate pointer-free object if possible. * include/javaprims.h (_Jv_AllocPtrFreeObject): Declare. (_Jv_MonitorEnter, _Jv_MonitorExit): Don't return value. * include/boehm-gc.h (_Jv_AllocObj): Define. (_Jv_AllocPtrFreeObj): Define. * include/jvm.h (_Jv_AllocPtrFreeObj): Declare. (_Jv_ThrowNoMemory): Declare. (_Jv_AllocTraceOne): Declare. (_Jv_AllocBytesChecked): Removed. * include/posix-threads.h (_Jv_MutexInit, _Jv_MutexLock, _Jv_MutexUnlock): Handle LOCK_DEBUG. (_Jv_ThreadSelf): Handle case where system pthread_self() is slow. * java/lang/Class.h (Class): Declare _Jv_AllocPtrFreeObj as friend. * java/lang/Object.h (sync_info): Conditional upon presence of hash synchronization. * java/lang/natObject.cc: Much new code to handle thin locks and hash synchronization. * java/lang/natString.cc (_Jv_AllocString): Allocate pointer-free object if possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42519 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/java:jsm282001-05-232-2/+6
| | | | | | | | | | * jv-scan.c (version): Update copyright year. libjava: * gij.cc (version): Update copyright year. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42505 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix cross builds.green2001-05-233-304/+290
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42497 138bc75d-0d04-0410-961f-82ee72b054a4
* Implement invocation interface; don't create new thread for main.bothner2001-05-2222-1956/+472
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42428 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files).bothner2001-05-222-5/+11
| | | | | | | | (libgcj_la_LIBADD): Likewise. (libgcjx_la_DEPENDENCIES, libgcjx_la_LIBADD): Add $(x_nat_files). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42424 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcj/javaprims.h (_Jv_FormatInt): New declaration.bothner2001-05-2210-40/+98
| | | | | | | | | | | | | | | * java/lang/natString.cc (_JvFormatInt): New primitive, with logic taken from old Integer.toString code. (Integer::valueOf): Use _Jv_FormatInt. * java/lang/Integer.java (toString): Just use call String.valueOf. * java/lang/Long.java (toString): Fix typo in comment. * java/lang/String.java (valueOf(int)): Make native. * java/lang/StringBuffer.java (append(int)): Make native. * java/lang/natStringBuffer.cc: New file, for append(jint). * Makefile.am (ant_source_files): Add java/lang/natStringBuffer.cc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42419 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Now public.tromey2001-05-212-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42405 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-18 Andrew Haley <aph@cambridge.redhat.com>aph2001-05-215-283/+378
| | | | | | | | | | * include/dwarf2-signal.h: New file. * configure.in (SYSDEP_SOURCES): Add dwarf2-signal.h for PPC. * configure.host (EXCEPTIONSPEC): Don't use sjlj on PPC. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42400 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Update boehm-gc include dir for new GC version.bryce2001-05-219-324/+313
| | | | | | | | | | | | | * configure: Rebuilt. * exception.cc: Only include <gc.h>. Remove TRUE/FALSE hacks and extern "C" wrapper. * boehm.cc: Update includes for new GC version. MAKE_PROC is now GC_MAKE_PROC. mark_proc is now GC_mark_proc. * posix-threads.cc: Only include <gc.h>. Don't need to wrap with extern "C". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42380 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud