RFR: 8313356: Improve address selection in sun.net.NetworkClient

Liam Miller-Cushon cushon at openjdk.org
Fri Jul 28 22:42:57 UTC 2023


Please review this fix for [JDK-8313356](https://bugs.openjdk.org/browse/JDK-8313356), which improves address selection in `sun.net.NetworkClient` to consider all addresses returned by `InetAddress.getAllByName` instead of only connecting to the first one.

This follows the approach described in [JDK-8170568](https://bugs.openjdk.org/browse/JDK-8170568).

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

Commit messages:
 - 8313356: Improve address selection in sun.net.NetworkClient

Changes: https://git.openjdk.org/jdk/pull/15078/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15078&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8313356
  Stats: 17 lines in 1 file changed: 17 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/15078.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15078/head:pull/15078

PR: https://git.openjdk.org/jdk/pull/15078


More information about the net-dev mailing list