On Thu, 2 Jul 2026 05:54:59 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> sun.java2d.noddraw property was used to render without d3d pipeline. However 
> subsequent creation and use of sun.java2d.d3d property rendered it useless 
> and obsolete.
> We should consider removing it and replacing with sun.java2d.d3d property. We 
> already have a start with JDK-8373493
> 
> CI testing is ok
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

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.

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

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

Reply via email to