RFR[9] JDK-8168935: sun/security/ssl/SSLContextImpl/TrustTrustedCert.java failed Intermittently

John Jiang sha.jiang at oracle.com
Tue Dec 20 14:11:44 UTC 2016


Hi,
In test sun/security/ssl/SSLContextImpl/TrustTrustedCert.java, the 
server may wait for the client for a long time, then the test execution 
goes to timeout.
This patch takes advantage of 
javax/net/ssl/templates/SSLSocketTemplate.java to fix this issue.

Please note that:
1. SSLSocketTemplate.java is modified a bit to aid this fix.
2. Compare with the previous version of TrustTrustedCert.java, the 
server side should handle SSLSocketException if the certificates do not 
conform to algorithm constraints. That's similar to the scenario on the 
client side.

Webrev: http://cr.openjdk.java.net/~jjiang/8168935/webrev.00/
Issue: https://bugs.openjdk.java.net/browse/JDK-8168935

Best regards,
John Jiang




More information about the security-dev mailing list