On Thu, 25 Jun 2026 14:46:24 GMT, Matthias Baesken <[email protected]> wrote:
> The IS_WIN2000 macro checks for Windows major version number >= 5, see > https://github.com/search?q=repo%3Aopenjdk%2Fjdk%20IS_WIN2000&type=code > but we run for a long time on much higher Windows versions as a minimum. > So the check is obsolete. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). I already submitted a bug to remove all these outdated macro, [JDK-8289772](https://bugs.openjdk.org/browse/JDK-8289772): *Remove obsolete Windows version macros: IS_WIN2000, IS_WINXP, IS_WINVISTA*. [My comment in JBS](https://bugs.openjdk.org/browse/JDK-8289772?focusedId=14665584&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14665584) details usages of each macro. Removing `IS_WIN*` macro came up in https://github.com/openjdk/jdk/pull/18736#discussion_r1567192769. Then there was an older bug [JDK-4639903](https://bugs.openjdk.org/browse/JDK-4639903): *Should consider replacing IS_WIN_* macros with a function* that's closed as duplicate of JDK-8289772. > I already submitted a bug to remove all these outdated macro, > [JDK-8289772](https://bugs.openjdk.org/browse/JDK-8289772): _Remove obsolete > Windows version macros: IS_WIN2000, IS_WINXP, IS_WINVISTA_. I've unassigned the bug from myself. ------------- PR Comment: https://git.openjdk.org/jdk/pull/31676#issuecomment-4812436184 PR Comment: https://git.openjdk.org/jdk/pull/31676#issuecomment-4812459433
