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

Add release config to maven-compiler-plugin configuration #25

Closed
overheadhunter opened this issue Mar 29, 2018 · 0 comments
Closed

Add release config to maven-compiler-plugin configuration #25

overheadhunter opened this issue Mar 29, 2018 · 0 comments
Assignees
Milestone

Comments

@overheadhunter
Copy link
Member

overheadhunter commented Mar 29, 2018

Apparently we need to add <release>8</release> to the the maven-compiler-plugin configuration in the pom.xml to make sure JDK9 (which is used for building) "links" against the correct classes.

Otherwise we get errors like java.lang.NoSuchMethodError: Method flip()Ljava/nio/ByteBuffer; does not exist in class java.nio.ByteBuffer.

Details can be found in plasma-umass/doppio#497.

A first test showed, that it can indeed be fixed by compiling with --release 8. To be confirmed, e.g. by @markuskreusch.

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