Integrated: 8356395: Spec needs to be clarified for InterfaceAddress class level API documentation and getBroadcast() method

kieran-farrell duke at openjdk.org
Fri May 16 07:36:00 UTC 2025


On Wed, 7 May 2025 14:02:52 GMT, kieran-farrell <duke at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: a8d8ffa8
Author:    kieran-farrell <kieran.farrell at oracle.com>
Committer: Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a8d8ffa8ad63f8f6308e2da224894fb2aded5d5c
Stats:     7 lines in 1 file changed: 3 ins; 0 del; 4 mod

8356395: Spec needs to be clarified for InterfaceAddress class level API documentation and getBroadcast() method

Reviewed-by: dfuchs

-------------

PR: https://git.openjdk.org/jdk/pull/25095


More information about the net-dev mailing list