[infinispan-issues] [JBoss JIRA] (ISPN-7766) TypeConverterDelegatingAdvancedCache not boxing values in compute functions

Tristan Tarrant (JIRA) issues at jboss.org
Wed Apr 26 15:29:00 EDT 2017


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

Tristan Tarrant reassigned ISPN-7766:
-------------------------------------

    Assignee: Katia Aresti


> TypeConverterDelegatingAdvancedCache not boxing values in compute functions
> ---------------------------------------------------------------------------
>
>                 Key: ISPN-7766
>                 URL: https://issues.jboss.org/browse/ISPN-7766
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.0.0.Final
>            Reporter: Mike Noordermeer
>            Assignee: Katia Aresti
>
> {{TypeConverterDelegatingAdvancedCache}} does not seem to box values when using {{compute()}}, {{computeIfAbsent()}} or {{computeIfPresent()}}. I think {{convertFunction()}} should include a {{boxValue()}} call.
> It boxes the key, but not the value, see here: https://github.com/infinispan/infinispan/blob/faf0a83c05449e7e5b874f859acadfe2241cd04f/core/src/main/java/org/infinispan/cache/impl/TypeConverterDelegatingAdvancedCache.java#L101



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list