Preventing NullPointerException when a class has an erroneous supertype and does not have an implementation of the equals method. Reviewed-by: darcy, vromero
Reviewed-by: darcy, ihse