RFR: 8325932: Replace ATTRIBUTE_NORETURN with direct [[noreturn]]

Julian Waters jwaters at openjdk.org
Thu Feb 15 16:51:57 UTC 2024


On Thu, 15 Feb 2024 16:47:21 GMT, Rémi Forax <forax at openjdk.org> wrote:

> I believe "as soon as possible" should be "once JDK-8325878 is resolved" :)
> 
> Now, the reason to use [[noreturn]] instead of ATTRIBUTER_NORETURN macro is that IDEs recognize [[noreturn]] when doing static analysis on the code and that ATTRIBUTER_NORETURN was added as a workaround because a bug (crash) in clang < 12.

Yes, I forgot to mention that this is only going in once the clang 13 requirement is integrated

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

PR Comment: https://git.openjdk.org/jdk/pull/17868#issuecomment-1946566776


More information about the hotspot-dev mailing list