From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2417 invoked by alias); 1 Aug 2008 16:20:34 -0000 Received: (qmail 2408 invoked by uid 22791); 1 Aug 2008 16:20:33 -0000 X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.31) with SMTP; Fri, 01 Aug 2008 16:20:14 +0000 Received: (qmail invoked by alias); 01 Aug 2008 16:20:11 -0000 Received: from e178121121.adsl.alicedsl.de (EHLO [192.168.4.110]) [85.178.121.121] by mail.gmx.net (mp052) with SMTP; 01 Aug 2008 18:20:11 +0200 X-Authenticated: #17532834 Message-ID: <48933807.5080505@gmx.net> Date: Fri, 01 Aug 2008 16:20:00 -0000 From: Robert Schuster User-Agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509) MIME-Version: 1.0 To: Andrew Haley CC: Ciamak Abkai , java@gcc.gnu.org Subject: Re: GCJ compiles fine, but I get cast exception References: <4892D35C.2000800@rumms.uni-mannheim.de> <4892D6D6.3040908@redhat.com> In-Reply-To: <4892D6D6.3040908@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigF2CE4DBCAA1D19AF79C13081" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00004.txt.bz2 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF2CE4DBCAA1D19AF79C13081 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Content-length: 412 Hi, Andrew Haley schrieb: >> Graphics2D g2D =3D (Graphics2D)g; > GdkGraphics doesn't extend Graphics2D. Do you have any reason to > believe that it should? It extends Graphics. Typical implementation issue. On the other class library this is possible always. Once upon a time I found this written down somewhere. @Ciamak: You need a newer GCJ. In more recent versions the cast will work. Regards Robert --------------enigF2CE4DBCAA1D19AF79C13081 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 260 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkiTOAcACgkQG9cfwmwwEtqByACffDGmW7nxPS6Fz+dyIzlP8F9q /4IAn1hao42tPcwtKOJIAqFMj56r+VGc =+9+2 -----END PGP SIGNATURE----- --------------enigF2CE4DBCAA1D19AF79C13081--