RFR: 8274716: JDWP Spec: the description for the Dispose command confuses suspend with resume.

Alan Bateman alanb at openjdk.java.net
Mon Oct 4 14:26:10 UTC 2021


On Mon, 4 Oct 2021 13:44:44 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

> The following sentence in the JDWP Specification describing the Dispose command confuses resume with suspend [1]:
> 
>   All threads suspended by the thread-level **resume** command or the VM-level
>   **resume** command are resumed as many times as necessary for them to run.
> 
> It should be changed to
> 
>   All threads suspended by the thread-level **suspend** command or the VM-level
>   **suspend** command are resumed as many times as necessary for them to run.
> 
> [1] [JDWP Spec, Dispose Command (JDK17).](https://docs.oracle.com/en/java/javase/17/docs/specs/jdwp/jdwp-protocol.html#JDWP_VirtualMachine_Dispose)

It looks like this typo goes all the way back to JDK 1.2 but was not noticed.

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

Marked as reviewed by alanb (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5804


More information about the serviceability-dev mailing list