RFR: 8371697: test/jdk/java/nio/file/FileStore/Basic.java fails after 8360887 on linux [v3]

SendaoYan syan at openjdk.org
Mon Nov 17 02:36:44 UTC 2025


On Sat, 15 Nov 2025 09:06:37 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add whithesapce after if
>
> test/jdk/java/nio/file/FileStore/Basic.java line 82:
> 
>> 80:             boolean haveView = Files.getFileAttributeView(file, viewClass) != null;
>> 81:             assertTrue(haveView == supported);
>> 82:         }
> 
> I think we should replace L76-L77 with
> 
> if (supported) {
>     assertNotNull(Files.getFileAttributeView(file, viewClass));
> }
> 
> so no need for anything AIX specific here.

Thanks for the suggestion. updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28281#discussion_r2532476225


More information about the nio-dev mailing list