RFR: 8361183: JDK-8360887 needs fixes to avoid cycles and better tests (aix)

Martin Doerr mdoerr at openjdk.org
Tue Jul 1 12:13:13 UTC 2025


On Tue, 1 Jul 2025 12:07:13 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Follow-up for https://github.com/openjdk/jdk/pull/26021. See latest comments there.

src/java.base/aix/classes/sun/nio/fs/AixFileSystemProvider.java line 56:

> 54: 
> 55:     private static boolean supportsUserDefinedFileAttributeView(Path obj) {
> 56:         if (obj == null || !(obj instanceof UnixPath)) return false;

I think we should have these checks before casting to `UnixPath`. Does this make sense?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26066#discussion_r2177433884


More information about the nio-dev mailing list