Name: sgC58550 Date: 06/27/97
In your online guide to the JNI, you mention (in docs/guide/jni/spec/design.doc.html#770):
•The native method can choose to return immediately, causing the exception to be thrown in the Java
code that initiated the native method call.
I have tried many cominations to get this to work, but all I get is one of those windows-error dialogues
that pops up and says runtime error, etc., abnormal program termination, whenever
I throw an exception in a JNI implementation. Is your doc wrong, or could you provide an example to
demonstrate the above? Perhaps I am using it wrong - I really need to understand this for the product
I am working on.
company - ITI , email - ###@###.###
[hamilton 2 July 1997]
Full URL: http://java.sun.com/products/jdk/1.1/docs/guide/jni/spec/design.doc.html#17911