First cut: java.lang.module, org.openjdk.jigsaw, jmod

Mark Reinhold mr at sun.com
Mon Mar 2 20:18:01 PST 2009


> Date: Mon, 02 Mar 2009 18:52:27 -0800
> From: jonathan.gibbons at sun.com

> While short term use of jopt-simple is fine, longer term it would
> represent a departure in style for our command line tools, to be using
> the GNU- style --long-option style of options. I'm not saying that's a
> bad thing, just a decision we should make deliberately.

Consider it made.  It's about time we entered the late-20th century with
regard to command-line option syntax.

Our present CLIs are such a wondrous hodgepodge of inconsistencies that I
suspect few will notice that a new tool has an ever-so-slightly different
syntax.  At least this one will be more familiar to more people.

jmod would not be the first CLI to blaze this particular trail.  Have a
look at $JAVA_HOME/bin/pack200 --help some time.

- Mark



More information about the jigsaw-dev mailing list