Code Review Request: 7183800: TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1)

Kurchi Subhra Hazra kurchi.subhra.hazra at oracle.com
Sun Jul 15 18:54:33 UTC 2012


Hi,

    Some tests in our test repository assume that 
InetAddress.getLocalHost() will return 127.0.0.1. However, with
linux systems running Ubuntu 12.04 now returning 127.0.1.1 as localhost, 
these tests are failing. I have changed two
of the NIO tests to remove their dependency on 
InetAddress.getLocalHost(). A third test has been added to
the ProblemList.txt since the changes required for it are more involved.

Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7183800
Webrev: http://cr.openjdk.java.net/~khazra/7183800/webrev.00/


Thanks,
Kurchi




More information about the core-libs-dev mailing list