netty5/resolver-dns
Stephane Landelle f4cf674f01 Fix NPE when trying to build a DnsNameResolver with a null resolvedAddressTypes (#8445)
Motivation:

It should be possible to build a DnsNameResolver with a null resolvedAddressTypes, defaulting then to DEFAULT_RESOLVE_ADDRESS_TYPES (see line 309).

Sadly, `preferredAddressType` is then called on line 377 with the original parameter instead of the instance attribute, causing an NPE when it's null.

Modification:

Call preferredAddressType with instance attribuet instead of constructor parameter.

Result:

No more NPE
2018-10-30 13:15:16 +01:00
..
src Fix NPE when trying to build a DnsNameResolver with a null resolvedAddressTypes (#8445) 2018-10-30 13:15:16 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2018-10-29 15:38:51 +00:00