RFR: 8365239: Spec Clarification - InterfaceAddress:getBroadcast() returning null for loop back address
Mark Sheppard
msheppar at openjdk.org
Tue Sep 9 15:33:08 UTC 2025
On Tue, 9 Sep 2025 15:03:15 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> Hi,
>
> This is a documentation change only. The specification of `InterfaceAddress:getBroadcast()` should not say anything specific about the loopback interface as it appears that on some systems a broadcast address can be configured on the loopback. The API documentation of `InterfaceAddress:getBroadcast()` is updated to simply say that:
>
> * Some network interfaces do not support broadcasting and may
> * also return {@code null}.
looks like a reasonable change to accommodate the variability caused by Windows
-------------
Marked as reviewed by msheppar (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27174#pullrequestreview-3202176849
More information about the net-dev
mailing list