Summary
Add new compiler option: --help-lint.
Problem
Currently, the output of the option --help-extra(-X) includes the information of -Xlint sub-options(sub-options
are also called supported keys
). The number of the -Xlint sub-options is growing so that the output of the option --help-extra(-X) grows correspondingly. It makes the output complicated and unclear. And it is uncomfortable to the users who don't want to read the -Xlint sub-options.
Solution
We can extract the information about -Xlint sub-options into a new option -help-lint which keeps the output of the --help-extra(-X) clear.
Specification
After completing this feature, the compiler will have the following behavior.
When we use option --help-extra(-X), the compiler only output the information about the top options.
When we use option --help-lint, the compiler would output the information about the -Xlint sub-options.
This change would not affect other options and the public API of the compiler.
- csr of
-
JDK-8230623 Extract command-line help for -Xlint sub-options to new --help-lint
-
- Resolved
-