netty5/resolver-dns
Trustin Lee 216cbd9e31 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:33:45 +09:00
..
src Fix Java 6 compatibility issue in DnsNameResolver 2014-12-06 22:33:45 +09:00
pom.xml Name resolver API and DNS-based name resolver 2014-10-16 17:10:36 +09:00