ConcurrentMapCacheManager has interdependent setters [SPR-12026] #16642
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Oliver Drotbohm opened SPR-12026 and commented
ConcurrentMapCacheManager
'ssetCacheNames(…)
transitively callsisAllowNullValues()
which can be influenced bysetAllowNullValues(…)
. This means the order of the setter calls becomes important and is not guaranteed when the type is used in XML configuration.We've got a similar issue reported for Spring Data Redis (see DATAREDIS-328) and decided to provide a dedicated
FactoryBean
for usage in XML.Affects: 3.2.10, 4.0.6, 4.1 RC1
Issue Links:
Referenced from: commits acbd61b, 7848412
The text was updated successfully, but these errors were encountered: