A DESCRIPTION OF THE PROBLEM :
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html states that "The Object.hashCode() specification guarantees that two objects with unequal hash codes cannot be equal."
This is wrong and directly contradicted by the specification linked by Object.hashCode() (https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()), which explicitly states "It is not required that if two objects are unequal according to the equals method, then calling the hashCode method on each of the two objects must produce distinct integer results."
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html states that "The Object.hashCode() specification guarantees that two objects with unequal hash codes cannot be equal."
This is wrong and directly contradicted by the specification linked by Object.hashCode() (https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()), which explicitly states "It is not required that if two objects are unequal according to the equals method, then calling the hashCode method on each of the two objects must produce distinct integer results."