RFR: 8358171: Additional code coverage for PEM API [v4]

Fernando Guallini fguallini at openjdk.org
Thu Jun 5 08:14:15 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

Fernando Guallini has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains nine additional commits since the last revision:

 - comment
 - Merge branch 'master' into 8358171
 - add invalid PEM content test
 - Merge branch 'master' into 8358171
 - add logging line
 - lines comments
 - add final break and test comment
 - multi thread and defaut algo tests
 - more test coverage for PEM

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25588/files
  - new: https://git.openjdk.org/jdk/pull/25588/files/c16eabe1..ea306f56

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25588&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25588&range=02-03

  Stats: 8389 lines in 62 files changed: 7876 ins; 135 del; 378 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