The JNF methods that proxy the JNI methods automatically check for
Java exceptions, and rethrow Objective-C exceptions. Plain JNI
requires that you always check if a Java exception occurred, and
then take some appropriate action (and not call into JNI again
until the exception is cleared). JNF_COCOA_ENTER() and
JNF_COCOA_EXIT() setup and tear down autorelease pools, and catch
Objective-C exceptions and re-throw them back up to Java.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden