RFR: 8235141: Specify the required standard socket options for the socket types in the java.net package

Alan Bateman Alan.Bateman at oracle.com
Tue Dec 3 21:19:06 UTC 2019


On 03/12/2019 16:39, Daniel Fuchs wrote:
>
> It's true that there might be some overlap. This test is more about
> proving consistency between the doc and the different implementations
> provided by the JDK. It's too easy for something to fall through the
> gaps otherwise.
The javadoc update looks good.

I guess the test is okay but it's not really the location to test that 
the implementations of NetworkChannel support the socket options that 
they specify. The tests in nio/channels already do this, additionally 
testing extended socket options.

-Alan


More information about the net-dev mailing list