RFR 8241305: Add protocol specific factory creation methods to SocketChannel and ServerSocketChannel

Alan Bateman Alan.Bateman at oracle.com
Fri May 15 10:45:35 UTC 2020


On 15/05/2020 10:03, Michael McMahon wrote:
>
> Initially I was thinking it wouldn't be any clearer
> because a predicate might need to be applied to each row of the table
> to determine if a local IPv4 address or local IPv6 address is present 
> on this
> particular execution.
>
> But, it may be possible to split it into two separate tables for IPv4 
> and IPv6.
> If that works, I will do that.
There are several approaches but I think the main thing is that the data 
provider produces the parameters for scenarios that are testable. It can 
combine tables and/or filter cases that are untestable, doesn't have to 
be static array of cases.

-Alan


More information about the nio-dev mailing list