Skip to content
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

Jooby 2.16.3: Guice version has issues with Java 21 #3441

Closed
imeszaros opened this issue Jun 4, 2024 · 2 comments
Closed

Jooby 2.16.3: Guice version has issues with Java 21 #3441

imeszaros opened this issue Jun 4, 2024 · 2 comments

Comments

@imeszaros
Copy link
Member

The current Guice version (5.0.1) included with the latest 2.16.3 release has some issues with Java 21. It works fine in most cases, but if there's a provisioning error Guice is not able to produce the correct error message but instead fails with some "bytecode version not supported" error.

Quoted from the Guice 6.0.0 change notes:

Support Java 21 (via updating ASM to 9.5 and other changes). (#1671, #1657, #1654)

I forced Gradle to pull 6.0.0 to my project and indeed it solved the problem and I was able to see the real issue.

imeszaros added a commit to imeszaros/jooby that referenced this issue Jun 4, 2024
@jknack jknack modified the milestone: 2.16.3 Jun 4, 2024
@jknack jknack modified the milestones: 2.16.3, 2.16.4 Jun 5, 2024
@jknack
Copy link
Member

jknack commented Jun 5, 2024

jooby 2.16.4 is out in central. Please try and let me know... it was a bit hard to make a new release on my new laptop (modern java + mac aarm). The gradle plugin failed to release/publish, will try again shortly.

@jknack jknack closed this as completed Jun 5, 2024
@jknack
Copy link
Member

jknack commented Jun 6, 2024

Gradle plugins published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants