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

ServerSocket.supportedOptions returns options that aren't useful for listening sockets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 12
    • core-libs
    • None
    • Cause Known

      The extended socket option mechanism doesn't distinguish between socket options for connecting sockets vs. listening sockets. This means that ServerSocket's supportedOptions() returns socket options that aren't suitable for listening sockets. This should be examined to see if it's worth filtering the socket options so that listening sockets (ServerSocket and ServerSocketChannel) don't claim to support socket options that aren't suitable for listening sockets.

            Unassigned Unassigned
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: