RFR: 8259319: Illegal package access when SunPKCS11 requires SunJCE's classes

Martin Balao mbalao at openjdk.java.net
Fri Jan 8 21:30:14 UTC 2021

On Thu, 7 Jan 2021 19:29:29 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> As described in JDK-8259319 [1], this fix proposal is to set proper access permissions so the SunPKCS11 provider can create instances of SunJCE classes when a Security Manager is installed and the fallback scheme is used.
>> No regressions found in jdk/sun/security/pkcs11 tests category.
>> --
>> [1] - https://bugs.openjdk.java.net/browse/JDK-8259319
> Obscure bug, thanks for report and the fix. I will take a look.

New proposal limiting the privileges in P11Util::getProvider method and adding a new line character at the end of the IllegalPackageAccess test file.


PR: https://git.openjdk.java.net/jdk/pull/1961

More information about the core-libs-dev mailing list