RFR 8245194: Unix domain socket channel implementation
Alan Bateman
Alan.Bateman at oracle.com
Fri Jul 17 16:02:00 UTC 2020
On 17/07/2020 15:57, Michael McMahon wrote:
> :
>
> I have added a new revision of the webrevs/specdiffs including these
> and Daniel's comments at:
>
> [1] http://cr.openjdk.java.net/~michaelm/8245194/api.webrev/webrev.5/
How tied are you to adding getProtocolFamily to these APIs? It's
technically an incompatible change to add abstract methods to these
classes although the number of implementations outside of the JDK is
probably tiny. I guess I'm mostly wondering if the method is actually
useful. I could imagine a testing checking to see if a channel is
unbound and then binding it to a socket address that is appropriate for
the channel's socket but I'm less sure about other uses. Are you mostly
thinking diagnostics, in which case it can be in the string representation.
-Alan
More information about the nio-dev
mailing list