[jdk13u-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:42:26 UTC 2021


I'd like to backport JDK-8269850 to jdk13u 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/jdk13u-dev/pull/279/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk13u-dev&pr=279&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/jdk13u-dev/pull/279.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk13u-dev pull/279/head:pull/279

PR: https://git.openjdk.java.net/jdk13u-dev/pull/279


More information about the jdk-updates-dev mailing list