Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8220499 Update JDK networking tests for IPv6-only environments
  3. JDK-8223880

Update sun/net/ftp/FtpURL.java and sun/net/ftp/FtpURLConnectionLeak.java to work with IPv6 addresses

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      The fix for JDK-8223463 changed the test to use the loopback address. But the test will fail if the loopback is an IPv6 address because the the server does not support EPSV.
      Both sun/net/ftp/FtpURL.java and sun/net/ftp/FtpURLConnectionLeak.java should also explicitly require NO_PROXY - it seems that on some configuration only 127.0.0.1 is configured as a no proxy host - and [0:0:0:0:0:0:0:1] goes through the proxy. This can make the test fail on Mac OS where the stack uses the system proxy by default.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dfuchs Daniel Fuchs
              Reporter:
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: