I have a strange problem with Eclipse Galileo. I set Java 1.6 as my JRE. On this line of code
List templates = new ArrayList ();
I see
For those, who will get there from Google: the problem was with cryptix library. When I removed it from java build path the project is compiled sucesfully.