override mx_internal function setSelectedIndex
should be;
override public function setSelectedIndex //it's public now

ant build could be your java heap XMX… what's it set at?

paste the command you're using to run mxmlc

run ant with -d (e.g ant build -d)

what's your java -version say?

I'm running 1.7.0_79-b15


On Fri, Feb 3, 2017 at 8:11 AM, olegkon <[email protected]> wrote:

> Hi,
>
> We are trying to upgrade our Flex/BlazeDS4/Java8/Spring4 large web app
> from Flex 4.6 to 4.15.
> Getting a few issues:
> 1) compilation error on DropDownList:
> 1020: Method marked override must override another method.
> OptgroupDropDownList.as
> // Override the setSelectedIndex() mx_internal method to not select an item
> that has selectionEnabled=false.
>
>         override mx_internal function setSelectedIndex(value:int,
> dispatchChangeEvent:Boolean = false,
>
> changeCaret:Boolean=true):void
>
> 2) ant build takes Very long time (mostly in Flex compilation), much longer
> than before:
> from 2 min went to 30 mins.
>
> Please help.
>
> TIA,
> Oleg.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/Upgrading-web-app-to-Flex-4-15-tp14603.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Reply via email to