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

[TESTBUG] java/net/Socks/SocksIPv6Test fails without IPv6

    XMLWordPrintable

Details

    • b12

    Backports

      Description

        This test should be skipped if IPv6 is disabled on the host, and it already has a `shouldRun` field to support this. But at the moment the the `setUp()` method will throw in `HttpServer::create` when it's passed an IPv6 address on a system with IPv6 disabled. Fix is to check shouldRun in setUp and return immediately if it's false.

        Attachments

          Issue Links

            Activity

              People

                ngasson Nick Gasson
                ngasson Nick Gasson
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: