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

Clarify the behavior of java.net.NetworkInterface::equals

    XMLWordPrintable

Details

    • b31

    Backports

      Description

        NetworkInterface::equals is specified to compare the interface names and raw IP addresses. However, on some systems, some interface addresses can be dynamically updated while an application is running. Two NetworkInterface objects may therefore compare unequal even though they represent the same logical underlying interface.

        The API documentation of NetworkInterface::equals should be updated to warn about this possibility.

        Attachments

          Issue Links

            Activity

              People

                dfuchs Daniel Fuchs
                dfuchs Daniel Fuchs
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: