Someone asked me this question. What is the difference between the byte code generated for Generics and Legacy collections. i really think from the byte code perspective there is no diff. please give me information about this.
"Nothing is forever except Change"
Joined: Oct 13, 2005
You would have to display the bytecode with javap -c MyClass. Because of erasure, there might be no difference at all. I don't know; I haven't tried it.