[jdk15u-dev] RFR: 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 15:44:23 UTC 2021


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"));
    }
}

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

Commit messages:
 - Backport 3b1b8fc646493eae5f4df828afe29abb75fa5e60

Changes: https://git.openjdk.java.net/jdk15u-dev/pull/120/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk15u-dev&pr=120&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8269850
  Stats: 25 lines in 1 file changed: 7 ins; 13 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk15u-dev/pull/120.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk15u-dev pull/120/head:pull/120

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


More information about the jdk-updates-dev mailing list