United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7183800 TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1)
JDK-7183800 : TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1)

Details
Type:
Bug
Submit Date:
2012-07-12
Status:
Closed
Updated Date:
2014-02-10
Project Name:
JDK
Resolved Date:
2013-03-14
Component:
other-libs
OS:
linux_ubuntu
Sub-Component:
other
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Duplicate:

Sub Tasks

Description
3 tests are failing on Ubuntu 12.04 since InetAddress.getLocalHost() returns 127.0.1.1, when these tests assumed that 127.0.0.1 would be returned.

The failing tests are:
test/java/nio/channels/DatagramChannel/Connect.java
test/java/nio/channels/DatagramChannel/ConnectedSend.java
test/javax/management/remote/mandatory/connection/RMIConnectionIdTest.java

                                    

Comments
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ca9469a15792
User:  alanb
Date:  2013-03-14 17:01:39 +0000

                                     
2013-03-14
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/ca9469a15792
User:  lana
Date:  2013-04-02 17:50:39 +0000

                                     
2013-04-02



Hardware and Software, Engineered to Work Together