netty5/resolver-dns/src/test
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
..
java/io/netty/resolver/dns Don't cause ClassCastException if registration fails during constructing DnsNameResolver. (#8280) 2018-09-11 20:34:37 +02:00
resources [#4289] Use a mock DNS Server for dns tests. 2015-10-10 20:27:34 +02:00