Project

Profile

Help

Bug #15

closed

Invalid method Code length exception for bytecode

Added by Anonymous about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Byte code generation
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Legacy ID:
sf-3482698
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

SourceForge user: ond1

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.

Actions #1

Updated by Anonymous about 12 years ago

SourceForge user: ond1

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.

Actions #2

Updated by Michael Kay almost 12 years ago

  • Status changed from New to Resolved
  • Fixed in version set to 9.4.0.2
Actions #3

Updated by Michael Kay almost 12 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100

Please register to edit this issue

Also available in: Atom PDF