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

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b27

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jboes Julia Boes
              Reporter:
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: