You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by eb...@apache.org on 2023/07/05 09:11:53 UTC
[commons-lang] 01/03: Fix the IS_JAVA_21 test with Java 20
This is an automated email from the ASF dual-hosted git repository.
ebourg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 1e523283ce8c9e5027bdc84325af4ae980e493bf
Author: Emmanuel Bourg <eb...@apache.org>
AuthorDate: Wed Jul 5 10:29:55 2023 +0200
Fix the IS_JAVA_21 test with Java 20
---
src/test/java/org/apache/commons/lang3/SystemUtilsTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java b/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
index 8be7f2fd7..87e3ae199 100644
--- a/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
@@ -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);