[kaffe] CVS kaffe (guilhem): Fixlet for throwIOException.

Kaffe CVS cvs-commits at kaffe.org
Fri May 6 08:43:02 PDT 2005


PatchSet 6440 
Date: 2005/05/06 15:36:06
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fixlet for throwIOException.

        * libraries/clib/nio/FileChannelImpl.c
        (throwIOException): Use ExceptionCheck instead of ExceptionOccurred.

Members: 
	ChangeLog:1.3968->1.3969 
	libraries/clib/nio/FileChannelImpl.c:1.10->1.11 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3968 kaffe/ChangeLog:1.3969
--- kaffe/ChangeLog:1.3968	Fri May  6 15:33:07 2005
+++ kaffe/ChangeLog	Fri May  6 15:36:06 2005
@@ -1,5 +1,10 @@
 2005-05-06  Guilhem Lavaux  <guilhem at kaffe.org>
 
+	* libraries/clib/nio/FileChannelImpl.c
+	(throwIOException): Use ExceptionCheck instead of ExceptionOccurred.
+
+2005-05-06  Guilhem Lavaux  <guilhem at kaffe.org>
+
 	* kaffe/xprof/callGraph.c
 	(writeCallGraph): Fixlet for call graph dump.
 
Index: kaffe/libraries/clib/nio/FileChannelImpl.c
diff -u kaffe/libraries/clib/nio/FileChannelImpl.c:1.10 kaffe/libraries/clib/nio/FileChannelImpl.c:1.11
--- kaffe/libraries/clib/nio/FileChannelImpl.c:1.10	Wed Apr 27 10:44:01 2005
+++ kaffe/libraries/clib/nio/FileChannelImpl.c	Fri May  6 15:36:12 2005
@@ -26,7 +26,7 @@
 {
   jclass clazz = (*env)->FindClass(env, "java/io/IOException");
 
-  if ((*env)->ExceptionOccurred(env)) {
+  if ((*env)->ExceptionCheck(env)) {
 	  (*env)->ExceptionDescribe(env);
 	  (*env)->FatalError(env, "An unexpected exception has been thrown while looking up java/io/IOException");
   }




More information about the kaffe mailing list