RFR: 8361423: Add IPSupport::printPlatformSupport to java/net/NetworkInterface/IPv4Only.java
Mikhail Yankelevich
myankelevich at openjdk.org
Tue Jul 15 12:20:53 UTC 2025
On Fri, 11 Jul 2025 13:39:33 GMT, ayush <duke at openjdk.org> wrote:
> This is part of a series of diagnostic output updates to java.net tests to assist in the analysis of failures in IPv6 only environments
> for Linux there is not IPv4 configuration but the IPv4 stack remains enabled
> For macOS, and windows the IPv4 stacks are disabled, and IPv4 configuration removed
>
> add IPSupport::printPlatformSupport(System.out);
>
> to the start of main
test/jdk/java/net/NetworkInterface/IPv4Only.java line 35:
> 33: import java.util.*;
> 34: import jdk.test.lib.net.IPSupport;
> 35:
Please add a `2025` to the copyright at the top:
* Copyright (c) 2010, 2025, Oracle and/or its affiliates. All rights reserved.
test/jdk/java/net/NetworkInterface/IPv4Only.java line 35:
> 33: import java.util.*;
> 34: import jdk.test.lib.net.IPSupport;
> 35:
Minor: Could you please change the wildcard imports to explicit ones
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26265#discussion_r2200815013
PR Review Comment: https://git.openjdk.org/jdk/pull/26265#discussion_r2200816692
More information about the net-dev
mailing list