On Sun, 12 Jul 2026 07:17:51 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> src/java.desktop/windows/classes/sun/java2d/windows/WindowsFlags.java line 
>> 172:
>> 
>>> 170:                 "javax.accessibility.screen_magnifier_present", false);
>>> 171:         boolean ddEnabled =
>>> 172:                 getBooleanProp("sun.java2d.d3d", magPresent);
>> 
>> It is one thing to update the tests to use the d3d property, but another 
>> thing to remove the recognition of noddraw. This would be a compatibility 
>> issue for apps that set it.
>> This would need a CSR too. Also ddEnabled becomes obsolete.
>> 
>> You should consider backing off from making these source changes and just 
>> update the tests.
>
> In the source can we do this 
> 
> boolean noddraw = Boolean.getBoolean("sun.java2d.noddraw");
>         System.setProperty("sun.java2d.d3d", Boolean.toString(!noddraw))
> 
> so that from user perspective noddraw is not withdrawn but internally we 
> treat it as setting d3d property in reverse
> and I guess in that case, CSR also will not be needed as we are not removing 
> the property par se but just treating it as an extension/setting of another 
> property

Anyway, I have removed the source changes..

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31750#discussion_r3575521833

Reply via email to