hg: jdk/jdk15: 8248703: Clarify the behavior of java.net.NetworkInterface::equals
daniel.fuchs at oracle.com
daniel.fuchs at oracle.com
Fri Jul 3 15:56:23 UTC 2020
Changeset: 0f5177f6b4ba
Author: dfuchs
Date: 2020-07-03 16:50 +0100
URL: https://hg.openjdk.java.net/jdk/jdk15/rev/0f5177f6b4ba
8248703: Clarify the behavior of java.net.NetworkInterface::equals
Summary: The API documentation of NetworkInterface::equals is clarified to warn about the possibility that two NetworkInterface representing the same underlying interface objects might not compare equal if the IP addresses bound to the interfaces are being dynamically updated by the system.
Reviewed-by: alanb, chegar
! src/java.base/share/classes/java/net/NetworkInterface.java
More information about the jdk-all-changes
mailing list