Skip to content
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

JacocoRunner script: update for Jacoco 0.8.11 and Bazel 7.0.2 #1567

Conversation

gergelyfabian
Copy link
Contributor

rules_scala has issues with coverage on JDK 21.

Bazel has solved this in bazelbuild/bazel#20845 by upgrading Jacoco and ASM.

Added option to build JacocoRunner for Bazel 7, the version with fix will be used with Jacoco interface changes.
Jacoco upgraded to 0.8.11 (including the Jacoco/Bazel branches used for that).

rules_scala has issues with coverage on JDK 21.

Bazel has solved this in bazelbuild/bazel#20845
by upgrading Jacoco and ASM.

Added option to build JacocoRunner for Bazel 7, the version with fix
will be used with Jacoco interface changes.
Jacoco upgraded to 0.8.11 (including the Jacoco/Bazel branches used for
that).
@gergelyfabian
Copy link
Contributor Author

This is a workaround for #1521, and otherwise also useful upgrade.

@gergelyfabian
Copy link
Contributor Author

Even though Bazel 7.1.0 seems to solve the original issue that motivated this upgrade, that release does not have the Jacoco and ASM upgrade when using it for building the jacocorunner.

@gergelyfabian
Copy link
Contributor Author

Even though Bazel 7.1.0 seems to solve the original issue that motivated this upgrade, that release does not have the Jacoco and ASM upgrade when using it for building the jacocorunner.

So I'll leave the Bazel branch as is.

Copy link
Collaborator

@liucijus liucijus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @gergelyfabian!

@liucijus liucijus merged commit 89196c0 into bazelbuild:master Apr 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants