From 849343793c666830811e65b33d50ac6febf82a0d Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Wed, 10 Nov 2021 16:46:27 +0100 Subject: [PATCH] Don't register @local_jdk//:runtime_toolchain_definition --- java/repositories.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/repositories.bzl b/java/repositories.bzl index 9dc1513..fb9ac1d 100644 --- a/java/repositories.bzl +++ b/java/repositories.bzl @@ -414,6 +414,6 @@ def rules_java_toolchains(name = "toolchains"): REMOTE_JDK_REPOS = [("remotejdk" + version + "_" + platform) for version in JDK_VERSIONS for platform in PLATFORMS] + EXTRA_REMOTE_JDK11_REPOS native.register_toolchains("//toolchains:all") - native.register_toolchains("@local_jdk//:runtime_toolchain_definition") + # native.register_toolchains("@local_jdk//:runtime_toolchain_definition") for name in REMOTE_JDK_REPOS: native.register_toolchains("@" + name + "_toolchain_config_repo//:toolchain")