RFR: 8356395: Spec needs to be clarified for InterfaceAddress.getBroadcast() method [v3]

kieran-farrell duke at openjdk.org
Tue May 13 15:20:53 UTC 2025


On Tue, 13 May 2025 13:55:49 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> I think the original wording of the class level doc was phrased awkwardly. I'd like to suggest the following:
>> 
>>  * This class represents a Network Interface address. In the case of
>>  * IPv4, this comprises the IP address, a subnet mask, and a broadcast 
>>  * address if the interface supports broadcast. In the case of IPv6, 
>>  * it comprises the IP address and a network prefix length.
>
> Thanks Michael! I agree this would be much better.

Thanks both, the class level API documentation has been updated and CSR modified to reflect.

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

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


More information about the net-dev mailing list