On Wed, 4 Jan 2023 08:59:51 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:

> Hi Alan, I adjusted this coding following your suggestion to use 
> setStackTrace.

That's just one of them. In a later comment I pasted in asSocketException and 
changed all 4 cases to use it, maybe you could try that. The right thing is of 
course to drop the translation to SocketException as anything using read/write 
has to deal with IOException anyway, it's really just a concern that older code 
may having special handling of SocketException of undocumented, but 
longstanding, behavior in older JDK releases.

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

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

Reply via email to