#1211 Invalid method Code length exception for bytecode

v9.4
open
oneil
5
2012-10-08
2012-02-01
oneil
No

When the Invalid method Code length exception for generated bytecode is thrown the code crashes.
Fix: catch such exceptions and output a warning on the error listener.

Discussion

  • oneil
    oneil
    2012-02-01

    In addition, fix applied to OptimizeEE:

    We check the count of sub-expressions in a expression tree for a xsl-template or function. If the count is over some threshold we interpret the parent expression and recursively check and compile sub-expressions into bytecode that is below the threshold.