RFR: 8367988: NewFileSystemTests.readOnlyZipFileFailure fails when run by root user [v2]
Francesco Andreuzzi
fandreuzzi at openjdk.org
Sat Sep 20 06:25:18 UTC 2025
On Fri, 19 Sep 2025 22:27:49 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
>>
>> import
>
> test/jdk/jdk/nio/zipfs/NewFileSystemTests.java line 223:
>
>> 221: * read-write mode.
>> 222: */
>> 223: @Test
>
> If this test were converted to JUnit 5, then I think [@DisabledIf](https://docs.junit.org/current/api/org.junit.jupiter.api/org/junit/jupiter/api/condition/DisabledIf.html) could be used here.
I wanted to get rid of this test failure, I'll file a ticket to follow up with conversion to JUnit 5 for this and a couple other adjacent test classes
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27376#discussion_r2365347559
More information about the nio-dev
mailing list