RFR: 8371697: test/jdk/java/nio/file/FileStore/Basic.java fails after 8360887 on linux [v4]
SendaoYan
syan at openjdk.org
Mon Nov 17 02:20:50 UTC 2025
> Hi all,
>
> The new method testFileAttributes in test/jdk/java/nio/file/FileStore/Basic.java added by [JDK-8360887](https://bugs.openjdk.org/browse/JDK-8360887)/[JDK-8361183](https://bugs.openjdk.org/browse/JDK-8361183) fails on some linux machines. A FileSystemProvider may support many views but some of these attributes in these views may not supported on all FileStores. So I think the new added check `haveView == supported` is too strict on non-AIX systems. This PR make this check only on AIX.
>
> Change has been verified locally on linux-aarch64.
SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
Replace assertNotNull for "Files.getFileAttributeView(file, viewClass)" when supported is true
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28281/files
- new: https://git.openjdk.org/jdk/pull/28281/files/9be87fa3..96223e5a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28281&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28281&range=02-03
Stats: 6 lines in 1 file changed: 0 ins; 4 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28281.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28281/head:pull/28281
PR: https://git.openjdk.org/jdk/pull/28281
More information about the nio-dev
mailing list