On Thu, 23 Oct 2025 10:06:49 GMT, Viktor Klang <[email protected]> wrote:
> It seems really unfortunate that `java.net.SocketTimeoutException` extends > `InterruptedIOException` as SocketTimeoutException looks to have a larger > footprint in signatures / specifications, and usages could (but unlikely) > catch InterruptedIOException. That's right, a forced move because prior to JDK 1.4 Socket.setTimeout and DatagramSocket.setTimeout specified InterruptedIOException be thrown when the timeout expires while waiting to read/receive. ------------- PR Comment: https://git.openjdk.org/jdk/pull/27941#issuecomment-3436179643
