osundblad / intellij-annotations-instrumenter-maven-plugin

IntelliJ IDEA annotations instrumenter maven plugin
Other
38 stars 11 forks source link

Java10 support #26

Closed hendriks73 closed 6 years ago

hendriks73 commented 6 years ago

Tried to run this with Java 10 and got

java.lang.IllegalArgumentException
    at org.objectweb.asm.ClassReader.<init>(Unknown Source)
    at org.objectweb.asm.ClassReader.<init>(Unknown Source)
    at org.objectweb.asm.ClassReader.<init>(Unknown Source)
    at com.intellij.NotNullInstrumenter.instrumentClass(NotNullInstrumenter.java:80)
    at com.intellij.NotNullInstrumenter.instrumentFile(NotNullInstrumenter.java:72)

I suppose it might be caused by an unsupported class file version. But I'm just guessing.

cschwier commented 6 years ago

I have implemented a fix for it in #27 which I tested on our 22kLOC project. If someone else could verify that it works I'd appreciate it.

osundblad commented 6 years ago

In release 0.6.8