Details
-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b31
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8248813 | 16 | Daniel Fuchs | P3 | Resolved | Fixed | b05 |
JDK-8250139 | 15.0.2 | Daniel Fuchs | P3 | Resolved | Fixed | b01 |
JDK-8250438 | 15.0.1 | Daniel Fuchs | P3 | Resolved | Fixed | b03 |
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.
The API documentation of NetworkInterface::equals should be updated to warn about this possibility.
Attachments
Issue Links
- backported by
-
JDK-8248813 Clarify the behavior of java.net.NetworkInterface::equals
- Resolved
-
JDK-8250139 Clarify the behavior of java.net.NetworkInterface::equals
- Resolved
-
JDK-8250438 Clarify the behavior of java.net.NetworkInterface::equals
- Resolved
- relates to
-
JDK-8248647 api/java_net/NetworkInterface/GetByIndex/GetByIndexTests.html fails on Windows 2016
- Closed