Hi, This patch replaces hardcoded "http://127.0.0.1/" in tests with a new URIBuilder and InetAddress.getLoopbackAddress().getHostAddress(). Creating a URIBuilder helper class was discussed in a previous thread on net-dev.
http://cr.openjdk.java.net/~aeubanks/8220575/webrev.00/index.html One problem I came across was in test/jdk/sun/net/www/protocol/http/B6890349.java, where "/foo\nbar" in a URL is not the same as "/foo\nbar" in a URI, so I'd like some help in that one test (you'll see some print statements in there, which produce different output). Otherwise, the other tests pass locally.