RFR: 8266567: Fix javadoc tag references in sun.management.jmxremote.ConnectorBootstrap

Pavel Rappo prappo at openjdk.java.net
Wed May 5 16:05:59 UTC 2021


This fixes two javadoc tag references and several typos. References are fixed by removing whitespace before the opening `(`. That whitespace caused the opening `(` and the rest of the reference to be parsed as a link label.

Since we are here, I think this class could also benefit from using modern APIs. This should be done in a separate PR though. For example:

1. Numerous instances of `Boolean.valueOf( <var> ).booleanValue()` could be changed to `Boolean.parseBoolean( <var> )`
2. `throw (IllegalArgumentException) new IllegalArgumentException(msg).initCause(e);` could be changed to `throw new IllegalArgumentException(msg, e);`

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

Commit messages:
 - Initial commit

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

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


More information about the serviceability-dev mailing list