-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8281115 | 17.0.4-oracle | Gauri Patil | P4 | Resolved | Fixed | b01 |
JDK-8282973 | 17.0.4 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8312017 | 11.0.21-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b03 |
JDK-8307072 | 11.0.20 | Sergey Bylokhov | P4 | Resolved | Fixed | b01 |
JDK-8308809 | openjdk8u382 | Sergey Bylokhov | P4 | Resolved | Fixed | b03 |
the method testKeySpec is expecting a keySpec class as second argument in order to be reusable for multiple test scenarios, but instead of using that argument is hardcoding RSAPrivateKeySpec.class:
private static void testKeySpec(KeyFactory factory, PrivateKey key, Class<? extends KeySpec> specClass) throws Exception {
try {
KeySpec spec = factory.getKeySpec(key, RSAPrivateKeySpec.class);
it should be:
KeySpec spec = factory.getKeySpec(key, specClass);
- backported by
-
JDK-8281115 [TESTBUG] Case 2 in TestP11KeyFactoryGetRSAKeySpec is skipped
- Resolved
-
JDK-8282973 [TESTBUG] Case 2 in TestP11KeyFactoryGetRSAKeySpec is skipped
- Resolved
-
JDK-8307072 [TESTBUG] Case 2 in TestP11KeyFactoryGetRSAKeySpec is skipped
- Resolved
-
JDK-8308809 [TESTBUG] Case 2 in TestP11KeyFactoryGetRSAKeySpec is skipped
- Resolved
-
JDK-8312017 [TESTBUG] Case 2 in TestP11KeyFactoryGetRSAKeySpec is skipped
- Resolved
- relates to
-
JDK-8263404 RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec
- Closed
- links to
-
Commit openjdk/jdk8u-dev/85622986
-
Commit openjdk/jdk11u-dev/26e39714
-
Commit openjdk/jdk17u-dev/d5e4f031
-
Commit openjdk/jdk/041ae20b
-
Review openjdk/jdk8u-dev/308
-
Review openjdk/jdk11u-dev/1847
-
Review openjdk/jdk17u-dev/223
-
Review openjdk/jdk/5351