cacao.git
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.

19 years ago#include <pthread.h>
twisti [Tue, 21 Dec 2004 10:11:23 +0000 (10:11 +0000)]
#include <pthread.h>

19 years agoFixed function call.
twisti [Tue, 21 Dec 2004 10:09:08 +0000 (10:09 +0000)]
Fixed function call.

19 years ago- declare functions with (void)
twisti [Tue, 21 Dec 2004 10:08:06 +0000 (10:08 +0000)]
- declare functions with (void)
- fixed function calls

19 years ago- check more precise for $host_cpu (e.g. problems with powerpc64)
twisti [Tue, 21 Dec 2004 09:58:17 +0000 (09:58 +0000)]
- check more precise for $host_cpu (e.g. problems with powerpc64)
- move INSTALL_PREFIX into config.h

19 years ago- fixed MULTIANEWARRAY SAVEDVAR bug
twisti [Tue, 21 Dec 2004 09:56:58 +0000 (09:56 +0000)]
- fixed MULTIANEWARRAY SAVEDVAR bug
- increased MCODECHECK in exception stubs
- smaller changes

19 years agoRemoved logging from init_systemclassloader.
twisti [Tue, 21 Dec 2004 09:55:33 +0000 (09:55 +0000)]
Removed logging from init_systemclassloader.

19 years ago- throw exception with name in GetMethodID and GetStaticMethodID
twisti [Tue, 21 Dec 2004 09:51:19 +0000 (09:51 +0000)]
- throw exception with name in GetMethodID and GetStaticMethodID
- removed logging

19 years agoAdded gnu_java_awt_peer_gtk_GdkFontPeer.h to CLEANFILES.
twisti [Tue, 21 Dec 2004 09:37:22 +0000 (09:37 +0000)]
Added gnu_java_awt_peer_gtk_GdkFontPeer.h to CLEANFILES.

19 years agoThis one is generated.
twisti [Tue, 21 Dec 2004 09:36:57 +0000 (09:36 +0000)]
This one is generated.

19 years ago- added gnu header and emacs tailer
twisti [Tue, 21 Dec 2004 09:35:27 +0000 (09:35 +0000)]
- added gnu header and emacs tailer
- sorted awt classes

19 years agoAdded awt includes to CLEANFILES.
twisti [Tue, 21 Dec 2004 09:15:09 +0000 (09:15 +0000)]
Added awt includes to CLEANFILES.

19 years agoWarning fixes.
twisti [Tue, 21 Dec 2004 09:13:53 +0000 (09:13 +0000)]
Warning fixes.

19 years agofix dummy macro for !(i386 || alpha)
jowenn [Tue, 21 Dec 2004 07:46:58 +0000 (07:46 +0000)]
fix dummy macro for !(i386 || alpha)

19 years ago#ifdef GC_darwin_register_mach_handler_thread in GC_DARWIN_THREADS.
twisti [Mon, 20 Dec 2004 22:21:06 +0000 (22:21 +0000)]
#ifdef GC_darwin_register_mach_handler_thread in GC_DARWIN_THREADS.

19 years ago- removed i386 method_uses_ stuff
twisti [Mon, 20 Dec 2004 21:05:31 +0000 (21:05 +0000)]
- removed i386 method_uses_ stuff
- builtin{1,2} warning fixes
- replace intreg_argnum with INT_ARG_CNT

19 years agoRemoved i386 method_uses_ stuff.
twisti [Mon, 20 Dec 2004 21:04:08 +0000 (21:04 +0000)]
Removed i386 method_uses_ stuff.

19 years agogenerate package names correctly, now they are not allways (utf*)0. Adds a new crash...
jowenn [Mon, 20 Dec 2004 20:16:57 +0000 (20:16 +0000)]
generate package names correctly, now they are not allways (utf*)0. Adds a new crash in the typechecking code. The package checks there have to be redone. Now fixed to not crash, but the check is useless currently. Now IllegalAccessException is thrown, if a not accessible field (currently only read (will fix set operations tomorrow)) is being accessed via reflection. method invokation does the check too. If a reflected methodID represents an abstract method or the class it belongs to is an interface, the virtual method is now resolved and called instead.

19 years agoone additional condition which should throw an array index out of bounds, instead...
jowenn [Sun, 19 Dec 2004 17:39:01 +0000 (17:39 +0000)]
one additional condition which should throw an array index out of bounds, instead of crashing. Less debug output. One additional test for crash compatibility with sun's vm

19 years agocalculate destination block offset correctly. Problem (segfault) was triggered in...
jowenn [Sun, 19 Dec 2004 12:40:24 +0000 (12:40 +0000)]
calculate destination block offset correctly. Problem (segfault) was triggered in jython 2.1 in the loadFromPath method

19 years ago1) disable the is leaf check for i386, where there is no problem
jowenn [Fri, 17 Dec 2004 23:05:27 +0000 (23:05 +0000)]
1) disable the is leaf check for i386, where there is no problem
2) classes which are used as objects should really be linked
3) fix fill_callblock_objA to handle references and arrays correctly
(1 detected through mauve test suite. This will have to be fixed for the Alpha architecture, where  the ret address for leaf methods is not stored on the stack)
(2+3 prevented jython from starting. Right now a hello world works, but there are other problems I have to hunt down)

19 years ago- fixed function comments
twisti [Fri, 17 Dec 2004 14:30:32 +0000 (14:30 +0000)]
- fixed function comments
- removed log output

19 years agoCheck MULTIANEWARRAY SAVEDVAR copy code.
twisti [Fri, 17 Dec 2004 12:30:34 +0000 (12:30 +0000)]
Check MULTIANEWARRAY SAVEDVAR copy code.

19 years agoadd check for lr != null to threadHoldsLock
motse [Thu, 16 Dec 2004 22:13:10 +0000 (22:13 +0000)]
add check for lr != null to threadHoldsLock