Withdrawn: JDK-8310734: Add cause to Connection reset - SocketException in NioSocketImpl implRead

Matthias Baesken mbaesken at openjdk.org
Thu Jul 20 07:06:51 UTC 2023


On Fri, 30 Jun 2023 14:13:10 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> In NioSocketImpl implRead we potentially throw a SocketException("Connection reset"). We can improve this by adding the cause.
> This would bring this exception also closer to the case of IOException where we use throw asSocketException(ioe);  and  preserve the stack and message of the original exception.

This pull request has been closed without being integrated.

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

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


More information about the nio-dev mailing list