RFR: 8365239: Spec Clarification - InterfaceAddress:getBroadcast() returning null for loop back address
Daniel Jeliński
djelinski at openjdk.org
Tue Sep 9 16:04:30 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}.
Marked as reviewed by djelinski (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27174#pullrequestreview-3202303373
More information about the net-dev
mailing list