JDK-8340387 : Update OS detection code to recognize Windows Server 2025
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7,8,11,17,21,23,24
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2024-09-18
  • Updated: 2025-01-28
  • Resolved: 2024-09-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 21 JDK 23 JDK 24 JDK 7 JDK 8
11.0.26-oracleFixed 17.0.14-oracleFixed 21.0.6-oracleFixed 23.0.2Fixed 24 b17Fixed 7u451Fixed 8u441Fixed
Related Reports
Relates :  
Description
Windows Server 2025 will be released 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 .
The final release version of Windows Server 2025 from Nov 1st, 2025 has an official build number 26100 .
Comments
[jdk11u-fix-request] Approval Request from Antonio Vieiro Let's detect Windows Server 2025 in JDK 11.
12-12-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk11u-dev/pull/2977 Date: 2024-12-12 11:57:30 +0000
12-12-2024

jdk17u-dev fix request I would like to have the patch in jdk17u-dev as well, because the OS detection would be nice to have there too. The backport is clean and low risk.
06-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/3029 Date: 2024-11-06 08:23:54 +0000
06-11-2024

jdk21u-dev fix request I would like to have the patch in jdk21u-dev as well, because the OS detection would be nice to have there too. The backport is clean and low risk.
24-09-2024

jdk23u fix request I would like to have the patch in jdk23u as well, because the OS detection would be nice to have there too. The backport is clean and low risk.
24-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk23u/pull/119 Date: 2024-09-24 11:46:11 +0000
24-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1006 Date: 2024-09-24 11:46:16 +0000
24-09-2024

Changeset: 34cddfbe Branch: master Author: Matthias Baesken <mbaesken@openjdk.org> Date: 2024-09-23 06:40:33 +0000 URL: https://git.openjdk.org/jdk/commit/34cddfbedd20d5804cab8044fbc402564e98eb9c
23-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21082 Date: 2024-09-19 07:40:43 +0000
19-09-2024