Created attachment 1027944 [details]
steps to reproduce:-
1. run tomcat6 on openjdk8/rhel6
2. deploy the attached sample.war
3. access http://localhost:8080/sample/
Created attachment 1096145 [details]
I think you need to upgrade ecj to eclipse-ecj-4.4.jar or higher to fix the problem.
To resolve this bug would require an update of the ECJ library to at least version 4.4. Given that we don't have any users experiencing this issue at the moment and that the issue can be worked around by moving the bad code (which uses Maps) from the JSP into a Servlet, or helper class, I am closing this out.
Also note that another alternative would be to use Java 7.
*** Bug 1337940 has been marked as a duplicate of this bug. ***
*** Bug 1338903 has been marked as a duplicate of this bug. ***
This bug is really a no-op for tomcat; once the dependent bug (https://bugzilla.redhat.com/show_bug.cgi?id=1336481) is fixed, then we can close this one as closed/currentrelease.
The ECJ update (bug 1336481) has been released.