[jdk13u-dev] RFR: 8274840: Update OS detection code to recognize Windows 11
Olga Mikhaltsova
omikhaltcova at openjdk.java.net
Tue Oct 19 20:32:09 UTC 2021
I'd like to backport JDK-8274840 to jdk13u for parity with jdk11u.
The original patch applied cleanly.
Tested with a simple test printing OS version on Windows 11 and 10:
public class Main {
public static void main(String[] args) {
System.out.println(System.getProperty("os.name"));
}
}
-------------
Commit messages:
- Backport 97ea9dd2f24f9f1fb9b9345a4202a825ee28e014
Changes: https://git.openjdk.java.net/jdk13u-dev/pull/274/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk13u-dev&pr=274&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/jdk13u-dev/pull/274.diff
Fetch: git fetch https://git.openjdk.java.net/jdk13u-dev pull/274/head:pull/274
PR: https://git.openjdk.java.net/jdk13u-dev/pull/274
More information about the jdk-updates-dev
mailing list