RFR: 8263323: Debug Agent help output includes invalid URL [v2]

Chris Plummer cjplummer at openjdk.java.net
Tue Jun 8 07:39:15 UTC 2021


On Tue, 8 Jun 2021 07:26:32 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Rather than embed a URL in the help output, which needs to be updated if the location of docs ever changes, just include a description of the document so it can be looked up. The output now looks like:
>> 
>> 
>> $ ./java -agentlib:jdwp=help
>>                Java Debugger JDWP Agent Library
>>                --------------------------------
>> 
>>   (See the "Oracle VM Invocation Options" section of the JPDA
>>    "Connection and Invocation Details" document for more information.)
>> 
>> jdwp usage: java -agentlib:jdwp=[help]|[<option>=<value>, ...]
>> 
>> Option Name and Value            Description                       Default
>> ---------------------            -----------                       -------
>> suspend=y|n                      wait on startup?                  y
>> transport=<name>                 transport spec                    none
>> ...
>
> Chris Plummer has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Change "Oracle VM" to just "VM"

I changed "Oracle VM" to just "VM" in the debug agent help message. I also filed [JDK-8268370](https://bugs.openjdk.java.net/browse/JDK-8268370) to fix the "Oracle VM" references in the conninv.html document.

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

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


More information about the serviceability-dev mailing list