On Tue, 28 Nov 2023 13:35:33 GMT, Mark Sheppard <[email protected]> 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

Reply via email to