RFR: JDK-8183579: refactor and cleanup launcher help messages
kumar.x.srinivasan at oracle.com
Thu Jul 20 18:53:59 UTC 2017
Please review refactoring and clean up of the java launcher's help/usage
The highlights of the changes are as follows:
1. Helper.java: is renamed from LauncherHelper.java, simpler name,
containing mostly methods to help with class loading, module
2. OptionHelper.java: moved those methods in Helper.java, pertaining
to option printing, to this class.
3. Options.java: is heavily inspired by javadoc's option management, it
is very structured, and makes the resources much simpler to manage.
4. Modified the options descriptions to be _more consistent_,
keeping in mind, these options have been in there for eons.
java -help output:
java -X output:
More information about the core-libs-dev