Command Line Runner accepts negative int arguments

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu May 21 13:43:50 UTC 2015


On 20.05.2015 15:40, Vladimir Sitnikov wrote:
> Converter can throw ValueConversionException, and it is used in
> joptsimple for DateConverter and RegexMatcher.
> So it should be a consistent way of reporting conversion errors.
> 
> I can prepare a patch if no objections from Daniel.

Thanks. Please make sure to make a few regression tests -- there should
be already a test class that bashes Options. Rejecting negative values
from OptionBuilder may also be considered.

-Aleksey.




More information about the jmh-dev mailing list