jmh-core bug: fails to build with anything newer than jopt-4.6

Austin English wizardedit at gentoo.org
Sat Oct 15 03:29:28 UTC 2016


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.

I tried to file a bug at
https://bugs.openjdk.java.net/secure/Dashboard.jspa, but seems you must
have contributed a patch to be able to file a bug, so, that's not
available to me.

-- 
-Austin
GPG: 00B3 2957 B94B F3E1



More information about the jmh-dev mailing list