I was reading the online tutorial of java generics and found this line:<code>List<String>[] lsa = new List<String>[10]; // not really allowed</code>Why is that not really allowed?
Arrays were not refitted to accept generics. The reason is explained and illustrated by the section Arrays on this page: http://java.sun.com/docs/books/tutorial/extra/generics/fineprint.htmlTher is some discussion of potential future changes to the situation.