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

javax.net.ssl.SSLServerSocket.SSLServerSocket(port, backlog) spec isn't clear

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 7
    • 6
    • core-libs
    • generic
    • generic

      the test failed:
      api/javax_net/ssl/SSLServerSocket/index.html#Ctor3[Ctor3003]

      The test calls javax.net.ssl.SSLServerSocket.SSLServerSocket( validPortNumber, -100 ). And this call succeed.

      I believe the method should throw IAE. Or the spec should describe RI behaviour in such cases.

            chegar Chris Hegarty
            itseytin Igor Tseytin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: