RFR: JDK-8274840: Update OS detection code to recognize Windows 11

Matthias Baesken mbaesken at openjdk.java.net
Thu Oct 7 11:27:22 UTC 2021


The OS detection code of the JDK/JVM should recognize the new Windows 11. For details see :

https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information
OS build number is : 22000.194 for 21H2 (original release)

Please review the following small  patch !
(patch comes originally from  azeller  (Arno Zeller) , I just added a comment and did some testing)

Thanks, Matthias

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

Commit messages:
 - JDK-8274840

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

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


More information about the hotspot-runtime-dev mailing list