Integrated: 8367988: NewFileSystemTests.readOnlyZipFileFailure fails when run by root user

Francesco Andreuzzi fandreuzzi at openjdk.org
Sat Sep 20 14:05:28 UTC 2025


On Thu, 18 Sep 2025 22:03:09 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:

> I propose a small patch to skip a tier2 test which fails when it runs as the root user. The test expects an exception when it tries to open a read-only file as `rw`, but this does not happen for the root user.

This pull request has now been integrated.

Changeset: b03b6f54
Author:    Francesco Andreuzzi <fandreuzzi at openjdk.org>
Committer: SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b03b6f54c5f538146c3088c4dc2cea70ba70d07a
Stats:     6 lines in 1 file changed: 6 ins; 0 del; 0 mod

8367988: NewFileSystemTests.readOnlyZipFileFailure fails when run by root user

Reviewed-by: jpai, bpb

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

PR: https://git.openjdk.org/jdk/pull/27376


More information about the nio-dev mailing list