Hi,This patch fixes the intermittent SSLHandshakeException failure for test sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java. The fix applies some code patterns in javax/net/ssl/templates/SSLSocketTemplate.java.
Webrev: http://cr.openjdk.java.net/~jjiang/8167146/webrev.00/ Issue: https://bugs.openjdk.java.net/browse/JDK-8167146 Best regards, John Jiang