Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33254

compc exception ( <cond> ? <case 1 : XML.<entity>.(@attribute == value) : <case2 : XML.<entity>.(@attribute == value)>)

    XMLWordPrintableJSON

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            pleberre Philippe Le Berre
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: