Bugfix: Java 25 broke test by cstamas · Pull Request #1657 · apache/maven-resolver
Navigation Menu
{{ message }}
apache / maven-resolver Public
- Notifications You must be signed in to change notification settings
- Fork 146
Merged
cstamas merged 3 commits intoapache:maven-resolver-1.9.xfrom
Nov 14, 2025Merged
Bugfix: Java 25 broke test#1657
cstamas merged 3 commits intoapache:maven-resolver-1.9.xfrom
Bugfix: Java 25 broke test#1657
cstamas merged 3 commits intoapache:maven-resolver-1.9.xfrom
Conversation
Copy link Copy Markdown
Member
cstamas
commented
Nov 14, 2025
cstamas
commented
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
requested a review
from slawekjaranowski
cstamas
self-assigned this
sormuras approved these changes Nov 14, 2025
Copy link Copy Markdown
sormuras
left a comment
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
marked this pull request as ready for review
cstamas
deleted the
maven-resolver-1.9.x-java25
branch
Copy link Copy Markdown
github-actions
bot
commented
Nov 14, 2025
github-actions bot commented
Nov 14, 2025@cstamas Please assign appropriate label to PR according to the type of change.
github-actions
bot
added this to the
1.9.25 milestone
cstamas
added
the
maintenance
label
cstamas
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment