Eclipse tells me that arrays of generic types are not legal, e.g.: it
won't allow the following:
QuadTree<MyNodeType> [] allQuadTrees;
Do you use a version of Eclipse that supports JDK 1.5/5.0?
From
http://www.eclipse.org/jdt/index.html:
"J2SE 1.5 support was *not* officially scheduled for Eclipse 3.0
release, since J2SE 1.5 was not finalized before 3.0 release date,
and we did not want to jeopardize the 3.0 release by integrating
beta quality tooling. In parallel to the 3.0 effort, we were still
implementing an experimental version of JDT Core with 1.5 support
(mostly focusing on adding generics support to Eclipse Java
compiler). You may find details and previews of our ongoing effort
(codename "Cheetah") in our update area."
However, it seems this "experimental" support has been improved in
3.0.1 which is the latest public release.