Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8266743: Crash on macOS 10.11 due to ignored @available 10.12 check
Reviewed-by: jvos
  • Loading branch information
kevinrushforth committed Jul 7, 2021
1 parent 52c076c commit 6fe427f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/mac.gradle
Expand Up @@ -56,7 +56,7 @@ def defaultSdkPath = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOS
// Set the minimum API version that we require (developers do not need to override this)
// Note that this is not necessarily the same as the preferred SDK version
def isAarch64 = TARGET_ARCH == "aarch64" || TARGET_ARCH == "arm64";
def macOSMinVersion = isAarch64 ? "11.0" : "10.12";
def macOSMinVersion = isAarch64 ? "11.0" : "10.10";
defineProperty("MACOSX_MIN_VERSION", macOSMinVersion);

// Create $buildDir/mac_tools.properties file and load props from it
Expand Down

1 comment on commit 6fe427f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.