ecj-3.7.2 is available http://download.eclipse.org/eclipse/downloads/eclipse3x.php -> Latest Release -> 3.7.2 -> JDT Core Batch Compiler It gives: http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/index.php#JDTCORE
*** Bug 52925 has been marked as a duplicate of this bug. ***
Created attachment 28478 [details] 2012-03-16_tc6_52805_ecj372.patch In 7.0.x it was fixed by r1300573 I am attaching patch for 6.0.x. A caveat is that the patch updates res/maven/jasper.pom, but I do not see "org.eclipse.jdt.core.compiler" version 3.7.2 being available from Maven Central now [1]. [1] http://search.maven.org/#search|ga|1|g%3A%22org.eclipse.jdt.core.compiler%22
Patch was proposed for 6.0.x. Moving the issue to Tomcat 6, because it is already fixed in 7.0.x.
Applied the patch to 6.0.x in r1327293 - will be in 6.0.36.