RFR 8245194: Unix domain socket channel implementation

Chris Hegarty chris.hegarty at oracle.com
Thu Jul 16 19:08:01 UTC 2020



> On 16 Jul 2020, at 15:49, Michael McMahon <michael.x.mcmahon at oracle.com> wrote:
> ...
> 
> [1] http://cr.openjdk.java.net/~michaelm/8245194/api.webrev/webrev.4/
> 
> [2] http://cr.openjdk.java.net/~michaelm/8245194/impl.webrev/webrev.4/
> 
> [3] http://cr.openjdk.java.net/~michaelm/8245194/specdiff/specout.4/overview-summary.html
> 
1) I’d still like to see "an unnamed UnixDomainSocketAddress" used instead of "UnixDomainSocketAddress with an empty path” - since we have a nice definition of _unnamed_ already.

2) I wonder if we can add the following definitions:

  “channel for an Internet protocol socket”  - channel::getProtocolFamily returns one of INET or INET6

  “channel for a Unix domain socket” - channel::getProtocolFamily returns UNIX

-Chris.


More information about the nio-dev mailing list