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 2002/03/09 15:11:49 UTC

DO NOT REPLY [Bug 6998] New: - java code generated by jspc can't be compiled

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=6998>.
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=6998

java code generated by jspc can't be compiled

           Summary: java code generated by jspc can't be compiled
           Product: Tomcat 4
           Version: 4.0.4 Beta 1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: gert.driesen@ardatis.com


I have a rather large jsp page which compiles fine if I use the weblogic jsp 
compiler, but I can't compile the java code that's generated by the jasper jsp 
compiler.

When I compile the java code generated by jasper for this specific jsp page I 
get the following errors :

    [javac] 
C:\DIGO\DINA\Ontwikkeling\Build\src\jsp_servlet\PerceelGunning.java:10213: code 
too large for try statement
    [javac]               try {
    [javac]                   ^
    [javac] 
C:\DIGO\DINA\Ontwikkeling\Build\src\jsp_servlet\PerceelGunning.java:10251: code 
too large for try statement
    [javac]                       try {
    [javac]                           ^
    [javac] 

.......

We only get these errors for one jsp page, which also happens to be our largest 
jsp page.  The jsp itself is 71 Kb and the java code for the jsp is 663 Kb (and 
about 11000 lines).

I can send you the jsp page and the generated java code (from both the weblogic 
jsp compiler and the Jasper jsp compiler) if you like.

Just let me know if you need more information.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>