Details
-
Enhancement
-
Resolution: Done
-
Major
-
10.1.2.Final, 11.0.0.Alpha1
-
None
-
DataGrid Sprint #40, DataGrid Sprint #41
Description
DefaultCacheManager.getCache(name) will try to create the cache if it doesn't exist, and if a matching configuration doesn't exist either it uses the default cache's configuration.
Since 9.0 named cache configurations no longer inherit from the default cache configuration, so using the default cache's configuration as a default configuration is surprising.
DefaultCacheManager.getCache(name) should only create the cache if a matching configuration exists, otherwise it should throw an exception.