On Mon, 9 Sep 2024 10:01:40 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

>> Please find here a change that adds a few `@apiNote` and `@implNote` to 
>> `NetworkInterface` to clarify user expectation and implementation.
>
> Daniel Fuchs has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Feedback from CSR review

src/java.base/share/classes/java/net/NetworkInterface.java line 64:

> 62:  * Network interface instances are typically used to identify the local
> 63:  * interface on which a multicast group is joined.
> 64:  *

Several static methods in this class are factory methods, returning a new 
instance of a NetworkInterface, reflecting the configuration at the time of 
instantiation.  The network configuration may change at any time, for example 
DCHP lease renewal , or IPv6 aoutconfig. As such, these methods may need to be 
invoked agains in order to obtain a more up-to-date view of the network 
interfaces.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20822#discussion_r1750016618

Reply via email to