*** 146,11 *** } public boolean equals(Object obj) { if (obj instanceof ObjectReferenceImpl other) { return (ref() == other.ref()) && ! super.equals(obj); } else { return false; } } --- 146,11 --- } public boolean equals(Object obj) { if (obj instanceof ObjectReferenceImpl other) { return (ref() == other.ref()) && ! super.equals(obj); } else { return false; } }