Integrated: 8374082: net_util.c should use logical && when setting IPv6_available

Jaikiran Pai jpai at openjdk.org
Fri Dec 19 09:34:57 UTC 2025


On Fri, 19 Dec 2025 06:56:15 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this change which replaces the use of `&` with `&&` in net_util.c?
> 
> As noted in https://bugs.openjdk.org/browse/JDK-8374082, the use of bitwise operator appears to be an oversight in that code.
> 
> tier1, tier2 testing passed without any issues after this change.

This pull request has now been integrated.

Changeset: 45cf0420
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/45cf042099aa64a94574d21cce0bdde215abf07b
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8374082: net_util.c should use logical && when setting IPv6_available

Reviewed-by: alanb

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

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


More information about the net-dev mailing list