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

Daniel Fuchs daniel.fuchs at oracle.com
Wed Dec 4 14:24:11 UTC 2019


This test doesn't test NetworkChannel.
But it does check that the adapters behave consistently with the spec
of their java.net super class. I don't think there's anything
to remove.

best regards,

-- daniel

On 04/12/2019 10:33, Chris Hegarty wrote:
>  >
>  > 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.
> 
> It is important that this newly specified java.net-socket types 
> options-set is tested, to give certainty that the socket implementations 
> in the JDK, including the channel adapters, adhere to the specification 
> changes proposed here ( nothing more ). I'm ok if the channels part of 
> the test is dropped.
> 
> -Chris.



More information about the net-dev mailing list