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

Correct contradictions in timeout range descriptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • core-libs
    • b20

      During the review of CSR JDK-8231401, it was observed that DatagramSocket.setSoTimeout, Socket.setSoTimeout and ServerSocket.setTimeout have a contradiction in their description of the valdi range for a timeout value:

      "The timeout must be {@code > 0}. A timeout of zero is interpreted as an infinite timeout."

      This should be corrected.

            pconcannon Patrick Concannon (Inactive)
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: