Datagram socket leak
Alan Bateman
Alan.Bateman at oracle.com
Thu Sep 8 13:40:43 PDT 2011
Michael McMahon wrote:
> 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.
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.
-Alan.
More information about the net-dev
mailing list