RFR[12] JDK-8209362: sun/security/ssl/SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use (Bind failed)"

sha.jiang at oracle.com sha.jiang at oracle.com
Thu Aug 30 02:34:07 UTC 2018


Hi,
In test sun/security/ssl/SSLSocketImpl/ReuseAddr.java,
the second server tries to reuse the first server's port after it stops.
But the port may already be occupied by another test before this rebinding.

Although I'm not sure a way to resolve this problem thoroughly,
it's a chance to refactor this test with SSLSocketTemplate.java.

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

Best regards,
John Jiang




More information about the security-dev mailing list