JDK-8274961 : Release Note: Release Doesn't Correctly Recognize Windows Server 2022
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 11.0.13-oracle,17.0.1
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2021-10-08
  • Updated: 2021-10-19
  • Resolved: 2021-10-12
Description
This release doesn't correctly identify Windows Server 2022. 
The property `os.name` is set to `Windows Server 2019` on Windows Server 2022. 
In HotSpot error logs the OS is identified as `Windows Server 2019`; however, the HotSpot error log does show the Build number. Windows Server 2022 has Build 20348, or above.