-
-
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
Fail to serialize Enum
instance which includes a method override as POJO (shape = Shape.OBJECT)
#2576
Comments
Thank you for reporting this issue: I was able to reproduce it with a simplified example. Also does not seem to fail for 2.9. I suspect this may be related to type introspection optimizations, wherein some resolution would be avoid for |
Hmmh. Odd. 2.10 fails, 2.11 does not. And |
Enum
instance which includes a method override as POJO (shape = Shape.OBJECT)
Fixed for 2.10. Problem was not quite what I thought, but was able to pinpoint it to specific change in detecting Enum types ( Thank you again for reporting this; fix will be in 2.10.2 which should be released quite soon. |
This problem of failing to serialize an Enum instance which includes a method override only occurs in 2.10.1, not 2.10.0.
Here is a simple test:
The text was updated successfully, but these errors were encountered: