On Fri, 13 Aug 2021 12:11:15 GMT, Maxim Kartashev <github.com+28651297+mkartas...@openjdk.org> wrote:
>> 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. Then I suggest logging them via some of the trace macros. ------------- PR: https://git.openjdk.java.net/jdk/pull/4572