On Tue, 21 Sep 2021 19:33:05 GMT, Roger Riggs <rri...@openjdk.org> wrote:
> 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 the hidden link: > `/System/Library/CoreServices/.SystemVersionPlatform.plist` > > Its contents are not dependent on the SYSTEM_VERSION_COMPAT environment > variable. > With this change, 11.5 reports the 11.5.1 minor version and os.version 11.6 > is correctly reported. > The change can be backported to other versions as needed. Marked as reviewed by bpb (Reviewer). ------------- PR: https://git.openjdk.java.net/jdk/pull/5619