[kaffe] Kaffe CVS: kaffe hkraemer
Kaffe CVS
cvs-commits at kaffe.org
Sun Jul 27 14:45:02 PDT 2003
CVSROOT: /cvs/kaffe
Module name: kaffe
Changes by: hkraemer 03/07/27 14:42:29
Modified files:
test/internal : jit_stub.c
kaffe/kaffevm : baseClasses.c exception.c stackTrace.c
libraries/clib/native: System.c Throwable.c
libraries/javalib: essential.files bootstrap.classlist
Klasses.jar.bootstrap
test/regression: IndexTest.java StackDump.java
ProcessClassInst.java ProcessClassStop.java
ProhibitedClass.java
. : ChangeLog
include : Makefile.am Makefile.in
Log message:
2003-07-27 Helmer Kraemer <hkraemer at freenet.de>
* test/internal/jit_stub.c:
(main) loadStaticClass StringClass
* test/regression/IndexText.java,
test/regression/StackDump.java,
test/regression/ProcessClassInst.java,
test/regression/ProcessClassStop.java,
test/regression/ProhibitedClass.java:
adapted expected output
2003-07-27 Mark Wielaard <mark at klomp.org>
* include/Makefile.am (INSTALL_DERIVED_HDRS): Add
java_lang_VMThrowable.h and java_lang_StackTraceElement.h.
* include/Makefile.in: Regenerated.
* kaffe/kaffevm/baseClasses.h (javaLangVMThrowable): New extern
struct.
(javaLangStackTraceElement): Likewise.
* kaffe/kaffevm/baseClasses.c (javaLangVMThrowable): New base class.
(javaLangVMThrowable): Likewise.
(initBaseClasses): loadStaticClass new base classes.
* kaffe/kaffevm/exception.c (throwException): Get and initialize
vmstate.
(nullException): Create vmstate for exception.
(unhandledException): Use new Throwable->detailedMessage field name.
(floatingException): Create vmstate for exception.
* kaffe/kaffevm/stackTrace.c (getLineNumber): New method.
(getStackTraceElements): New method.
(printStackTrace): Get backtrace from vmState.
* libraries/clib/native/System.c (java_lang_System_debugE): Use new
Throwable->detailedMessage field name.
* libraries/clib/native/Throwable.c
(java_lang_Throwable_fillInStackTrace): Removed.
(java_lang_Throwable_printStackTrace0): Likewise.
(java_lang_VMThrowable_fillInStackTrace): New method.
(java_lang_VMThrowable_getStackTrace): Likewise.
* libraries/javalib/java/lang/Throwable.java: Replaced with Classpath
version.
* libraries/javalib/java/lang/VMThrowable.java: New class.
* libraries/javalib/bootstrap.classlist: Add VMThrowable.
* libraries/javalib/essential.files: Add StackTaceElement and
VMThrowable.
* libraries/javalib/Klasses.jar.bootstrap: Regenerated.
More information about the kaffe
mailing list