-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Failure to deserialize polymorphic subtypes of base type Enum
#2605
Milestone
Comments
Thank you reporting this issue. I hope I (or someone else) has time to look into this in near future. |
Hi, Regards, |
cowtowncoder
added a commit
that referenced
this issue
Feb 12, 2020
cowtowncoder
changed the title
Possible regression issue with Enum-Handling as Generic-Parameter in 2.10
Failure to deserializer polymorphic subtypes of base type Feb 13, 2020
Enum
cowtowncoder
changed the title
Failure to deserializer polymorphic subtypes of base type
Failure to deserialize polymorphic subtypes of base type Feb 13, 2020
Enum
Enum
cowtowncoder
added a commit
that referenced
this issue
Feb 13, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Jackson-Team,
I have posted this first at the Google Jackson-User Group:
https://groups.google.com/forum/#!topic/jackson-user/NjrFaUzTaRA
We have Problems with our application after updating Jackson to 2.10.*
With 2.10 we get "Cannot deserialize Class java.lang.Enum (of type enum) as a Bean" erros but with 2.9.10 everything is fine.
The Problem is about a genereic class where we have to ensure that the generic-parameter is an enum. We don't have full controll about the created subtypes, so we can not use TypeReferences for de-/serialisation as mentioned at the User-Group Post.
I have created a simple Test that reproduce the Problem:
jsontest.zip
Changing the Jackson-Version in the POM to 2.9.10 makes the tests green.
Kind regards
Tim
The text was updated successfully, but these errors were encountered: