This bug fix is to change PEMDecoder.decode(..., Class<>) using 
PKCS8EncodedKeySpec and X509EncodedKeySpec will throw an 
IllegalArgumentException when the decoded data does not match. It should be 
ClassCastException.

Thanks

Tony

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

Commit messages:
 - Revert "Rename PEMRecord to PEM"
 - initial
 - Merge branch 'master' into pem26
 - Rename PEMRecord to PEM

Changes: https://git.openjdk.org/jdk/pull/26734/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26734&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365288
  Stats: 17 lines in 2 files changed: 13 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/26734.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26734/head:pull/26734

PR: https://git.openjdk.org/jdk/pull/26734

Reply via email to