Closed michiwieland closed 6 years ago
Hi @michiwieland, this library does not support Java 9 yet. I will open an internal ticket and see how we will progress. Will update you here as I know more.
In the meantime, you might want to use jdk_switcher on Travis CI.
When using Jenkins pipelines I don't think it's quite as easy to run part of the build with one JDK and another JRE/JDK.
We decleartively specify the version like this:
#!/usr/bin/env groovy
pipeline {
agent {
label 'cloud-slave'
}
tools {
jdk 'JDK10'
}
...
}
I'm not sure the TravisCI option works quite as nicely on this type of set up.
@michiwieland, @fniephaus, @davidgoate as described in https://github.com/codacy/codacy-coverage-reporter/pull/89 we were able to do a quick hack to avoid the issue. Can you try it and see if it works.
Released as version 4.0.2
.
Seems to be working, thanks!
Operating System
Travis CI / Trusty Ubuntu 14.04.5 LTS
JDK
Oracle JDK9 Java(TM) SE Runtime Environment (build 9.0.1+11)
Expected Behavior
Codacy coverage reporter supports Java 9
Actual Behavior
Codacy coverage reporter does crash with Java 9.
Reproducible Test Case
travis.yml