netty5/resolver-dns
Trustin Lee 23db94f5a1 Fix Java 6 compatibility issue in DnsNameResolver
Related: #3173

Motivation:

DnsNameResolver was using InetSocketAddress.getHostString() which is
only available since Java 7.

Modifications:

Use InetSocketAddress.getHostName() in lieu of getHostString() when the
current Java version is less than 7.

Result:

DnsNameResolver runs fine on Java 6.
2014-12-06 22:31:44 +09:00
..
src Fix Java 6 compatibility issue in DnsNameResolver 2014-12-06 22:31:44 +09:00
pom.xml Name resolver API and DNS-based name resolver 2014-10-16 17:05:20 +09:00