diff --git a/src/test/java/com/google/devtools/build/android/desugar/stringconcat/BUILD b/src/test/java/com/google/devtools/build/android/desugar/stringconcat/BUILD index 7487f176f5000f..6f1a9ea4c08bdc 100644 --- a/src/test/java/com/google/devtools/build/android/desugar/stringconcat/BUILD +++ b/src/test/java/com/google/devtools/build/android/desugar/stringconcat/BUILD @@ -40,14 +40,11 @@ java_test( java_library( name = "string_concat_cases", srcs = [":string_concat_cases_srcs"], - javacopts = select({ - "//src/tools/android/java/com/google/devtools/build/android/desugar/testing/junit:jdk11-config": [ - "-source 11", - "-target 11", - "-XDstringConcat=indyWithConstants", # Enable OpenJDK version of String concat. - ], - "//conditions:default": [], - }), + javacopts = [ + "-source 11", + "-target 11", + "-XDstringConcat=indyWithConstants", # Enable OpenJDK version of String concat. + ], ) filegroup( diff --git a/src/tools/android/java/com/google/devtools/build/android/desugar/testing/junit/BUILD b/src/tools/android/java/com/google/devtools/build/android/desugar/testing/junit/BUILD index 1e0f186e92f4b8..f5dca059dd710a 100644 --- a/src/tools/android/java/com/google/devtools/build/android/desugar/testing/junit/BUILD +++ b/src/tools/android/java/com/google/devtools/build/android/desugar/testing/junit/BUILD @@ -44,13 +44,6 @@ genrule( """, ) -config_setting( - name = "jdk11-config", - constraint_values = [ - "@rules_java//java/constraints:jdk11", - ], -) - filegroup( name = "srcs", srcs = glob(["**"]),