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

Correct contradictions in timeout range descriptions

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: