[jdk17] RFR: 8269034: AccessControlException for SunPKCS11 daemon threads [v2]
Alan Bateman
alanb at openjdk.java.net
Wed Jun 23 06:23:28 UTC 2021
On Tue, 22 Jun 2021 20:08:03 GMT, Sean Coffey <coffeys at openjdk.org> wrote:
>> Sufficient permissions missing if this code was ever to run with SecurityManager.
>>
>> Cleanest approach appears to be use of InnocuousThread to create the cleaner/poller threads.
>> Test case coverage extended to cover the SecurityManager scenario.
>>
>> Reviewer request: @valeriepeng
>
> Sean Coffey has updated the pull request incrementally with one additional commit since the last revision:
>
> Move TokenPoller to Runnable
src/java.base/share/classes/module-info.java line 202:
> 200: jdk.charsets,
> 201: jdk.compiler,
> 202: jdk.crypto.cryptoki,
At some point I'd like to see this re-visited so we can avoid exporting this package to modules defined to the platform class loader.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/117
More information about the security-dev
mailing list