flacoco
flacoco copied to clipboard
Java 18 support
The previous PR had a bug which stopped tests from executing and in a silent way
The failure is related to the asm dependency not being able to handle Java 18 classfiles:
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 62
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:196)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:177)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:163)
at org.jacoco.core.internal.instr.InstrSupport.classReaderFor(InstrSupport.java:280)
at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:108)
at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:133)
... 14 more
This should not happen, as the asm dependency is inherited from jacoco and should support the same classfiles as jacoco.