Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.4
-
None
Description
equals method in ArrayList and LinkedList always returns true when are compared with different class objects:
ArrayList list=new ArrayList();
list.equals("foo"); //returns true
Also when are compared with different List implementations (ignoring list's content)