RFR: 8269850: Most JDK releases report macOS version 12 as 10.16 instead of 12.0 [v2]

Roger Riggs rriggs at openjdk.java.net
Wed Sep 22 17:41:18 UTC 2021


> The Mac OS specific code to determine the os.version property in java_props_macosx.c is updated
> to replace the code extracting the version from the SystemVersion.plist by reading the version using t\
> he hidden link:

Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:

  Check for missing version from SystemVersion plist.
  Refactor avoid repetition of conversion of NSString to char *.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5633/files
  - new: https://git.openjdk.java.net/jdk/pull/5633/files/d1e2bd20..f44119d9

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5633&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5633&range=00-01

  Stats: 16 lines in 1 file changed: 6 ins; 7 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5633.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5633/head:pull/5633

PR: https://git.openjdk.java.net/jdk/pull/5633


More information about the core-libs-dev mailing list