On Thu, 19 Sep 2024 07:40:43 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
> Windows Server 2025 will be releases in a few months. > The OS detection code of the JVM/JDK should recognize the new Windows server > 2025 version. > (currently Windows server 2022 is printed , that is wrong) > > The build numbers of some recent previews documented here > https://learn.microsoft.com/en-us/windows-server/get-started/whats-new-windows-server-2025 > are 26080 and 26085 (final release version will most likely be a bit higher). src/hotspot/os/windows/os_windows.cpp line 1950: > 1948: // - 2019 GA 11/2018 build: 17763 > 1949: // - 2022 GA 08/2021 build: 20348 > 1950: // - 2025 Preview build : 26040 Just for the record, Microsoft released Windows Server 2025 on Nov 1st, 2025 and the official build number is 26100. // - 2025 GA 11/2024 build: 26100 if (build_number > 26099) { st->print("Server 2025"); Reference: https://learn.microsoft.com/en-us/windows-server/get-started/windows-server-release-info ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21082#discussion_r1830880925