RFR: 8299827: Add resolved IP address in connection exception for sockets

Ralf Schmelter rschmelter at openjdk.org
Fri Jan 13 08:22:06 UTC 2023


This change adds the resolved IP address to the exception text of a failed socket connection. This helps if the connection failed because of stale DNS entries.

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

Commit messages:
 - Fixed trailing whitespace
 - Add IP address informationj to exception when socket connection failed

Changes: https://git.openjdk.org/jdk/pull/11961/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11961&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8299827
  Stats: 15 lines in 2 files changed: 13 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/11961.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11961/head:pull/11961

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


More information about the net-dev mailing list