can not set/get extendedOptions to ServerSocket

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 10
    • Component/s: core-libs
    • None
    • b35

      If you try to set or get any extendedOptions for ServerSocket, will throw "UnsupportedOperationException". the root cause is below code in PlainSocketImpl.java
      #######################
      if (getSocket() == null) {
                      throw new UnsupportedOperationException("unsupported option");
                  }
      #######################

      getSocket() will always return null in case of serverSocket.

            Assignee:
            Vyom Tewari
            Reporter:
            Vyom Tewari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: