-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Cannot make alternative java_toolchain work (to activate all error prone warnings) #5997
Comments
Don't depend on e.g.:
|
Thank you! It works like a charm:
|
lucamilanesio
pushed a commit
to GerritCodeReview/gerrit
that referenced
this issue
Aug 27, 2018
To support alternative java_toolchains (e.g.: to activate all error prone warnings) we should not directly depend on @local_jdk, but use @bazel_tools//tools/jdk:current_java_runtime to get the configured JDK instead. See this issue for more context: [1]. [1] bazelbuild/bazel#5997 Inspired-by: Liam Miller-Cushon <cushon@google.com> Change-Id: I66e1215a01f98e435e514a5442533ab15eaebd35
lucamilanesio
pushed a commit
to GerritCodeReview/bazlets
that referenced
this issue
Sep 22, 2018
To support alternative java_toolchains (e.g.: to activate all error prone warnings) we should not directly depend on @local_jdk, but use @bazel_tools//tools/jdk:current_java_runtime to get the configured JDK instead. See this issue for more context: [1]. [1] bazelbuild/bazel#5997 Inspired-by: Liam Miller-Cushon <cushon@google.com> Bug: Issue GerritCodeReview/gitiles#1 Change-Id: I87cde26cddfeaa317e6489e2c5cdcceb054c670d
thaidn
added a commit
to tink-crypto/tink
that referenced
this issue
Oct 4, 2018
…est). Kokoro hasn't failed because its macOS and Ubuntu machines are using old Bazel versions. Related issues: #131 #136 bazelbuild/bazel#5997 bazelbuild/bazel#5594 PiperOrigin-RevId: 215787620 GitOrigin-RevId: 7b978f1374938e4b839f8357fc50d36b7ab96be5
chuckx
pushed a commit
to tink-crypto/tink
that referenced
this issue
Oct 10, 2018
…est). Kokoro hasn't failed because its macOS and Ubuntu machines are using old Bazel versions. Related issues: #131 #136 bazelbuild/bazel#5997 bazelbuild/bazel#5594 PiperOrigin-RevId: 215787620 GitOrigin-RevId: 7b978f1374938e4b839f8357fc50d36b7ab96be5
chuckx
pushed a commit
to tink-crypto/tink
that referenced
this issue
Oct 12, 2018
…est). Kokoro hasn't failed because its macOS and Ubuntu machines are using old Bazel versions. Related issues: #131 #136 bazelbuild/bazel#5997 bazelbuild/bazel#5594 PiperOrigin-RevId: 215787620 GitOrigin-RevId: 7b978f1374938e4b839f8357fc50d36b7ab96be5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On most recent Bazel version (d019651) I'm, trying to implement alternative
java_toolchain
and activate all error prone warnings, as described in this comment: [1]:javadoc.bzl is here: [2] and the reproducer is here: [3].
The text was updated successfully, but these errors were encountered: