On Mon, 31 Aug 2026 19:40:26 GMT, Phil Race <[email protected]> wrote:

>> src/java.desktop/windows/native/libawt/java2d/d3d/D3DPipelineManager.cpp 
>> line 392:
>> 
>>> 390:         J2dRlsTrace(J2D_TRACE_INFO, "[I] OS Version = ");
>>> 391:         if (bVersOk) {
>>> 392:             if (osvi.dwMajorVersion == 10 && osvi.dwMinorVersion == 0) 
>>> {
>> 
>> I think it would be safer for the future to just do
>>  if (osvi.dwMajorVersion >= 10) {
>
> And call the var OS_WINDOWS10_OR_LATER

I adjusted the check and introduced OS_WINDOWS10_OR_LATER.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32011#discussion_r3905095010

Reply via email to