(Java 8 Coverage): INVOKESPECIAL/STATIC on interfaces require ASM 5

Hi all
While running code coverage in java with bundled intellij idea coverage runner we get errors like these:

[17:38:28][2015.02.18 17:38:28] (Coverage): Error during class instrumentation: com.xxx.ReconAlertBuilder: java.lang.IllegalArgumentException: INVOKESPECIAL/STATIC on interfaces require ASM 5


Seems like Java 8 features is not supported by the bundled ASM framework version.
  1. Is it something known?
  2. We use TeamCity Enterprise 8.1.4 EAP (build 30139), was ASM framework updated after that?
  3. Any workarounds for this?
Thanks in advance,
Victor

3 comments
Comment actions Permalink

Hi Victor,

Yes, there was the issue fixed in IntelliJ Code Coverage 13.1.3, which was released later than TeamCity 8.1.4. I would recommend to upgrade to the latest TeamCity version (9.0.2 as of now)

0
Comment actions Permalink

Hi Alina,
Thanks for the reply.
It seems however that the problem still persists on 9.0.3.
I've opened a bug in youtrack - https://youtrack.jetbrains.com/issue/TW-41300

Thanks
Victor

0
Comment actions Permalink

Correct link for this bug https://youtrack.jetbrains.com/issue/TW-41301

And it is not fixed yet...

0

Please sign in to leave a comment.