RFR: 8346468: SM cleanup of common test library [v3]

Jaikiran Pai jpai at openjdk.org
Fri Jan 10 15:49:41 UTC 2025


On Wed, 18 Dec 2024 21:07:14 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> SM Cleanup of common test library test/lib/...:
>> 
>> Remove unnecessary catches of SecurityException
>> Remove AccessController and doPrivileged from SimpleSSLContext and ProcessTools.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Removed more references to WhiteBox$Permission

test/lib/jdk/test/lib/SA/SATestUtils.java line 208:

> 206:         var deny_ptrace = Paths.get("/sys/fs/selinux/booleans/deny_ptrace");
> 207:         if (Files.exists(deny_ptrace)) {
> 208:             var bb = Files.readAllBytes(deny_ptrace);

Hello Roger, I'm guessing the `@SuppressWarnings("removal")` on this method will no longer be needed?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22814#discussion_r1910559552


More information about the net-dev mailing list