On Mon, 19 Jul 2021 08:31:21 GMT, Maxim Kartashev 
<github.com+28651297+mkartas...@openjdk.org> wrote:

>> src/java.desktop/windows/native/libawt/java2d/d3d/D3DRenderQueue.cpp line 
>> 870:
>> 
>>> 868:         J2dTraceLn(J2D_TRACE_VERBOSE, "  executing runnable");
>>> 869:         jboolean ignoreException;
>>> 870:         JNU_CallMethodByName(env, &ignoreException, pFlush->runnable, 
>>> "run", "()V");
>> 
>> What is the purpose of this change? the only difference is that in the 
>> second case the ExceptionCheck will be called, does it affect something?
>
> 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.

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

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

Reply via email to