Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 098C9200B40 for ; Fri, 1 Jul 2016 22:11:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 080ED160A61; Fri, 1 Jul 2016 20:11:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 502D5160A4D for ; Fri, 1 Jul 2016 22:11:12 +0200 (CEST) Received: (qmail 22340 invoked by uid 500); 1 Jul 2016 20:11:11 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 22327 invoked by uid 99); 1 Jul 2016 20:11:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2016 20:11:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 151252C02A1 for ; Fri, 1 Jul 2016 20:11:11 +0000 (UTC) Date: Fri, 1 Jul 2016 20:11:11 +0000 (UTC) From: "Alex Harui (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FLEX-35104) [FlexJS] Binding Problem in Flash MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 01 Jul 2016 20:11:13 -0000 [ https://issues.apache.org/jira/browse/FLEX-35104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Harui resolved FLEX-35104. ------------------------------- Resolution: Fixed Fix Version/s: Apache FalconJX 0.7.0 920b1d25a4665111a877ece250e3fdb254769686 > [FlexJS] Binding Problem in Flash > --------------------------------- > > Key: FLEX-35104 > URL: https://issues.apache.org/jira/browse/FLEX-35104 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS > Affects Versions: Apache FlexJS 0.6.0 > Reporter: Yishay Weiss > Assignee: Alex Harui > Fix For: Apache FalconJX 0.7.0 > > > There seems to be a problem with binding when extending a class in the flash version. This js version works fine. I'm using the nightly build from 6/30/16 > I'm getting > runtime error > -------- > VerifyError: Error #1053: Illegal override of TestFacade in TestFacade. > ------- > when calling getInstance() on TestFacade, which is > ----------- > package > { > public class TestFacade extends TestBase > { > [Bindable] > public static var DEBUG_MODE:Boolean = false; > > private static var myInstance:TestFacade; > public function TestFacade() > { > super(); > } > > public static function getInstance():TestFacade > { > if (myInstance == null) > myInstance = new TestFacade(); > return myInstance as TestFacade; > } > } > } > -------------- > TestBase is > --------------- > package > { > public class TestBase > { > public function TestBase() > { > } > } > } > ---------- > Application code is: > -------- > initialize="application1_initializeHandler(event)" > xmlns:js="library://ns.apache.org/flexjs/basic"> > > import org.apache.flex.events.Event; > > public var facade:TestFacade; > > protected function application1_initializeHandler(event:org.apache.flex.events.Event):void > { > facade = TestFacade.getInstance(); > } > > ]]> > > > > > > > > > > > > > > > ---------- -- This message was sent by Atlassian JIRA (v6.3.4#6332)