Integrated: 8341246: Test com/sun/tools/attach/PermissionTest.java fails access denied after JDK-8327114

SendaoYan syan at openjdk.org
Wed Oct 2 16:09:41 UTC 2024


On Mon, 30 Sep 2024 16:11:27 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> Test `com/sun/tools/attach/PermissionTest.java` fails access denied after [JDK-8327114](https://bugs.openjdk.org/browse/JDK-8327114). This testcase need the `readlink` permission of file `/proc/self/ns/mnt` after [JDK-8327114](https://bugs.openjdk.org/browse/JDK-8327114).
> So this PR add `readlink` permission to make this test work normally.
> Before this PR, test run failed, after this PR, test run success. Test fix only, no risk.

This pull request has now been integrated.

Changeset: 76283dd2
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/76283dd2701ca4ad5c1c99a66f3e8e3d0fe55d44
Stats:     7 lines in 1 file changed: 3 ins; 2 del; 2 mod

8341246: Test com/sun/tools/attach/PermissionTest.java fails access denied after JDK-8327114

Reviewed-by: kevinw, sgehwolf

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

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


More information about the serviceability-dev mailing list