RFR: 8297451: ProcessHandleImpl should assert privilege when modifying reaper thread [v3]
Alan Bateman
alanb at openjdk.org
Sat Nov 26 17:26:07 UTC 2022
On Sat, 26 Nov 2022 15:55:27 GMT, Ryan Ernst <duke at openjdk.org> wrote:
>> This commit guards thread modifications for the process reaper thread with doPrivileged.
>
> Ryan Ernst has updated the pull request incrementally with one additional commit since the last revision:
>
> Revert factory method
This looks okay. Not important but can eliminate the casts from privilegedThreadSetXXX methods if you separate the creation of the PrivilegedAction from the doPriv call.
-------------
Marked as reviewed by alanb (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11309
More information about the core-libs-dev
mailing list