PacketProxy icon indicating copy to clipboard operation
PacketProxy copied to clipboard

Current implementation of DNS server will not work in future versions of Java

Open nkoneko opened this issue 3 years ago • 1 comments

Large part of the current implementation of embedded DNS server is borrowed from dnsjava, but the version PacketProxy uses is too old (that seems to be written in Java <1.5.) Compiling with OpenJDK >= 16 emits deprecation warnings, which tells us that new Integer(int) will be removed in future version of Java, meaning that the current implementation of DNS server will not work in future version of Java.

nkoneko avatar Oct 27 '21 17:10 nkoneko

Currently, I'm trying to merge the latest version of dnsjava. SystemResolverConfig (introduced in this commit) needs to be modified accordingly.

nkoneko avatar Oct 27 '21 17:10 nkoneko