This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git


The following commit(s) were added to refs/heads/master by this push:
     new c7fbb177 Fix test on Java 26-ea and up
c7fbb177 is described below

commit c7fbb1778e87f3941c33d2ec3e7c59b6550fafbc
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Dec 30 13:06:25 2025 +0000

    Fix test on Java 26-ea and up
---
 src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java 
b/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java
index c8f73dff..6bbb805d 100644
--- a/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java
+++ b/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java
@@ -374,9 +374,7 @@ class DigestUtilsTest {
     }
 
     private boolean isJava25Plus() {
-        return SystemUtils.JAVA_SPECIFICATION_VERSION.equals("25") || 
SystemUtils.JAVA_SPECIFICATION_VERSION.startsWith("25.");
-        // TODO Commons Lang
-        // return SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_25);
+        return SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_25);
     }
 
     private boolean isJava9Plus() {

Reply via email to