RFR: 8302496: Runtime.exit incorrectly says it never throws an exception [v3]

Stuart Marks smarks at openjdk.org
Tue May 2 04:48:09 UTC 2023


On Mon, 1 May 2023 16:11:59 GMT, Stuart Marks <smarks at openjdk.org> wrote:

>> One thing you could do is reduce the words down to something like "Unless denied exiting by the security manager, this method blocks indefinitely ..." to avoid complicating the first paragraph with something that only arises with a niche execution mode. If needed, a later paragraph could have this detail, or just leave it to the existing @throws text where the permission check is specified.
>
> OK, that works. I'll develop an update.

Updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13706#discussion_r1182076579


More information about the core-libs-dev mailing list