diff options
author | Nasser Grainawi <nasser.grainawi@linaro.org> | 2023-12-07 12:17:11 -0700 |
---|---|---|
committer | Nasser Grainawi <nasser.grainawi@linaro.org> | 2023-12-07 14:11:04 -0800 |
commit | 6c3d618538e35e6ca28eadc80eb37c52167db963 (patch) | |
tree | da01ccab7e7d0031639903046e50d52739e7e872 | |
parent | e7390b3d0e39e455787cc42d8e7b21d59b5798e2 (diff) |
Enforce Java 11 source version with JDK17
The intent of Change Ib3b923db7bb9 was to produce artifacts with Java 17
bytecode, but maintain Java 11 source compatibility. Setting the source
to 11 and the target to 17 is the correct way to achieve that.
Release-Notes: skip
Change-Id: I715f1b47598ff69f0673607a2962cadc3e615b73
-rw-r--r-- | tools/BUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/BUILD b/tools/BUILD index 26db1faf9b..6b81871d0a 100644 --- a/tools/BUILD +++ b/tools/BUILD @@ -25,7 +25,7 @@ default_java_toolchain( package_configuration = [ ":error_prone", ], - source_version = "17", + source_version = "11", target_version = "17", visibility = ["//visibility:public"], ) |