`ServerSocket` does not specify support for `IP_TOS`, while the default implementation currently exposes it as an implementation-specific option. This change removes that support from the default `ServerSocket` implementation and from `jdk.net.Sockets` for `ServerSocket` only; `Socket` and `DatagramSocket` support are unchanged.
CSR: JDK-8392124 Testing: - After rebase: `SupportedOptions`, `OptionsTest`, and `UnsupportedOptionsTest` passed. - Before rebase: `jdk_net`, `jdk_nio`, langtools, JAXP, and docs tier2 completed without failures. HotSpot tier2 completed without failures after rerunning with `ulimit -c unlimited`. - Before rebase, JDK tier2 reported 5 failures and 1 error: five `java/text/Format` `ToStringTest` failures produced `영어 (캐나다)` instead of the expected `English (Canada)`, and `java/net/ipv6tests/TcpTest.java` timed out after 480 seconds. These results have not yet been compared with a baseline build. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8210362: Remove IP_TOS support from ServerSocket Changes: https://git.openjdk.org/jdk/pull/32808/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32808&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8210362 Stats: 55 lines in 4 files changed: 12 ins; 27 del; 16 mod Patch: https://git.openjdk.org/jdk/pull/32808.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32808/head:pull/32808 PR: https://git.openjdk.org/jdk/pull/32808
