Skip to content

Fix NPE when reading posixfileattributes on windows#419

Merged
olamy merged 1 commit intocodehaus-plexus:masterfrom
Postremus:issues/418
Mar 2, 2026
Merged

Fix NPE when reading posixfileattributes on windows#419
olamy merged 1 commit intocodehaus-plexus:masterfrom
Postremus:issues/418

Conversation

@Postremus
Copy link
Contributor

@Postremus Postremus commented Feb 28, 2026

org.codehaus.plexus.archiver.jar.JarToolModularJarArchiverTest#modularMultiReleaseJar already executes these code paths - and fails with the NPE - when run on jdk 17.0.2 on windows.
So I added it to the matrix for ci.

Fixes #418

This only appeared in 17.0.2 (or lower 17er) on windows, so run ci against this version.
@olamy olamy merged commit 937b92b into codehaus-plexus:master Mar 2, 2026
11 checks passed
@Postremus Postremus deleted the issues/418 branch March 2, 2026 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPE for PosixFileAttributeView.readAttributes on windows

2 participants