DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14577>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14577 comment mangles declaration Summary: comment mangles declaration Product: Tomcat 4 Version: 4.1.12 Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The double slash (//) comment inside a <%! %> declaration of a jsp leads to additional <%! %> declarations being commented out. Example: This code in the jsp file: <%! //RowList p_info; %> <%! RowList a_task; %> <%! RowList o_task; %> produces this code in the .java file: //RowList p_info; RowList a_task; RowList o_task; Thus, the a_task and o_task variables are undefined in later uses, and the code will not compile (excerpt): Tomcat 4.0.4 and 3.2.1 did not exhibit this behavior. Other than that, I cannot say when this bug may have been introduced. -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>