Skip to content

InetAddress mocking breaks java21 builds #144

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

Open
kofemann opened this issue Mar 19, 2025 · 0 comments
Open

InetAddress mocking breaks java21 builds #144

kofemann opened this issue Mar 19, 2025 · 0 comments

Comments

@kofemann
Copy link
Member

Since recent changes in java 21, InetAddress is declared a sealed class. Thus, mocking of InetAddress is no longer possible. As a result, some unit tests can't be compiled

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

No branches or pull requests

1 participant