Hi,

Please find below a fix (and CSR) for:

8233141 DatagramSocket.send doesn't specify exception thrown when
        no target address
https://bugs.openjdk.java.net/browse/JDK-8233141

webrev:
http://cr.openjdk.java.net/~dfuchs/webrev_8233141/webrev.00/

CSR
https://bugs.openjdk.java.net/browse/JDK-8234187

DatagramSocket.send doesn't specify exception thrown when
no target address is present. The proposal is to make it
throw IllegalArgumentException (it currently throws NPE)
which will make it consistent with DatagramChannel / DatagramSocketAdaptor.

The specification of the deprecated MulticastSocket::send
method that takes a ttl is also updated, and its implementation
made consistent with DatagramSocket.send.

best regards,

-- daniel


Reply via email to