Skip to content

Java 8 Compatibility #223

Answered by ebourg
liammacisaac asked this question in Q&A
May 22, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Ah yes that's a common issue, it could be avoided by building with the -release 8 flag but that doesn't work for Jsign. With this option the compiler no longer recognizes the javax.smartcardio package used for the PIV and OpenPGP cards (JDK-8212638), nor the internal packages such as sun.security.pkcs11.wrapper which is used for configuring the PKCS#11 libraries.

I don't mind adding some casts around the ByteBuffer calls to avoid this issue.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@liammacisaac
Comment options

@ebourg
Comment options

Answer selected by liammacisaac
@liammacisaac
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants