NetworkChannel.getOption(...) throws java.lang.AssertionError: Option not found
Norman Maurer
norman.maurer at googlemail.com
Wed Aug 8 17:54:36 UTC 2018
Thanks a lot… Please let me know the issue ID once you have it so I can include it in the PR comment.
> On 8. Aug 2018, at 19:48, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>
>
>
> On 08/08/2018 18:18, Norman Maurer wrote:
>>
>> It throws for ServerSocketChannel. The option that throws here is IP_TOS which is returned by supportedOptions().
>>
> The set of options returned by ServerSocketChannel::supportedOptions should not include IP_TOS. It seems the SSC implementation has partial support in that it can set the option but can't read it. Seems to date back to JDK 7. I'll create a bug to remove the references to IP_TOS from the SSC implementation.
>
> -Alan
More information about the nio-dev
mailing list