You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by pe...@apache.org on 2012/11/20 11:15:10 UTC

svn commit: r1411610 - /river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java

Author: peter_firmstone
Date: Tue Nov 20 10:15:09 2012
New Revision: 1411610

URL: http://svn.apache.org/viewvc?rev=1411610&view=rev
Log:
Change method of getting local host name in QAConfig

Modified:
    river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java

Modified: river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java
URL: http://svn.apache.org/viewvc/river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java?rev=1411610&r1=1411609&r2=1411610&view=diff
==============================================================================
--- river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java (original)
+++ river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java Tue Nov 20 10:15:09 2012
@@ -2152,7 +2152,7 @@ public class QAConfig implements Seriali
     public String getLocalHostName() {
 	String host = "localhost";
 	try {
-	    host = InetAddress.getLocalHost().getHostName();
+	    host = InetAddress.getLocalHost().getCanonicalHostName();
 	} catch (UnknownHostException ignore) {
 	}
 	return host;