JDK-8208166 : Still unable to use custom SSLEngine with default TrustManagerFactory after JDK-8207029
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 11
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-07-25
  • Updated: 2020-11-23
  • Resolved: 2018-07-26
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 12 JDK 8 Other
11 b25Fixed 12Fixed 8u261Fixed openjdk8u272Fixed
Related Reports
Relates :  
Description
Although JDK-8207029 had been fixed, the following lines still also need instanceof checking before type casting.
http://hg.openjdk.java.net/jdk/jdk11/file/2282560a3d29/src/java.base/share/classes/sun/security/ssl/SSLAlgorithmConstraints.java#l128
http://hg.openjdk.java.net/jdk/jdk11/file/2282560a3d29/src/java.base/share/classes/sun/security/ssl/SSLAlgorithmConstraints.java#l149