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

Chris Hegarty chris.hegarty at oracle.com
Mon Jan 25 16:11:11 UTC 2016


On 25/01/16 15:45, Roger Riggs wrote:
> Hi Chris,
>
> Are there any tests that can be included?

No, I am not planning to add specific tests for JOpt Simple.
The tools that eventually use it, should provide sufficient
testing.

-Chris.

> Roger
>
>
> On 1/25/2016 10:39 AM, Claes Redestad wrote:
>> +1
>>
>> 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?
>>
>> /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