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

Unspecified SSLSocket constructors behavior

    Details

      Description



      Name: aiR10266 Date: 06/19/2004


      The description of the SSLSocket constructors states that only IOException may be
      thrown if an I/O error occurs when creating the socket or UnknownHostException may
      be thrown if the host is not known.

      But the implementation throws 'IllegalArgumentException: Port value out of range'
      if port value is invalid (e.g. negative), and NullPointerException if the address
      value is null.


      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xuelei Xue-Lei Fan
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: