-
CSR
-
Resolution: Approved
-
P4
-
None
-
low
-
Adding new option, there are no compatibility issues.
-
add/remove/modify command line option
-
JDK
Summary
Provide a --version
option for the javadoc tool.
Problem
Although the javadoc tool provides a -version
option,
that is a flag to indicate whether the generated documents should include
the version of the API being documented, from the @version
tags.
There has never been a flag to obtain the tool version itself.
Solution
With the introduction of --
options in JDK 9, --version
can be provided
to output the version information of the tool.
Specification
When --version
is used, javadoc will report the version of the tool and exit.
- csr of
-
JDK-8177048 javadoc should support -version and/or --version
- Resolved