-
Bug
-
Resolution: Done
-
Major
-
6.0.2.Final, 7.0.0.Alpha3
-
None
RemoteCacheManager manager = ...; Cache noReturnCache = manager.getCache("foo", false); Cache returnValueCache = manager.getCache("foo", true);
The second returned cache will use forceReturnValue=false, although it was retrieved with forceReturnValue=true. The reason is that caches are stored in a map by name, ignoring this flag.
There should be two such maps. The question is what should getCache("foo") return if previously only getCache("foo", true) was called.