--- 
+++ 
@@ -58,7 +58,7 @@
      * only stable for the same process).
      * @return the instance with recalculated hash code
      */
-    private Object readResolve() {
+    protected final Object readResolve() {
         calculateHashCode(keys);
         return this;
     }