[testsabilization] RFR: 8230435: Replace wildcard address with loopback or local host in tests - part 22

Michael McMahon michael.x.mcmahon at oracle.com
Tue Sep 3 13:53:54 UTC 2019


Looks fine to me Daniel.

- Michael.

On 02/09/2019, 14:00, Daniel Fuchs wrote:
> Hi,
>
> (cc-ing security dev for the changes in
>  test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java
>  which is updated to allow for binding on a specific
>  IP Address)
>
> Please find below a patch for:
> 8230435: Replace wildcard address with loopback or local host
>          in tests - part 22
> https://bugs.openjdk.java.net/browse/JDK-8230435
>
>
> webrev:
> http://cr.openjdk.java.net/~dfuchs/webrev_8230435/webrev.00/
>
> This is actually a mixed batch - with some tests only updated
> to add more diagnostic. Some of the changes have been included
> because some tests have been observed failing while testing other
> test changes:
>
> 1. Adding more diagnostic / fixing safe publishing of values:
> test/jdk/java/net/Authenticator/B4678055.java
> test/jdk/java/net/DatagramSocket/PortUnreachable.java
> test/jdk/java/net/URLConnection/RedirectLimit.java
> test/jdk/java/net/URLConnection/Responses.java
> test/jdk/sun/net/InetAddress/nameservice/simple/DefaultCaching.java
> test/jdk/sun/net/www/http/HttpClient/RetryPost.java
>
> 2. Adding ability to bind to a specific IP Address (e.g. the loopback)
> test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java
> test/jdk/sun/net/www/protocol/https/HttpsClient/ProxyTunnelServer.java
> test/jdk/sun/net/www/protocol/https/HttpsURLConnection/TunnelProxy.java
>
> 3. Removing dependency on the wildcard address:
> test/jdk/sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java
> test/jdk/sun/net/www/protocol/https/HttpsURLConnection/B6216082.java
> test/jdk/sun/net/www/protocol/https/HttpsURLConnection/B6226610.java
> test/jdk/sun/net/www/protocol/https/HttpsURLConnection/HttpsProxyStackOverflow.java 
>
>
> 4. Forcing usage of NO_PROXY to prevent usage of system proxies on mac:
> test/jdk/sun/net/www/AuthHeaderTest.java
>
> best regards,
>
> -- daniel



More information about the security-dev mailing list