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
So, JavaType.isEnumType() will only detect direct Enum subclasses as being Enums.
It should allow transitive types (needed for sub-classing by extension within Enum declaration), but doing that will break 3 unit tests. Need to investigate why, work around: they all seem to be related to EnumSet which is tricky type.
The text was updated successfully, but these errors were encountered:
2 failures on TestEnumSerialization (and one in TestDefaultForObject) seem to indicate that somehow enum values in EnumSet gets mistakenly treated as a POJO.
(note: follow up for #2457)
So,
JavaType.isEnumType()
will only detect directEnum
subclasses as being Enums.It should allow transitive types (needed for sub-classing by extension within Enum declaration), but doing that will break 3 unit tests. Need to investigate why, work around: they all seem to be related to
EnumSet
which is tricky type.The text was updated successfully, but these errors were encountered: