Repository navigation
Conversation
JaCoCo 0.8.15 fails to instrument the JDK classes of Java 28 (Unsupported class file major version 72), which fails the experimental build (28-ea) in BCELifierTest. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Author
|
@garydgregory The This pull request skips JaCoCo for that matrix entry only. On my fork the same change makes all 22 checks pass, including Pull request #539 does not touch the workflow: its |
Member
|
Closing: it's ok for it to fail, that's why it's marked as experimental; it also serves as a canary for issues we can report. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The experimental
28-eajob of the Java CI matrix fails inBCELifierTest.testJavapCompareandBCELifierTest.testStackMap(10 failures), for instance this run.Cause
The JaCoCo agent cannot instrument the class files of Java 28:
The tests that run
javapor load JDK classes in a child JVM with the agent print this exception, and compare it with the expected output.Change
The
28-eamatrix entry passes-Djacoco.skip=true, through amaven-argsmatrix variable that the other entries leave undefined (empty). The coverage is still measured by the other jobs.Verification
mvn clean test -Djacoco.skip=trueon Java 17: 3153 tests, 0 failures. The 28-ea job is the only one affected; its result will show on this pull request.🤖 Generated with Claude Code