RFR: 8255758: JEP 380 spec clarifications

Daniel Fuchs dfuchs at openjdk.java.net
Thu Nov 5 10:23:05 UTC 2020


On Tue, 3 Nov 2020 09:29:54 GMT, Michael McMahon <michaelm at openjdk.org> wrote:

>> No, an empty path signifies an unnamed address and only client sockets (SocketChannels) are allowed to be unnamed.
>
> You get a BindException if you try to bind a ServerSocketChannel to the unnamed address. But, the exception message is "unhelpful". I would like to fix that.

Ah good. I missed that paragraph was only talking about the _server_ sockets.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1021


More information about the nio-dev mailing list