RFR: 8341246: Test com/sun/tools/attach/PermissionTest.java fails access denied after JDK-8327114 [v3]
SendaoYan
syan at openjdk.org
Wed Oct 2 16:09:40 UTC 2024
On Wed, 2 Oct 2024 15:44:58 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.
>
> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>
> make the comment of java.io.FilePermission look more elegant
The latest commit only change the comment.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21269#issuecomment-2389056092
More information about the serviceability-dev
mailing list