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")); ------------- Commit messages: - 8341927: Remove hardcoded SunJCE provider Changes: https://git.openjdk.org/jdk/pull/21551/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21551&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8341927 Stats: 974 lines in 224 files changed: 281 ins; 0 del; 693 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