On Tue, 30 Jun 2026 13:26:46 GMT, Matthias Baesken <[email protected]> wrote:
> We have at least 2 isXP() functions in the coding checking for very old > Windows versions. These can be removed. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). src/jdk.accessibility/windows/native/jabswitch/jabswitch.cpp line 67: > 65: GetVersionEx( &osvi ); > 66: > 67: if ( osvi.dwMajorVersion == 5 ) // For Windows XP and Windows 2000 Note this is not >= 5, which means that technically Windows Vista and newer are currently returning false... not sure if this was originally the intent or not? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31725#discussion_r3507120352
