On Mon, 12 Apr 2021 20:30:55 GMT, Kevin Rushforth <k...@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. buildSrc/mac.gradle line 59: > 57: // Note that this is not necessarily the same as the preferred SDK version > 58: def isAarch64 = TARGET_ARCH == "aarch64" || TARGET_ARCH == "arm64"; > 59: def macOSMinVersion = (TARGET_ARCH == "aarch64" || TARGET_ARCH == > "arm64") ? "11.0" : "10.12"; I guess `isAarch64` was defined to use on line 59 in ternary operator. ------------- PR: https://git.openjdk.java.net/jfx/pull/462