infinispan/infinispan — pull request #1657 by mmarkus (2013-02-11 19:08:47+00:00)
Title: ISPN-2435 Cache#replace(key, old, new) method doesn't check old value on...

https://issues.jboss.org/browse/ISPN-2435
please cherry-pick on 5.2.x as well.