[OpenJDK 2D-Dev] RFR: 8269223: -Xcheck:jni WARNINGs working with fonts on Linux [v3]
github.com+28651297+mkartashev at openjdk.java.net
Fri Aug 13 12:14:27 UTC 2021
On Thu, 12 Aug 2021 21:57:58 GMT, Sergey Bylokhov <serb at 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.
More information about the 2d-dev