RFR: 8257620: Do not use objc_msgSend_stret to get macOS version
Phil Race
prr at openjdk.java.net
Wed Dec 2 20:22:55 UTC 2020
On Wed, 2 Dec 2020 20:04:12 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:
>> Surely these days you can just call [NSProcessInfo operatingSystemVersion] directly ?
>> If I read the doc below it is in the 10.10 SDK and later.
>> https://developer.apple.com/documentation/foundation/nsprocessinfo/1410906-operatingsystemversion?language=occ
>
> Unfortunately, no. AFAIK, the minimum target version is 10.9 https://github.com/openjdk/jdk/blob/master/make/autoconf/flags.m4#L133, so I had to keep indirection.
I wonder if we should be "upping" that to something later.
10.9 is over 7 years old and has been out of support for what - 4 years ?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1569
More information about the build-dev
mailing list