Integrated: 8341927: Replace hardcoded security providers with new test.provider.name system property

Matthew Donovan mdonovan at openjdk.org
Wed Oct 30 18:54:25 UTC 2024


On Wed, 16 Oct 2024 18:47:44 GMT, Matthew Donovan <mdonovan at openjdk.org> wrote:

> 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"));

This pull request has now been integrated.

Changeset: 9a9ac1d0
Author:    Matthew Donovan <mdonovan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9a9ac1d0059438d33fe69ef51265dc7cff6ad2bd
Stats:     1007 lines in 230 files changed: 307 ins; 0 del; 700 mod

8341927: Replace hardcoded security providers with new test.provider.name system property

Reviewed-by: mullan, ascarpino, rhalade

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

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


More information about the security-dev mailing list