Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BB3BD606 for ; Tue, 13 Nov 2012 11:18:15 +0000 (UTC) Received: (qmail 26184 invoked by uid 500); 13 Nov 2012 11:18:14 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 25881 invoked by uid 500); 13 Nov 2012 11:18:13 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 25811 invoked by uid 99); 13 Nov 2012 11:18:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2012 11:18:12 +0000 Date: Tue, 13 Nov 2012 11:18:11 +0000 (UTC) From: "Philippe Le Berre (JIRA)" To: flex-dev@incubator.apache.org Message-ID: <121674903.106888.1352805492158.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (FLEX-33254) compc exception on bad import MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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