netty5/resolver-dns
Norman Maurer 9c6365ee95
Only try to use reflection to access default nameservers when using Java8 and lower (#9157)
Motivation:

We should only try to use  reflection to access default nameservers when using Java8 and lower as otherwise we will produce an Illegal reflective access warning like:

WARNING: Illegal reflective access by io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider

Modifications:

Add Java version check before try to use reflective access.

Result:

No more warning when Java9+ is used.
2019-05-18 08:21:33 +02:00
..
src Only try to use reflection to access default nameservers when using Java8 and lower (#9157) 2019-05-18 08:21:33 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2019-04-30 16:42:29 +00:00