RFR: 8257620: Do not use objc_msgSend_stret to get macOS version

Erik Joelsson erikj at openjdk.java.net
Wed Dec 2 22:06:55 UTC 2020


On Wed, 2 Dec 2020 22:00:55 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

>> The current intention is to be consistent with the min system version and it's currently set to 10.9. If libjvm.dylib gets a different value, then that would be a bug, but note that this could also vary depending on how the build is configured and the compiler version used.
>> 
>> So far, I have only bumped this version once, and that was because the toolchain required it when switching to Clang from GCC. Keeping it low is nice for backwards compatibility. That said, I don't see a problem with increasing this value to 10.10 if it's needed for something. Even 10.10 was EOL a long time ago now. The current value is set in make/autoconf/flags.m4.
>> 
>> The discrepancy in Info.plist was fixed in JDK-8252145.
>
> We are indeed missing the macos-version-min argument when linking libjvm.dylib. This is a bug.

Filed https://bugs.openjdk.java.net/browse/JDK-8257633

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

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



More information about the build-dev mailing list