MXTests should now pass for both SWF and JS again.

-Alex

On 5/9/20, 10:05 PM, "Alex Harui" <[email protected]> wrote:

    Hmm.  The verify error was the easy part.  I'm now past 2 hours trying to 
get DataGrid to run in SWF mode.  When I said we didn't have to maintain 
functional parity, I was thinking about the adding of new functionality, not 
the breaking of existing functionality. :-(
    
    -Alex
    
    On 5/9/20, 2:40 PM, "Alex Harui" <[email protected]> wrote:
    
        OK, looked into it.  The SWF is hanging on a verify error.  The output 
is:
        
        return types dont match
             [java] Unexpected Trace:    virt Object 
org.apache.royale.core::IListDataItemRenderer/get 
org.apache.royale.core:IListDataItemRenderer::listData()
             [java] Unexpected Trace:    over 
mx.controls.listClasses::BaseListData 
mx.controls.dataGridClasses::DataGridHeaderRenderer/get listData()
             [java] Unexpected Trace: param 1 incompatible
             [java] Unexpected Trace:    virt org.apache.royale.core::IUIBase 
mx.core::IUIComponent/mx.core:IUIComponent::owns()
             [java] Unexpected Trace:    over mx.core::IUIComponent 
mx.controls.dataGridClasses::DataGridItemRenderer/owns()
        
        @Greg Dove, can you double-check the return types for 
DataGridHeaderRenderer listData and DataGridItemRenderer owns()?  I think they 
have to change to Object and IUIBase or something like that.   You should be 
able to compare against other listData and owns() APIs in MXRoyale.  I should 
have time to fix it in about 6 hours if you don't have time.
        
        Thanks,
        -Alex
        
        On 5/7/20, 12:14 PM, "Alex Harui" <[email protected]> wrote:
        
            The test swf is probably throwing an exception.  Just kill the 
task.  I will try to look at it someday.
            
            -Alex
            
            On 5/7/20, 12:10 PM, "Yishay Weiss" <[email protected]> wrote:
            
                Message is
                
                
                    [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 
-Xms384m -Xmx2g
                
                     [echo] launching player and swf 
C:\adobe\flash\11.7\flashplayerdebugger.exe 
C:\jenkins\workspace\royale-asjs_MXTests/mustella/tests/mxtests/basicTests/BasicTests.swf
                
                
                
                Any idea how to fix this?
                
            
            
        
        
    
    

Reply via email to