Re: [java code coverage] Jacoco with Kotlin: Line number X is greater than the source file

2016-12-01 Thread Marc R. Hoffmann
Hi Alex, JaCoCo simply uses the debug information contained in class files. What could go wrong in your case: 1) Kotlin compiler created wrong line number informations --> Check with javap -v whether the debug line numbers make sense (alternatively send source & class file to this list) 2)

[java code coverage] Jacoco with Kotlin: Line number X is greater than the source file

2016-12-01 Thread Alexander Koch
Hello, I am using Jacoco for coverage reports in mixed Java with Kotlin projects and most of the time it is working well. In one case I am facing an issue of getting an error when a Kotlin file is analyzed. I have a maven project with Jacoco Plugin and Coverall Plugin and while Jacoco reports