> Disable `IP_TOS` support by default in the JDK's default `ServerSocket` 
> implementation. Applications can restore support with 
> `-Djdk.net.ServerSocket.IP_TOS=true` on the JVM command line.
> 
> The `jdk.net.Sockets` option sets are derived from socket instances, exposing 
> previously omitted datagram options. `IP_TOS` support on `Socket` and 
> `DatagramSocket` is unchanged.
> 
> Testing on macOS/aarch64 at `828e5c2b7e76`:
> 
> - Affected socket-option tests passed, including five `SupportedOptions` 
> configurations.
> - Tier 2 reported five locale failures also seen on baseline, the previously 
> observed `UdpTest` timeout, a docs link-check failure due to missing files, 
> and a `CreateCoredumpOnCrash` failure due to the core dump limit.
> - `PromiscuousIPv6`, `SSLSocketExplorer`, and `MultiNSTClient` failed or 
> timed out in Tier 2; all passed on individual reruns.
> 
> Linux and Windows test suites were not run.
> 
> Release note: [JDK-8392329](https://bugs.openjdk.org/browse/JDK-8392329)
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Lee Jiwon has updated the pull request incrementally with one additional commit 
since the last revision:

  8392151: Create the socket on demand in Sockets.supportedOptions

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/32808/files
  - new: https://git.openjdk.org/jdk/pull/32808/files/828e5c2b..76df51f3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=32808&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32808&range=02-03

  Stats: 51 lines in 1 file changed: 18 ins; 28 del; 5 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

Reply via email to