8248703 Clarify the behavior of java.net.NetworkInterface::equals
Alan Bateman
Alan.Bateman at oracle.com
Thu Jul 2 17:26:20 UTC 2020
On 02/07/2020 15:32, Daniel Fuchs wrote:
>
> Good point. I was momentarily confused by the @see
> InetAddress.getAddress.
>
> Webrev updated:
> http://cr.openjdk.java.net/~dfuchs/webrev_8248703/webrev.01/
>
> Is this still appropriate to push to 15 or should I rather aim at 16?
"if both name and bound IP addresses are the same for both" is okay but
might be more consistent with some of the other methods if you tweak it
something like "if the names are equal and the set of {@code
InetAddress}es bound to the interfaces are equal".
This a javadoc only change so okay if it goes to jdk/jdk15.
-Alan
More information about the net-dev
mailing list