From 0fbcd9074ebd92a285b37be3b31e4b46aa6a25c7 Mon Sep 17 00:00:00 2001 From: Ivo List Date: Fri, 19 Mar 2021 13:09:27 +0000 Subject: [PATCH 1/2] Update to java_tools javac11 10.6 rc1 --- WORKSPACE | 66 +++++++++---------- .../build/lib/bazel/rules/java/jdk.WORKSPACE | 12 ++-- .../shell/bazel/testdata/jdk_http_archives | 12 ++-- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index b61927c06ee42b..7f1d847428e3f0 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -146,9 +146,9 @@ distdir_tar( # Keep in sync with the archives fetched as part of building bazel. archives = [ "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", - "java_tools_javac11_linux-v10.5.zip", - "java_tools_javac11_windows-v10.5.zip", - "java_tools_javac11_darwin-v10.5.zip", + "java_tools_javac11_linux-v10.6-rc1.zip", + "java_tools_javac11_windows-v10.6-rc1.zip", + "java_tools_javac11_darwin-v10.6-rc1.zip", "coverage_output_generator-v2.5.zip", # bazelbuid/stardoc "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", @@ -187,9 +187,9 @@ distdir_tar( dirname = "derived/distdir", sha256 = { "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d", - "java_tools_javac11_linux-v10.5.zip": "355c27c603e8fc64bb0e2d7f809741f42576d5f4540f9ce28fd55922085af639", - "java_tools_javac11_windows-v10.5.zip": "0b4469ca1a9b3f26cb82fb0f4fd00096f0d839ec2fae097e7bdbb982e3a95a59", - "java_tools_javac11_darwin-v10.5.zip": "95aae0a32a170c72a68abb0b9dd6bac7ea3e08c504a5d8c6e8bf7ac51628c98f", + "java_tools_javac11_linux-v10.6-rc1.zip": "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", + "java_tools_javac11_windows-v10.6-rc1.zip": "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", + "java_tools_javac11_darwin-v10.6-rc1.zip": "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", "coverage_output_generator-v2.5.zip": "cd14f1cb4559e4723e63b7e7b06d09fcc3bd7ba58d03f354cdff1439bd936a7d", # bazelbuild/stardoc "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz": "5a725b777976b77aa122b707d1b6f0f39b6020f66cd427bb111a585599c857b1", @@ -230,14 +230,14 @@ distdir_tar( "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", ], - "java_tools_javac11_linux-v10.5.zip": [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_linux-v10.5.zip", + "java_tools_javac11_linux-v10.6-rc1.zip": [ + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip", ], - "java_tools_javac11_windows-v10.5.zip": [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_windows-v10.5.zip", + "java_tools_javac11_windows-v10.6-rc1.zip": [ + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip", ], - "java_tools_javac11_darwin-v10.5.zip": [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_darwin-v10.5.zip", + "java_tools_javac11_darwin-v10.6-rc1.zip": [ + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip", ], "coverage_output_generator-v2.5.zip": [ "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip", @@ -545,9 +545,9 @@ http_archive( distdir_tar( name = "test_WORKSPACE_files", archives = [ - "java_tools_javac11_linux-v10.5.zip", - "java_tools_javac11_windows-v10.5.zip", - "java_tools_javac11_darwin-v10.5.zip", + "java_tools_javac11_linux-v10.6-rc1.zip", + "java_tools_javac11_windows-v10.6-rc1.zip", + "java_tools_javac11_darwin-v10.6-rc1.zip", "coverage_output_generator-v2.5.zip", "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz", "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz", @@ -579,9 +579,9 @@ distdir_tar( ], dirname = "test_WORKSPACE/distdir", sha256 = { - "java_tools_javac11_linux-v10.5.zip": "355c27c603e8fc64bb0e2d7f809741f42576d5f4540f9ce28fd55922085af639", - "java_tools_javac11_windows-v10.5.zip": "0b4469ca1a9b3f26cb82fb0f4fd00096f0d839ec2fae097e7bdbb982e3a95a59", - "java_tools_javac11_darwin-v10.5.zip": "95aae0a32a170c72a68abb0b9dd6bac7ea3e08c504a5d8c6e8bf7ac51628c98f", + "java_tools_javac11_linux-v10.6-rc1.zip": "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", + "java_tools_javac11_windows-v10.6-rc1.zip": "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", + "java_tools_javac11_darwin-v10.6-rc1.zip": "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", "coverage_output_generator-v2.5.zip": "cd14f1cb4559e4723e63b7e7b06d09fcc3bd7ba58d03f354cdff1439bd936a7d", "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz": "360626cc19063bc411bfed2914301b908a8f77a7919aaea007a977fa8fb3cde1", "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz": "a452f1b9682d9f83c1c14e54d1446e1c51b5173a3a05dcb013d380f9508562e4", @@ -612,9 +612,9 @@ distdir_tar( "df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz": "f368a8476f4e2e0eccf8a7318b98dafbe30b2600f4e3cf52636e5eb145aba06a", }, urls = { - "java_tools_javac11_linux-v10.5.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_linux-v10.5.zip"], - "java_tools_javac11_windows-v10.5.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_windows-v10.5.zip"], - "java_tools_javac11_darwin-v10.5.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_darwin-v10.5.zip"], + "java_tools_javac11_linux-v10.6-rc1.zip": ["https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip"], + "java_tools_javac11_windows-v10.6-rc1.zip": ["https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip"], + "java_tools_javac11_darwin-v10.6-rc1.zip": ["https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip"], "coverage_output_generator-v2.5.zip": ["https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip"], "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz"], "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz"], @@ -918,9 +918,9 @@ http_archive( name = "remote_java_tools_linux_for_testing", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "355c27c603e8fc64bb0e2d7f809741f42576d5f4540f9ce28fd55922085af639", + sha256 = "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_linux-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_linux-v10.5.zip", ], ) @@ -930,9 +930,9 @@ http_archive( name = "remote_java_tools_windows_for_testing", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "0b4469ca1a9b3f26cb82fb0f4fd00096f0d839ec2fae097e7bdbb982e3a95a59", + sha256 = "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_windows-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_windows-v10.5.zip", ], ) @@ -942,9 +942,9 @@ http_archive( name = "remote_java_tools_darwin_for_testing", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "95aae0a32a170c72a68abb0b9dd6bac7ea3e08c504a5d8c6e8bf7ac51628c98f", + sha256 = "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_darwin-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_darwin-v10.5.zip", ], ) @@ -954,9 +954,9 @@ http_archive( name = "remote_java_tools_javac11_test_linux", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "355c27c603e8fc64bb0e2d7f809741f42576d5f4540f9ce28fd55922085af639", + sha256 = "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_linux-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip", ], ) @@ -965,9 +965,9 @@ http_archive( name = "remote_java_tools_javac11_test_windows", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "0b4469ca1a9b3f26cb82fb0f4fd00096f0d839ec2fae097e7bdbb982e3a95a59", + sha256 = "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_windows-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip", ], ) @@ -976,9 +976,9 @@ http_archive( name = "remote_java_tools_javac11_test_darwin", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "95aae0a32a170c72a68abb0b9dd6bac7ea3e08c504a5d8c6e8bf7ac51628c98f", + sha256 = "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_darwin-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip", ], ) diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE index 275aa365d80b0f..f5eaf709521b4a 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE @@ -163,9 +163,9 @@ maybe( maybe( http_archive, name = "remote_java_tools_linux", - sha256 = "355c27c603e8fc64bb0e2d7f809741f42576d5f4540f9ce28fd55922085af639", + sha256 = "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_linux-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_linux-v10.5.zip", ], ) @@ -174,9 +174,9 @@ maybe( maybe( http_archive, name = "remote_java_tools_windows", - sha256 = "0b4469ca1a9b3f26cb82fb0f4fd00096f0d839ec2fae097e7bdbb982e3a95a59", + sha256 = "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_windows-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_windows-v10.5.zip", ], ) @@ -185,9 +185,9 @@ maybe( maybe( http_archive, name = "remote_java_tools_darwin", - sha256 = "95aae0a32a170c72a68abb0b9dd6bac7ea3e08c504a5d8c6e8bf7ac51628c98f", + sha256 = "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_darwin-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_darwin-v10.5.zip", ], ) diff --git a/src/test/shell/bazel/testdata/jdk_http_archives b/src/test/shell/bazel/testdata/jdk_http_archives index 5122a14cd63a2c..25eb8eb81456b9 100644 --- a/src/test/shell/bazel/testdata/jdk_http_archives +++ b/src/test/shell/bazel/testdata/jdk_http_archives @@ -2,25 +2,25 @@ # This must be kept in sync with the top-level WORKSPACE file. http_archive( name = "remote_java_tools_javac11_test_linux", - sha256 = "355c27c603e8fc64bb0e2d7f809741f42576d5f4540f9ce28fd55922085af639", + sha256 = "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_linux-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip", ], ) # This must be kept in sync with the top-level WORKSPACE file. http_archive( name = "remote_java_tools_javac11_test_windows", - sha256 = "0b4469ca1a9b3f26cb82fb0f4fd00096f0d839ec2fae097e7bdbb982e3a95a59", + sha256 = "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_windows-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip", ], ) # This must be kept in sync with the top-level WORKSPACE file. http_archive( name = "remote_java_tools_javac11_test_darwin", - sha256 = "95aae0a32a170c72a68abb0b9dd6bac7ea3e08c504a5d8c6e8bf7ac51628c98f", + sha256 = "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.5/java_tools_javac11_darwin-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip", ], ) From 587d512daaca98ad342467ea583bc26817cd2967 Mon Sep 17 00:00:00 2001 From: Ivo List Date: Fri, 19 Mar 2021 14:10:39 +0000 Subject: [PATCH 2/2] Update to java_tools javac11 10.6 --- WORKSPACE | 60 +++++++++---------- .../build/lib/bazel/rules/java/jdk.WORKSPACE | 12 ++-- .../shell/bazel/testdata/jdk_http_archives | 6 +- 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 7f1d847428e3f0..ab7af311738ee6 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -146,9 +146,9 @@ distdir_tar( # Keep in sync with the archives fetched as part of building bazel. archives = [ "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", - "java_tools_javac11_linux-v10.6-rc1.zip", - "java_tools_javac11_windows-v10.6-rc1.zip", - "java_tools_javac11_darwin-v10.6-rc1.zip", + "java_tools_javac11_linux-v10.6.zip", + "java_tools_javac11_windows-v10.6.zip", + "java_tools_javac11_darwin-v10.6.zip", "coverage_output_generator-v2.5.zip", # bazelbuid/stardoc "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", @@ -187,9 +187,9 @@ distdir_tar( dirname = "derived/distdir", sha256 = { "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d", - "java_tools_javac11_linux-v10.6-rc1.zip": "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", - "java_tools_javac11_windows-v10.6-rc1.zip": "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", - "java_tools_javac11_darwin-v10.6-rc1.zip": "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", + "java_tools_javac11_linux-v10.6.zip": "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", + "java_tools_javac11_windows-v10.6.zip": "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", + "java_tools_javac11_darwin-v10.6.zip": "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", "coverage_output_generator-v2.5.zip": "cd14f1cb4559e4723e63b7e7b06d09fcc3bd7ba58d03f354cdff1439bd936a7d", # bazelbuild/stardoc "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz": "5a725b777976b77aa122b707d1b6f0f39b6020f66cd427bb111a585599c857b1", @@ -230,14 +230,14 @@ distdir_tar( "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", ], - "java_tools_javac11_linux-v10.6-rc1.zip": [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip", + "java_tools_javac11_linux-v10.6.zip": [ + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_linux-v10.6.zip", ], - "java_tools_javac11_windows-v10.6-rc1.zip": [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip", + "java_tools_javac11_windows-v10.6.zip": [ + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_windows-v10.6.zip", ], - "java_tools_javac11_darwin-v10.6-rc1.zip": [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip", + "java_tools_javac11_darwin-v10.6.zip": [ + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_darwin-v10.6.zip", ], "coverage_output_generator-v2.5.zip": [ "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip", @@ -545,9 +545,9 @@ http_archive( distdir_tar( name = "test_WORKSPACE_files", archives = [ - "java_tools_javac11_linux-v10.6-rc1.zip", - "java_tools_javac11_windows-v10.6-rc1.zip", - "java_tools_javac11_darwin-v10.6-rc1.zip", + "java_tools_javac11_linux-v10.6.zip", + "java_tools_javac11_windows-v10.6.zip", + "java_tools_javac11_darwin-v10.6.zip", "coverage_output_generator-v2.5.zip", "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz", "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz", @@ -579,9 +579,9 @@ distdir_tar( ], dirname = "test_WORKSPACE/distdir", sha256 = { - "java_tools_javac11_linux-v10.6-rc1.zip": "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", - "java_tools_javac11_windows-v10.6-rc1.zip": "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", - "java_tools_javac11_darwin-v10.6-rc1.zip": "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", + "java_tools_javac11_linux-v10.6.zip": "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", + "java_tools_javac11_windows-v10.6.zip": "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", + "java_tools_javac11_darwin-v10.6.zip": "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", "coverage_output_generator-v2.5.zip": "cd14f1cb4559e4723e63b7e7b06d09fcc3bd7ba58d03f354cdff1439bd936a7d", "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz": "360626cc19063bc411bfed2914301b908a8f77a7919aaea007a977fa8fb3cde1", "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz": "a452f1b9682d9f83c1c14e54d1446e1c51b5173a3a05dcb013d380f9508562e4", @@ -612,9 +612,9 @@ distdir_tar( "df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz": "f368a8476f4e2e0eccf8a7318b98dafbe30b2600f4e3cf52636e5eb145aba06a", }, urls = { - "java_tools_javac11_linux-v10.6-rc1.zip": ["https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip"], - "java_tools_javac11_windows-v10.6-rc1.zip": ["https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip"], - "java_tools_javac11_darwin-v10.6-rc1.zip": ["https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip"], + "java_tools_javac11_linux-v10.6.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_linux-v10.6.zip"], + "java_tools_javac11_windows-v10.6.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_windows-v10.6.zip"], + "java_tools_javac11_darwin-v10.6.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_darwin-v10.6.zip"], "coverage_output_generator-v2.5.zip": ["https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip"], "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz"], "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz"], @@ -920,8 +920,8 @@ http_archive( patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, sha256 = "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_linux-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_linux-v10.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.6/java_tools_javac11_linux-v10.6.zip", ], ) @@ -932,8 +932,8 @@ http_archive( patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, sha256 = "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_windows-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_windows-v10.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.6/java_tools_javac11_windows-v10.6.zip", ], ) @@ -944,8 +944,8 @@ http_archive( patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, sha256 = "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_darwin-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_darwin-v10.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.6/java_tools_javac11_darwin-v10.6.zip", ], ) @@ -956,7 +956,7 @@ http_archive( patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, sha256 = "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_linux-v10.6.zip", ], ) @@ -967,7 +967,7 @@ http_archive( patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, sha256 = "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_windows-v10.6.zip", ], ) @@ -978,7 +978,7 @@ http_archive( patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, sha256 = "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_darwin-v10.6.zip", ], ) diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE index f5eaf709521b4a..e24c0c4b88e274 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE @@ -165,8 +165,8 @@ maybe( name = "remote_java_tools_linux", sha256 = "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_linux-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_linux-v10.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.6/java_tools_javac11_linux-v10.6.zip", ], ) @@ -176,8 +176,8 @@ maybe( name = "remote_java_tools_windows", sha256 = "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_windows-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_windows-v10.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.6/java_tools_javac11_windows-v10.6.zip", ], ) @@ -187,8 +187,8 @@ maybe( name = "remote_java_tools_darwin", sha256 = "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.5/java_tools_javac11_darwin-v10.5.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_darwin-v10.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.6/java_tools_javac11_darwin-v10.6.zip", ], ) diff --git a/src/test/shell/bazel/testdata/jdk_http_archives b/src/test/shell/bazel/testdata/jdk_http_archives index 25eb8eb81456b9..e1f553f1ebd5a4 100644 --- a/src/test/shell/bazel/testdata/jdk_http_archives +++ b/src/test/shell/bazel/testdata/jdk_http_archives @@ -4,7 +4,7 @@ http_archive( name = "remote_java_tools_javac11_test_linux", sha256 = "085c0ba53ba764e81d4c195524f3c596085cbf9cdc01dd8e6d2ae677e726af35", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_linux-v10.6-rc1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_linux-v10.6.zip", ], ) # This must be kept in sync with the top-level WORKSPACE file. @@ -12,7 +12,7 @@ http_archive( name = "remote_java_tools_javac11_test_windows", sha256 = "873f1e53d1fa9c8e46b717673816cd822bb7acc474a194a18ff849fd8fa6ff00", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_windows-v10.6-rc1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_windows-v10.6.zip", ], ) # This must be kept in sync with the top-level WORKSPACE file. @@ -20,7 +20,7 @@ http_archive( name = "remote_java_tools_javac11_test_darwin", sha256 = "d15b05d2061382748f779dc566537ea567a46bcba6fa34b56d7cb6e6d668adab", urls = [ - "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.6/java_tools_javac11_darwin-v10.6-rc1.zip", + "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.6/java_tools_javac11_darwin-v10.6.zip", ], )