JDK-8273229 : Update OS detection code to recognize Windows Server 2022
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version:
    7u321,8u311,11.0.13-oracle,17.0.1,18 7u321,8u311,11.0.13-oracle,17.0.1,18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2021-09-01
  • Updated: 2024-11-28
  • Resolved: 2021-09-02
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.
Other JDK 11 JDK 13 JDK 15 JDK 17 JDK 18 JDK 7 JDK 8
,shenandoah8u332Resolved 11.0.14-oracleFixed 13.0.10Fixed 15.0.6Fixed 17.0.2Fixed 18 b14Fixed 7u331Fixed 8u311Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8274961 :  
JDK-8275095 :  
Description
The OS detection code of the JDK/JVM should recognize the new Windows server 2022 :

https://docs.microsoft.com/en-us/lifecycle/products/windows-server-2022

https://docs.microsoft.com/en-us/windows-server/get-started/windows-server-release-info

The build number according to the documentation is 20348 .
Comments
Fix Request (8u) Clean backport for parity with Oracle 8u331.
25-01-2022

Changeset: b70e4998 Author: Joakim Nordström <jnordstrom@openjdk.org> Committer: Kevin Walls <kevinw@openjdk.org> Date: 2021-10-08 08:22:06 +0000 URL: https://git.openjdk.java.net/jdk17u-dev/commit/b70e4998a394ff511675fb2a54403abf72be41ef
20-01-2022

Changeset: b70e4998 Author: Joakim Nordström <jnordstrom@openjdk.org> Committer: Kevin Walls <kevinw@openjdk.org> Date: 2021-10-08 08:22:06 +0000 URL: https://git.openjdk.java.net/jdk17u/commit/b70e4998a394ff511675fb2a54403abf72be41ef
20-01-2022

Fix request (15u) I'd like to backport this fix to jdk15u for parity with jdk11u. The original patch applied cleanly.
18-10-2021

Fix request (13u) I'd like to backport this fix to jdk13u for parity with jdk11u. The original patch applied cleanly.
18-10-2021

Fix Request (17u): This OS detection update is needed in JDK17u as well. Applies cleanly.
07-10-2021

Fix Request (11u): Should get backported for parity with 11.0.14-oracle. Applies cleanly.
06-10-2021

Changeset: c2e015c3 Author: Matthias Baesken <mbaesken@openjdk.org> Date: 2021-09-02 11:22:49 +0000 URL: https://git.openjdk.java.net/jdk/commit/c2e015c3c1a2274112bb8e6671a85bc7fb624fde
02-09-2021