-
Notifications
You must be signed in to change notification settings - Fork 599
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
1.3.21 (on Maven Central) is broken on Java 8 #411
Comments
JEP-247 should address exactly this problem:
|
…but I see we're already using that parameter:
|
Java 8 is still a must. Ich build it using java 11. @prashantbhat: Can you take a look at it? Introduced with MR #395 |
I'm not good with Maven… but reading it again it might be that the
and we should add |
It is working with the following default configuration in JDK9+ profile. (Btw, when I tried using
After building with this change using Java 11, all tests have completed successfully running on Java 8. I'll send a PR for this. |
I guess needing Java 9+ to build is fine, as long as the generated JAR runs on Java 8. 👍🏼 |
Cool, may we have a release with this fix, please? |
Today, I'll to it again :-) |
I guess 1.3.21 on Maven Central was compiled using Java 9+, as I get this error (doesn't happen with 1.3.20):
I guess the reason is that targeting the compiler to Java 8 is not enough, as the libraries are different and the method
MappedByteBuffer.position(int)
is new in Java9.(I'm opening this as a reminder, but I didn't look into a way to resolve it, yet)
The text was updated successfully, but these errors were encountered: