On Thu, 12 Aug 2021 21:57:58 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> Yes, the `ExceptionCheck()` call will silence the warnings from 
>> `-Xcheck:jni`.
>
> Does it actually suppress the "Xcheck:jni" or it clears a raised exception? 
> If an exception is still "raised" after this call we should do some 
> additional steps to log/clean it.

Yes, the exception will still be "raised" after this call. Since there are no 
JNI calls (at least those that are forbidden to make with an exception pending) 
between here and return back to Java, I believe no additional steps are 
necessary.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4572

Reply via email to