RFR: 8351970: Retire JavaLangAccess::exit
Roger Riggs
rriggs at openjdk.org
Fri Mar 14 19:47:52 UTC 2025
On Fri, 14 Mar 2025 18:31:38 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Cleanup the single use of JavaLangAccess.exit() it is no longer necessary; System.exit() can be called directly.
There are other non-recoverable errors that occur in the runtime that throw InternalError or AssertionError instead of calling System.exit. Calling System.exit seems like overkill.
I did not find any discussion in the review of 8304265: Implementation of Foreign Function and Memory API with respect to that necessity. (https://git.openjdk.org/jdk/pull/13079)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24066#issuecomment-2725605716
More information about the core-libs-dev
mailing list