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 2011/02/08 09:17:41 UTC
DO NOT REPLY [Bug 50726] Jasper can generate uncompilable source
code if genStringAsCharArray is turned on
https://issues.apache.org/bugzilla/show_bug.cgi?id=50726
--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> 2011-02-08 03:17:35 EST ---
The genStringAsCharArray option affects the
o.a.jasper.compiler.Generator.GenerateVisitor#visit(Node.TemplateText) method.
It generates char array fields in the JSP page class initialized as
field = "string".toCharArray();
The "string" constants have 64K limit on string length. It is not run-time
limitation, but a limitation of the Java Class File format, see [1]. Apparently
it is what is being hit here.
[1]
http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#88659
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org