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

Alan Bateman alanb at openjdk.org
Fri Jan 13 08:44:16 UTC 2023


On Thu, 12 Jan 2023 08:21:35 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:

> 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.

Enhanced exception message have to disabled by default but if they are enabled in some deployment then the proposal to include the IP address in the message should be okay.

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

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


More information about the net-dev mailing list