Menu

#20 Add features to comply with Java 17 LTS

1.4
open
None
2022-01-26
2022-01-26
No

The REpiceaDeserializer class relies on reflection to deserialize the meta-models. With Java 8 and 11 there is no problem. However, with Java 17, the modularity does not allow for reflection in the core libraries. These must be opened when initializing the JVM. The following options must be added in the java call:

--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED

There might be a possibility of bootstrapping with the appropriate options.

Discussion


Log in to post a comment.