RFR: 8365239: Spec Clarification - InterfaceAddress:getBroadcast() returning null for loop back address
Daniel Fuchs
dfuchs at openjdk.org
Tue Sep 9 15:14:56 UTC 2025
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}.
-------------
Commit messages:
- 8365239: Spec Clarification- InterfaceAddress:getBroadcast() returning null for loop back address
Changes: https://git.openjdk.org/jdk/pull/27174/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27174&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8365239
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/27174.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27174/head:pull/27174
PR: https://git.openjdk.org/jdk/pull/27174
More information about the net-dev
mailing list