[kaffe] CVS kaffe (robilad): Improved TestSerializable2 regression test

Kaffe CVS cvs-commits at kaffe.org
Sat Jan 1 23:23:19 PST 2005


PatchSet 5746 
Date: 2005/01/02 05:21:39
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Improved TestSerializable2 regression test

2005-01-02  Dalibor Topic  <robilad at kaffe.org>

        * test/regression/TestSerializable2.java:
        Print stack traces in unexpected exceptions. Should help
        detect the reason of the last failing regression test
        on freebsd-amd64.

Members: 
	ChangeLog:1.3290->1.3291 
	test/regression/TestSerializable2.java:1.3->1.4 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3290 kaffe/ChangeLog:1.3291
--- kaffe/ChangeLog:1.3290	Sat Jan  1 22:30:12 2005
+++ kaffe/ChangeLog	Sun Jan  2 05:21:39 2005
@@ -1,4 +1,11 @@
-2005-01-01  Dalibor Topic  <topic at notebox>
+2005-01-02  Dalibor Topic  <robilad at kaffe.org>
+
+	* test/regression/TestSerializable2.java:
+	Print stack traces in unexpected exceptions. Should help
+	detect the reason of the last failing regression test
+	on freebsd-amd64.
+
+2005-01-01  Dalibor Topic  <robilad at kaffe.org>
 
 	* TODO: Added a few more entries.
 
Index: kaffe/test/regression/TestSerializable2.java
diff -u kaffe/test/regression/TestSerializable2.java:1.3 kaffe/test/regression/TestSerializable2.java:1.4
--- kaffe/test/regression/TestSerializable2.java:1.3	Mon Dec  6 17:39:59 2004
+++ kaffe/test/regression/TestSerializable2.java	Sun Jan  2 05:21:43 2005
@@ -127,8 +127,11 @@
 
 	    System.out.println ("b = " + b);
 	}
-	catch (Exception e) {
+	catch (InvalidClassException e) {
 	    System.out.println (e);
+	}
+	catch (Exception e) {
+	    e.printStackTrace();
 	}
     }
 




More information about the kaffe mailing list