1. As per Generics tutorial at http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf
, Page # 15, Section 7.3 - Arrays, the folowing code is legal but would generate unchecked warning.
But I get incompatibles types error when I try it! I wonder what the deal is?!
2. The following code is not using any generic stuff, but the warning I get while compiling the same is Generic related.
Does this mean sun has Generified/changed impl of even the raw(legacy?!) Collection classes as well?