Revert "Reference `platformclasspath` in `@bazel_tools`"

This reverts commit 54e89daeacd9728f45b4c16b3834e16d5f40e11c.

Going through `@bazel_tools` to reference the bootstrap classpath is no
longer needed with Bazel 7, which always uses toolchain macros that
define the required bootstrap runtime toolchains.

Since the original problem didn't arise with Bzlmod, where the Java
toolchains have always come from rules_java rather than bazel_tools,
this fixes https://github.com/bazelbuild/bazel/issues/19837 for Bazel
itself by allowing it to use the new bootstrap classpath rule while
still being built with Bazel 6.4.0.
1 file changed
tree: f7bdeed4083ef53d30a9fbcb5a0c7eca1eacd571
  1. .bazelci/
  2. .bcr/
  3. distro/
  4. examples/
  5. java/
  6. toolchains/
  7. .bazelrc
  8. .bazelversion
  9. .gitignore
  10. AUTHORS
  11. BUILD
  12. CODEOWNERS
  13. CONTRIBUTING.md
  14. LICENSE
  15. MODULE.bazel
  16. README.md
  17. renovate.json
  18. WORKSPACE
  19. WORKSPACE.bzlmod
README.md

rules_java

  • Postsubmit Build status
  • Postsubmit + Current Bazel Incompatible Flags Build status

Java Rules for Bazel https://bazel.build.