netty5/resolver-dns
Norman Maurer 9eb124bb62
Don't cause ClassCastException if registration fails during constructing DnsNameResolver. (#8280)
Motivation:

We should not try to cast the Channel to a DatagramChannel as this will cause a ClassCastException.

Modifications:

- Do not cast
- rethrow from constructor if we detect the registration failed.
- Add unit test.

Result:

Propagate correct exception.
2018-09-11 20:34:37 +02:00
..
src Don't cause ClassCastException if registration fails during constructing DnsNameResolver. (#8280) 2018-09-11 20:34:37 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2018-08-24 06:36:33 +00:00