RFR: 8266743: crash on macOS 10.11 due to ignored check on 10.12

Kevin Rushforth kcr at openjdk.java.net
Tue Jul 6 23:17:50 UTC 2021


On Tue, 6 Jul 2021 22:33:47 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> This fix restores the minimum macOS version needed to run JavaFX on x64 platforms to 10.10.
> 
> The fix for [JDK-8265031](https://bugs.openjdk.java.net/browse/JDK-8265031) bumped the minimum version for macOS on aarch64 to 11.0 and on x64 to 10.12. The change on aarch64 was necessary, since that is the minimum version that will run on Apple Silicon. The change on x64 was not necessary, but was done to match JDK 17. In connection with the fix for [JDK-8263169](https://bugs.openjdk.java.net/browse/JDK-8263169), this causes a crash on older macOS systems running 10.10 or 10.11. The long term solution is to detect and throw an exception at startup if the version of macOS is below the minimum, but for JavaFX 17 it was felt that restoring the minimum of macOS 10.10 for x64 platforms was safer.
> 
> See the discussion in JBS for more information.

I filed two follow-on bugs that are targeted for JavaFX 18:

1. [JDK-8269967](https://bugs.openjdk.java.net/browse/JDK-8269967): JavaFX should fail fast on macOS below minimum version
2. [JDK-8269968](https://bugs.openjdk.java.net/browse/JDK-8269968): [REDO] Bump minimum version of macOS for x64 to 10.12

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

PR: https://git.openjdk.java.net/jfx/pull/566


More information about the openjfx-dev mailing list