incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Le Berre (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33254) compc exception on bad import
Date Tue, 13 Nov 2012 11:18:11 GMT
Philippe Le Berre created FLEX-33254:
----------------------------------------

             Summary: compc exception on bad import
                 Key: FLEX-33254
                 URL: https://issues.apache.org/jira/browse/FLEX-33254
             Project: Apache Flex
          Issue Type: Bug
          Components: MXML Compiler - Error Reporting
    Affects Versions: Adobe Flex SDK 4.6 (Release), Apache Flex 4.8 (parity release)
         Environment: MAC OX 10.8.2 with JVM 1.6.0_33
            Reporter: Philippe Le Berre
            Priority: Critical


An invalid import statement like import org.example.util.printf causes compc to always crash
in what sounds like an ArrayOutOfBoundIndexException. The error is reproduced in 4.6 and 4.8.


--------------------- sample of the compc output -------
package org.example.rpc {
    import org.example.util.printf; // does not exists in directory org/example/util 

    public class Sample {
    }
}

-------- compc output (using include-sources) -------
flex-libs:
    [compc] Loading configuration file /SDK/flex/4.8/frameworks/flex-config.xml
    [compc] Error: Index: 10, Size: 6
    [compc] 

BUILD FAILED


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message