jmh-core bug: fails to build with anything newer than jopt-4.6
Aleksey Shipilev
shade at redhat.com
Mon Oct 17 11:00:12 UTC 2016
Hi Austin,
On 10/15/2016 05:29 AM, Austin English wrote:
> I'm attempting to package jmh for gentoo, but it's failing:
>
> [ERROR]
> /home/austin/src/jmh/jmh-core/src/main/java/org/openjdk/jmh/runner/options/IntegerValueConverter.java:[70,42]
> incompatible types: java.lang.Class<capture#1 of ? extends
> java.lang.Integer> cannot be converted to java.lang.Class<java.lang.Integer>
>
> I tracked this down to jopt. Gentoo has 4.8/4.9, forcing 4.6 worked.
> This behavior is broken in newer jopt, including the current 5.0.3.
Yes, JMH build is using 4.6. There is no guarantee it will work with the
updated dependency, and I don't see the value in trying to do so.
As much as I appreciate Gentoo way, trying to force the dependency
version outside of what the actual project mentions in its build files
is setting up Gentoo users for trouble.
Thanks,
-Aleksey
More information about the jmh-dev
mailing list