try { hostName = getHostByAddr(addr); return (hostName); } catch (UnknownHostException e) { if (hostname_alias != null) return (hostname_alias); else return (getHostAddress()); } }
try { hostName = VMInetAddress.getHostByAddr(addr); return hostName; } catch (UnknownHostException e) { return getHostAddress(); } }
    public String getHostName() {        if (hostName != null) return (hostName);        try {            hostName = getHostByAddr(addr);            return (hostName);        } catch (UnknownHostException e) {            if (hostname_alias != null)                return (hostname_alias);            else                return (getHostAddress());        }    }