[jdk15u-dev] Integrated: 8274840: Update OS detection code to recognize Windows 11

Olga Mikhaltsova omikhaltcova at openjdk.java.net
Thu Oct 21 07:12:12 UTC 2021


On Tue, 19 Oct 2021 18:41:27 GMT, Olga Mikhaltsova <omikhaltcova at openjdk.org> wrote:

> I'd like to backport JDK-8274840 to jdk15u 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"));
>     }
> }

This pull request has now been integrated.

Changeset: 5075dec8
Author:    Olga Mikhaltsova <omikhaltcova at openjdk.org>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk15u-dev/commit/5075dec84576b0a08cabe7a6d033cae1c24040aa
Stats:     15 lines in 2 files changed: 13 ins; 0 del; 2 mod

8274840: Update OS detection code to recognize Windows 11

Backport-of: 97ea9dd2f24f9f1fb9b9345a4202a825ee28e014

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

PR: https://git.openjdk.java.net/jdk15u-dev/pull/115


More information about the jdk-updates-dev mailing list