Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8220499

Update JDK networking tests for IPv6-only environments

XMLWordPrintable

      Many of the networking tests in the JDK assume IPv4 support. This may not always be the case.

      Specifically:
       1) Remove hardcoded IPv4 literals, e.g. 127.0.0.1.
       2) Correctly format URI's that contain a retrieved IPv6 literal host, e.g. add square brackets.
       3) Update hardcoded 127.0.0.1 in tests that use pre-generated certificates.
       4) Optional-ize tests that run with -Djava.net.preferIPv4Stack
       5) Ensure use of preferIPv6Addresses, where applicable
       6) ...

      A test library utility that correctly determines the environment would be useful, e.g. IPv4-only, IPv4/IPv6 ( dual stack ), or IPv6-only.

            chegar Chris Hegarty
            chegar Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: