You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/10/19 16:53:10 UTC
DO NOT REPLY [Bug 31777] New: -
Tomcat 5.0.29 cannot compile JSPs when run with Java 5
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31777>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31777
Tomcat 5.0.29 cannot compile JSPs when run with Java 5
Summary: Tomcat 5.0.29 cannot compile JSPs when run with Java 5
Product: Tomcat 5
Version: 5.0.29
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: jessh@ptc.com
Tomcat 5.0.28 ran fine under Java 5, including compilation of JSP pages.
Tomcat 5.0.29 runs fine under Java 5 *except* that it cannot compile JSP pages.
The issue is that Tomcat 5.0.29 sets the 'target' JVM version to 1.3, but does
not set the option for Java source version. The javac in JDK 1.5 defaults this
to 1.5 -- and throws a fatal error given -target 1.3 and no -source specified
(or -source 1.5, for that matter).
This is a substantial regression.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org