corretto / corretto-8

Amazon Corretto 8 is a no-cost, multi-platform, production-ready distribution of OpenJDK 8
GNU General Public License v2.0
2.11k stars 221 forks source link

Fix macosx_version_(min|max) on aarch64 #438

Closed benty-amzn closed 1 year ago

benty-amzn commented 1 year ago

This fixes an issue with fastdebug builds on macos aarch64, which would fail with

hotspot/src/os_cpu/bsd_aarch64/vm/os_bsd_aarch64.cpp:408:7: error: 'pthread_jit_write_protect_np' is only available on macOS 11.0 or newer [-Werror,-Wunguarded-availability-new]
      pthread_jit_write_protect_np(false);