Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update use of
default_java_toolchain
in "Java and Bazel" to work co…
…rrectly There are really two changes here: 1. Fix the reference to `//tools/jdk:remote_jdk11` to have `@bazel_tools`. Without this, a direct copy/paste will fail to even build. 2. Change from `JDK9_JVM_OPTS` to `BASE_JDK9_JVM_OPTS` as the former includes `--patch-module=java.compiler=` which overrides `source_version` and can also cause build failures. See [this issue](bazelbuild#14474 (comment)) for an example. Closes bazelbuild#15009. PiperOrigin-RevId: 433750777
- Loading branch information