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

Xuelei Fan xuelei.fan at oracle.com
Thu Aug 30 14:02:18 UTC 2018


Maybe, run the test twice and pass if one passed?

Xuelei

On 8/29/2018 7:34 PM, sha.jiang at oracle.com wrote:
> 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