-
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
Java 9: Missing strict dependency is erroneously reported #4812
Comments
This is effectively a duplicate of #3410. In particular, see:
|
I'm asking, because for now, strict dependency is the last unresolved issue for building Bazel and Gerrit Code Review eco-system with Java 9 (Bazel, Gerrit, JGit and Gitiles). With the disabled strict java deps feature I was able to build Bazel and use built Bazel with Java 9 and successfully build gerrit, see this CL pending for review: [1] and friends. There are two known workarounds for this problem:
|
See bazelbuild#3410, bazelbuild#4812 Change-Id: Idd4adad7d48899c3b6de635d417446b71ba44afa
See bazelbuild#3410, bazelbuild#4812 Change-Id: Idd4adad7d48899c3b6de635d417446b71ba44afa
See bazelbuild#3410, bazelbuild#4812 Change-Id: Idd4adad7d48899c3b6de635d417446b71ba44afa
Thanks for the fix. It works now. I see, that the custom javac is used now
Where are those files are coming from? |
Description of the problem / feature request:
Bazel built with Java 9 from HEAD, with this PR applied, is reporting missing strict dependency. The reported missing dependency is in place.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
printy_lib
rule with Bazel built with java 9Expected: build is successful
Actual: build is failing:
Note, that
printy_lib
already depends onguava
:https://github.com/davido/bazel_printy/blob/master/BUILD#L9-L14
What operating system are you running Bazel on?
Linux, Java 9.
Related:
#4709
Known workarounds:
All is fine if I build Bazel with Java 8.
The text was updated successfully, but these errors were encountered: