Jul 25, 2017 · 1 min read
It’s an easy mistake. To make matters worse, internally the object is called “ArrayList” as well (Arrays.ArrayList) so if you’re not looking carefully enough at a stack trace you might not even realize that it’s not java.util.ArrayList!