There are several infra test failures that were caused by the fix for JDK-8202343 (Disable TLS 1.0 and 1.1).
The problem is that test/jdk/javax/net/ssl/TLSCommon/interop/JdkProcClient.java is designed to be run with different versions of the JDK such as JDK 8 but now calls SecurityUtils.removeFromDisabledTlsAlgs() which calls APIs such as List.of() that are not available in JDK 8. The fix is to create a private method which does the same thing as SecurityUtils.removeFromDisabledTlsAlgs() but doesn't depend on newer APIs. ------------- Commit messages: - 8257083: Security infra test failures caused by JDK-8202343 Changes: https://git.openjdk.java.net/jdk/pull/1442/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1442&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8257083 Stats: 24 lines in 1 file changed: 21 ins; 2 del; 1 mod Patch: https://git.openjdk.java.net/jdk/pull/1442.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1442/head:pull/1442 PR: https://git.openjdk.java.net/jdk/pull/1442
