RFR 8231187: SelectorProvider.inheritedChannel() returns TCP socket channel for Unix domain socket
Michael McMahon
michael.x.mcmahon at oracle.com
Fri Sep 20 09:53:43 UTC 2019
Hi,
This issue was reported through a recent discussion proposing an API for
Unix domain
sockets. It fixes the current erroneous behavior where TCP type
SocketChannels are returned
and instead returns a Channel type which handles connected AF_UNIX
sockets specifically.
The fix also enables the whole inherited channel mechanism for Mac,
which up to now
has not been working.
http://cr.openjdk.java.net/~michaelm/8231187/webrev.1/index.html
Thanks,
Michael.
More information about the nio-dev
mailing list