aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
1999-10-04A little clean up.Anthony Green4-1/+13
From-SVN: r29790
1999-10-02Refreshed from htdocsAnthony Green2-19/+57
From-SVN: r29768
1999-10-02Missing file from last commitSteve Chamberlain1-0/+10
From-SVN: r29766
1999-10-02The following patches include a couple of fixes for cross toolchains,Steve Chamberlain3-1/+10
and endian bits for the picojava port. I am committing this (and the rebuilt Makefile.in/configure files). From-SVN: r29765
1999-10-02re GNATS gcj/56 (gcj segfaults in jc1 on OK java file)Tom Tromey3-0/+13
* libjava.lang/PR56.out: New file. * libjava.lang/PR56.java: New file. From-SVN: r29760
1999-10-02configure: Rebuilt.Tom Tromey9-210/+414
* configure: Rebuilt. * 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'. From-SVN: r29759
1999-09-30* java/net/natPlainDatagramSocketImpl.cc: Indentation fix.Tom Tromey2-3/+7
From-SVN: r29737
1999-09-30README: New file.Bryce McKinlay2-0/+51
1999-09-29 Bryce McKinlay <bryce@albatross.co.nz> * README: New file. From-SVN: r29717
1999-09-29re GNATS gcj/55 (jc1 dies on implicit String conversion)Tom Tromey3-0/+15
* libjava.lang/PR55.out: New file. * libjava.lang/PR55.java: New file. From-SVN: r29714
1999-09-28configure: Rebuilt.Tom Tromey4-2/+9
* configure: Rebuilt. * configure.in (PROCESS): In POSIX case, only set if not already set. * configure.host (PROCESS): Set in mips-tx39 case. From-SVN: r29700
1999-09-28aclocal.m4, configure: Rebuilt.Tom Tromey4-409/+203
* aclocal.m4, configure: Rebuilt. * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide From-SVN: r29698
1999-09-27sparc-signal.h (SIGNAL_HANDLER): Third argument now a `void *'.Tom Tromey2-1/+6
* include/sparc-signal.h (SIGNAL_HANDLER): Third argument now a `void *'. (MAKE_THROW_FRAME): Cast third argument back to `ucontext_t *'. From-SVN: r29682
1999-09-24re GNATS java.util/47 (Date.toString() returns embedded newline)Tom Tromey10-372/+343
Fix for PR java.util/47: * 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. From-SVN: r29656
1999-09-23configure: Rebuilt.Tom Tromey3-48/+57
* configure: Rebuilt. * configure.in: Print message when checking to see if gcj can handle -fuse-divide-subroutine. From-SVN: r29628
1999-09-23natFirstThread.cc (run): Renamed from `run0'.Tom Tromey3-20/+7
* java/lang/natFirstThread.cc (run): Renamed from `run0'. Removed dead code. * java/lang/FirstThread.java (run0): Renamed to `run'. (run): Removed. From-SVN: r29626
1999-09-23re GNATS gcj/51 (Writing on OutputStream of bad Socket kills app with ↵Tom Tromey2-15/+25
"Broken pipe") * prims.cc (main_init): New function. (JvRunMain): Call it. (_Jv_RunMain): Likewise. Include <signal.h>. (main_init): Ignore SIGPIPE. Fixes PR 51. From-SVN: r29625
1999-09-22* libgcj.spec.in: Use `jc1' spec, not `cc1' spec.Tom Tromey2-2/+6
From-SVN: r29602
1999-09-22MessageFormat.java (MessageFormat(String)): Set the default locale.Bryce McKinlay3-1/+12
1999-09-16 Bryce McKinlay <bryce@albatross.co.nz> * java/text/MessageFormat.java (MessageFormat(String)): Set the default locale. * java/text/NumberFormat.java: Check that object is a Number. If not, throw IllegialArgumentException. From-SVN: r29574
1999-09-21Output_UTF8.java (write): Don't exit loop unless both `inlength' and ↵Tom Tromey2-14/+9
`bytes_todo' are 0. * gnu/gcj/convert/Output_UTF8.java (write): Don't exit loop unless both `inlength' and `bytes_todo' are 0. Simplified 2-byte case. From-SVN: r29570
1999-09-21posix-threads.h (_Jv_MutexDestroy): Use _Jv_PthreadGetMutex.Tom Tromey2-3/+8
* include/posix-threads.h (_Jv_MutexDestroy): Use _Jv_PthreadGetMutex. (_Jv_MutexLock): Likewise. (_Jv_MutexUnlock): Likewise. From-SVN: r29569
1999-09-21OutputStreamWriter.java (OutputStreamWriter): Reverted previous patch; it ↵Tom Tromey3-10/+10
too was incorrect. * java/io/OutputStreamWriter.java (OutputStreamWriter): Reverted previous patch; it too was incorrect. * java/io/PrintStream.java (PrintStream): Likewise. From-SVN: r29566
1999-09-21OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before ↵Tom Tromey3-6/+17
calling superclass constructor. * java/io/OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before calling superclass constructor. * java/io/PrintStream.java (PrintStream): Don't refer to `this' before calling superclass constructor. From-SVN: r29560
1999-09-20configure: Rebuilt.Tom Tromey3-50/+58
* configure: Rebuilt. * configure.in: Send output of `-fuse-divide-subroutine' test compilation to /dev/null. From-SVN: r29529
1999-09-14java-insns.h: Turned constants into an enum.Tom Tromey2-228/+236
* include/java-insns.h: Turned constants into an enum. Added multiple-inclusion protection. From-SVN: r29406
1999-09-10configure: Rebuilt.Tom Tromey65-155/+739
* configure: Rebuilt. * 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. From-SVN: r29278
1999-09-10configure: Rebuilt.Tom Tromey3-237/+232
* configure: Rebuilt. * configure.in: Fixed typo; variable is THREADSPEC and not THREADSPECS. From-SVN: r29251
1999-09-08posix-threads.h (_Jv_PthreadCheckMonitor): Reverted previous change and ↵Tom Tromey2-1/+7
implemented a correct test in the __m_count case. * include/posix-threads.h (_Jv_PthreadCheckMonitor): Reverted previous change and implemented a correct test in the __m_count case. From-SVN: r29209
1999-09-08posix-threads.h (_Jv_PthreadCheckMonitor): Changed test in __m_count case.Tom Tromey3-2/+8
* include/posix-threads.h (_Jv_PthreadCheckMonitor): Changed test in __m_count case. From-SVN: r29193
1999-09-08posix-threads.cc (_Jv_CondWait): pthread_ calls return error code and don't ↵Tom Tromey2-3/+6
set errno. * posix-threads.cc (_Jv_CondWait): pthread_ calls return error code and don't set errno. From-SVN: r29179
1999-09-08posix-threads.cc (_Jv_CondWait): Check `errno' against EINTR, not `r'.Tom Tromey3-9/+77
1999-09-07 Tom Tromey <tromey@cygnus.com> * 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. From-SVN: r29177
1999-09-03re GNATS libgcj/3 (FileInputStream.available always returns 0)Tom Tromey5-235/+300
* configure: Rebuilt. * configure.in: Check for fstat function. * java/io/natFileDescriptorPosix.cc (available): Use fstat() if FIONREAD fails. This fixes PR 3 From-SVN: r29078
1999-09-02java-array.h (jobjectArrayjchar): Removed unused declaration.Tom Tromey2-2/+3
* include/java-array.h (jobjectArrayjchar): Removed unused declaration. From-SVN: r29068
1999-09-02natClassLoader.cc (_Jv_WaitForState): Call _Jv_PrepareCompiledClass while ↵Tom Tromey2-2/+9
holding class mutex. * java/lang/natClassLoader.cc (_Jv_WaitForState): Call _Jv_PrepareCompiledClass while holding class mutex. From-SVN: r29063
1999-09-02posix-threads.h (PTHREAD_MUTEX_IS_STRUCT): New define.Tom Tromey10-361/+1402
* include/posix-threads.h (PTHREAD_MUTEX_IS_STRUCT): New define. (_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. From-SVN: r29048
1999-09-02natClass.cc: Fixed notification of threads when class initialization is ↵Matt Welsh2-2/+7
complete. * java/lang/natClass.cc: Fixed notification of threads when class initialization is complete. From-SVN: r29043
1999-09-01Modifier.java (ALL_FLAGS): New constant.Tom Tromey6-105/+122
* java/lang/reflect/Modifier.java (ALL_FLAGS): New constant. * 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. From-SVN: r29037
1999-09-01natClassLoader.cc (_Jv_NewClass): Use JV_STATE_NOTHING, not `0'.Tom Tromey3-16/+21
* java/lang/natClassLoader.cc (_Jv_NewClass): Use JV_STATE_NOTHING, not `0'. * java/lang/Class.h: Replaced JV_STATE_ defines with enum. From-SVN: r29033
1999-09-01posix-threads.cc (_Jv_CondWait): Use _Jv_PthreadGetMutex.Tom Tromey3-23/+80
* posix-threads.cc (_Jv_CondWait): Use _Jv_PthreadGetMutex. * 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. From-SVN: r29032
1999-09-01* ChangeLog: update.Kresten Krab Thorup1-0/+6
From-SVN: r29031
1999-09-01posix-threads.cc (_Jv_CondWait): Call _Jv_PthreadCheckMonitor.Tom Tromey5-8/+40
* posix-threads.cc (_Jv_CondWait): Call _Jv_PthreadCheckMonitor. * include/posix-threads.h (_Jv_PthreadCheckMonitor): New function. (_Jv_CondNotify): Use it. (_Jv_CondNotifyAll): Likewise. * java/lang/Class.h (JV_STATE_NOTHING): Correct misspelling. From-SVN: r29030
1999-09-01Makefile.am (.java.lo): Add rule.Kresten Krab Thorup2-1360/+204
* Makefile.am (.java.lo): Add rule. * Makefile.in: Rebuilt. From-SVN: r29029
1999-09-01jvm.h (_Jv_makeUtf8TypeConst): Removed unused declaration.Tom Tromey2-1/+5
* include/jvm.h (_Jv_makeUtf8TypeConst): Removed unused declaration. From-SVN: r29021
1999-08-25G19990304_01.out: New file.Tom Tromey3-0/+24
* libjava.toshiba/G19990304_01.out: New file. * libjava.toshiba/G19990304_01.java: New file. From-SVN: r28870
1999-08-25G19990310_01.out: New file.Tom Tromey3-0/+29
* libjava.lang/G19990310_01.out: New file. * libjava.lang/G19990310_01.java: New file. From-SVN: r28865
1999-08-25* posix-threads.cc: Include <errno.h>.Bryce McKinlay2-0/+5
From-SVN: r28831
1999-08-24boehm.cc: Undefine TRUE and FALSE.Tom Tromey3-1/+12
* boehm.cc: Undefine TRUE and FALSE. * posix-threads.cc (_Jv_CondWait): Use ETIMEDOUT, not ETIME. From-SVN: r28810
1999-08-22Added missing whitespace in function calls within adaptorsAlexandre Oliva2-4/+4
Pointed out by Tom From-SVN: r28803
1999-08-22re GNATS libgcj/40 (wait(timeout) wrongly throws IllegalMonitorState exception)Tom Tromey2-0/+8
* posix-threads.cc (_Jv_CondWait): Treat a timeout as a normal result. PR 40. From-SVN: r28799
1999-08-21configure.in: Check for in_addr_t in netinet/in.h too.Alexandre Oliva7-48/+117
* configure.in: Check for in_addr_t in netinet/in.h too. Check for ip_mreq too. * acconfig.h: Define HAVE_IN_ADDR_T instead of in_addr_t. (HAVE_STRUCT_IP_MREQ): Added. * configure, include/config.h.in: Rebuilt. * java/net/natInetAddress.cc (aton): Typedef in_addr_t to jint if needed. * java/net/natPlainDatagramSocketImpl.cc (McastReq, mcastGrp): Disable if ip_mreq is not available. From-SVN: r28798
1999-08-21Change in_addr_t default to jintAlexandre Oliva4-4/+4
From-SVN: r28796