[patch] Prevent NoSuchMethodError when compiling in IntelliJ IDEA

Evgeny Mandrikov mandrikov at gmail.com
Sun Oct 18 23:11:40 UTC 2015


Excuse me - forgot to do attachment, here it is.

On Mon, Oct 19, 2015 at 1:08 AM, Evgeny Mandrikov <mandrikov at gmail.com>
wrote:

> 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_
>



-- 
Best regards,
Evgeny Mandrikov aka Godin <http://godin.net.ru>
http://twitter.com/_godin_
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jmh.patch
Type: text/x-patch
Size: 1983 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/jmh-dev/attachments/20151019/f67320ae/jmh.patch>


More information about the jmh-dev mailing list