On Thu, 11 Aug 2022 04:00:39 GMT, Stuart Marks <sma...@openjdk.org> wrote:

>> The concept of the shutdown sequence needs to be specified more clearly. 
>> This PR adds text for this into the class specification of 
>> `java.lang.Runtime`. Also includes adjustments to related areas in 
>> `addShutdownHook`, `halt`, and in the `System` and `Thread` classes. The 
>> changes here should coordinate with similar changes to JLS 12.8, JVMS 5.7, 
>> and the Invocation API chapter of the _JNI Specification._
>
> Stuart Marks has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Revise Implementation Note discussing JNI Invocation API.

src/java.base/share/classes/java/lang/Runtime.java line 197:

> 195:      * as possible. They should also not rely blindly upon services that 
> may
> 196:      * have registered their own shutdown hooks and therefore may 
> themselves in
> 197:      * the process of shutting down. Attempts to use other thread-based

Is there a "be" missing here? 
> may themselves *be* in the process ...

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

PR: https://git.openjdk.org/jdk/pull/9437

Reply via email to