JDK-8288158 : Add an anchor to each subcommand option on jfr html page
  • Type: Task
  • Component: hotspot
  • Sub-Component: jfr
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-06-10
  • Updated: 2023-10-16
  • Resolved: 2023-07-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21 JDK 22
21Fixed 22 b07Fixed
Related Reports
Relates :  
Description
Providing anchors for each subcommand option on the jfr man page can help when needing to reference an option from external documentation or content. 

The javac page already does this: https://docs.oracle.com/en/java/javase/18/docs/specs/man/javac.html#option-class-path

Following its precedent and for consistency the anchors should follow the [subcommand]-option-[option-name-in-lower-case] format, e.g. print-option-xml. 

For non-URL compliant characters in an option, if applicable, should be replaced with a `-`.