Hi,

Please find below a fix for:

8231260: (dc) DatagramChannel::disconnect changes the port of the
         local address to 0 (lnx)
https://bugs.openjdk.java.net/browse/JDK-8231260

The nature of the fix introduces an unlucky (though unlikely) case
where an exception might get thrown which leaves the underlying
native socket in an unspecified state. An API note is added
to the specification of `DatagramChannel::disconnect` to
recommend closing the channel in that case:

CSR to review:
CSR: https://bugs.openjdk.java.net/browse/JDK-8231880

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


best regards,

-- daniel

Reply via email to