[infinispan-issues] [JBoss JIRA] (ISPN-5504) Cache implementation for replace doesn't work with arrays

Patrick Ruckstuhl (JIRA) issues at jboss.org
Wed Jul 29 05:05:02 EDT 2015


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

Patrick Ruckstuhl commented on ISPN-5504:
-----------------------------------------

I think it's even worse, the replace operation seems to require the VALUE to implement equals.

> Cache implementation for replace doesn't work with arrays
> ---------------------------------------------------------
>
>                 Key: ISPN-5504
>                 URL: https://issues.jboss.org/browse/ISPN-5504
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: JCache
>    Affects Versions: 7.2.1.Final
>            Reporter: Christian Beikov
>
> The JCache/JSR107 implementation uses Object.equals for checking cache value equality. The replace function is therefore unable to handle array values. See https://github.com/infinispan/infinispan/blob/master/jcache/commons/src/main/java/org/infinispan/jcache/AbstractJCache.java#L295



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the infinispan-issues mailing list