RFR: 8341927: Replace hardcoded security providers with new test.provider.name system property [v4]

Matthew Donovan mdonovan at openjdk.org
Fri Oct 25 17:15:34 UTC 2024


> In this PR, I removed hard-coded security providers and replaced them with a system property, test.provider.name. If the property is not specified, the provider originally used in the test is used:
> 
> Cipher c = Cipher.getInstance("AES/GCM/NoPadding", System.getProperty("test.provider.name", "SunJCE"));

Matthew Donovan 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 five additional commits since the last revision:

 - removed a couple instances of provider property
 - Merge branch 'master' into jce-provider-prop
 - fixed whitespace
 - Updated a few more tests.
 - 8341927: Remove hardcoded SunJCE provider

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21551/files
  - new: https://git.openjdk.org/jdk/pull/21551/files/7dbe83e8..298670c6

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

  Stats: 133161 lines in 881 files changed: 108205 ins; 21652 del; 3304 mod
  Patch: https://git.openjdk.org/jdk/pull/21551.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21551/head:pull/21551

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


More information about the serviceability-dev mailing list