[jdk8u] RFR: 8263404: RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec

Paul Hohensee phh at openjdk.org
Thu Apr 13 16:24:46 UTC 2023


On Thu, 13 Apr 2023 12:29:17 GMT, Paul Hohensee <phh at openjdk.org> wrote:

> Critical fix, so replaces https://github.com/openjdk/jdk8u-dev/pull/302, which was against jdk8u-dev.
> 
> The backport from 11u was not clean because:
> 
>     the change to PKCS11Test.java affects code that does not exist in 8u, so is not included
>     the new test, TestP11KeyFactoryGetRSAKeySpec.java, uses /lib/testlibrary instead of /test/lib
> 
> The new test and the modified existing tests pass, and the jdk/test/sun/security/pkcs11 tests pass as well as they did before this change.

Patch will go into jdk8u-dev after all.

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

PR Comment: https://git.openjdk.org/jdk8u/pull/41#issuecomment-1507247924


More information about the jdk8u-dev mailing list