Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8233318 Remove MulticastSocket methods that operate on java.net.InetAddress
  3. JDK-8233319

Deprecate MulticastSocket methods that operate on java.net.InetAddress

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • core-libs
    • None
    • b27

      Methods of MulticastSocket to deprecate (1) and their equivalent (2):

      (1) getInterface()
      (2) getNetworkInterface()

      (1) joinGroup(InetAddress mcastaddr)
      (2)joinGroup(SocketAddress mcastaddr, NetworkInterface netIf)

      (1) leaveGroup(InetAddress mcastaddr)
      (2) leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf)

      (1) setInterface(InetAddress inf)
      (2) setNetworkInterface(NetworkInterface netIf)

      (1) getLoopbackMode()
      (2) DatagramSocket.getOption(IP_MULTICAST_LOOP)

      (1) setLoopbackMode(boolean disable)
      (2) DatagramSocket.setOption(IP_MULTICAST_LOOP, enable)

      Deprecation only, not for removal.

            jboes Julia Boes (Inactive)
            chegar Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: