JDK-8152218 : Examine command line options for consistency, and possible move to GNU style
  • Type: Task
  • Component: tools
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-03-19
  • Updated: 2016-07-20
  • Resolved: 2016-07-20
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 9
9-repo-jigsawFixed
Related Reports
Blocks :  
Description
java, javac, jlink, jar, jmod, ... have been updated in JDK 9 to add new options for modules. There are several inconsistencies, for example java and javac have -modulepath, whereas jlink and jmod have --modulepath. In general, we need to see where the command-line options are going and how we move to GNU style in a consistent way.
Comments
JEP is written and code is in jigsaw/jake repo
20-07-2016

See JEP 293 http://openjdk.java.net/jeps/293
20-07-2016

Added options.modules.2.txt, which includes options from javapackager and jar; also includes -help since that varies across tools
13-04-2016

I've attached a script that analyzes the command-line help output from various tools, the groups and sorts the results by option name. The results for the script for jdk9/dev (approx jdk-9+112) are also attached, options.full.txt, and filtered down to the subset of common module-related options, options.modules.txt.
11-04-2016

Jon - I'll assign this to you for now as you have a passion for this topic and I assume you'd like to drive it.
19-03-2016