RFR: JDK-8273229: Update OS detection code to recognize Windows Server 2022

Matthias Baesken mbaesken at openjdk.java.net
Thu Sep 2 06:50:40 UTC 2021


Hello, please review this small change.
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 of Windows server 2022 according to the documentation in the second link is 20348 .
Thanks, Matthias

-------------

Commit messages:
 - JDK-8273229

Changes: https://git.openjdk.java.net/jdk/pull/5347/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5347&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8273229
  Stats: 11 lines in 2 files changed: 8 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5347.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5347/head:pull/5347

PR: https://git.openjdk.java.net/jdk/pull/5347


More information about the core-libs-dev mailing list