@Override
  public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + ((className == null) ? 0 : className.hashCode());
    result = prime * result + identityHashCode;
    return result;
  }
These methods are the same as on the jdk 1.6 java.lang.management.LockInfo, but this class is
serializable.

Retained for backwards compatibility reasons.
geode-core/src/main/java/org/apache/geode/internal/concurrent/LI.java