@Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if (obj == null) {
      return false;
    }
    if (!(obj instanceof LI)) {
      return false;
    }
    LI other = (LI) obj;
    if (className == null) {
      if (other.className != null) {
        return false;
      }
    } else if (!className.equals(other.className)) {
      return false;
    }
    return identityHashCode == other.identityHashCode;
  }
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