Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8377

MarshallUtil.unmarshallArray returns Object[] for all zero-length arrays

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.2.0.Alpha2
    • 9.2.0.Alpha1
    • Core, Marshalling
    • None

    Description

      For zero-length arrays the method returns Util.EMPTY_OBJECT_ARRAY, ignoring the builder. With different array types this leads to ClassCastException.

      Attachments

        Activity

          People

            rvansa1@redhat.com Radim Vansa (Inactive)
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: