Skip to content

Commit b28d78f

Browse files
cushoncopybara-github
authored andcommitted
The minimum version of a java_toolchain's java_runtime supported by prebuilt Java tools is now Java 21
Follow up to bazelbuild#27038, JavaBuilder now requires JDK 21. PiperOrigin-RevId: 862754271 Change-Id: I2069a83007c9d569bf12836d16b66f45eaa30cb9
1 parent 9fa9ca8 commit b28d78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/release_archive.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ load("@with_cfg.bzl", "with_cfg")
2121
_MINIMUM_JAVA_RUNTIME_VERSION = 8
2222

2323
# The minimum version of a java_toolchain's java_runtime supported by prebuilt Java tools.
24-
_MINIMUM_JAVA_COMPILATION_RUNTIME_VERSION = 17
24+
_MINIMUM_JAVA_COMPILATION_RUNTIME_VERSION = 21
2525

2626
minimum_java_runtime_java_binary, _minimum_java_runtime_java_binary = (
2727
# Don't warn about targeting very old Java versions.

0 commit comments

Comments
 (0)