CODETOOLS-7901491: incorrect setting param with the same name through class hierarchy
Sergey Kuksenko
sergey.kuksenko at oracle.com
Fri Aug 28 14:53:45 UTC 2015
Issue:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901491
When we have benchmark class hierarchy and parameters (@Param) with same
name in different classes of the hierarchy then:
1. JMH incorrectly save param values to BenchmarkList file. Values of
the most super param are written for all classes
2. JMH incorrectly setup param values before execution. Only the most
super param field is set.
Fix:
http://cr.openjdk.java.net/~skuksenko/jmh/overparam/webrev.00/
--
Best regards,
Sergey Kuksenko
More information about the jmh-dev
mailing list