git: openjdk/jdk8u-dev: 8254717: isAssignableFrom checks in KeyFactorySpi.engineGetKeySpec appear to be backwards

Paul Hohensee phh at openjdk.org
Sun Dec 18 16:44:50 UTC 2022


Changeset: d6101df2
Author:    Paul Hohensee <phh at openjdk.org>
Date:      2022-12-18 16:43:41 +0000
URL:       https://git.openjdk.org/jdk8u-dev/commit/d6101df29c7069326d26628f131f0ef8882ad68b

8254717: isAssignableFrom checks in KeyFactorySpi.engineGetKeySpec appear to be backwards

Reviewed-by: andrew
Backport-of: a777e82cd81fb5f02b09c4917b2a44f94c603939

! jdk/src/share/classes/com/sun/crypto/provider/DESKeyFactory.java
! jdk/src/share/classes/com/sun/crypto/provider/DESedeKeyFactory.java
! jdk/src/share/classes/com/sun/crypto/provider/DHKeyFactory.java
! jdk/src/share/classes/sun/security/ec/ECKeyFactory.java
! jdk/src/share/classes/sun/security/pkcs11/P11DHKeyFactory.java
! jdk/src/share/classes/sun/security/pkcs11/P11DSAKeyFactory.java
! jdk/src/share/classes/sun/security/pkcs11/P11ECKeyFactory.java
! jdk/src/share/classes/sun/security/pkcs11/P11KeyFactory.java
! jdk/src/share/classes/sun/security/pkcs11/P11RSAKeyFactory.java
! jdk/src/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java
! jdk/src/share/classes/sun/security/provider/DSAKeyFactory.java
! jdk/src/share/classes/sun/security/rsa/RSAKeyFactory.java
+ jdk/test/java/security/KeyFactory/KeyFactoryGetKeySpecForInvalidSpec.java
! jdk/test/sun/security/rsa/TestKeyFactory.java
! jdk/test/sun/security/rsa/pss/TestPSSKeySupport.java



More information about the jdk8u-dev-changes mailing list