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

Fernando Guallini fguallini at openjdk.org
Wed Jun 4 12:02:36 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 six additional commits since the last revision:

 - 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/6f18e8b2..a74a76c2

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

  Stats: 8811 lines in 345 files changed: 6496 ins; 1064 del; 1251 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