RFR: 8358171: Additional code coverage for PEM API

Fernando Guallini fguallini at openjdk.org
Mon Jun 2 15:17:13 UTC 2025


The tests included in this PR add code coverage mainly to the following classes introduced/updated by JEP 470 (PEM): PEMDecoder, PEMEncoder, Pem, EncryptedPrivateKeyInfo and the Key factories. In addition, more tests are included for RSAPSS, multithreading, _jdk.epkcs8.defaultAlgorithm_ property and some negative testing

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

Commit messages:
 - lines comments
 - add final break and test comment
 - multi thread and defaut algo tests
 - more test coverage for PEM

Changes: https://git.openjdk.org/jdk/pull/25588/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25588&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8358171
  Stats: 512 lines in 10 files changed: 469 ins; 2 del; 41 mod
  Patch: https://git.openjdk.org/jdk/pull/25588.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25588/head:pull/25588

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


More information about the security-dev mailing list