Java · ArrayList and wrapper classes
Clearing bad values out of a list is a loop that looks right, runs without an error, and can leave some of them behind.