Integrated: 8365239: Spec Clarification - InterfaceAddress:getBroadcast() returning null for loop back address
Daniel Fuchs
dfuchs at openjdk.org
Wed Sep 10 09:48:27 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}.
This pull request has now been integrated.
Changeset: 1d3364b0
Author: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1d3364b00725f9d2afa8274e2244357a109be545
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8365239: Spec Clarification - InterfaceAddress:getBroadcast() returning null for loop back address
Reviewed-by: msheppar, djelinski, jpai
-------------
PR: https://git.openjdk.org/jdk/pull/27174
More information about the net-dev
mailing list