Project

Profile

Help

Bug #3217

closed

Warning: bytecode generation fails for try/catch

Added by Taras Chervinka almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
2017-05-11
Due date:
% Done:

100%

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

Description

Warning seen while running the following expression in the latest saxon-ee 9.7.0.18:

let $x := try {
   1
}	
catch *
{
   2
}	

return xs:int($x)

Warning: Bytecode generation failed for main: (class: EE_main_01607683033, method: process signature: (Lnet/sf/saxon/expr/XPathContext;)V) Inconsistent stack height 1 != 2

See attached bytecode.

For 9.5, 9.6 warning is not returned but also fails bytecode generation (can be seen by adding debugByteCode="true")


Files

ByteCodeOutput.txt (13.7 KB) ByteCodeOutput.txt Taras Chervinka, 2017-05-11 13:54
EE_main_0526903503.txt (8.27 KB) EE_main_0526903503.txt Taras Chervinka, 2017-05-11 13:54

Please register to edit this issue

Also available in: Atom PDF