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

Build issues on newer JDK's (workaround available) #170

Closed
JamesTKhan opened this issue May 10, 2023 · 0 comments · Fixed by #208
Closed

Build issues on newer JDK's (workaround available) #170

JamesTKhan opened this issue May 10, 2023 · 0 comments · Fixed by #208
Assignees
Labels
bug Something isn't working
Milestone

Comments

@JamesTKhan
Copy link
Owner

Describe the bug
Running Mundus on JDK9 or newer results in an error due to reflection (TaggedFieldSerializer) used by Kryo for serialization. For now, the workaround to resolve this is to set --add-opens=java.base/java.lang=ALL-UNNAMED in your JVM arguments if using a newer JDK. We may have to look into migrating to a different Kryo serializer but I have not looked into what that will require or if it will end up breaking compatibility with existing projects.

See EsotericSoftware/kryo#885

@JamesTKhan JamesTKhan added the bug Something isn't working label May 10, 2023
@JamesTKhan JamesTKhan changed the title Build issues on newer JDK's Build issues on newer JDK's (workaround available) May 10, 2023
@JamesTKhan JamesTKhan added this to the 0.5.1 Release milestone Aug 1, 2023
@JamesTKhan JamesTKhan linked a pull request Aug 3, 2023 that will close this issue
@JamesTKhan JamesTKhan self-assigned this Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant