summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in (GCJ): Define as "target-gcj", not "target/gcj"tromey1999-10-064-137/+147
| | | | | | | | when building Canadian cross. (NATIVE): Don't define when cross-compiling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29848 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainSocketImpl.cc: Don't include headers iftromey1999-10-042-0/+5
| | | | | | | java.net is disabled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29812 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey1999-10-043-3/+8
| | | | | | | | * Makefile.am (ZINCS): Removed. This is defined in configure.in when needed, and must be left empty when not needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29809 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix changelog entrygreen1999-10-041-3/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29791 138bc75d-0d04-0410-961f-82ee72b054a4
* A little clean up.green1999-10-044-1/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29790 138bc75d-0d04-0410-961f-82ee72b054a4
* Refreshed from htdocsgreen1999-10-022-19/+57
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29768 138bc75d-0d04-0410-961f-82ee72b054a4
* Missing file from last commitgreen1999-10-021-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29766 138bc75d-0d04-0410-961f-82ee72b054a4
* The following patches include a couple of fixes for cross toolchains,green1999-10-023-1/+10
| | | | | | | | and endian bits for the picojava port. I am committing this (and the rebuilt Makefile.in/configure files). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29765 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/PR56.out: New file.tromey1999-10-023-0/+13
| | | | | | | * libjava.lang/PR56.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29760 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey1999-10-029-210/+414
| | | | | | | | | | | | | | | | | | | | | | * configure.in: Set classpath when invoking gcj. Use changequote around sed invocation. * java/net/natPlainSocketImpl.cc: Stub native functions if DISABLE_JAVA_NET is defined. * java/net/natPlainDatagramSocketImpl.cc (setTimeToLive): Fixed typo in exception string. (getTimeToLive): Likewise. Stub native functions if DISABLE_JAVA_NET is defined. * java/net/natInetAddress.cc: Stub native functions if DISABLE_JAVA_NET is defined. * configure.host: Disable java.net for mips-tx39. * configure, include/config.h.in: Rebuilt. * acconfig.h (DISABLE_JAVA_NET): Undefine. * configure.in: Added --disable-java-net and new define `DISABLE_JAVA_NET'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29759 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainDatagramSocketImpl.cc: Indentation fix.tromey1999-09-302-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29737 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-09-29 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-09-302-0/+51
| | | | | | | * README: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29717 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/PR55.out: New file.tromey1999-09-293-0/+15
| | | | | | | * libjava.lang/PR55.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29714 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey1999-09-284-2/+9
| | | | | | | | | * configure.in (PROCESS): In POSIX case, only set if not already set. * configure.host (PROCESS): Set in mips-tx39 case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29700 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4, configure: Rebuilt.tromey1999-09-284-409/+203
| | | | | | | * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29698 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/sparc-signal.h (SIGNAL_HANDLER): Third argument now atromey1999-09-272-1/+6
| | | | | | | | `void *'. (MAKE_THROW_FRAME): Cast third argument back to `ucontext_t *'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29682 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR java.util/47:tromey1999-09-2410-372/+343
| | | | | | | | | | | | | | | | | | * configure, include/config.h: Rebuilt. * configure.in: Don't look for ctime or ctime_r. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Don't mention natDate.cc. * java/util/natDate.cc: Removed. * java/util/TimeZone.java (tzIDs, rawOffsets, timeZones): New static fields. (getAvailableIDs): Rewrote. (getTimeZone): Rewrote. * java/util/Date.java (toGMTString): New method. (toLocaleString): New method. (toString): Rewrote. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29656 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey1999-09-233-48/+57
| | | | | | | | * configure.in: Print message when checking to see if gcj can handle -fuse-divide-subroutine. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29628 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natFirstThread.cc (run): Renamed from `run0'. Removedtromey1999-09-233-20/+7
| | | | | | | | | dead code. * java/lang/FirstThread.java (run0): Renamed to `run'. (run): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29626 138bc75d-0d04-0410-961f-82ee72b054a4
* * prims.cc (main_init): New function.tromey1999-09-232-15/+25
| | | | | | | | | | (JvRunMain): Call it. (_Jv_RunMain): Likewise. Include <signal.h>. (main_init): Ignore SIGPIPE. Fixes PR 51. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29625 138bc75d-0d04-0410-961f-82ee72b054a4
* * libgcj.spec.in: Use `jc1' spec, not `cc1' spec.tromey1999-09-222-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29602 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-09-16 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-09-223-1/+12
| | | | | | | | | | * java/text/MessageFormat.java (MessageFormat(String)): Set the default locale. * java/text/NumberFormat.java: Check that object is a Number. If not, throw IllegialArgumentException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29574 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/gcj/convert/Output_UTF8.java (write): Don't exit loop unlesstromey1999-09-212-14/+9
| | | | | | | both `inlength' and `bytes_todo' are 0. Simplified 2-byte case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29570 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/posix-threads.h (_Jv_MutexDestroy): Usetromey1999-09-212-3/+8
| | | | | | | | | _Jv_PthreadGetMutex. (_Jv_MutexLock): Likewise. (_Jv_MutexUnlock): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29569 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/OutputStreamWriter.java (OutputStreamWriter): Revertedtromey1999-09-213-10/+10
| | | | | | | | previous patch; it too was incorrect. * java/io/PrintStream.java (PrintStream): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29566 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/OutputStreamWriter.java (OutputStreamWriter): Don'ttromey1999-09-213-6/+17
| | | | | | | | | refer to `this' before calling superclass constructor. * java/io/PrintStream.java (PrintStream): Don't refer to `this' before calling superclass constructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29560 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey1999-09-203-50/+58
| | | | | | | | * configure.in: Send output of `-fuse-divide-subroutine' test compilation to /dev/null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29529 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/java-insns.h: Turned constants into an enum. Addedtromey1999-09-142-228/+236
| | | | | | | multiple-inclusion protection. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29406 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey1999-09-1065-155/+739
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Build include/Makefile. * Makefile.in: Rebuilt. * Makefile.am (SUBDIRS): Added gcj and include. (install-data-local): New target. (extra_headers): New macro. * include/Makefile.in: New file. * include/Makefile.am: New file. * interpret.cc: Don't include gcj/field.h or gcj/cni.h. * java/lang/reflect/natField.cc: Don't include gcj/field.h or gcj/cni.h. * boehm.cc: Don't include java-threads.h or gcj/field.h. * resolve.cc: Include config.h. * defineclass.cc: Include config.h. * include/java-interp.h: Don't include config.h. * include/jvm.h: Include java-threads.h, Object.h, java-gc.h, cni.h. * gcj/javaprims.h: Regenerated namespace decls. * classes.pl (scan): Don't put `;' after closing brace. * Makefile.in: Rebuilt. * Makefile.am (INCLUDES): Added -I for top_srcdir. * configure.in: Create gcj/Makefile. * gcj/Makefile.in: New file. * gcj/Makefile.am: New file. * java/lang/Object.h: Don't include any other headers. * gcj/array.h: Renamed from include/java-array.h. * gcj/field.h: Renamed from include/java-field.h. * gcj/method.h: Renamed from include/java-method.h. * gcj/cni.h, gcj/javaprims.h: Moved from include/. Updated all files to reflect new include structure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29278 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey1999-09-103-237/+232
| | | | | | | | * configure.in: Fixed typo; variable is THREADSPEC and not THREADSPECS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29251 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/posix-threads.h (_Jv_PthreadCheckMonitor): Revertedtromey1999-09-082-1/+7
| | | | | | | | previous change and implemented a correct test in the __m_count case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29209 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/posix-threads.h (_Jv_PthreadCheckMonitor): Changed testtromey1999-09-083-2/+8
| | | | | | | in __m_count case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29193 138bc75d-0d04-0410-961f-82ee72b054a4
* * posix-threads.cc (_Jv_CondWait): pthread_ calls return errortromey1999-09-082-3/+6
| | | | | | | code and don't set errno. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29179 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-09-07 Tom Tromey <tromey@cygnus.com>tromey1999-09-083-9/+77
| | | | | | | | | | | | | | | | | | * posix-threads.cc (_Jv_CondWait): Check `errno' against EINTR, not `r'. Changed `done_sleeping' to a `bool'. 1999-09-07 Matt Welsh <mdw@cs.berkeley.edu * libjava/posix-threads.cc: Added _Jv_ThreadDataKey. Added FLAG_INTERRUPTED to indicate that a thread was interrupted by another thread, rather than by the GC. (_Jv_CondWait): Prevent premature thread wakeup by GC. (_Jv_InitThreads): Initialize _Jv_ThreadDataKey. * libjava/include/posix-threads.h (_Jv_ThreadCurrentData): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29177 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey1999-09-035-235/+300
| | | | | | | | | | * configure.in: Check for fstat function. * java/io/natFileDescriptorPosix.cc (available): Use fstat() if FIONREAD fails. This fixes PR 3 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29078 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/java-array.h (jobjectArrayjchar): Removed unusedtromey1999-09-022-2/+3
| | | | | | | declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29068 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClassLoader.cc (_Jv_WaitForState): Calltromey1999-09-022-2/+9
| | | | | | | _Jv_PrepareCompiledClass while holding class mutex. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29063 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/posix-threads.h (PTHREAD_MUTEX_IS_STRUCT): New define.tromey1999-09-0210-361/+1402
| | | | | | | | | | | | | | | | | | | (_Jv_PthreadGetMutex): Use it. (_Jv_PthreadCheckMonitor): Use new M_COUNT macros. (_Jv_MutexInit): Use PTHREAD_MUTEX_IS_STRUCT. (_Jv_MutexLock): Likewise. (_Jv_MutexUnlock): Likewise. * include/config.h.in: Rebuilt. * acconfig.h (PTHREAD_MUTEX_HAVE_M_COUNT, PTHREAD_MUTEX_HAVE___M_COUNT): New undefs. * configure: Rebuilt. * libgcj.spec.in: Don't mention INTERPSPEC. * configure.in (INTERPSPEC): Removed. Only run pthreads-related checks when using POSIX threads. Check for m_count and __m_count in mutex structure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29048 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc: Fixed notification of threadstromey1999-09-022-2/+7
| | | | | | | when class initialization is complete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29043 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/Modifier.java (ALL_FLAGS): New constant.tromey1999-09-016-105/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * resolve.cc: Removed constants defined by java.lang.reflect.Modifier. Include <java/lang/reflect/Modifier.h>. (_Jv_ResolvePoolEntry): Use values from Modifier. (_Jv_DetermineVTableIndex): Likewise. (_Jv_PrepareClass): Likewise. (ncode): Likewise. * defineclass.cc (_Jv_ClassReader): Removed constants defined by java.lang.reflect.Modifier. Include <java/lang/reflect/Modifier.h>. (checkExtends): Use values from Modifier. (checkImplements): Likewise. (handleField): Likewise. (handleConstantValueAttribute): Likewise. (handleFieldsEnd): Likewise. (handleMethod ): Likewise. (handleMethodsEnd): Likewise. (handleClassBegin): Likewise. * interpret.cc: Removed constants defined by java.lang.reflect.Modifier. (continue1): Use values from Modifier. * java/lang/natClassLoader.cc: Removed constants defined by java.lang.reflect.Modifier. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29037 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClassLoader.cc (_Jv_NewClass): Usetromey1999-09-013-16/+21
| | | | | | | | JV_STATE_NOTHING, not `0'. * java/lang/Class.h: Replaced JV_STATE_ defines with enum. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29033 138bc75d-0d04-0410-961f-82ee72b054a4
* * posix-threads.cc (_Jv_CondWait): Use _Jv_PthreadGetMutex.tromey1999-09-013-23/+80
| | | | | | | | | | | | | | | * include/posix-threads.h (_Jv_Mutex_t): Define as structure, except on Linux. (_Jv_PthreadGetMutex): New function. (_Jv_PthreadCheckMonitor): Use it. (_Jv_MutexInit): Likewise. ALso, initialize `count'. (_Jv_MutexLock): Update `count'. (_Jv_MutexUnlock): Likewise. (_Jv_PthreadCheckMonitor): Use Linux-specific knowledge when appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29032 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog: update.krab1999-09-011-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29031 138bc75d-0d04-0410-961f-82ee72b054a4
* * posix-threads.cc (_Jv_CondWait): Call _Jv_PthreadCheckMonitor.tromey1999-09-015-8/+40
| | | | | | | | | | | | * include/posix-threads.h (_Jv_PthreadCheckMonitor): New function. (_Jv_CondNotify): Use it. (_Jv_CondNotifyAll): Likewise. * java/lang/Class.h (JV_STATE_NOTHING): Correct misspelling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29030 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (.java.lo): Add rule.krab1999-09-012-1360/+204
| | | | | | | * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29029 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/jvm.h (_Jv_makeUtf8TypeConst): Removed unusedtromey1999-09-012-1/+5
| | | | | | | declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29021 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.toshiba/G19990304_01.out: New file.tromey1999-08-253-0/+24
| | | | | | | * libjava.toshiba/G19990304_01.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28870 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/G19990310_01.out: New file.tromey1999-08-253-0/+29
| | | | | | | * libjava.lang/G19990310_01.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28865 138bc75d-0d04-0410-961f-82ee72b054a4
* * posix-threads.cc: Include <errno.h>.bryce1999-08-252-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28831 138bc75d-0d04-0410-961f-82ee72b054a4
* * boehm.cc: Undefine TRUE and FALSE.tromey1999-08-243-1/+12
| | | | | | | * posix-threads.cc (_Jv_CondWait): Use ETIMEDOUT, not ETIME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28810 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud