Age | Commit message (Collapse) | Author | Files | Lines |
|
From-SVN: r29790
|
|
From-SVN: r29768
|
|
From-SVN: r29766
|
|
and endian bits for the picojava port. I am committing this (and the
rebuilt Makefile.in/configure files).
From-SVN: r29765
|
|
* libjava.lang/PR56.out: New file.
* libjava.lang/PR56.java: New file.
From-SVN: r29760
|
|
* 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
|
|
From-SVN: r29737
|
|
1999-09-29 Bryce McKinlay <bryce@albatross.co.nz>
* README: New file.
From-SVN: r29717
|
|
* libjava.lang/PR55.out: New file.
* libjava.lang/PR55.java: New file.
From-SVN: r29714
|
|
* 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
|
|
* aclocal.m4, configure: Rebuilt.
* acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide
From-SVN: r29698
|
|
* include/sparc-signal.h (SIGNAL_HANDLER): Third argument now a
`void *'.
(MAKE_THROW_FRAME): Cast third argument back to `ucontext_t *'.
From-SVN: r29682
|
|
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
|
|
* configure: Rebuilt.
* configure.in: Print message when checking to see if gcj can
handle -fuse-divide-subroutine.
From-SVN: r29628
|
|
* java/lang/natFirstThread.cc (run): Renamed from `run0'. Removed
dead code.
* java/lang/FirstThread.java (run0): Renamed to `run'.
(run): Removed.
From-SVN: r29626
|
|
"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
|
|
From-SVN: r29602
|
|
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
|
|
`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
|
|
* include/posix-threads.h (_Jv_MutexDestroy): Use
_Jv_PthreadGetMutex.
(_Jv_MutexLock): Likewise.
(_Jv_MutexUnlock): Likewise.
From-SVN: r29569
|
|
too was incorrect.
* java/io/OutputStreamWriter.java (OutputStreamWriter): Reverted
previous patch; it too was incorrect.
* java/io/PrintStream.java (PrintStream): Likewise.
From-SVN: r29566
|
|
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
|
|
* configure: Rebuilt.
* configure.in: Send output of `-fuse-divide-subroutine' test
compilation to /dev/null.
From-SVN: r29529
|
|
* include/java-insns.h: Turned constants into an enum. Added
multiple-inclusion protection.
From-SVN: r29406
|
|
* 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
|
|
* configure: Rebuilt.
* configure.in: Fixed typo; variable is THREADSPEC and not
THREADSPECS.
From-SVN: r29251
|
|
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
|
|
* include/posix-threads.h (_Jv_PthreadCheckMonitor): Changed test
in __m_count case.
From-SVN: r29193
|
|
set errno.
* posix-threads.cc (_Jv_CondWait): pthread_ calls return error
code and don't set errno.
From-SVN: r29179
|
|
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
|
|
* 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
|
|
* include/java-array.h (jobjectArrayjchar): Removed unused
declaration.
From-SVN: r29068
|
|
holding class mutex.
* java/lang/natClassLoader.cc (_Jv_WaitForState): Call
_Jv_PrepareCompiledClass while holding class mutex.
From-SVN: r29063
|
|
* 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
|
|
complete.
* java/lang/natClass.cc: Fixed notification of threads
when class initialization is complete.
From-SVN: r29043
|
|
* 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
|
|
* 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
|
|
* 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
|
|
From-SVN: r29031
|
|
* 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
|
|
* Makefile.am (.java.lo): Add rule.
* Makefile.in: Rebuilt.
From-SVN: r29029
|
|
* include/jvm.h (_Jv_makeUtf8TypeConst): Removed unused
declaration.
From-SVN: r29021
|
|
* libjava.toshiba/G19990304_01.out: New file.
* libjava.toshiba/G19990304_01.java: New file.
From-SVN: r28870
|
|
* libjava.lang/G19990310_01.out: New file.
* libjava.lang/G19990310_01.java: New file.
From-SVN: r28865
|
|
From-SVN: r28831
|
|
* boehm.cc: Undefine TRUE and FALSE.
* posix-threads.cc (_Jv_CondWait): Use ETIMEDOUT, not ETIME.
From-SVN: r28810
|
|
Pointed out by Tom
From-SVN: r28803
|
|
* posix-threads.cc (_Jv_CondWait): Treat a timeout as a normal
result. PR 40.
From-SVN: r28799
|
|
* 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
|
|
From-SVN: r28796
|