Created attachment 31636 [details] Failing minimal webapp Taking an existing Tomcat/webapp installation and running with JDK 1.8 leads to compile errors with Jasper. It seems due to Eclipse defect 390889 https://bugs.eclipse.org/bugs/show_bug.cgi?id=390889 Attached is a reduced webapp which works fine when run with JDK 1.6 or 1.7 but fails with 1.8. (First reported at https://issues.apache.org/bugzilla/show_bug.cgi?id=56283)
Replacing ecj-P20140317-1600.jar with ecj-4.4M7.jar from http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/S-4.4M7-201405010200/ecj-4.4M7.jar seems to fix the problem.
ECJ 4.4RC1 is available. Should we wait for the official release? (which will happen end of June with Luna release)
I'd be concerned about regressions using an ECJ RC in a stable Tomcat version. Upgrading ECJ is as simple as replacing the JAR so users impacted by this bug have a simple fix available.
It would be a good plan to upgrade 8 asap, however, even if the JDT build is a bit "new".
I've updated 8.0.x to 4.4RC1 which will be included in 8.0.9 onwards.
(In reply to Mark Thomas from comment #5) > I've updated 8.0.x to 4.4RC1 which will be included in 8.0.9 onwards. r1596227 + r1596227 The official release of Eclipse 4.4 is expected in a month - on June 25, 2014 ("Luna") [1] [1] http://projects.eclipse.org/releases
I've updated 8.0.x to 4.4 RC4.
JDT has been updated to version 4.4 in trunk for 8.0.10 and in 7.0.x for 7.0.55 onwards.