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 31A6C9D4B for ; Thu, 5 Apr 2012 22:25:47 +0000 (UTC) Received: (qmail 84847 invoked by uid 500); 5 Apr 2012 22:25:46 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 84817 invoked by uid 500); 5 Apr 2012 22:25:46 -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 84808 invoked by uid 99); 5 Apr 2012 22:25:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 22:25:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.167.159.180] (HELO mail.digitalprimates.net) (66.167.159.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 22:25:40 +0000 Received: from DPSBS1.digitalprimates.local ([fe80::5823:d1b4:86c2:3ad0]) by DPSBS1.digitalprimates.local ([fe80::5823:d1b4:86c2:3ad0%22]) with mapi id 14.01.0289.001; Thu, 5 Apr 2012 17:25:19 -0500 From: "Michael A. Labriola" To: "flex-dev@incubator.apache.org" Subject: RE: RFC - additional registerClassAlias Thread-Topic: RFC - additional registerClassAlias Thread-Index: Ac0TbSAqh5N4jQEBTpKqkIO4ZD9TXgAAfO8dAAALN+AAAC/MygAACRHQAADGgU8AAR1h8AAAtOEA Date: Thu, 5 Apr 2012 22:25:18 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.254.54] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org >For now, are you okay with adding this to VectorList and then going from t= here? I could do this by noticing the type of the Vector when a VectorList is ins= tantiated or when you attempt to serialize, but there is a catch. If I rece= ive a Vector from the server before the first time a VectorList is instanti= ated, the serialization will fail. That's a crappy thing to debug as multip= le paths through an application could yield different results.=20 I could also do it as a static initializer of the VectorList class so that = the first time the class is touched the register happens. Still not ideal, = but at least you would only pay if you used the VectorList. Thoughts? Mike