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

Negative timeouts should cause IllegalArgumentException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • None
    • beta2
    • generic, sparc
    • generic

      Socket.connect() & Socket.setSoTimeout() do accept negative values for the
      timeout. This is totally undocumented and inconsistent with other APIs.
      Negative values should cause an IllegalArgumentException.

            jccollet Jean-Christophe Collet (Inactive)
            jccollet Jean-Christophe Collet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: