I\'m trying to understand how a ClassCastException can be thrown from code, where as far as I understand, the type being cast to has been erased.
ClassCastException