Details
-
Bug
-
Resolution: Done
-
Major
-
5.1.0.CR1
-
None
Description
A org.infinispan.DecoratedCache should be immutable, or using methods like DecoratedCache.withFlags(Flag...) and DecoratedCache.with(ClassLoader) will behave unexpectedly, possibly applying such options to existing instances.
Also all Cache instances should respect the contract of thread-safety.