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"],