Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Apache FlexJS 0.8.0
-
None
-
None
Description
Code to reproduce:
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:local="*">
<js:valuesImpl>
<js:SimpleCSSValuesImpl/>
</js:valuesImpl>
<js:initialView>
<js:Tree id="tree" labelField="label">
<js:dataProvider>
<js:HierarchicalData>
<js:source>
<fx:Object>
<fx:children>
<fx:Object label="One"/>
<fx:Object label="Two"/>
<fx:Object label="Three"/>
<fx:Object label="Four"/>
<fx:Object label="Five"/>
</fx:children>
</fx:Object>
</js:source>
</js:HierarchicalData>
</js:dataProvider>
</js:Tree>
</js:initialView>
</js:Application>
Result:
Compilation fails with an error:
Generated byte code contains an operand stack underflow.