You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2006/09/07 19:49:22 UTC

[jira] Created: (XALANJ-2318) XSLTC generates bytecode that exceeds JVM limitation on method length for stylesheet with many different QNames in path expressions

XSLTC generates bytecode that exceeds JVM limitation on method length for stylesheet with many different QNames in path expressions
-----------------------------------------------------------------------------------------------------------------------------------

                 Key: XALANJ-2318
                 URL: http://issues.apache.org/jira/browse/XALANJ-2318
             Project: XalanJ2
          Issue Type: Bug
          Components: XSLTC
    Affects Versions: 2.7, Latest Development Code
            Reporter: Henry Zongaro
         Assigned To: Henry Zongaro


If a stylesheet uses path expressions with many different local names (and possibly many different namespaces), XSLTC might try to create a translet that exceeds the JVM Specification's 64KB limit on the length of a method.  Depending on the version of Xalan-Java involved, any of the following messages might be seen:

    Could not load the translet class 'name'
    Branch target offset too large for short
    A method in the translet exceeds the Java Virtual Machine limitation on the length of a method of 64 kilobytes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Commented: (XALANJ-2318) XSLTC generates bytecode that exceeds JVM limitation on method length for stylesheet with many different QNames in path expressions

Posted by "Christine Li (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2318?page=comments#action_12434223 ] 
            
Christine Li commented on XALANJ-2318:
--------------------------------------

The patch resolves the described problems. It looks good to me.

> XSLTC generates bytecode that exceeds JVM limitation on method length for stylesheet with many different QNames in path expressions
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XALANJ-2318
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2318
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: XSLTC
>    Affects Versions: Latest Development Code, 2.7
>            Reporter: Henry Zongaro
>         Assigned To: Henry Zongaro
>         Attachments: j2318.out, j2318.xml, j2318.xsl, patch.j2318.txt
>
>
> If a stylesheet uses path expressions with many different local names (and possibly many different namespaces), XSLTC might try to create a translet that exceeds the JVM Specification's 64KB limit on the length of a method.  Depending on the version of Xalan-Java involved, any of the following messages might be seen:
>     Could not load the translet class 'name'
>     Branch target offset too large for short
>     A method in the translet exceeds the Java Virtual Machine limitation on the length of a method of 64 kilobytes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Resolved: (XALANJ-2318) XSLTC generates bytecode that exceeds JVM limitation on method length for stylesheet with many different QNames in path expressions

Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2318?page=all ]

Henry Zongaro resolved XALANJ-2318.
-----------------------------------

    Fix Version/s: Latest Development Code
       Resolution: Fixed

Applied patch to source repository.

> XSLTC generates bytecode that exceeds JVM limitation on method length for stylesheet with many different QNames in path expressions
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XALANJ-2318
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2318
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: XSLTC
>    Affects Versions: Latest Development Code, 2.7
>            Reporter: Henry Zongaro
>         Assigned To: Henry Zongaro
>             Fix For: Latest Development Code
>
>         Attachments: j2318.out, j2318.xml, j2318.xsl, patch.j2318.txt
>
>
> If a stylesheet uses path expressions with many different local names (and possibly many different namespaces), XSLTC might try to create a translet that exceeds the JVM Specification's 64KB limit on the length of a method.  Depending on the version of Xalan-Java involved, any of the following messages might be seen:
>     Could not load the translet class 'name'
>     Branch target offset too large for short
>     A method in the translet exceeds the Java Virtual Machine limitation on the length of a method of 64 kilobytes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org