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
java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear() #5450
Comments
should be easy to put up a PR ... mostly about: |
there's also a problem with java.lang.Math
|
Hmm that is harder to avoid These cases should be pretty limited, though...we can just cast everything to long in those few places. I hope there aren't going to be too many more of these; we are not ready to start depending on Java 11. Maybe we need to look into the build using JDK8 runtime library. |
Ok I looked into the Java 9+ -release flag for javac, and it gets us halfway there. If you specify |
@enebo We might be able to get the |
resolved by 62dc58b (and some previous commits actually) |
Environment
Actual behaviour
rvm get head
raises an error
the problem is that I have a jruby's binary that was compiled with java 9, but executed with java 8.
Expected behaviour
this should be a workaround
https://jira.mongodb.org/browse/JAVA-2559
https://github.com/jruby/jruby/blob/master/core/src/main/java/org/jruby/RubyEncoding.java#L306
The text was updated successfully, but these errors were encountered: