RFR: 8319417: (dc) DatagramChannel.connect undocumented behavior [v2]
Alan Bateman
alanb at openjdk.org
Tue Nov 28 13:51:49 UTC 2023
On Tue, 28 Nov 2023 13:35:33 GMT, Mark Sheppard <msheppar at openjdk.org> wrote:
> Also, the return for the case of an unbound DatagramSocket or DatagramChannel is not specified.
DatagramChannel::getLocalAddress is specified to return null when channel's socket is not bound. DatagramSocket::getLocalSocketAddress also specifies that it returns null when not bound. But maybe you mean something else?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16635#issuecomment-1829883200
More information about the nio-dev
mailing list