hi all,
this adds a return statement after an error is thrown in jni code.
2005-03-18 Robert Schuster <[EMAIL PROTECTED]>
* 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);
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches