RFR: 8356395: Spec needs to be clarified for InterfaceAddress.getBroadcast() method [v2]
Daniel Fuchs
dfuchs at openjdk.org
Tue May 13 13:58:53 UTC 2025
On Tue, 13 May 2025 09:59:02 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
>> 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.
>
> 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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25095#discussion_r2086895781
More information about the net-dev
mailing list