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

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Thu Jan 21 15:24:51 UTC 2021


Hi Martin,

The downport looks good to me. 

Best regards,
  Goetz.

> -----Original Message-----
> From: jdk-updates-dev <jdk-updates-dev-retn at openjdk.java.net> On Behalf
> Of Martin Balao
> Sent: Friday, January 15, 2021 9:29 PM
> To: jdk-updates-dev at openjdk.java.net
> Subject: [11u] RFR 8259319: Illegal package access when SunPKCS11 requires
> SunJCE's classes
> 
> Hello,
> 
> I'd like to have a review for the 11u backport of JDK-8259319 [1].
> 
> Webrev.00:
> 
>  *
> http://cr.openjdk.java.net/~mbalao/webrevs/8259319/8259319.webrev.jdk1
> 1u.00/
> 
> jdk/jdk patch does not apply cleanly because of the following conflicts:
> 
>  * src/java.base/share/classes/module-info.java
>   * JDK-11 does not have JDK-8225054 [2], so the context is different.
> This change is not related to JDK-8259319, and does not apply to 11u.
> Manually fixed the conflict adding the export line on top of existing
> java.base module exports.
> 
>  * src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Util.java
>   * Copyright date conflict. In 11u, date range ends in 2014. This is
> because 11u does not have JDK-8233884. Manually fixed the conflict with
> the right date (2021).
> 
> No regressions found in jdk/sun/security/pkcs11.
> 
> Thanks,
> Martin.-
> 
> --
> [1] - https://bugs.openjdk.java.net/browse/JDK-8259319
> [2] - https://bugs.openjdk.java.net/browse/JDK-8225054
> [3] - https://bugs.openjdk.java.net/browse/JDK-8233884
> 



More information about the jdk-updates-dev mailing list