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

Vladimir Kozlov kvn at openjdk.org
Fri Dec 1 03:38:14 UTC 2023


On Thu, 30 Nov 2023 23:29:48 GMT, Vladimir Kozlov <kvn 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.

This pull request has now been integrated.

Changeset: 02ffab1a
Author:    Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/02ffab1a4d9e1209f3f1da715acae975e0754551
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8321141: VM build issue on MacOS after JDK-8267532

Reviewed-by: jiefu

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

PR: https://git.openjdk.org/jdk/pull/16914


More information about the hotspot-compiler-dev mailing list