2 Replies Latest reply on Oct 28, 2003 4:25 AM by rgallo001

    Illegal target of jump or branch

    Tony Newbie

      It appears that large JSPs evaluating to methods greater than 64K (relative branch limit) generate an "Illegal target of jump or branch". This is apparently happens if and only if you have snipplets since Jasper will otherwise factor the method into several methods, thus by-passing the 64K limit.

        • 1. Re: Illegal target of jump or branch
          mohan_cbe Newbie


          I am also getting same error "Illegal target of jum or branch". Can u give the solution of this problem.. I hope u can treat as urgent one.

          my id : mohan_cbe@rediffmail.com

          Thax in advance


          • 2. Re: Illegal target of jump or branch
            rgallo001 Newbie

            Hi guys,
            we're experiencing the same problem.
            We get the following message on the console:

            class: org/apache/jsp/_0005fpwc$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch

            I understood it is a problem related to method dimension exceeding 64K (and maybe due to too much <%@ include file='something.jsp'%> tags).
            I can't find any solution. We use Jboss 3.0, Tomcat 4.0.6 and Oracle 9i.

            Please we need help ASAP!!!!

            Many thanks in advance,