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

Martin Balao mbalao at openjdk.java.net
Wed Jan 6 15:40:10 UTC 2021


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

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

Commit messages:
 - 8259319: Illegal package access when SunPKCS11 requires SunJCE's classes

Changes: https://git.openjdk.java.net/jdk/pull/1961/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1961&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259319
  Stats: 115 lines in 4 files changed: 105 ins; 0 del; 10 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1961.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1961/head:pull/1961

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



More information about the security-dev mailing list