Join GitHub today
Workaround JDK bug that will cause an AssertionError when calling Ser… #8183
There is a JDK bug which will return IP_TOS as supported option for ServerSocketChannel even if its not supported afterwards and cause an AssertionError.
Add a workaround for the JDK bug.
ServerSocketChannel.config().getOptions() will not throw anymore and work as expected.