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

Cooja can not be built with newer Java versions #18

Closed
nfi opened this issue Apr 26, 2019 · 2 comments
Closed

Cooja can not be built with newer Java versions #18

nfi opened this issue Apr 26, 2019 · 2 comments

Comments

@nfi
Copy link
Member

nfi commented Apr 26, 2019

The API used for configuration in Cooja (javax.xml.bind) was removed in Java 11 and is no longer available (see http://openjdk.java.net/jeps/320#Java-EE-modules for more information). We either need to bundle the API as a separate jar (jaxb-api) or change the Cooja configuration API to not depend on this API.

Bundle the API via a JAR file would be simplest but taking the opportunity to change to use a Cooja specific API would avoid this dependency, could simplify the configurations, and allow us to finally get rid of a lot of unchecked Java warnings. Changing the configuration API would however break backward compatibility with older Cooja plugins. If the latter would be ok, I can setup a PR with a proposal for a new configuration API in Cooja?

@pjonsson
Copy link
Contributor

Commit 848235a fixes the mentioned issue and Cooja builds with Java 11 now so I think this ticket can be closed.

@nfi
Copy link
Member Author

nfi commented Apr 27, 2022

Correct. Thanks!

@nfi nfi closed this as completed Apr 27, 2022
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

2 participants