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

Shade com.google.common.** in the Jacoco test runner. #12999

Closed
wants to merge 1 commit into from
Closed

Shade com.google.common.** in the Jacoco test runner. #12999

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 11, 2021

This isolates the Bazel coverage runner's version of Guava from the
user's.

Resolves #12998

Testing Done:

  • Verified bazel coverage worked against a crufty internal target
    using this patch with java_tools javac11-10.5 and Bazel 4.0.0.
  • bazelisk build src:java_tools.zip; manual inspection of
    JacocoCoverage_jarjar_deploy.jar.

This isolates the Bazel coverage runner's version of Guava from the
user's.

Testing Done:
- Verified `bazel coverage` worked against a crufty internal target
  using this patch with java_tools javac11-10.5 and Bazel 4.0.0.
- `bazelisk build src:java_tools.zip`; manual inspection of
  `JacocoCoverage_jarjar_deploy.jar`.
@google-cla google-cla bot added the cla: yes label Feb 11, 2021
@ghost
Copy link
Author

ghost commented Feb 16, 2021

cc @comius

Apologies for delay. We had a long holiday weekend.

@jin jin added the team-Rules-Java Issues for Java rules label Mar 1, 2021
@comius comius self-requested a review March 1, 2021 12:29
@bazel-io bazel-io closed this in ce7afe7 Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes team-Rules-Java Issues for Java rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JacocoCoverage_jarjar_deploy.jar should shade its internal copy of Guava
3 participants