Skip to content

Commit c7fbb17

Browse files
committed
Fix test on Java 26-ea and up
1 parent fde5c6b commit c7fbb17

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,7 @@ RandomAccessFile getTestRandomAccessFile() {
374374
}
375375

376376
private boolean isJava25Plus() {
377-
return SystemUtils.JAVA_SPECIFICATION_VERSION.equals("25") || SystemUtils.JAVA_SPECIFICATION_VERSION.startsWith("25.");
378-
// TODO Commons Lang
379-
// return SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_25);
377+
return SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_25);
380378
}
381379

382380
private boolean isJava9Plus() {

0 commit comments

Comments
 (0)