Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Cannot Reproduce
-
Adobe Flex SDK 4.6 (Release), Apache Flex 4.8 (parity release)
-
None
-
None
-
MAC OX 10.8.2 with JVM 1.6.0_33
Description
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.
----- Code causing the issue —
var message:XMLList = (id > MAX_RESERVED_ID ? xmlErrors.error.(@code == id) : globalXmlErrors.error.(@code == id));
-------- 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