RFR: 8321141: VM build issue on MacOS after JDK-8267532

Vladimir Kozlov kvn at openjdk.org
Fri Dec 1 03:25:08 UTC 2023


On Fri, 1 Dec 2023 01:30:28 GMT, Jie Fu <jiefu at openjdk.org> wrote:

>> [JDK-8267532](https://bugs.openjdk.org/browse/JDK-8267532) added new method `ciMethodData::exception_handler_bci_to_data()` which has `ShouldNotReachHere()` call on one exit without returning any value.
>> 
>> Unfortunately `ATTRIBUTE_NORETURN` attribute  in `ShouldNotReachHere()` seems don't work with older versions of Xcode.
>> 
>> The fix is to add `return` statement.
>> 
>> Tested with old Xcode (12.4) I have. Also tested with tier1 which includes builds.
>
> LGTM

Thank you, @DamonFool , for review.

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

PR Comment: https://git.openjdk.org/jdk/pull/16914#issuecomment-1835393588


More information about the hotspot-compiler-dev mailing list