You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/07/21 12:35:33 UTC
(commons-io) branch master updated: Allow test to pass on Java 24 and up
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-io.git
The following commit(s) were added to refs/heads/master by this push:
new ea8ba68c8 Allow test to pass on Java 24 and up
ea8ba68c8 is described below
commit ea8ba68c8839db85c2db17e9414c806f1085462c
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Mon Jul 21 08:35:28 2025 -0400
Allow test to pass on Java 24 and up
- TODO? Should we create a custom stream to ignore missing files for
Java 24 and up?
- GitHub CI:
- Fails on Java 24 macOS, but OK on Windows and Ubuntu
- Fails on Java 25-EA Windows and macOS, but OK on Ubuntu
---
src/test/java/org/apache/commons/io/FileUtilsListFilesTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test/java/org/apache/commons/io/FileUtilsListFilesTest.java b/src/test/java/org/apache/commons/io/FileUtilsListFilesTest.java
index 74f2c7f2c..80f33c677 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsListFilesTest.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsListFilesTest.java
@@ -289,7 +289,7 @@ void testStreamFilesWithDeletionCollect() throws IOException {
// collect() will fail on Java 24 and up here
// GitHub CI:
// Fails on Java 24 macOS, but OK on Windows and Ubuntu
- // Fails on Java 25-EA Windows and macOS, but OK on Ubuntu
+ // Fails on Java 25-EA Windows and macOS, but OK on Ubuntu
// forEach() will fail on Java 24 and up here
assumeFalse(SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_24));
list = stream.collect(Collectors.toList());
@@ -315,7 +315,7 @@ void testStreamFilesWithDeletionForEach() throws IOException {
// forEach() will fail on Java 24 and up here
// GitHub CI:
// Fails on Java 24 macOS, but OK on Windows and Ubuntu
- // Fails on Java 25-EA Windows and macOS, but OK on Ubuntu
+ // Fails on Java 25-EA Windows and macOS, but OK on Ubuntu
// forEach() will fail on Java 24 and up here
assumeFalse(SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_24));
stream.forEach(list::add);
@@ -342,7 +342,7 @@ void testStreamFilesWithDeletionIterator() throws IOException {
// hasNext() will fail on Java 24 and up here
// GitHub CI:
// Fails on Java 24 macOS, but OK on Windows and Ubuntu
- // Fails on Java 25-EA Windows and macOS, but OK on Ubuntu
+ // Fails on Java 25-EA Windows and macOS, but OK on Ubuntu
// forEach() will fail on Java 24 and up here
assumeFalse(SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_24));
while (iterator.hasNext()) {