[jdk15u-dev] Integrated: 8269850: Most JDK releases report macOS version 12 as 10.16 instead of 12.0

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


On Thu, 21 Oct 2021 15:34:53 GMT, Olga Mikhaltsova <omikhaltcova at openjdk.org> wrote:

> I'd like to backport JDK-8269850 to jdk15u for parity with jdk11u.
> The original patch applied cleanly.
> Tested with a simple test printing OS version on macOS Monterey:
> 
> 
> public class Main {
>     public static void main(String[] args) {
>         System.out.println(System.getProperty("os.version"));
>     }
> }

This pull request has now been integrated.

Changeset: c3e3cc15
Author:    Olga Mikhaltsova <omikhaltcova at openjdk.org>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk15u-dev/commit/c3e3cc150aef6cd1f98114e3d548bac54a016a86
Stats:     25 lines in 1 file changed: 7 ins; 13 del; 5 mod

8269850: Most JDK releases report macOS version 12 as 10.16 instead of 12.0

Backport-of: 3b1b8fc646493eae5f4df828afe29abb75fa5e60

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

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


More information about the jdk-updates-dev mailing list