-
Enhancement
-
Resolution: Unresolved
-
P3
-
13
Many of the networking tests in the JDK assume IPv4 support. This may not always be the case.
Specifically:
1) Remove hardcoded IPv4 literals, e.g. 127.0.0.1.
2) Correctly format URI's that contain a retrieved IPv6 literal host, e.g. add square brackets.
3) Update hardcoded 127.0.0.1 in tests that use pre-generated certificates.
4) Optional-ize tests that run with -Djava.net.preferIPv4Stack
5) Ensure use of preferIPv6Addresses, where applicable
6) ...
A test library utility that correctly determines the environment would be useful, e.g. IPv4-only, IPv4/IPv6 ( dual stack ), or IPv6-only.
Specifically:
1) Remove hardcoded IPv4 literals, e.g. 127.0.0.1.
2) Correctly format URI's that contain a retrieved IPv6 literal host, e.g. add square brackets.
3) Update hardcoded 127.0.0.1 in tests that use pre-generated certificates.
4) Optional-ize tests that run with -Djava.net.preferIPv4Stack
5) Ensure use of preferIPv6Addresses, where applicable
6) ...
A test library utility that correctly determines the environment would be useful, e.g. IPv4-only, IPv4/IPv6 ( dual stack ), or IPv6-only.
- relates to
-
JDK-8280091 Bypass execution of tests with -Djava.net.preferIPv4Stack=true property setting in IPv6 only environment
-
- Open
-
-
JDK-8280099 sun/net/www/protocol/http/TunnelThroughProxy.java fails with timeout
-
- Open
-
-
JDK-8280104 sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java fails with test timeout
-
- Open
-
-
JDK-8184770 JDWP support for IPv6
-
- Resolved
-
-
JDK-8221681 Improved IPv6 Support
-
- Open
-