RFR: 8263323: Debug Agent help output includes invalid URL
Chris Plummer
cjplummer at openjdk.java.net
Fri Jun 4 03:44:04 UTC 2021
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
...
-------------
Commit messages:
- Replace broken URL in help output with name of help document
Changes: https://git.openjdk.java.net/jdk/pull/4352/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4352&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8263323
Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/4352.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4352/head:pull/4352
PR: https://git.openjdk.java.net/jdk/pull/4352
More information about the serviceability-dev
mailing list