Details
-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
7.2.2.Final
-
None
Description
If a cache that is configured with store-as-binary is used in jcache and a processor is invoked, the value will never be changed.
The problem seems to be that the in
JCache.invoke()
V oldValue = skipCacheLoadCache.get(key);
is retrieved
and this is a different instance than retrieved in
AbstractJCache.replace()
with V current = existsCheckCache.get(key);
so when
if (isConditional && !current.equals(oldValue))
is called (and the value doesn't implement equal) they are never equal even though the value never changed.
This is also related to ISPN-5504
Attachments
Issue Links
- is related to
-
ISPN-5504 Cache implementation for replace doesn't work with arrays
- New