I think this should be okay. There are a few tests in java/net/SocketOption and jdk/net/Sockets that will require update. It's important to run tier2, at least the jdk_net and jdk_nio test groups.
I suspect that ServerSocket has "supported" IP_TOS since JDK 1.4 so I think it should have a CSR + release note.
-Alan On 09/09/2026 06:33, 이지원 wrote:
Hello, I'm looking into JDK-8210362 and would like to double-check the intended direction before working on an implementation. Currently, IP_TOS is included in the server-side supported options of NioSocketImpl, and setOption and getOption determine whether the option is supported based on that set. Removing it from the set would therefore cause those operations to throw UnsupportedOperationException. As a related precedent, JDK-8209152 previously removed IP_TOS support from ServerSocketChannel. While the current ServerSocket specification mentions implementation-specific options, IP_TOS is not explicitly listed. Is removing IP_TOS support from ServerSocket still the intended direction? Also, would this change require a CSR? Once the approach is confirmed, I'll prepare a regression test and a patch. Thanks, Jiwon Lee
