-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 25
-
Component/s: security-libs
-
b26
At the end of generatePublicImpl(KeySpec keySpec) in src/java.base/share/classes/sun/security/ec/ed/EdDSAKeyFactory.java:
} else {
throw new InvalidKeySpecException(keySpec.getClass().getName() +
" not supported.");
}
NPE happens before an InvalidKeySpecException can be thrown.
There could be other similar changes inJDK-8298420.
} else {
throw new InvalidKeySpecException(keySpec.getClass().getName() +
" not supported.");
}
NPE happens before an InvalidKeySpecException can be thrown.
There could be other similar changes in
- caused by
-
JDK-8298420 Implement JEP 470: PEM Encodings of Cryptographic Objects (Preview)
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/c9d6e012
-
Review(master)
openjdk/jdk/25533