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

Mike Noordermeer (JIRA) issues at jboss.org
Wed Apr 26 11:42:01 EDT 2017


Mike Noordermeer created ISPN-7766:
--------------------------------------

             Summary: 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


{{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