Josh Bloch had a puzzler at JavaOne where he was removing a value from an list of Integers. The code looked similar to this:
int x = 2;
Since there is already a remove method that takes an int (primitive), that implementation would be called rather than the remove(Object) method. It seems like this kind of thing would be easy for an inspection to catch.
Am I off base here? Should I submit it to the JIRA?