Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nkoneko opened this issue Oct 27, 2021 · 1 comment

Comments

@nkoneko
Copy link
Contributor

nkoneko commented Oct 27, 2021

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
Copy link
Contributor Author

nkoneko commented Oct 27, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant