On Thu, 19 Nov 2026 00:27:14 GMT, Kevin Rushforth <[email protected]> wrote:

>> Lukasz Kostyra has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Review fixes from @kevinrushforth
>
> modules/javafx.graphics/src/main/native-prism-d3d12/internal/D3D12Config.cpp 
> line 56:
> 
>> 54: std::string Config::GetPropertyInternal(const char* propertyName)
>> 55: {
>> 56:     jstring propStr = mJNIEnv->NewStringUTF(propertyName);
> 
> Check this call for pending JNI exceptions or NULL before calling 
> `CallStaticObjectMethod`. For example:
> 
> 
>     if (mJNIEnv->ExceptionCheck() || propStr == NULL) {
>         mJNIEnv->ExceptionClear();
>         return std::string();
>     }

Done

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2346#discussion_r4630121192

Reply via email to