JDK-7183800 : TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1)
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux_ubuntu
  • CPU: x86
  • Submitted: 2012-07-12
  • Updated: 2014-02-27
  • Resolved: 2013-03-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8
6u75Fixed 7u40Fixed 8 b84Fixed
Related Reports
Duplicate :  
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