RFR: JDK-8065222 - sun/net/www/protocol/http/B6369510.java doesn't execute as expected

Mark Sheppard mark.sheppard at oracle.com
Wed Nov 19 19:50:35 UTC 2014


Hi,
    please oblige and review the following change
http://cr.openjdk.java.net/~msheppar/8065222/webrev/

to address the issue
https://bugs.openjdk.java.net/browse/JDK-8065222

The URL construction in the test now uses 
InetAddress.getLocalHost().getHostName(), rather than the
address.getHostName(), which was returning wildcard IP address, causing 
a MalformedURLException.
Test, amended to propagate exception failures, also.

regards
Mark


More information about the net-dev mailing list