Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 1298 invoked from network); 29 Aug 2006 03:36:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2006 03:36:31 -0000 Received: (qmail 71445 invoked by uid 500); 29 Aug 2006 03:36:29 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 71384 invoked by uid 500); 29 Aug 2006 03:36:28 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 71373 invoked by uid 99); 29 Aug 2006 03:36:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 20:36:28 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 202.81.18.152 is neither permitted nor denied by domain of smallsmallorgan@gmail.com) Received: from [202.81.18.152] (HELO ausmtp04.au.ibm.com) (202.81.18.152) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 20:36:27 -0700 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp04.au.ibm.com (8.13.6/8.13.5) with ESMTP id k7T3hUeJ169576 for ; Tue, 29 Aug 2006 13:43:33 +1000 Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.250.242]) by sd0208e0.au.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id k7T3dGhn190458 for ; Tue, 29 Aug 2006 13:39:25 +1000 Received: from d23av01.au.ibm.com (loopback [127.0.0.1]) by d23av01.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k7T3Zpbv023076 for ; Tue, 29 Aug 2006 13:35:51 +1000 Received: from d23m0011.cn.ibm.com (d23m0011.cn.ibm.com [9.181.32.74]) by d23av01.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k7T3ZNq4022244 for ; Tue, 29 Aug 2006 13:35:50 +1000 Received: from [9.181.106.176] ([9.181.106.176]) by d23m0011.cn.ibm.com (Lotus Domino Release 6.5.5HF262) with ESMTP id 2006082911313396-11592 ; Tue, 29 Aug 2006 11:31:33 +0800 Message-ID: <44F3B511.8020007@gmail.com> Date: Tue, 29 Aug 2006 11:31:29 +0800 From: Spark Shen User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: [classlib] Sun compiler change? References: <006901c6cb0e$61c292c0$0201a8c0@LITTLEGUY> In-Reply-To: <006901c6cb0e$61c292c0$0201a8c0@LITTLEGUY> X-MIMETrack: Itemize by SMTP Server on D23M0011/23/M/IBM(Release 6.5.5HF262 | April 5, 2006) at 29/08/2006 11:31:34, Serialize by Router on D23M0011/23/M/IBM(Release 6.5.5HF262 | April 5, 2006) at 29/08/2006 11:35:50 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Nathan Beyer =E5=86=99=E9=81=93: > There were some compiler changes according to the release notes [1]. Of > particular note is this bug fix [2], which is related to a number of bugs= . I > think this may be it. > =20 So, I think at the moment, it is more safe to use the below=20 pattern(different compiler implements slightly different generic feature): EnumSet set =3D (EnumSet)collection; and leave the warning as it is. When compiler itself is consistent with gen= eric, these warning may remind us later. Best regards > -Nathan > > [1] https://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150=5F08 > [2] http://bugs.sun.com/bugdatabase/view=5Fbug.do?bug=5Fid=3D4916620 > > =20 >> -----Original Message----- >> From: Nathan Beyer [mailto:nbeyer@kc.rr.com] >> Sent: Friday, August 25, 2006 6:55 PM >> To: harmony-dev@incubator.apache.org >> Subject: [classlib] Sun compiler change? >> >> Is anyone else using the latest Sun JDK, v5.0 Update 8 on Windows? >> >> >> >> I'm seeing a compilation error in the LUNI that I don't see with 5.0 >> Update >> 7. Here's the error I'm getting. >> >> >> >> compile: >> >> [mkdir] Created dir: >> C:\dev\harmony\enhanced\classlib\trunk\build\classes >> >> [javac] Compiling 3173 source files to >> C:\dev\harmony\enhanced\classlib\trun >> >> k\build\classes >> >> [javac] >> C:\dev\harmony\enhanced\classlib\trunk\modules\luni\src\main\java\ja >> >> va\util\MiniEnumSet.java:78: inconvertible types >> >> [javac] found : java.util.Collection >> >> [javac] required: java.util.EnumSet >> >> [javac] EnumSet set =3D (EnumSet) collection; >> >> [javac] ^ >> >> >> >> >> >> When I compile in Eclipse 3.2 there's no error. >> >> >> >> -Nathan >> =20 > > > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > =20 --=20 Spark Shen China Software Development Lab, IBM --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org