I get the same error; but only if I import
import org.apache.flex.collections.ArrayList;
If I use the other proposed alternative
import mx.collections.ArrayList;
the error does not show up. As far as I can tell both options work, even
on Android (although I think mx: should be avoided on mobile devices).
I would help knowing how to either avoid that error and/or getting some
guidance on what is the best choice/compromise.
Perhaps this is kind of compatibility issue of
import org.apache.flex.collections.ArrayList;
and
import mx.collections.ArrayCollection;
??
Regards
Hans
Am 19.02.2015 um 15:55 schrieb Robert N:
Sorry for the sloooowwww reply, got sucked into the black hole of a refactor of
132k lines of AS... :-/
Yes, the project that compiler warning is coming from uses standard framework
RSLs plus another 11 custom swfs (swc based libraries).
Thanks, R
----------------------------------------
From: aha...@adobe.com
To: users@flex.apache.org
Subject: Re: Warning: A mapping for 'org.apache.flex.collections.ArrayList' to
the remote class alias 'flex.messaging.io.ArrayList'
Date: Mon, 9 Feb 2015 06:01:10 +0000
Is there more than one SWF involved?
On 2/7/15, 8:53 PM, "Robert N" <sushihango...@outlook.com> wrote:
SDK: ApacheFlex-4.14.0-Air16
Any information on why am I receiving the following RemoteClass warning
regarding ArrayList? I am using remote aliases but those are on custom
classes and am not trying to override anything related to ArrayList (mx
or flex package related?).
Warning: A mapping for 'org.apache.flex.collections.ArrayList' to the
remote class alias 'flex.messaging.io.ArrayList' was found while
processing class 'mx.collections.ArrayList'. Flex now generates code to
check if an alias has already been registered. When deserializing remote
data an alias can only map to a single class.
Is this just an 'issue' within the SDK?
TIA, R