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

java/net/SocketOption/AfterClose.java test incorrectly handles IP_MULTICAST_IF

XMLWordPrintable

    • b24

      The test tries to pass a boolean value for the IP_MULTICAST_IF option and expects to get SocketException("Socket is closed");
      An implementation should be in its own right to throw an IllegalArgumentException instead (and DatagramChannel;;socket()) actually does.
      The test should be fixed to either pass a NetworkInterface or accept IllegalArgumentException as a valid outcome.

            pconcannon Patrick Concannon (Inactive)
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: