New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.IncompatibleClassChangeError: Method $jacocoInit()[Z must be InterfaceMethodref constant #428
Conversation
@Horcrux7 experimental support for Java 9 has been added in JaCoCo version 0.7.7. If you are really using early access and hence unstable build of Java 9, then please provide full version, including its build number. |
Our test suite reproduces this issue on JDK 9 EA b123. Most likely this relates to changes in b122 - https://bugs.openjdk.java.net/browse/JDK-8145148 |
Sorry, the JDK version was not part of your support template. I use the version from today 9 Build 123. |
@marchof could you please review? |
@Godin Shouldn't we add a verification for this in ProbeArrayStrategyFactoryTest? |
Without this change instrumented classes can't pass consistency checks for a constant pool and cause IncompatibleClassChangeError starting with OpenJDK 9 EA b122 (see https://bugs.openjdk.java.net/browse/JDK-8145148).
@marchof you right, added. I was too fast after saw that integration tests pass. |
@Horcrux7 thank you for reporting about this issue |
i have test it and it works for me now. Thanks. |
…acoco/jacoco#428 to fix failing unit tests since https://bugs.openjdk.java.net/browse/JDK-8145148 git-svn-id: http://josm.openstreetmap.de/svn/trunk@10631 0c6e7542-c601-0410-84e7-c038aed88b3b
Steps to reproduce
I receive with Java 9 the follow error:
The code look like:
JaCoCo version: 0.7.5.201505241946
Operating system: Windows 10
Tool integration: Gradle