Command Line Runner accepts negative int arguments
Aleksey Shipilev
aleksey.shipilev at oracle.com
Fri May 22 10:44:21 UTC 2015
On 21.05.2015 18:47, Vladimir Sitnikov wrote:
> Do you think "batch size" could be equal to 0?
> What sense does it make?
It's a bug, it should be positive.
> "Forks" argument is optional, thus joptsimple just assumes -1 is the
> next option.
This is also the lingering issue since the days JMH did not use forking
by default. Fixed.
> Please check the attached patch.
Great, thanks!
Swept a few minor issues (wording, missing tests), and pushed:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901431
-Aleksey
More information about the jmh-dev
mailing list