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