From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29962 invoked by alias); 21 Jun 2006 18:50:11 -0000 Received: (qmail 29954 invoked by uid 22791); 21 Jun 2006 18:50:11 -0000 X-Spam-Check-By: sourceware.org Received: from smtp806.mail.ukl.yahoo.com (HELO smtp806.mail.ukl.yahoo.com) (217.12.12.196) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 21 Jun 2006 18:50:07 +0000 Received: (qmail 76638 invoked from network); 21 Jun 2006 18:50:03 -0000 Received: from unknown (HELO orthanc.middle-earth.co.uk) (hughes2002@btinternet.com@86.137.33.10 with plain) by smtp806.mail.ukl.yahoo.com with SMTP; 21 Jun 2006 18:50:03 -0000 Received: from rivendell.middle-earth.co.uk ([192.168.0.1] ident=gandalf) by orthanc.middle-earth.co.uk with esmtp (Exim 4.50) id 1Ft7m7-0005pI-5h; Wed, 21 Jun 2006 19:50:03 +0100 Subject: Re: new module From: Andrew John Hughes To: Mark Wielaard Cc: tromey@redhat.com, Mauve News Group In-Reply-To: <1150887245.2600.26.camel@elsschot.wildebeest.org> References: <1150736580.7451.90.camel@localhost.localdomain> <1150876346.4407.7.camel@localhost.localdomain> <9BDBA329-C8C7-4D7C-8D3E-AE58D2D3524B@dcs.shef.ac.uk> <1150887245.2600.26.camel@elsschot.wildebeest.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-i4/KT3mIMxVGfkacUPEJ" Date: Wed, 21 Jun 2006 18:50:00 -0000 Message-Id: <1150915803.7451.164.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 X-IsSubscribed: yes Mailing-List: contact mauve-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sourceware.org X-SW-Source: 2006-q2/txt/msg00018.txt.bz2 --=-i4/KT3mIMxVGfkacUPEJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 2498 On Wed, 2006-06-21 at 12:54 +0200, Mark Wielaard wrote: > On Wed, 2006-06-21 at 09:45 +0100, Andrew John Hughes wrote: > > Hallelujah! We might finally see the result of Tom's concurrency patch. >=20 > :) We might, but apart from one small typo in the Ecj build script, > fixed as follows: >=20 > 2006-06-21 Mark Wielaard >=20 > * Ecj: Fix jikese typo. >=20 > there is a compilation error on the generics branch which might or might > not be valid (I don't have the language spec handy): >=20 > 3. ERROR in ../../classpath/java/util/Collections.java > (at line 6622) > (Class>) Map.Entry.class; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Cannot cast from Class to Class> >=20 > Cheers, >=20 > Mark >=20 > --- scripts/Ecj 19 Jun 2006 19:53:33 -0000 1.2 > +++ scripts/Ecj 21 Jun 2006 10:48:57 -0000 > @@ -88,7 +88,7 @@ > cd org.eclipse.jdt.core > exec > ../ecj-native-build/Log.Std 2>&1 > set -e > -find compiler batch -name \*.java | CLASSPATH=3Dcompiler:batch xargs ../= ecj-gcj-build/ecj -1.4 -bootclasspath $TOP/classpath/jikese-install/share/c= lasspath/glibj.zip -classpath compiler:batch -d ../ecj-native-build -nowarn > +find compiler batch -name \*.java | CLASSPATH=3Dcompiler:batch xargs ../= ecj-gcj-build/ecj -1.4 -bootclasspath $TOP/classpath/jikes-install/share/cl= asspath/glibj.zip -classpath compiler:batch -d ../ecj-native-build -nowarn > ) >=20 > Report "ecj built with native-ecj" $? ecj-native-build/Log.Std >=20 >=20 My reading of the language spec. is that ecj is right (and should have been earlier), but feel free to disagree. A cast from one parameteric type to another, where both are fully specified (i.e. no wildcards), is basically an equality test i.e. the conversion from G(T_1, T_2 ... T_n) to G(S_1, S_2 ... S_n) holds if S_1 =3D T_1 etc. where none of T_1..T_n or S_1..S_n are wildcards. --=20 Andrew :-) Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments. See http://www.fsf.org/philosophy/no-word-attachments.html If you use Microsoft Office, support movement towards the end of vendor lock-in: http://opendocumentfellowship.org/petition/ "Value your freedom, or you will lose it, teaches history. `Don't bother us with politics' respond those who don't want to learn." -- Richard Stallman Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html public class gcj extends Freedom implements Java { ... } --=-i4/KT3mIMxVGfkacUPEJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEmZTaiJkFJGin1vIRAnydAJ9TG8wHm10fTK5z2pmXk309q+gojQCfY2UZ jb7Noev2exXqE3iqPX8SQUE= =tITM -----END PGP SIGNATURE----- --=-i4/KT3mIMxVGfkacUPEJ--