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
--patch-module javac flag not working when javac strategy is sandboxed #15513
Comments
Hey all, any update on this? |
@larsrc-google @cushon any ideas? |
Thanks for the nice repro, @ckilian867. Here's an example failing run:
The
These files are the same for local and sandboxed execution. Passing this over to Liam for deeper Java knowledge. |
My most likely explanation is that the |
Description of the bug:
When trying to patch a file into
jdk.unsupported
, using the--patch-module
javac options succeeds when run with flag--strategy=Javac=local
but fails when run with flag--strategy=Javac=sandboxed
.What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Created minimal reproduction: https://github.com/ckilian867/bazel-sandbox-patch-module
Which operating system are you running Bazel on?
What is the output of
bazel info release
?If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?Have you found anything relevant by searching the web?
Nothing related to Bazel's use of
--patch-module
Any other information, logs, or outputs that you want to share?
Error output in README of https://github.com/ckilian867/bazel-sandbox-patch-module
The text was updated successfully, but these errors were encountered: