[patch] Prevent NoSuchMethodError when compiling in IntelliJ IDEA

Evgeny Mandrikov mandrikov at gmail.com
Sun Oct 18 23:08:22 UTC 2015


Hi Aleksey,

Here is a scenario, which leads to NoSuchMethodError with IntelliJ IDEA
14.1.4 :
a) generate the benchmark from archetype
b) open in IDEA
c) add one more benchmark method and psvm main() in MyBenchmark.java with
JMH API invocation
d) run it - all fine
e) remove one of benchmark methods
f) run it - NoSuchMethodError

In attachment you'll find patch - quick attempt to address this issue.

-- 
Best regards,
Evgeny Mandrikov aka Godin <http://godin.net.ru>
http://twitter.com/_godin_


More information about the jmh-dev mailing list