Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5444

Collections.singletonList is not properly serialized by binary marshaller

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.3
    • general
    • None

    Description

      Test attached. Collections.singletonList is apparently serialized by optimized marshaller, because when deserialized, it doesn't return collection of binary objects, but rather collection of deserialized objects.

      Most likely the reason for this is that Collections.singletonList is not recognized by BinaryUtils.knownCollection method.

      Attachments

        1. BinaryObjectSingletonList.java
          0.7 kB
          Valentin Kulichenko

        Issue Links

          Activity

            People

              williamdo William Do
              vkulichenko Valentin Kulichenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: