Hi, Please review this test update: http://cr.openjdk.java.net/~xuelei/8170329/webrev.00/ The new template (SSLSocketTemplate.java) could be used to avoid the anti-free-port issues. By using sub-classes of it, the new one can simplify the general SSLSocket test code significantly. Thanks, Xuelei