[infinispan-issues] [JBoss JIRA] (ISPN-8377) MarshallUtil.unmarshallArray returns Object[] for all zero-length arrays

Tristan Tarrant (JIRA) issues at jboss.org
Fri Oct 20 02:24:00 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-8377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-8377:
----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 9.2.0.Alpha2
       Resolution: Done


> MarshallUtil.unmarshallArray returns Object[] for all zero-length arrays
> ------------------------------------------------------------------------
>
>                 Key: ISPN-8377
>                 URL: https://issues.jboss.org/browse/ISPN-8377
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core, Marshalling
>    Affects Versions: 9.2.0.Alpha1
>            Reporter: Radim Vansa
>            Assignee: Radim Vansa
>             Fix For: 9.2.0.Alpha2
>
>
> For zero-length arrays the method returns Util.EMPTY_OBJECT_ARRAY, ignoring the builder. With different array types this leads to ClassCastException.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list