Fix the IS_JAVA_21 test with Java 20

This commit is contained in:
Emmanuel Bourg 2023-07-05 10:29:55 +02:00
parent 471e8da597
commit 1e523283ce
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ public class SystemUtilsTest extends AbstractLangTest {
assertFalse(SystemUtils.IS_JAVA_18);
assertFalse(SystemUtils.IS_JAVA_19);
assertTrue(SystemUtils.IS_JAVA_20);
assertTrue(SystemUtils.IS_JAVA_21);
assertFalse(SystemUtils.IS_JAVA_21);
} else if (javaVersion.startsWith("21")) {
assertFalse(SystemUtils.IS_JAVA_1_1);
assertFalse(SystemUtils.IS_JAVA_1_2);