Affects Version/s: None
Fix Version/s: None
While it is obviously trivial to create different HashMaps with identical hashCodes, I'd still expect the following test code to pass:
HashMap map1 = new HashMap(10);
HashMap map2 = new HashMap(10);
assertFalse(map1.hashCode() == map2.hashCode());
That is, I'd expect the 'value' associated with "key" to have some impact on the hashCode. It passes on the reference implementations I tested.