ObjectReader
is not serializable if it's configured for polymorphism
#4303
Milestone
ObjectReader
is not serializable if it's configured for polymorphism
#4303
Search before asking
Describe the bug
If I annotate a class with
as well as with
@JsonSubTypes
, and then store anObjectReader
instantiated like this:The holder of the reference cannot be serialized, trying to do so fails with something like this:
Version Information
2.15.3
Reproduction
Save a configured
ObjectReader
in some class in a non-transient field and try to serialize it.Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: