So I came across the term Heap Pollution and after googling I know what it means BUT my issue is , I couldn't relate the name with the scenario. Why its called Heap Pollution? Basically, if I were to guess what it means from the name itself I couldn't have.
Why we say heap is polluted if we are pointing to wrong parameterized structure? Like, Garbage Collection - It makes so much sense.
Also, is heap pollution word got more popular with Java 5? The behavior existed in earlier java versions too. Its just that Java 5 is now more explicitly pointing to that issue as we have Generics.
Anyways, just my thoughts at end of tiring day so may sound little off the track