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 
420:

> 418:             osvi.dwMajorVersion > 4)
> 419:         {
> 420:             if (osvi.dwMajorVersion >= 6 && osvi.dwMinorVersion == 0) {

One little additional remark - this check so far detects Win10 and Win11 (both 
have dwMajorVersion 10 and dwMinorVersion  0) as OS_VISTA , should be 
considered.

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

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

Reply via email to