JDK-8257083 : Security infra test failures caused by JDK-8202343
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-11-25
  • Updated: 2021-03-01
  • Resolved: 2020-11-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 16 JDK 8 Other
11.0.11Fixed 16 b27Fixed 8u291Fixed openjdk8u292Unresolved
Related Reports
Relates :  
Description
There are several infra test failures that were caused by the fix for JDK-8202343.

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.
Comments
Fix Request (OpenJDK 11u): Follow up fix for JDK-8202343. Please approve so that those changes can get pushed together. Patch applies clean and is test-only (low risk).
14-01-2021

Changeset: c0719605 Author: Sean Mullan <mullan@openjdk.org> Date: 2020-11-30 13:31:47 +0000 URL: https://git.openjdk.java.net/jdk/commit/c0719605
30-11-2020