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

Did Jersey 3.1.4 remove support for JDK 11? #5483

Closed
dangmai opened this issue Dec 2, 2023 · 3 comments
Closed

Did Jersey 3.1.4 remove support for JDK 11? #5483

dangmai opened this issue Dec 2, 2023 · 3 comments

Comments

@dangmai
Copy link

dangmai commented Dec 2, 2023

Hello,

Based on what I'm reading, it looks like Jersey 3.1.4 is supposed to be used alongside Jetty 12. However, as far as I know Jetty 12 only supports JDK >= 17, while Jersey 3.1.3 does support JDK 11. I didn't expect a patch version upgrade to remove support for a major JDK version, but maybe that's just my own ignorance here. Could you clarify that please? Thank you!

I'm currently using embedded Jetty 11 with Jersey 3.1.3 in my project for context. I'd like to update to 3.1.4 purely for the Jackson upgrade that fixes a security vulnerability, but it looks like that's not an option if I want to keep supporting JDK 11 for my users.

@senivam
Copy link
Contributor

senivam commented Dec 5, 2023

Hello @dangmai,
the JDK 11 support is not removed, to keep Jetty 11 connector available, there is new module jersey-jetty11-connector which allows to continue usage of the Jetty connector with JDK 11. However if you use Jetty 11 embedded container, I would recommend to wait until the 3.1.5 is released, there will be jersey-container-jetty11-http module as well (in the 3.1.4 it is temporary disabled)

@dangmai
Copy link
Author

dangmai commented Dec 5, 2023

I see, thank you for the explanation!

@dangmai dangmai closed this as completed Dec 5, 2023
@senivam
Copy link
Contributor

senivam commented Dec 18, 2023

the 3.1.5 release is out, so you can use both modules jersey-jetty11-connector and/or jersey-container-jetty11-http

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

No branches or pull requests

2 participants