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

Chris Hegarty chris.hegarty at oracle.com
Mon Jan 25 15:45:29 UTC 2016

On 25/01/16 15:39, Claes Redestad wrote:
> +1

Thanks for looking at this Claes.

> module-info.java missing?

No. There is an update to modules.xml. This is all that is required
in jdk9/dev, for now.

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

For consistency, I took the same terse approach applied to the
jdk.internal.le module.


> /Claes
> 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