cacao.git
19 years agofix: restore
motse [Fri, 28 Jan 2005 10:44:56 +0000 (10:44 +0000)]
fix: restore

19 years agofix: forgot a few casts
motse [Thu, 27 Jan 2005 23:49:03 +0000 (23:49 +0000)]
fix: forgot a few casts

19 years agoadd ProtectionDomain/Codesource support
motse [Thu, 27 Jan 2005 21:04:09 +0000 (21:04 +0000)]
add ProtectionDomain/Codesource support

19 years agoAdded SUPPORT_LOGICAL_CONST
twisti [Thu, 27 Jan 2005 11:29:56 +0000 (11:29 +0000)]
Added SUPPORT_LOGICAL_CONST

19 years ago- added xdspcore disassembler stuff
twisti [Thu, 27 Jan 2005 11:29:15 +0000 (11:29 +0000)]
- added xdspcore disassembler stuff
- added SUPPORT_LOGICAL_CONST #if's

19 years agoCount also native jit call.
twisti [Thu, 27 Jan 2005 11:24:13 +0000 (11:24 +0000)]
Count also native jit call.

19 years agoBuild directory fixes.
twisti [Mon, 24 Jan 2005 16:58:55 +0000 (16:58 +0000)]
Build directory fixes.

19 years ago- cacao path fixed
twisti [Mon, 24 Jan 2005 16:54:51 +0000 (16:54 +0000)]
- cacao path fixed
- use jikes

19 years ago#include "mm/memory.h"
twisti [Mon, 24 Jan 2005 16:53:38 +0000 (16:53 +0000)]
#include "mm/memory.h"

19 years agoinitial XTA set-up changes
carolyn [Fri, 21 Jan 2005 13:46:51 +0000 (13:46 +0000)]
initial XTA set-up changes

19 years agoAdded defines for methods called(hardocded) by CACAO that define its call path
carolyn [Fri, 21 Jan 2005 12:08:08 +0000 (12:08 +0000)]
Added defines for methods called(hardocded) by CACAO that define its call path

19 years agoadded asm_handle_nullptr_exception, needed for ppc
stefan [Fri, 21 Jan 2005 11:34:17 +0000 (11:34 +0000)]
added asm_handle_nullptr_exception, needed for ppc

19 years agonullpointer fix
stefan [Fri, 21 Jan 2005 11:33:52 +0000 (11:33 +0000)]
nullpointer fix

19 years agomostly conformant abi stack frames
stefan [Fri, 21 Jan 2005 11:32:53 +0000 (11:32 +0000)]
mostly conformant abi stack frames
added special nullptr throwing function

19 years agomore RTA comments + 1 more method called automatically
carolyn [Fri, 21 Jan 2005 11:09:08 +0000 (11:09 +0000)]
more RTA comments + 1 more method called automatically

19 years ago- native_new_and_init: no `class has no instance-initializer' warning
twisti [Fri, 21 Jan 2005 09:37:33 +0000 (09:37 +0000)]
- native_new_and_init: no `class has no instance-initializer' warning
- native_new_and_init_string, native_new_and_init_int,
  native_new_and_init_throwable: return null if initializer not found

19 years ago- added bootclasspath stuff
twisti [Fri, 21 Jan 2005 09:24:57 +0000 (09:24 +0000)]
- added bootclasspath stuff
- minor cleanups

19 years agoSome day we should call DestroyJavaVM.
twisti [Fri, 21 Jan 2005 09:24:12 +0000 (09:24 +0000)]
Some day we should call DestroyJavaVM.

19 years agoUpdate to classpath-0.13: added gnu_classpath_VMSystemProperties.h
twisti [Wed, 12 Jan 2005 14:09:52 +0000 (14:09 +0000)]
Update to classpath-0.13: added gnu_classpath_VMSystemProperties.h

19 years agoUpdate to classpath-0.13: added gnu.classpath.VMSystemProperties
twisti [Wed, 12 Jan 2005 14:09:30 +0000 (14:09 +0000)]
Update to classpath-0.13: added gnu.classpath.VMSystemProperties

19 years agoFill gnu.cpu.endian properly.
twisti [Wed, 12 Jan 2005 13:55:47 +0000 (13:55 +0000)]
Fill gnu.cpu.endian properly.

19 years ago- removed Java_java_lang_VMRuntime_insertSystemProperties (is now in
twisti [Wed, 12 Jan 2005 13:25:30 +0000 (13:25 +0000)]
- removed Java_java_lang_VMRuntime_insertSystemProperties (is now in
  VMSystemProperties.c)
- renamed nativeGetLibname to mapLibraryName

19 years agoUpdate to classpath-0.13: added VMSystemProperties.c
twisti [Wed, 12 Jan 2005 13:18:17 +0000 (13:18 +0000)]
Update to classpath-0.13: added VMSystemProperties.c

19 years agoUpdate to classpath-0.13.
twisti [Wed, 12 Jan 2005 13:17:51 +0000 (13:17 +0000)]
Update to classpath-0.13.

19 years agoWarning fix in JNI_GetCreatedJavaVMs: return 0;
twisti [Wed, 12 Jan 2005 13:17:24 +0000 (13:17 +0000)]
Warning fix in JNI_GetCreatedJavaVMs: return 0;

19 years ago- added asm_calljavafunction2int and asm_calljavafunction2float to prevent
twisti [Mon, 10 Jan 2005 11:21:46 +0000 (11:21 +0000)]
- added asm_calljavafunction2int and asm_calljavafunction2float to prevent
  warnings
- check for compiler exceptions and handle them
- make asm_throw_and_handle_exception readable (indent)

19 years agofix: jni_method_invokeNativeHelper static methods can ignore obj
motse [Wed, 5 Jan 2005 20:18:58 +0000 (20:18 +0000)]
fix: jni_method_invokeNativeHelper static methods can ignore obj

19 years agoset user.language/user.region system property according to LANG enviroment variable
motse [Wed, 5 Jan 2005 20:14:08 +0000 (20:14 +0000)]
set user.language/user.region system property according to LANG enviroment variable

19 years agoUse posix sigaction for hardware nullpointer.
twisti [Wed, 5 Jan 2005 10:48:23 +0000 (10:48 +0000)]
Use posix sigaction for hardware nullpointer.

19 years agoAdded asm_calljavafunction2int and asm_calljavafunction2float to prevent
twisti [Tue, 4 Jan 2005 16:40:12 +0000 (16:40 +0000)]
Added asm_calljavafunction2int and asm_calljavafunction2float to prevent
warnings.

19 years agoInclude cacao.h for JNI env variable.
twisti [Tue, 4 Jan 2005 16:39:54 +0000 (16:39 +0000)]
Include cacao.h for JNI env variable.

19 years ago- include config.h, cacao.h
twisti [Tue, 4 Jan 2005 16:38:49 +0000 (16:38 +0000)]
- include config.h, cacao.h
- throw exception in nativestub if it's to small

19 years agoAdded asm_calljavafunction2int and asm_calljavafunction2float to prevent
twisti [Tue, 4 Jan 2005 12:36:07 +0000 (12:36 +0000)]
Added asm_calljavafunction2int and asm_calljavafunction2float to prevent
warnings.

19 years agoInclude cacao.h for JNI env variable.
twisti [Tue, 4 Jan 2005 12:35:21 +0000 (12:35 +0000)]
Include cacao.h for JNI env variable.

19 years agoGetVersion: fixed and added comments.
twisti [Tue, 4 Jan 2005 12:30:53 +0000 (12:30 +0000)]
GetVersion: fixed and added comments.

19 years ago- changed INSTALL_PREFIX to CACAO_INSTALL_PREFIX
twisti [Tue, 4 Jan 2005 12:13:32 +0000 (12:13 +0000)]
- changed INSTALL_PREFIX to CACAO_INSTALL_PREFIX
- define config files with AC_CONFIG_FILES
- added the first script files

19 years ago- added JDK1_1InitArgs and JDK1_1AttachArgs struct
twisti [Tue, 4 Jan 2005 12:09:57 +0000 (12:09 +0000)]
- added JDK1_1InitArgs and JDK1_1AttachArgs struct
- fixed IsAssignableFrom typo
- added JNI 1.4 functions (to be prepared ;-)
- added: JNI_GetDefaultJavaVMInitArgs
         JNI_GetCreatedJavaVMs
         JNI_CreateJavaVM

19 years ago- asm_calljavafunction2 warning fixes
twisti [Tue, 4 Jan 2005 12:07:41 +0000 (12:07 +0000)]
- asm_calljavafunction2 warning fixes
- fixed IsAssignableFrom typo
- added JNI 1.4 functions (to be prepared ;-)
- added: JNI_GetDefaultJavaVMInitArgs
         JNI_GetCreatedJavaVMs
         JNI_CreateJavaVM
- added some function header comments

19 years agoWarning fix (const char *).
twisti [Tue, 4 Jan 2005 12:02:24 +0000 (12:02 +0000)]
Warning fix (const char *).

19 years agoWarning fix (const char *).native.c
twisti [Tue, 4 Jan 2005 12:01:39 +0000 (12:01 +0000)]
Warning fix (const char *).native.c

19 years ago- changed INSTALL_PREFIX to CACAO_INSTALL_PREFIX
twisti [Tue, 4 Jan 2005 12:00:15 +0000 (12:00 +0000)]
- changed INSTALL_PREFIX to CACAO_INSTALL_PREFIX
- set java.boot.class.path and sun.boot.class.path
- comment java.compiler
- set java.ext.dirs

19 years ago- isAssignableFrom: throw nullpointer, fixed typo
twisti [Tue, 4 Jan 2005 11:59:03 +0000 (11:59 +0000)]
- isAssignableFrom: throw nullpointer, fixed typo

19 years agoWarning fixes (const char *, (void)).
twisti [Tue, 4 Jan 2005 11:35:10 +0000 (11:35 +0000)]
Warning fixes (const char *, (void)).

19 years agobuiltin_isanysubclass/builtin_isanysubclass_vftbl bugfix: compares with
twisti [Tue, 4 Jan 2005 11:34:28 +0000 (11:34 +0000)]
builtin_isanysubclass/builtin_isanysubclass_vftbl bugfix: compares with
equal interface did not work. Now the gnu rmic works.

19 years agoDeclare strings const.
twisti [Tue, 4 Jan 2005 11:28:46 +0000 (11:28 +0000)]
Declare strings const.

19 years ago- declare strings const
twisti [Tue, 4 Jan 2005 11:28:16 +0000 (11:28 +0000)]
- declare strings const
- removed CREATENEW_EXCEPTION macro

19 years agoDefine CACAO_EXT_DIR.
twisti [Tue, 4 Jan 2005 11:21:18 +0000 (11:21 +0000)]
Define CACAO_EXT_DIR.

19 years agoWarning fixes.
twisti [Tue, 4 Jan 2005 11:21:02 +0000 (11:21 +0000)]
Warning fixes.

19 years agoInclude cacao.h for env variable.
twisti [Tue, 4 Jan 2005 11:19:46 +0000 (11:19 +0000)]
Include cacao.h for env variable.

19 years agoDeclare asm_calljavafunction2int and asm_calljavafunction2float to prevent
twisti [Tue, 4 Jan 2005 11:18:50 +0000 (11:18 +0000)]
Declare asm_calljavafunction2int and asm_calljavafunction2float to prevent
warnings.

19 years agoInstall only into ${prefix}/jre/bin.
twisti [Tue, 4 Jan 2005 11:16:57 +0000 (11:16 +0000)]
Install only into ${prefix}/jre/bin.

19 years agoExport: JNI jvm, env and bootclasspath.
twisti [Tue, 4 Jan 2005 11:16:06 +0000 (11:16 +0000)]
Export: JNI jvm, env and bootclasspath.

19 years ago- started jni invocation
twisti [Tue, 4 Jan 2005 11:15:21 +0000 (11:15 +0000)]
- started jni invocation
- changes INSTALL_PREFIX to CACAO_INSTALL_PREFIX
- classpath bugfix

19 years agoWrapper scripts.
twisti [Mon, 3 Jan 2005 14:03:08 +0000 (14:03 +0000)]
Wrapper scripts.

19 years ago- 0.92cvs
twisti [Wed, 29 Dec 2004 15:07:34 +0000 (15:07 +0000)]
- 0.92cvs
- -O0
- disable __thread by default

19 years agoExport BOOTCLASSPATH and not CLASSPATH.
twisti [Wed, 29 Dec 2004 15:00:57 +0000 (15:00 +0000)]
Export BOOTCLASSPATH and not CLASSPATH.

19 years ago- implemented bootclasspath usage
twisti [Wed, 29 Dec 2004 15:00:25 +0000 (15:00 +0000)]
- implemented bootclasspath usage
- use SystemClassLoader to load main class

19 years agoRemoved unused jitrunning stuff.
twisti [Wed, 29 Dec 2004 14:18:38 +0000 (14:18 +0000)]
Removed unused jitrunning stuff.

19 years agoRemoved : from classpath.
twisti [Wed, 29 Dec 2004 13:48:07 +0000 (13:48 +0000)]
Removed : from classpath.

19 years agoRemoved : from CACAO_RT_JAR_PATH.
twisti [Wed, 29 Dec 2004 13:47:33 +0000 (13:47 +0000)]
Removed : from CACAO_RT_JAR_PATH.

19 years ago#ifdef USE_THREADS monitorenter/exit calls.
twisti [Wed, 29 Dec 2004 13:47:15 +0000 (13:47 +0000)]
#ifdef USE_THREADS monitorenter/exit calls.

19 years agoUnified icmd_names and opcode_names (name length, removed ICMDs from opcode
twisti [Wed, 29 Dec 2004 13:24:01 +0000 (13:24 +0000)]
Unified icmd_names and opcode_names (name length, removed ICMDs from opcode
table, undef number).

19 years ago#ifdef USE_THREADS monitorenter/exit calls.
twisti [Wed, 29 Dec 2004 12:58:30 +0000 (12:58 +0000)]
#ifdef USE_THREADS monitorenter/exit calls.

19 years agoReturn type fix in GetMethodID.
twisti [Wed, 29 Dec 2004 12:55:32 +0000 (12:55 +0000)]
Return type fix in GetMethodID.

19 years ago- make classpath_info a struct, not a union (there are just a few entries)
twisti [Wed, 29 Dec 2004 12:47:18 +0000 (12:47 +0000)]
- make classpath_info a struct, not a union (there are just a few entries)
- if suck_init called more than once, the classpath entries are appended

19 years agoSet correct java.vendor.url and java.home.
twisti [Wed, 29 Dec 2004 12:39:46 +0000 (12:39 +0000)]
Set correct java.vendor.url and java.home.

19 years agoadded option -jar to cacao
motse [Mon, 27 Dec 2004 21:35:23 +0000 (21:35 +0000)]
added option -jar to cacao

19 years agoremove a few warnings
motse [Thu, 23 Dec 2004 17:50:43 +0000 (17:50 +0000)]
remove a few warnings

19 years agoThis commit was manufactured by cvs2svn to create tag
unknown [Thu, 23 Dec 2004 11:20:11 +0000 (11:20 +0000)]
This commit was manufactured by cvs2svn to create tag
'cacao-0_91-release'.

19 years agoChanged target to check.
twisti [Thu, 23 Dec 2004 11:20:11 +0000 (11:20 +0000)]
Changed target to check.

19 years ago- typo
twisti [Thu, 23 Dec 2004 11:19:44 +0000 (11:19 +0000)]
- typo
- added native to subdirs

19 years agoextest_clinit removed.
twisti [Wed, 22 Dec 2004 15:35:54 +0000 (15:35 +0000)]
extest_clinit removed.

19 years agoRelease 0.91, -O2.
twisti [Wed, 22 Dec 2004 14:56:34 +0000 (14:56 +0000)]
Release 0.91, -O2.

19 years agoAdded stub size InternalError.
twisti [Wed, 22 Dec 2004 14:50:00 +0000 (14:50 +0000)]
Added stub size InternalError.

19 years agoDARWIN compilation fix.
twisti [Wed, 22 Dec 2004 13:17:24 +0000 (13:17 +0000)]
DARWIN compilation fix.

19 years ago#include "mm/boehm.h"
twisti [Wed, 22 Dec 2004 12:52:24 +0000 (12:52 +0000)]
#include "mm/boehm.h"

19 years agoUse montiorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 12:37:58 +0000 (12:37 +0000)]
Use montiorenter/exit only with threads.

19 years ago- 3 different clinit classes, because an ExceptionInInitializerError causes
twisti [Wed, 22 Dec 2004 12:31:07 +0000 (12:31 +0000)]
- 3 different clinit classes, because an ExceptionInInitializerError causes
  the class to be undefined

19 years agoNow in extest.java.
twisti [Wed, 22 Dec 2004 12:29:25 +0000 (12:29 +0000)]
Now in extest.java.

19 years agoUse monitorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 12:21:38 +0000 (12:21 +0000)]
Use monitorenter/exit only with threads.

19 years ago- use monitorenter/exit only with threads
twisti [Wed, 22 Dec 2004 11:07:18 +0000 (11:07 +0000)]
- use monitorenter/exit only with threads
- declare: asm_calljavafunction2int and asm_calljavafunction2float

19 years ago- use monitorenter/exit only with threads
twisti [Wed, 22 Dec 2004 10:49:35 +0000 (10:49 +0000)]
- use monitorenter/exit only with threads
- some darwin defines

19 years agoQuick hack: #ifdef USE_THREADS cacao_catch_Handler's code.
twisti [Wed, 22 Dec 2004 10:48:27 +0000 (10:48 +0000)]
Quick hack: #ifdef USE_THREADS cacao_catch_Handler's code.

19 years agoUse monitorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 10:47:13 +0000 (10:47 +0000)]
Use monitorenter/exit only with threads.

19 years agoMULTIANEWARRAY bugfix.
twisti [Wed, 22 Dec 2004 10:13:01 +0000 (10:13 +0000)]
MULTIANEWARRAY bugfix.

19 years ago- MULTIANEWARRAY bugfix
twisti [Wed, 22 Dec 2004 09:54:48 +0000 (09:54 +0000)]
- MULTIANEWARRAY bugfix
- added unknown ICMD exception
- warning fixes

19 years ago- MULTIANEWARRAY bugfix
twisti [Wed, 22 Dec 2004 09:35:31 +0000 (09:35 +0000)]
- MULTIANEWARRAY bugfix
- warning fixes

19 years agoless warnings and C90 compile fix
jowenn [Wed, 22 Dec 2004 09:27:58 +0000 (09:27 +0000)]
less warnings and C90 compile fix

19 years agoone useless debug output less
jowenn [Tue, 21 Dec 2004 20:35:54 +0000 (20:35 +0000)]
one useless debug output less

19 years agodon't terminate with "method not found" during compile time Exceptions, jit_compile...
jowenn [Tue, 21 Dec 2004 20:19:19 +0000 (20:19 +0000)]
don't terminate with "method not found" during compile time Exceptions, jit_compile returns now the native stub if it is called with a native function (JNI), 2 additinal static initializer tests

19 years agowrong comment end
jowenn [Tue, 21 Dec 2004 16:54:26 +0000 (16:54 +0000)]
wrong comment end

19 years agoAdded a native function, which is not implemented.
twisti [Tue, 21 Dec 2004 16:53:37 +0000 (16:53 +0000)]
Added a native function, which is not implemented.

19 years ago- test for clinit exceptions in PUTSTATIC and GETSTATIC
twisti [Tue, 21 Dec 2004 16:52:37 +0000 (16:52 +0000)]
- test for clinit exceptions in PUTSTATIC and GETSTATIC
- test for exceptions in native stub

19 years ago- restuctured native stub
twisti [Tue, 21 Dec 2004 16:50:02 +0000 (16:50 +0000)]
- restuctured native stub
- throw exception if stubsize is too small for generated instructions

19 years agoOutput of check, i think ;-)
twisti [Tue, 21 Dec 2004 16:32:46 +0000 (16:32 +0000)]
Output of check, i think ;-)

19 years agokjc runs again. verbose typechecking partly
jowenn [Tue, 21 Dec 2004 15:15:26 +0000 (15:15 +0000)]
kjc runs again. verbose typechecking partly

19 years agojvm98 should work again.
twisti [Tue, 21 Dec 2004 14:10:20 +0000 (14:10 +0000)]
jvm98 should work again.

19 years agoDeclare functions with (void).
twisti [Tue, 21 Dec 2004 10:14:35 +0000 (10:14 +0000)]
Declare functions with (void).

19 years ago- removed pthread/semaphore includes
twisti [Tue, 21 Dec 2004 10:13:27 +0000 (10:13 +0000)]
- removed pthread/semaphore includes
- declare functions with (void)

19 years agoglobal.h include path fix.
twisti [Tue, 21 Dec 2004 10:12:44 +0000 (10:12 +0000)]
global.h include path fix.