Open andham opened 7 years ago
We will have to move over from Cobertura (to - say - Clover) to handle Java 8 compliance. There are still quite a few issues with Java 8 compliance in Cobertura - and it does not properly handle Java 9 syntax as well.
The Java 9 transition is rather important, and it seems that the code coverage frameworks are not quite Java 9 compliant yet.
Hm. When I build with Java 8, I get no errors. Instead I get an error log line, which I believe stems from Cobertura writing something to the System.err instead of System.out.
[ERROR] Dec 02, 2017 11:27:54 PM net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler loadCoverageData
INFO: Cobertura: Loaded information on 71 classes.
Several errors in unit tests that only occur with Cobertura during site build. See Travis output for exemple: https://travis-ci.org/mojohaus/jaxb2-maven-plugin/builds/206997596 Strangely not all builds are marked as bad in Travis although the error happens.