-
Notifications
You must be signed in to change notification settings - Fork 111
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 when running on Java 8 #79
Comments
The solution is simple: in the root
to
|
jeremylong
added a commit
that referenced
this issue
Aug 12, 2024
Thank you for providing the suggested fix. |
Thank you for fixing this 😃 Do you have any plans to release this soon? It unfortunately currently blocks us from updating to 1.3. |
I'll be releasing this shortly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error in version 1.3.0. Stacktrace:
Error line looks like
_input.limit(remaining).position(0);
where
_input
isCharBuffer
. Methodlimit(int)
differs in Java 8 and Java 9: in Java 8 it is final in the base classBuffer
, and in Java 9 it is overriden inCharBuffer
with covariant return type.Seems that it is compiled against Java >= 9, so that
limit(int)
is linked toCharBuffer.limit(int)
which is missing in Java 8.The text was updated successfully, but these errors were encountered: