Uploaded image for project: 'Johnzon'
  1. Johnzon
  2. JOHNZON-150

Incorrect Mapping of EnumSet Field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.6
    • 1.1.7
    • Mapper
    • None

    Description

      If i try to serialize and deserialize an object with a field of type EnumSet i get an argument type mismatch. The reason is, that in this case Johnzon deserializes the field as type HashSet an throws an error when trying to set the field value.
      I think the problem is in the method createCollectionMapping of the class Mappings.

      Attachments

        Activity

          People

            struberg Mark Struberg
            rene_n Rene Nowak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: