On Wed, 7 May 2025 14:41:58 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

>> kieran-farrell has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Update src/java.base/share/classes/java/net/InterfaceAddress.java
>>   
>>   Co-authored-by: Daniel Fuchs <67001856+df...@users.noreply.github.com>
>
> src/java.base/share/classes/java/net/InterfaceAddress.java line 67:
> 
>> 65:      * <p>
>> 66:      * Certain IPv4 addresses, such as the loopback address, do not 
>> support
>> 67:      * broadcasting and will also result in {@code null} being returned.
> 
> Suggestion:
> 
>      * Certain network interfaces, such as the loopback interface, do not 
> support
>      * broadcasting and will also return {@code null}.
> 
> 
> Maybe the class level API documentation should also be updated something like:
> 
> 
>  * This class represents a Network Interface address. In short it's an
>  * IP address, a subnet mask as well as a broadcast address when the address 
> is
>  * IPv4 and the interface supports broadcasting.
>  * An IP address and a network prefix length in the case
>  * of IPv6 address.
> 
> 
> It would be good to have @Michael-Mc-Mahon approve the wording.

Thanks Daniel, I have commited the above change in wording to the get broadcast 
method and updated the CSR to reflect (JDK-8356002). I will await confirmation 
on the class level API documentation before updating.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25095#discussion_r2081360337

Reply via email to