Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use of FFM without multi-release jar #1105

Open
io7m opened this issue Oct 27, 2024 · 0 comments
Open

Use of FFM without multi-release jar #1105

io7m opened this issue Oct 27, 2024 · 0 comments

Comments

@io7m
Copy link

io7m commented Oct 27, 2024

Hello!

I've got a few projects that use jline, and on relatively recent versions, my Enforcer plugin executions are flagging jline as containing bytecode outside of the allowed range:

2024-10-26T15:01:51.7725917Z [INFO] Restricted to JDK 21 yet org.jline:jline:jar:3.27.1:compile contains org/jline/terminal/impl/ffm/CLibrary$termios.class targeted to JDK 22

I'm slightly hesitant to ask you to change your code to satisfy my plugin configuration ( 😆 ), but we do now have a standard way (META-INF/versions/22) to include code that requires newer JDKs to run. Any chance this code could be moved there?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant