Re: RFR: 8274716: JDWP Spec: the description for the Dispose command confuses suspend with resume. [v2]

2021-10-07 Thread Richard Reingruber
On Tue, 5 Oct 2021 07:38:28 GMT, Richard Reingruber  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)
>
> Richard Reingruber has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Updated copyright.

Thanks for the reviews!

-

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


Re: RFR: 8274716: JDWP Spec: the description for the Dispose command confuses suspend with resume. [v2]

2021-10-05 Thread Serguei Spitsyn
On Tue, 5 Oct 2021 07:38:28 GMT, Richard Reingruber  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)
>
> Richard Reingruber has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Updated copyright.

Marked as reviewed by sspitsyn (Reviewer).

-

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


Re: RFR: 8274716: JDWP Spec: the description for the Dispose command confuses suspend with resume. [v2]

2021-10-05 Thread Richard Reingruber
On Mon, 4 Oct 2021 18:20:42 GMT, Chris Plummer  wrote:

> 
> 
> Can you update the copyright please?

Sure, thanks!

> I checked the JDI spec and it looks correct there, which is actually 
> surprising since errors like this usually appear in both specs.

Yes I noticed this too.

Thanks for reviewing,
Richard.

-

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


Re: RFR: 8274716: JDWP Spec: the description for the Dispose command confuses suspend with resume. [v2]

2021-10-05 Thread Richard Reingruber
> 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)

Richard Reingruber has updated the pull request incrementally with one 
additional commit since the last revision:

  Updated copyright.

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5804/files
  - new: https://git.openjdk.java.net/jdk/pull/5804/files/97396416..1d896c41

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5804&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5804&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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