JDK-8302124 : HotSpot Style Guide should permit noreturn attribute
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: other
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-02-09
  • Updated: 2023-03-08
  • Resolved: 2023-02-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b12Fixed
Related Reports
Blocks :  
Relates :  
Description
The noreturn attribute was introduced in C++11.  HotSpot code should be permitted to use noreturn attributes.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf
https://en.cppreference.com/w/cpp/language/attributes/noreturn
Comments
Changeset: 14a014d4 Author: Kim Barrett <kbarrett@openjdk.org> Date: 2023-02-28 01:59:03 +0000 URL: https://git.openjdk.org/jdk/commit/14a014d4303efda69bd0acbdf71139534601b49a
28-02-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/12507 Date: 2023-02-10 05:26:38 +0000
10-02-2023