JDK-8223880 : Update sun/net/ftp/FtpURL.java and sun/net/ftp/FtpURLConnectionLeak.java to work with IPv6 addresses
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-05-14
  • Updated: 2024-05-03
  • Resolved: 2019-05-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13
11.0.25-oracleFixed 13 b21Fixed
Related Reports
Relates :  
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. 
Comments
URL: http://hg.openjdk.java.net/jdk/jdk/rev/4dd7ea5f28cf User: dfuchs Date: 2019-05-15 18:41:42 +0000
15-05-2019