-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
OpenJDK 11, Jenkins core 2.173, JPI 0.31.0
We are building a Jenkins Cloud plugin using JPI for Java 11. Stapler is failing to create the Cloud at ClassReader:170. It seems that org.kohsuke.asm5 is not working with Java 11. From what I understood it should use org.kohsuke.asm6 anyways. ./gradlew dependencies shows that JPI pulled in both, asm5 and asm6. Is this a bug in JPI or should is the configuration just wrong?
See my pull request for details.
- links to
Thanks for trying out java 11 support jeschkies!
It looks like Stapler will need to be updated. Perhaps it's worth opening an issue on stapler and tagging the java 11 team.
The issue linked in the PR (
JENKINS-46602) did result in upgrading org.jenkins-ci:bytecode-compatibility-transformer:1.8 -> 2.0-alpha-3 for org.jenkins-ci.main:jenkins-core. This can be verified with the dependencyInsight task on your PR's branch:Unfortunately stapler has not been updated yet. By searching for asm5, we can see that stapler has declared a dependency on this:
It is declared as a first-order dependency in Stapler's POM.