Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8370386

SocketOptions.SO_TIMEOUT should specify SocketTimeoutException

XMLWordPrintable

      "If the timeout expires and the operation would continue to block, then InterruptedIOException is raised."

      The more specific SocketTimeoutException was introduced in JDK 1.4 so I think the SO_TIMEOUT docs should be changed.

            dfuchs Daniel Fuchs
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: