[jdk17] RFR: 8267397: AlgorithmId's OID cache is never refreshed

Valerie Peng valeriep at openjdk.java.net
Sat Jun 12 05:52:00 UTC 2021


Could someone help review this small fix? This clears the static aliasOidsTable field in AlgorithmId class when provider list is changed. Enhanced existing regression test to cover the provider removal scenario.

Thanks,
Valerie

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

Commit messages:
 - 8267397: AlgorithmId's OID cache is never refreshed

Changes: https://git.openjdk.java.net/jdk17/pull/36/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17&pr=36&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267397
  Stats: 105 lines in 3 files changed: 76 ins; 20 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk17/pull/36.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/36/head:pull/36

PR: https://git.openjdk.java.net/jdk17/pull/36



More information about the security-dev mailing list