HashTree and ListedHashTree fail to compile with Java 8 Rename replace as replaceKey to avoid clash with Java 8 Map.replace(K,V) mew method Bugzilla Id: 56360