Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 6056 invoked from network); 27 Nov 2007 03:53:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2007 03:53:33 -0000 Received: (qmail 2227 invoked by uid 500); 27 Nov 2007 03:53:19 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 2199 invoked by uid 500); 27 Nov 2007 03:53:19 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 2190 invoked by uid 99); 27 Nov 2007 03:53:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 19:53:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nbeyer@gmail.com designates 64.233.170.190 as permitted sender) Received: from [64.233.170.190] (HELO rn-out-0102.google.com) (64.233.170.190) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 03:52:59 +0000 Received: by rn-out-0102.google.com with SMTP id e25so445961rng for ; Mon, 26 Nov 2007 19:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=+OVIdTSeQRgwi5XqIT1apLsyUuvRpu6V3gPFyHyu6ug=; b=Z+IuW139zudMpVKoHbJBgXXlBegEGwofQj4VoSe1FDaCvMRnY7Fy1Ar2x3CePQwnJIDueT+LkGnmD7eeu8FegHhE7/T/f3IUP2WaiDPu/rSZSObSYMabvvrhSACsjVjFDLNGcUELP8d0RSPF/MytajDrjUCdU5HlTz+h0LFcbEk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TzLl12w/vNGrydhyX5raN5IksH2Mni7mJ8tE9bBVnkDM0d5nFUjwbF0iR6r70PBYrvCzOuX+jzYfvuvS+5QFH5pkU1WhaLTOG15aevkq6Piac0Wbv34Ik7D/xjkMoCfsHrKMFbsY4zP0wcTP8KqdWXLVjCdRKcrbZREdZ60hPJk= Received: by 10.150.97.20 with SMTP id u20mr656461ybb.1196135582134; Mon, 26 Nov 2007 19:53:02 -0800 (PST) Received: by 10.150.215.12 with HTTP; Mon, 26 Nov 2007 19:53:02 -0800 (PST) Message-ID: <3b3f27c60711261953x110af617v7fe20690ff837bae@mail.gmail.com> Date: Mon, 26 Nov 2007 21:53:02 -0600 From: "Nathan Beyer" To: dev@harmony.apache.org Subject: Re: [classlib][luni] Compatibility :: EnumSet.elementType field doesn't exist In-Reply-To: <3D8E84095C6A524A985B787423094E4001890216@mssmsx411.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3D8E84095C6A524A985B787423094E40018901E0@mssmsx411.ccr.corp.intel.com> <474B4185.4070209@gmail.com> <3D8E84095C6A524A985B787423094E4001890216@mssmsx411.ccr.corp.intel.com> X-Virus-Checked: Checked by ClamAV on apache.org I agree with Tim. I don't think would should give much, if any, precedence to such efforts. Yes, it's trivial, but this slope is slippery. -Nathan On Nov 26, 2007 4:25 PM, Zakharov, Vasily M wrote: > > Thanks, Tim, I see your point. > > I just wonder that if we have a potential problem (that already created > an issue, and could potentially create more), and the thing is easy to > fix - then, though we're not guilty, why don't we fix it? > > Vasily > > > > -----Original Message----- > From: Tim Ellison [mailto:t.p.ellison@gmail.com] > Sent: Tuesday, November 27, 2007 12:58 AM > To: dev@harmony.apache.org > Subject: Re: [classlib][luni] Compatibility :: EnumSet.elementType field > doesn't exist > > Zakharov, Vasily M wrote: > > I'm trying to run Geronimo Unit Tests 2.0.2 on Harmony, and I've found > > that GUT uses XStream 1.1.3, which addresses > > java.util.EnumSet.elementType field that is package private in RI and > is > > absent in Harmony. > > Yep, it is non-api so just happens to be different in Harmony. > > > Of course, this is a problem in XStream, and moreover it's already > fixed > > there in v1.2.2 (see [1]), however, I think this is a point where we > > could be compatible with RI just in case some other application does > the > > same mistake. > > We are never going to address all the internal implementation > differences, so it is a question as to whether this is 'important > enough' to change the Harmony implementation. > > > Harmony implementation of EnumSet has elementClass field that seems to > > be the equivalent of RI's elementType field. So my suggestion is to > > rename elementClass to elementType and thus become more compatible and > > move GUT v2.0 enabling forward. > > > > I've filed HARMONY-5196 for this problem and attached a simple > renaming > > patch that I suggest to apply. > > > > Are there any objections? > > > > If not, than could someone please commit the patch? > > In this case, I see you have ascertained that XStream have fixed their > invalid reference, and Geronimo has moved up to the fixed version [1], > so I think we should not apply this renaming. I suspect there will be > more cases like this, and we'll have to deal with them one at a time -- > but while other projects are being accommodating and making the 'right' > fix then i think we should go that route. > > [1] > http://mail-archives.apache.org/mod_mbox/geronimo-dev/200711.mbox/%3c474 > B35C0.5090402@earthlink.net%3e > > Regards, > Tim > > -------------------------------------------------------------------- > Closed Joint Stock Company Intel A/O > Registered legal address: 125252, Moscow, Russian Federation, > Chapayevsky Per, 14. > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. >