[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: exception-return fix for VMSelector.c
From: |
Robert Schuster |
Subject: |
[cp-patches] FYI: exception-return fix for VMSelector.c |
Date: |
Fri, 18 Mar 2005 05:52:27 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.5) Gecko/20050107 |
hi all,
this adds a return statement after an error is thrown in jni code.
2005-03-18 Robert Schuster <address@hidden>
* native/jni/java-nio/gnu_java_nio_VMSelector.c: Added important
return statement after throwing exception.
cu
robert
Index: native/jni/java-nio/gnu_java_nio_VMSelector.c
===================================================================
RCS file:
/cvsroot/classpath/classpath/native/jni/java-nio/gnu_java_nio_VMSelector.c,v
retrieving revision 1.3
diff -u -r1.3 gnu_java_nio_VMSelector.c
--- native/jni/java-nio/gnu_java_nio_VMSelector.c 18 Mar 2005 03:06:23
-0000 1.3
+++ native/jni/java-nio/gnu_java_nio_VMSelector.c 18 Mar 2005 04:47:40
-0000
@@ -265,6 +265,7 @@
*/
JCL_ThrowException(env, "java/lang/InternalError",
"Not enough space in message buffer.");
+ return 0;
}
JCL_ThrowException (env, "java/io/IOException", message_buf);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: exception-return fix for VMSelector.c,
Robert Schuster <=