netty5/resolver-dns/src
Norman Maurer a3844da10b
NoClassDefFoundError on Android platform when try to use DefaultDnsServerAddressStreamProvider. (#8656)
Motivation:

Andoid does not contain javax.naming.* so we should not try to use it to prevent a NoClassDefFoundError on init.

Modifications:

Only try to use javax.naming.* to retrieve nameservers when not using Android.

Result:

Fixes https://github.com/netty/netty/issues/8654.
2018-12-14 21:31:21 +01:00
..
main/java/io/netty/resolver/dns NoClassDefFoundError on Android platform when try to use DefaultDnsServerAddressStreamProvider. (#8656) 2018-12-14 21:31:21 +01:00
test Fix NPE when trying to build a DnsNameResolver with a null resolvedAddressTypes (#8445) 2018-10-30 13:15:16 +01:00