JamesTKhan/Mundus

Build issues on newer JDK's (workaround available)

Closed this issue · 0 comments

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