The newest eclipse compiler jar from (http://apache.multihomed.net/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24.zip) seems to fix the problem, without having to set the target to 1.6.
The newest eclipse compiler jar from (http:// apache. multihomed. net/tomcat/ tomcat- 6/v6.0. 24/bin/ apache- tomcat- 6.0.24. zip) seems to fix the problem, without having to set the target to 1.6.