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

Sean Mullan mullan at openjdk.java.net
Mon Jan 11 20:01:59 UTC 2021


On Fri, 8 Jan 2021 21:30:14 GMT, Martin Balao <mbalao 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
>
> Martin Balao has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Limit P11Util::getProvider privileged access to the required 'accessClassInPackage' RuntimePermission only.
>  - New line character inserted at the end of IllegalPackageAccess.java test file

Marked as reviewed by mullan (Reviewer).

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

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


More information about the security-dev mailing list