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

>> Matthias Baesken has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   handle also Win 10/11/Server 2016 and higher
>
> 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

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

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

Reply via email to