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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: 7
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: