[kaffe] CVS kaffe (guilhem): Fixlets for ExceptionDescribe and regression tests.

Kaffe CVS cvs-commits at kaffe.org
Thu Jun 2 12:41:07 PDT 2005


PatchSet 6607 
Date: 2005/06/02 17:35:47
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fixlets for ExceptionDescribe and regression tests.

        * kaffe/kaffevm/jni/jni.c
        (Kaffe_ExceptionDescribe): Fixed variable declaration.

        * test/regression/ProcessClassInst.java,
        test/regression/ProcessClassStop.java: Checked in missing files.

Members: 
	ChangeLog:1.4133->1.4134 
	kaffe/kaffevm/jni/jni.c:1.30->1.31 
	test/regression/ProcessClassInst.java:1.14->1.15 
	test/regression/ProcessClassStop.java:1.13->1.14 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4133 kaffe/ChangeLog:1.4134
--- kaffe/ChangeLog:1.4133	Wed Jun  1 20:14:50 2005
+++ kaffe/ChangeLog	Thu Jun  2 17:35:47 2005
@@ -1,3 +1,11 @@
+2005-06-02  Guilhem Lavaux  <guilhem at kaffe.org>
+
+	* kaffe/kaffevm/jni/jni.c
+	(Kaffe_ExceptionDescribe): Fixed variable declaration.
+
+	* test/regression/ProcessClassInst.java,
+	test/regression/ProcessClassStop.java: Checked in missing files.
+
 2005-06-01  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	* kaffe/kaffevm/stackTrace.c
Index: kaffe/kaffe/kaffevm/jni/jni.c
diff -u kaffe/kaffe/kaffevm/jni/jni.c:1.30 kaffe/kaffe/kaffevm/jni/jni.c:1.31
--- kaffe/kaffe/kaffevm/jni/jni.c:1.30	Wed Jun  1 20:14:54 2005
+++ kaffe/kaffe/kaffevm/jni/jni.c	Thu Jun  2 17:35:51 2005
@@ -471,10 +471,13 @@
 static void
 Kaffe_ExceptionDescribe(JNIEnv* env UNUSED)
 {
-	BEGIN_EXCEPTION_HANDLING_VOID();
 	const char* cname;
 	Hjava_lang_Class* class;
-	Hjava_lang_Throwable *eobj = thread_data->exceptObj;
+	Hjava_lang_Throwable *eobj;
+
+	BEGIN_EXCEPTION_HANDLING_VOID();
+
+	eobj = thread_data->exceptObj;
 
 	if (eobj != 0) {
 		/* Don't use the java stack printer because the exception
Index: kaffe/test/regression/ProcessClassInst.java
diff -u kaffe/test/regression/ProcessClassInst.java:1.14 kaffe/test/regression/ProcessClassInst.java:1.15
--- kaffe/test/regression/ProcessClassInst.java:1.14	Mon May 30 21:16:11 2005
+++ kaffe/test/regression/ProcessClassInst.java	Thu Jun  2 17:35:51 2005
@@ -102,7 +102,7 @@
 /* Expected Output:
 tan java.lang.NoClassDefFoundError: Base
 java.lang.NoClassDefFoundError: Base
-   at java.lang.reflect.Method.invoke0 (Method.java)
+   at java.lang.reflect.Method.invoke0 (Method.java:native)
    at java.lang.reflect.Method.invoke (Method.java:255)
    at java.lang.reflect.Constructor.newInstance (Constructor.java:90)
    at java.lang.Class.newInstance (Class.java:1141)
Index: kaffe/test/regression/ProcessClassStop.java
diff -u kaffe/test/regression/ProcessClassStop.java:1.13 kaffe/test/regression/ProcessClassStop.java:1.14
--- kaffe/test/regression/ProcessClassStop.java:1.13	Mon May 30 21:16:11 2005
+++ kaffe/test/regression/ProcessClassStop.java	Thu Jun  2 17:35:51 2005
@@ -105,7 +105,7 @@
 /* Expected Output:
 tan java.lang.NoClassDefFoundError: Base
 java.lang.NoClassDefFoundError: Base
-   at java.lang.reflect.Method.invoke0 (Method.java)
+   at java.lang.reflect.Method.invoke0 (Method.java:native)
    at java.lang.reflect.Method.invoke (Method.java:255)
    at java.lang.reflect.Constructor.newInstance (Constructor.java:90)
    at java.lang.Class.newInstance (Class.java:1141)




More information about the kaffe mailing list