Commit 54e89da
committed
Reference
The `platformclasspath` rule in `@rules_java` always requires a
bootstrap Java runtime toolchain to be registered, but whether the
commonly used toolchain macros in `@bazel_tools` register this
toolchain depends on the version of Bazel that is running the build
and the version of `rules_java` it bundles as `@rules_java_builtin`.
In order to support all Bazel versions, reference the
`platformclasspath` in `@bazel_tools`, which in turn references the
corresponding target in `@rules_java_builtin`, which may or may not be
the current version of this code.platformclasspath in @bazel_tools
1 parent 1213a73 commit 54e89da
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments