AbstractValueAdaptingCache does not allow for flexible null value serialization [SPR-15693] #20252
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Stéphane Nicoll opened SPR-15693 and commented
AbstractAdaptingValueCache
has been refactored to offer aNullValue
holder that would resolve to a unique instance when deserialized (see #18129).This infrastructure cannot be used if the cache manager implementation uses a custom serialization mechanism (for instance if the data is serialized in text using json). The redis cache manager is affected by this issue.
A simple/naive fix would be to make that instance public so that they can return what the base class is expecting.
Affects: 4.3.9
Issue Links:
Referenced from: commits spring-projects/spring-data-redis@c998abf
The text was updated successfully, but these errors were encountered: