Code review request, JDK-8001569 Regression test GetPeerHost uses static port number
Xuelei Fan
xuelei.fan at oracle.com
Fri Nov 9 05:27:39 UTC 2012
webrev: http://cr.openjdk.java.net./~xuelei/8001569/webrev.00/
Test case,
test/sun/security/ssl/com/sun/net/ssl/internal/ssl/ServerHandshaker/GetPeerHost.java,
uses the static port number, and does not close the socket explicitly.
As may result that the socket/port cannot be released in time in OS level.
The fix will use dynamically allocated server port.
Thanks,
Xuelei
More information about the security-dev
mailing list