From 9dc0b99a88f3920c6b04551525bb8e95c5047e32 Mon Sep 17 00:00:00 2001 From: hvd Date: Tue, 10 Sep 2024 09:23:50 +0000 Subject: [PATCH] Load default_java_toolchain directly from rules_java in bazel_bootstrap_distfile_test.sh --- src/test/shell/bazel/bazel_bootstrap_distfile_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/shell/bazel/bazel_bootstrap_distfile_test.sh b/src/test/shell/bazel/bazel_bootstrap_distfile_test.sh index 29b677d912c4ed..2d0ca9ff59fe83 100755 --- a/src/test/shell/bazel/bazel_bootstrap_distfile_test.sh +++ b/src/test/shell/bazel/bazel_bootstrap_distfile_test.sh @@ -126,7 +126,7 @@ function test_bootstrap() { mkdir fake_java_toolchain touch fake_java_toolchain/dummy.jar cat << EOF > fake_java_toolchain/BUILD -load("@bazel_tools//tools/jdk:default_java_toolchain.bzl", "default_java_toolchain") +load("@rules_java//toolchains:default_java_toolchain.bzl", "default_java_toolchain") default_java_toolchain( name = "fake_java_toolchain", genclass = [":dummy.jar"],