While RHEL 7 contains a newer ECJ release than RHEL 6, it is still older than 4.4. Thus it does not have full compatibility with Java 8. While Tomcat on RHEL 7 does not exhibit the behaviour seen in bug #1223609, it is possible that similar issues will arise in RHEL 7 due to future JDK 8 updates.
+++ This bug was initially created as a clone of Bug #1336481 +++
With the latest update to java-1.8.0-openjdk (java-1.8.0-openjdk-headless-18.104.22.168-0.b14.el6_7.x86_64) all JSP compilation for tomcat6 is broken. The workaround for the problem is to revert the java update to a previously stable release.
The reason for the problem is that ECJ's JDTCompiler classes have some sort of incompatibility with the OpenJDK update's java.io.ObjectInputStream class. This compatibility issue is causing an exception and preventing JSPs from compiling on tomcat6. See attached bug (https://bugzilla.redhat.com/show_bug.cgi?id=1223609#c13) for more details on this.
Is it possible to rebase ECJ to at least 4.4 to correct this?
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.