RFR: 8356395: Spec needs to be clarified for InterfaceAddress.getBroadcast() method [v2]
kieran-farrell
duke at openjdk.org
Fri May 9 10:05:29 UTC 2025
> Spec currently suggests that only IPv6 addresses can return null for InterfaceAddress.getBroadcast(). Clarifying spec to state that certain IPv4 address such as the loopback address do not support broadcasting and can therefore also return null.
kieran-farrell has updated the pull request incrementally with one additional commit since the last revision:
Update src/java.base/share/classes/java/net/InterfaceAddress.java
Co-authored-by: Daniel Fuchs <67001856+dfuch at users.noreply.github.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25095/files
- new: https://git.openjdk.org/jdk/pull/25095/files/f6bc4122..c3915e21
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25095&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25095&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/25095.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25095/head:pull/25095
PR: https://git.openjdk.org/jdk/pull/25095
More information about the net-dev
mailing list