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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b12

      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

          Activity

            People

            Assignee:
            ngasson Nick Gasson
            Reporter:
            ngasson Nick Gasson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: