This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
JNI: Unexpected behavior when executing codes after calling JNIEnv::ThrowNew #21
Labels
enhancement
New feature or request
JNIEnv::ThrowNew doesn't actually throw exceptions. The following of the codes will still be executed. Thus we should protect our JNI code from execution against any possible exceptions. Otherwise termination of whole process due to something like
SIGSEGV
will be easily faced.
The text was updated successfully, but these errors were encountered: