On Wed, 22 Jul 2026 15:02:34 GMT, Matthias Baesken <[email protected]> wrote:

> There are a few more XP/Win200X/Vista references in the D3D coding that could 
> be cleaned up .
> I left the win7/Win server 2008R2 - related macros in D3DPipelineManager.h, 
> those Windows versions are old too but not as ancient as the others I removed.
> 
> ---------
> - [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/native/libawt/java2d/d3d/D3DPipelineManager.cpp line 
408:

> 406:         } else {
> 407:             J2dRlsTrace(J2D_TRACE_INFO,"OS_UNKNOWN: GetVersionEx 
> failed\n");
> 408:             currentOS = OS_UNKNOWN;

Windows 10 and Windows 11 are mapped to OS_UNKNOWN? it does not seems to be 
correct, since that will skip all checks for OS_ALL. Same question for 
OS_WINSERV_2008R2 and above.

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

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

Reply via email to