-
Notifications
You must be signed in to change notification settings - Fork 351
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
Jersey fails to respond with wildcard generics #5328
Comments
|
|
I confirm that I cannot reproduce the bug anymore using Jersey v. 3.1.5.payara-p1 as part of Payara 6.2024.3. I assume that earlier and non-payara-specific versions do contain the same fix, but I did not find the time to test them. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
Apparently Jersey 3.x has problems with serving wildcard generics.
Serving wildcard generics was working successfully on Jersey 2.x, and it still is working successfully on RESTeasy, so I assume it is a bug introduced by Jersey 3. I also do not see that the JAX-RS spec forbids wildcards.
Reproducer
When running the following code on Jersey, serving
/a
succeeds, while serving/b
fails with status code 500.The failing
GET /b
tells us:...
The text was updated successfully, but these errors were encountered: