RFR: 8265031: Change default macOS min version for x86_64 to 10.12 and aarch64 to 11.0

Johan Vos jvos at openjdk.java.net
Tue Apr 13 06:48:57 UTC 2021


On Mon, 12 Apr 2021 20:30:55 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> As noted in the JBS bug, the minimum macOS version on which JavaFX will run is currently set to 10.10 in `mac.gradle`. macOS 10.10 is many years out of support, so we should update this minimum. Further, macOS / aarch64 (aka arm64) requires macOS 11.0 as a minimum in order to run.
> 
> The JDK recently updated their minimum for x86_64 to 10.12 and for aarch64 to 11.0. See [make/autoconf/flags.m4#L136](https://github.com/openjdk/jdk/blob/627ad9fe22a153410c14d0b2061bb7dee2c300af/make/autoconf/flags.m4#L136).
> 
> This PR will do the same for JavaFX.
> 
> To determine whether we are building on `aarch64`, I check the `TARGET_ARCH` property for either `aarch64` or `arm64`, since we currently use the latter for our builds, although we should proably update our build to consistently use `aarch64` everywhere, and map that to `arm64` on usage where required by native tools.

Marked as reviewed by jvos (Reviewer).

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

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


More information about the openjfx-dev mailing list