Skip to content

Conversation

@cstamas
Copy link
Member

@cstamas cstamas commented Nov 14, 2025

As test was naively using new File("") assuming its method file.list() will return null on cleanup in teardown() method.

But, it turns out it was an old Java bug fixed in
Java 25, and once GH matrix got Java 25 introduced, it broke the build.

Refs:

Thanks to @sormuras

As test was naively using `new File("")` assuming its
method `file.list()` will return `null` on cleanup
in `teardown()` method.

But, it turns out it was an old Java bug fixed in
Java 25, and once GH matrix got Java 25 introduced,
it broke the build.

Refs:
* https://bugs.openjdk.org/browse/JDK-8024695
* https://inside.java/2025/11/03/quality-heads-up/

Thanks to @sormuras
@cstamas cstamas self-assigned this Nov 14, 2025
Copy link

@sormuras sormuras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@cstamas cstamas marked this pull request as ready for review November 14, 2025 16:42
@cstamas cstamas merged commit 3af2e42 into apache:maven-resolver-1.9.x Nov 14, 2025
17 checks passed
@cstamas cstamas deleted the maven-resolver-1.9.x-java25 branch November 14, 2025 17:18
@github-actions
Copy link

@cstamas Please assign appropriate label to PR according to the type of change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants