| commit | a5cd84a21f27683a45068a86549f441586c922a6 | [log] [tgz] |
|---|---|---|
| author | Rico Wind <ricow@google.com> | Tue Oct 03 14:01:28 2023 +0200 |
| committer | Rico Wind <ricow@google.com> | Tue Oct 03 14:01:28 2023 +0200 |
| tree | 00e7855edf029a558bb17cbb42a6c01d740c5ea7 | |
| parent | 453e7e2e81267afd0e6ff0ea41a71a997e780819 [diff] |
Only run java 20 tests on compatible vms With the new gradle setup we now compile these with JavaVersion.VERSION_20 Bug: b/303205626 Change-Id: I05e6181d1aa356f36ad191404182d9ca2ed64583
diff --git a/src/test/java/com/android/tools/r8/desugar/jdk8272564/Jdk8272564Test.java b/src/test/java/com/android/tools/r8/desugar/jdk8272564/Jdk8272564Test.java index c7d877e..ddd0285 100644 --- a/src/test/java/com/android/tools/r8/desugar/jdk8272564/Jdk8272564Test.java +++ b/src/test/java/com/android/tools/r8/desugar/jdk8272564/Jdk8272564Test.java
@@ -27,10 +27,8 @@ @Parameters(name = "{0}") public static TestParametersCollection data() { - // TODO(b/218293990): Right now the JDK 20 tests are built with -target 17, as our Gradle - // version does not know of -target 20. return getTestParameters() - .withCfRuntimesStartingFromIncluding(CfVm.JDK17) + .withCfRuntimesStartingFromIncluding(CfVm.JDK20) .withDexRuntimes() .withAllApiLevelsAlsoForCf() .build();