RFR: 8367988: NewFileSystemTests.readOnlyZipFileFailure fails when run by root user [v2]
Francesco Andreuzzi
fandreuzzi at openjdk.org
Fri Sep 19 08:07:14 UTC 2025
On Fri, 19 Sep 2025 05:55:26 GMT, SendaoYan <syan 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 225:
>
>> 223: public void readOnlyZipFileFailure() throws IOException {
>> 224: if (Platform.isRoot()) {
>> 225: throw new org.testng.SkipException("Test skipped when executed by root user.");
>
> Suggestion:
>
> throw new SkipException("Test skipped when executed by root user.");
Thanks, fixed in 21d104a0276bb8e934ed0cd2e567cde414cfde6d
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27376#discussion_r2362112943
More information about the nio-dev
mailing list