[infinispan-issues] [JBoss JIRA] (ISPN-3050) Cache.replace should support arrays of primitive types

Mircea Markus (JIRA) jira-events at lists.jboss.org
Thu May 2 19:32:53 EDT 2013


    [ https://issues.jboss.org/browse/ISPN-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771762#comment-12771762 ] 

Mircea Markus commented on ISPN-3050:
-------------------------------------

The work did together with ISPN-2281 should solve this issue, as infinispan will support native arrays as keys-values.
[~galder.zamarreno] - Keeping this open till we'll add a test to prove it works.
                
> Cache.replace should support arrays of primitive types
> ------------------------------------------------------
>
>                 Key: ISPN-3050
>                 URL: https://issues.jboss.org/browse/ISPN-3050
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Loaders and Stores
>    Affects Versions: 5.2.1.Final
>         Environment: - JBoss EAP 6.1.0 Alpha
> - Infinispan 5.2.1.Final
>            Reporter: Adam Kovari
>            Assignee: Mircea Markus
>            Priority: Minor
>
> org.infinispan.Cache.replace does not handle values as arrays of primitive types well. It compares the old and new value as .equals but this doesn't work for arrays of primitives. It should use Arrays.equals for such a case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list