-
Notifications
You must be signed in to change notification settings - Fork 458
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
2.1.9 - Compatibility with JDK8 #578
Comments
jPOS 2.1.9 was built on Java 11 and targeted Java 8, so it should have worked. This change in ByteBuffer was unexpected. Please check if jPOS 2.1.10-SNAPSHOT solves this issue and we'll try to make a release soon in order to address this problem. Please confirm at your convenience @luigi-tas. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We tryed to use new version 2.1.9 with JBoss7 on JDK8 and we had this error:
Caused by: java.lang.NoSuchMethodError: java.nio.ByteBuffer.mark()Ljava/nio/ByteBuffer;
at org.jpos.tlv.TLVList.skipBytes(TLVList.java:398)
at org.jpos.tlv.TLVList.getTAG(TLVList.java:439)
at org.jpos.tlv.TLVList.getTLVMsg(TLVList.java:355)
at org.jpos.tlv.TLVLis
As stated in this tutorial, I think that it's an issue with compiler of jdk11 :
https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror/
We need 2.1.9 of jpos to upgrade version of snakeyml for security issue,
but we have to stay with jdk8.
Thank you
The text was updated successfully, but these errors were encountered: