[infinispan-dev] old workaround in CacheImpl