stevesaliman / gradle-cobertura-plugin

Gradle Cobertura Plugin
119 stars 49 forks source link

support java 8 ? #95

Open OhadR opened 8 years ago

OhadR commented 8 years ago

Hi,

I use version 2.2.7 of gradle-cobertura-plugin, which AFAIK supports cobertura version >2.1, that supports java 8.

However, when we have a code here with lambda expression, we get the following error:

java.lang.IllegalArgumentException: INVOKESPECIAL/STATIC on interfaces require ASM 5

Does it make sense?

Ohad

https://github.com/cobertura/cobertura/issues/166

stevesaliman commented 8 years ago

The plugin should run fine with Java 8, but Cobertura is still having problem with lambdas, as seen in https://github.com/cobertura/cobertura/issues/176.

I've been following that issue for a while now, but haven't heard of any fixes for it yet.

Kalaiventhan commented 8 years ago

we are facing lambda expression issue using 2.3.0 Gradle cobertura plugin and Java8. Is this issue fixed?

eschizoid commented 8 years ago

+1

stevesaliman commented 8 years ago

Unfortunately, it doesn't look like this has been addressed by the Cobertura team yet.

eschizoid commented 8 years ago

Yeah that thread has been open for almost 1.5 years. At this point I don't think the cobertura team has plans to fix it :disappointed: