Tom Tromey
f1b856d94e
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Fixed typo; variable is THREADSPEC and not
THREADSPECS.
From-SVN: r29251
1999-09-10 00:10:04 +00:00
Tom Tromey
c45a8466e6
posix-threads.h (_Jv_PthreadCheckMonitor): Reverted previous change and 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-08 17:10:22 +00:00
Tom Tromey
400ec27079
posix-threads.h (_Jv_PthreadCheckMonitor): Changed test in __m_count case.
...
* include/posix-threads.h (_Jv_PthreadCheckMonitor): Changed test
in __m_count case.
From-SVN: r29193
1999-09-08 07:01:32 +00:00
Tom Tromey
472236af04
posix-threads.cc (_Jv_CondWait): pthread_ calls return error code and don't set errno.
...
* posix-threads.cc (_Jv_CondWait): pthread_ calls return error
code and don't set errno.
From-SVN: r29179
1999-09-08 02:31:33 +00:00
Tom Tromey
fd59e3a04e
posix-threads.cc (_Jv_CondWait): Check errno' against EINTR, not
r'.
...
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-08 00:43:06 +00:00
Tom Tromey
1d189890ae
re GNATS libgcj/3 (FileInputStream.available always returns 0)
...
* 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-03 07:42:40 +00:00
Tom Tromey
ec52881776
java-array.h (jobjectArrayjchar): Removed unused declaration.
...
* include/java-array.h (jobjectArrayjchar): Removed unused
declaration.
From-SVN: r29068
1999-09-02 23:47:38 +00:00
Tom Tromey
773c6f0076
natClassLoader.cc (_Jv_WaitForState): Call _Jv_PrepareCompiledClass while holding class mutex.
...
* java/lang/natClassLoader.cc (_Jv_WaitForState): Call
_Jv_PrepareCompiledClass while holding class mutex.
From-SVN: r29063
1999-09-02 19:33:50 +00:00
Tom Tromey
bc5afba452
posix-threads.h (PTHREAD_MUTEX_IS_STRUCT): New define.
...
* 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-02 06:27:00 +00:00
Matt Welsh
a41cb705f6
natClass.cc: Fixed notification of threads when class initialization is complete.
...
* java/lang/natClass.cc: Fixed notification of threads
when class initialization is complete.
From-SVN: r29043
1999-09-02 03:46:35 +00:00
Tom Tromey
e409a2c8f4
Modifier.java (ALL_FLAGS): New constant.
...
* 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-01 22:02:20 +00:00
Tom Tromey
6c2a11802a
natClassLoader.cc (_Jv_NewClass): Use JV_STATE_NOTHING, not `0'.
...
* 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-01 21:05:17 +00:00
Tom Tromey
45329b398e
posix-threads.cc (_Jv_CondWait): Use _Jv_PthreadGetMutex.
...
* 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 21:03:18 +00:00
Kresten Krab Thorup
4499762c6e
* ChangeLog: update.
...
From-SVN: r29031
1999-09-01 18:49:55 +00:00
Tom Tromey
6e87747b6d
posix-threads.cc (_Jv_CondWait): Call _Jv_PthreadCheckMonitor.
...
* 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-01 18:29:39 +00:00
Kresten Krab Thorup
b1133adfca
Makefile.am (.java.lo): Add rule.
...
* Makefile.am (.java.lo): Add rule.
* Makefile.in: Rebuilt.
From-SVN: r29029
1999-09-01 18:22:05 +00:00
Tom Tromey
1aaeb2f0b5
jvm.h (_Jv_makeUtf8TypeConst): Removed unused declaration.
...
* include/jvm.h (_Jv_makeUtf8TypeConst): Removed unused
declaration.
From-SVN: r29021
1999-09-01 02:36:40 +00:00
Tom Tromey
95c5608516
G19990304_01.out: New file.
...
* libjava.toshiba/G19990304_01.out: New file.
* libjava.toshiba/G19990304_01.java: New file.
From-SVN: r28870
1999-08-25 18:38:58 +00:00
Tom Tromey
3d31bc7f58
G19990310_01.out: New file.
...
* libjava.lang/G19990310_01.out: New file.
* libjava.lang/G19990310_01.java: New file.
From-SVN: r28865
1999-08-25 17:54:55 +00:00
Bryce McKinlay
d55d01bdf8
* posix-threads.cc: Include <errno.h>.
...
From-SVN: r28831
1999-08-25 01:46:23 +01:00
Tom Tromey
657ac7664c
boehm.cc: Undefine TRUE and FALSE.
...
* boehm.cc: Undefine TRUE and FALSE.
* posix-threads.cc (_Jv_CondWait): Use ETIMEDOUT, not ETIME.
From-SVN: r28810
1999-08-24 04:01:06 +00:00
Alexandre Oliva
b78639f6f2
Added missing whitespace in function calls within adaptors
...
Pointed out by Tom
From-SVN: r28803
1999-08-22 16:19:31 +00:00
Tom Tromey
33e8c77e61
re GNATS libgcj/40 (wait(timeout) wrongly throws IllegalMonitorState exception)
...
* posix-threads.cc (_Jv_CondWait): Treat a timeout as a normal
result. PR 40.
From-SVN: r28799
1999-08-22 02:37:04 +00:00
Alexandre Oliva
ccfe7e4650
configure.in: Check for in_addr_t in netinet/in.h too.
...
* 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-21 14:26:44 +00:00
Alexandre Oliva
988f5b7014
Change in_addr_t default to jint
...
From-SVN: r28796
1999-08-21 13:35:32 +00:00
Alexandre Oliva
a3e174eae5
configure.in: Check types ssize_t and in_addr_t.
...
* configure.in: Check types ssize_t and in_addr_t.
* acconfig.h: Undefine them.
* configure, include/config.h.in: Rebuilt.
From-SVN: r28793
1999-08-21 13:15:55 +00:00
Alexandre Oliva
e07eb72abc
natSystem.cc (getpwuid_adaptor): New overloaded function that detects the signature of getpwuid_r.
...
* java/lang/natSystem.cc (getpwuid_adaptor): New overloaded
function that detects the signature of getpwuid_r.
(init_properties): Use it.
* java/util/natDate.cc (ctime_adaptor): Likewise for ctime_r.
(toString): Use it.
From-SVN: r28792
1999-08-21 12:49:39 +00:00
Alexandre Oliva
fb82082db3
natSystem.cc (getpwuid_adaptor): New overloaded function that detects the signature of getpwuid_r.
...
* java/lang/natSystem.cc (getpwuid_adaptor): New overloaded
function that detects the signature of getpwuid_r.
(init_properties): Use it.
* java/util/natDate.cc (ctime_adaptor): Likewise for ctime_r.
(toString): Use it.
From-SVN: r28790
1999-08-21 11:56:24 +00:00
Kresten Krab Thorup
f7b4fb110a
interpret.cc (continue1): Implement explicit dispatch table.
...
* interpret.cc (continue1): Implement explicit dispatch table.
insn_target: Explicit interpreter switch table.
SAVE_PC: New macro, moves pc saving code into instructions that
require so.
NEXT_INSN: New macro, replaces `goto next_insn' in all insns.
PC_REGISTER_ASM: New macro.
INLINE_SWITCH: New macro. Constrols dispatching strategy.
opcode: Remove local variable.
{i,l,f,d}{load,store}_{0,1,2,3}: Expand definitions.
(POKEI): Use _Jv_word.
(iinc): Use _Jv_word.
(dupx): Change reference argument (sp) to pointer.
(jvdump): Remove
* interpret.cc: Remove instruction timing instrumentation.
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Changed
comment. Don't use _Jv_ClassNameSamePackage.
* gnu/gcj/util/path/{SearchPath,ZipFileEntry,DirectoryPathEntry,
URLPathEntry, CacheEntry}: Removed.
* Makefile.am (ordinary_java_source_files): Remove gnu/gcj/util/path
package.
(.java.lo): Rule removed.
* Makefile.in: Rebuilt.
From-SVN: r28777
1999-08-20 11:40:35 +00:00
Tom Tromey
bd30fa53ca
natThread.cc (class locker): New class.
...
* java/lang/natThread.cc (class locker): New class.
(join): Use a locker around _Jv_CondWait.
(sleep): Likewise.
From-SVN: r28770
1999-08-19 22:58:27 +00:00
Tom Tromey
5a0eb8326f
ThreadGroup.java: Fixed now-erroneous comment.
...
* java/lang/ThreadGroup.java: Fixed now-erroneous comment.
* java/lang/natThread.cc (finish_): Call ThreadGroup.remove.
From-SVN: r28753
1999-08-18 19:51:23 +00:00
Tom Tromey
4c9d8fa8c5
* include/javaprims.h ("Java"): Regenerated namespace decls.
...
From-SVN: r28749
1999-08-18 16:34:28 +00:00
Kresten Krab Thorup
eb4534a636
natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings.
...
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed
from _Jv_InternClassStrings.
* prims.cc (_Jv_RunMain): New function.
(JvRunMain): Remove gij-support.
* gij.cc (main): Use _Jv_RunMain.
* java/util/zip/ZipFile.java: Call readDirectory in constructor.
* interpret.cc (PUSHA, PUSHI, PUSHF, PUSHL, PUSHD): Don't store
argument in temp variable.
(continue1): For all op_x2y insns, use temp variable for
intermediate value. Also remove some comments.
* java/lang/natClass.cc (newInstance): Call _Jv_InitClass.
(forName): Don't call _Jv_InitClass.
* java/lang/Class.java (getResource,getResourceAsStream): Implement.
* java/util/zip/ZipEntry.java (ZipEntry(ZipEntry)): New construcor.
* java/util/jar/JarInputStream.java: New file.
* java/util/jar/JarEntry.java: New file.
* java/util/jar/JarFile.java: New file.
* java/net/URLClassLoader.java: New file.
* java/net/JarURLConnection.java: New file.
* gnu/gcj/protocol/jar/Handler.java: New file.
* gnu/gcj/protocol/jar/Connection.java: New file.
* java/security/SecureClassLoader.java: New file.
* java/lang/ClassLoader.java (parent): New variable.
(ClassLoader (ClassLoader)): new constructor.
(findClass): New method.
(loadClass): Add default 1.2 implementation.
(getSystemResourceAsBytes, getResourceAsBytes): Removed.
(readfully): Removed.
* gnu/gcj/runtime/VMClassLoader.java: Moved from java/lang.
(findSystemClass): New method.
(VMClassLoader): Constructor rewritten.
(init): New method.
All other methods removed.
* java/lang/natClassLoader.cc: Change use of java::lang::VMClassLoader
to gnu::gcj::runtime::VMClassLoader.
(_Jv_InternClassStrings): Use _Jv_ResolvePoolEntry. Also handle
class entries.
(VMClassLoader::findSystemClass): renamed from findBootClass.
* Makefile.am: Add new files.
(FirstThread.h, ThreadGroup.h): Add _Jv_Main friend.
* Makefile.in: Rebuilt.
From-SVN: r28748
1999-08-18 14:16:42 +00:00
Tom Tromey
212f5d3026
natThread.cc (sleep): Turn 0 millis and 0 nanos into 1 nano.
...
* java/lang/natThread.cc (sleep): Turn 0 millis and 0 nanos into 1
nano.
* include/quick-threads.h (_Jv_CondWait): Don't round to 0
inappropriately.
From-SVN: r28742
1999-08-18 03:48:37 +00:00
Tom Tromey
db4b04f1f4
From Bryce McKinlay:
...
* libjava.lang/Array_2.java: New file.
* libjava.lang/Array_2.out: New file.
From-SVN: r28737
1999-08-17 22:05:56 +00:00
Tom Tromey
086920c39f
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Set DIVIDESPEC to empty string if compiler does
not support -fuse-divide-subroutine.
From-SVN: r28727
1999-08-16 17:01:52 +00:00
Per Bothner
efc3b511cb
resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.
...
1999-08-14 Per Bothner <per@bothner.com>
* resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.
* java/lang/natClass.cc (initializeClass): Likewise.
* java/lang/ClassLoader.java (resolveClass0): New static method.
(resolveClass): Call resolveClass0.
(findSystemClass): No longer static.
From-SVN: r28711
1999-08-14 19:49:06 +00:00
Alexandre Oliva
cb339d0278
javaprims.h (TRUE, FALSE): Redefine as themselves.
...
1999-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* include/javaprims.h (TRUE, FALSE): Redefine as themselves.
From-SVN: r28689
1999-08-12 17:31:34 +00:00
Bryce McKinlay
48ff99d10d
BitSet.java (set, [...]): specify "1" constant as long.
...
* java/util/BitSet.java (set, clear, hashCode): specify "1" constant
as long.
From-SVN: r28680
1999-08-11 22:30:31 +01:00
Anthony Green
7941ceabf0
[multiple changes]
...
Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile: Rebuilt.
* Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
builds.
* java/net/natPlainSocketImpl.cc: Include <sys/select.h> only if
present.
* configure: Rebuilt.
* configure.in: Properly align --help output, fix capitalization
and punctuation.
* acinclude.m4: Likewise.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* include/javaprims.h (_Jv_word, _Jv_word2): New types.
* include/java-interp.h (_Jv_InterpMethodInvocation): Use _Jv_word.
(_Jv_callInterpretedMethod): Unused. Remove.
(_Jv_InterpMethod::run,run_normal,run_synch_object,run_synch_class):
Use ffi_raw.
* include/java-cpool.h (_Jv_get, _Jv_put): Remove.
(_Jv_{store,load}{Indexes,Int,Float,Long,Double}): Use _Jv_word.
* boehm.cc (_Jv_MarkObj): Use _Jv_word.
* interpret.cc: use _Jv_word.
* defineclass.cc: use_Jv_word.
* resolve.cc: Use _Jv_word.
(_Jv_ResolvePoolEntry): Return _Jv_word.
* java/lang/Class.h (_Jv_Constants): Use _Jv_word for cpool.
* java/lang/natClassLoader.cc (_Jv_InternClassStrings): Use _Jv_word.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Change comment.
From-SVN: r28641
1999-08-10 05:32:23 +00:00
Rainer Orth
05ca950a64
configure.in (sched_yield): Try librt first, then libposix4.
...
Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (sched_yield): Try librt first, then libposix4.
Add -lrt, -lposix4 to THREADSPEC.
From-SVN: r28629
1999-08-09 19:17:20 +00:00
Anthony Green
b3967ec43e
Primes.java: New file.
...
* libjava.lang/Primes.java: New file.
* libjava.lang/Primes.out: New file.
From-SVN: r28613
1999-08-09 06:35:56 +00:00
Anthony Green
cb35be5713
* gnu/gcj/util/path/SearchPath.java: Comment out verbose output.
...
From-SVN: r28608
1999-08-09 01:11:41 +00:00
Anthony Green
e3253af520
defineclass.cc (_Jv_VerifyClassName): Verify array names correctly.
...
* defineclass.cc (_Jv_VerifyClassName): Verify array names
correctly.
From-SVN: r28606
1999-08-09 00:25:51 +00:00
Anthony Green
58eb6e7cef
[multiple changes]
...
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 14:06:23 +00:00
Tom Tromey
7339705d94
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Look for sched_yield in -lrt.
From-SVN: r28554
1999-08-06 20:36:46 +00:00
Mojo Jojo
3a6bdebaa0
Locale.java (CHINESE, [...]): New locales.
...
1999-08-06 Mojo Jojo <mojojojo@pacbell.net>
* java/util/Locale.java, CHINESE, ENGLISH, FRENCH, GERMAN,
ITALIAN, JAPANESE, KOREAN, CANADA_FRENCH, GERMANY, ITALY, KOREA,
SIMPLIFIED_CHINESE, TRADITIONAL_CHINESE, PRC, TAIWAN, CHINA): New
locales.
(toString): Print correctly when `country' is empty.
From-SVN: r28548
1999-08-06 08:38:50 +00:00
Per Bothner
67a6001825
configure.in: Also do AC_SUBST for DIVIDESPEC.
...
1999-08-04 Per Bothner <per@bothner.com>
* configure.in: Also do AC_SUBST for DIVIDESPEC.
From-SVN: r28520
1999-08-05 05:21:44 +00:00
Tom Tromey
825b4dde6b
Updated THANKS
...
From-SVN: r28506
1999-08-04 19:55:25 +00:00
Tom Tromey
5b9bbb3917
aclocal.m4, configure: Rebuilt for new libtool.
...
* aclocal.m4, configure: Rebuilt for new libtool.
[[Split portion of a mixed commit.]]
From-SVN: r28435.2
1999-08-03 03:07:04 +00:00