|
FYI: exception-return fix for VMSelector.c: msg#00149java.classpath.patches
hi all, this adds a return statement after an error is thrown in jni code. 2005-03-18 Robert Schuster <thebohemian@gmx> * 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 Classpath-patches@xxxxxxx http://lists.gnu.org/mailman/listinfo/classpath-patches
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | FYI: new user map file, Meskauskas Audrius |
|---|---|
| Next by Date: | Re: GNU Classpath 0.14 released, Mark Wielaard |
| Previous by Thread: | FYI: new user map file, Meskauskas Audrius |
| Next by Thread: | Re: GNU Classpath 0.14 released, Mark Wielaard |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |