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

    • Sub-task
    • Resolution: Fixed
    • P4
    • 13
    • 13
    • core-libs
    • b21

    Backports

      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

                dfuchs Daniel Fuchs
                dfuchs Daniel Fuchs
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: