Copybara Merge: https://github.com/bazelbuild/rules_java/pull/114 BEGIN_PUBLIC Copybara import of the project: -- cb82ccbd98726041ea441f4751bb0cd1d0020cd1 by Fabian Meumertzheim <fabian@meumertzhe.im>: Obtain bootstrap class path from dedicated runtime toolchain type This decouples the concepts of a Java runtime used to run on the target platform from the Java runtime that provides the bootstrap class path used during compilation. The former needs constraints on the target platform, whereas the latter should not have any constraints on the target platform to allow for cross-compilation to target platforms for which a JDK runtime is not available (e.g. Android). Work towards #17085 Work towards https://github.com/bazelbuild/rules_java/issues/64 Split off from #18262 -- ab3c792bbbe46022600096a2ae7a354c4467c790 by Fabian Meumertzheim <fabian@meumertzhe.im>: Register toolchains in MODULE.bazel -- f2218a4c4ee30be09c255415296cc5d726e5990d by Fabian Meumertzheim <fabian@meumertzhe.im>: Update Bazel to 7.0.0-pre.20230710.5 -- 02947909441e6df3452d1a782b3d78ece525735e by Fabian Meumertzheim <fabian@meumertzhe.im>: Add missing WORKSPACE `register_toolchains` calls END_PUBLIC COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_java/pull/114 from fmeum:17085-bootstrap-toolchain 02947909441e6df3452d1a782b3d78ece525735e PiperOrigin-RevId: 554446834 Change-Id: I961944be5bfe461528e94c85247f6c36236a561d
Java Rules for Bazel https://bazel.build.