Michael McMahon wrote:
DatagramSocket(SocketAddress) creates an unbound socket if the parameter is null. If I read the changes correctly then it will close it for this case. I think the try/finally needs to be narrowed to just the bind. Same thing in MulticastSocket.Sigh. Hopefully this is the last webrev.http://cr.openjdk.java.net/~michaelm/7085981/webrev.4/ Socket.java changed from last one. If there's no objection I'll push this version. - Michael.
-Alan.