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

Stuart Marks smarks at openjdk.org
Fri Apr 28 21:48:23 UTC 2023


On Fri, 28 Apr 2023 04:05:21 GMT, ExE Boss <duke at openjdk.org> wrote:

>> Textual specification clarifications.
>
> src/java.base/share/classes/java/lang/Runtime.java line 143:
> 
>> 141: 
>> 142:     /**
>> 143:      * Initiates the <a href="#shutdown">shutdown sequence</a> of the Java Virtual Machine.
> 
> Suggestion:
> 
>      * Initiates the {@linkplain ##shutdown shutdown sequence} of the Java Virtual Machine.

Good idea. I've updated these and a couple more relating to the shutdown sequence and termination. (There are lots more but in unrelated areas, so I left them for now.)

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

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


More information about the core-libs-dev mailing list