mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-24 11:17:59 +00:00
Fix the IS_JAVA_21 test with Java 20
This commit is contained in:
parent
471e8da597
commit
1e523283ce
@ -377,7 +377,7 @@ public void test_IS_JAVA() {
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user