You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the serializers set the "type" field by calling Class.getSimpleName(). This fails if the object being serialized is an instance of an anonymous subclass. Anonymous subclasses may be used in Java and Scala idioms to support terse initialization, such as
Many of the serializers set the
"type"
field by callingClass.getSimpleName()
. This fails if the object being serialized is an instance of an anonymous subclass. Anonymous subclasses may be used in Java and Scala idioms to support terse initialization, such asWalking up the class chain to find the first class that is neither anonymous nor inner addresses the problem.
The text was updated successfully, but these errors were encountered: