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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.2.0.Final
    • 9.2.0.Final
    • Core, Marshalling
    • None

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

              rvansa1@redhat.com Radim Vansa (Inactive)
              rvansa1@redhat.com Radim Vansa (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: