RFR [9] 8148154: JOpt Simple - a Java library for parsing command line options

Claes Redestad claes.redestad at oracle.com
Mon Jan 25 15:39:07 UTC 2016


module-info.java missing?

"jdk.internal.opt" might be ever so slightly misleading, wouldn't 
"jdk.internal.joptsimple" be a better name for the module?


On 2016-01-25 16:38, Chris Hegarty wrote:
> JOpt Simple [1] is a Java library for parsing command line options.
> The JDK has several different home-grown versions of command line
> option-parsing code. Where possible, new and existing tools in the
> JDK should consider using JOpt Simple. JOpt Simple is being used in
> a number of tools in project jigsaw [2].
> This issue proposes to integrate JOpt Simple into JDK 9 as a new
> module that can be used internally by tools in the JDK. The webrev
> proposes to add the new module, it is yet to be used. Qualified
> exports to specific JDK tool modules can be added later.
> http://cr.openjdk.java.net/~chegar/8148154/
> -Chris.
> [1] https://pholser.github.io/jopt-simple/
> [2] 
> http://hg.openjdk.java.net/jigsaw/jake/jdk/file/tip/src/jdk.internal.opt/share/classes 

More information about the core-libs-dev mailing list