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)

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

Commit messages:
 - Correct JDWP spec, Dispose command.

Changes: https://git.openjdk.java.net/jdk/pull/5804/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5804&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274716
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5804.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5804/head:pull/5804

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

Reply via email to