Hi, Please review the intermittently test failure fix.
http://cr.openjdk.java.net/~xuelei/8146669/webrev.00/ In the updated test case, an integer (createdPorts) is used to count the server sockets. Every server socket is created in a new thread. The access and update to createdPorts should be synchronized for multiple threading safe. Update to use AtomicInteger.getAndIncrement() so that the access and update to createdPorts is atomic. Thanks, Xuelei