https://issues.apache.org/bugzilla/show_bug.cgi?id=50726
--- Comment #2 from Róbert István <robert_ist...@epam.com> 2011-02-08 03:55:04 EST --- (In reply to comment #1) > 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 Thank you, it's clear for me now. Is it be possible to provide an official workaround like this? field = (new String("longstring_part1") + new String("longstring_part2") + ... new String("longstring_partn")).toCharArray(); -- 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org