From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23782 invoked by alias); 16 Aug 2014 09:44:02 -0000 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 Received: (qmail 23761 invoked by uid 89); 16 Aug 2014 09:44:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: mxin.vub.ac.be Received: from mxin.vub.ac.be (HELO mxin.vub.ac.be) (134.184.129.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 16 Aug 2014 09:43:58 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwBAP4m71Ne4rVr/2dsb2JhbAANTIQ3tlGfAQGBIIR6AQEBAwFuChELDgoJFg8JAwIBAgFFBgEMBgIBAYg2rhGWAhePU4RMAQSSIIEFgUqOY5FNaoJPAQEB Received: from 94-226-181-107.access.telenet.be (HELO [192.168.1.233]) ([94.226.181.107]) by smtp.vub.ac.be with ESMTP/TLS/DHE-RSA-AES128-SHA; 16 Aug 2014 11:43:56 +0200 Message-ID: <53EF27DB.8000602@telenet.be> Date: Sat, 16 Aug 2014 09:44:00 -0000 From: Ruben De Smet User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: Andrew Haley , java@gcc.gnu.org Subject: Re: Java > 1.5 References: <53EE496B.9020709@telenet.be> <53EF12B3.7000600@redhat.com> In-Reply-To: <53EF12B3.7000600@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E46cilFofxBPAkjCVipF0tacd2GqGBBfN" X-SW-Source: 2014-08/txt/msg00005.txt.bz2 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --E46cilFofxBPAkjCVipF0tacd2GqGBBfN Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 1623 On 08/16/2014 10:13 AM, Andrew Haley wrote: > On 15/08/14 18:54, Ruben De Smet wrote: >> Dear java@gcc.gnu.org list, >> >> I've gotten to compile some things with GCJ (hooray!) which don't run >> fine (ooooh). If I don't come to run it on my own, I'll certainly file a >> bug report or contact this list. >> >> I would like to avoid having to distribute a Java runtime to users, but >> my teammate is writing code in Java 1.7. I read GCJ only understands 1.5. >> >> Is there any development going on for Java 1.7? Would it be a lot of >> work to implement some Java 1.7 features? I would take it on me if neede= d. >=20 > Right now there's not much prospect of that. The problem is the class > libraries, which would require a lot of work. The best prospect is to > convert libgcj to use the libraries from OpenJDK, which would work, > but again the conversion would take maybe 6 months for someone who > knows gcj very well, along with some compiler changes. It could be > done, but there needs to be a compelling reason. Is there any reason gcj isn't yet using OpenJDK libraries, or is it just that you didn't think of that yet? I guess you'll have to implement all the new 1.6 and 1.7 Java features to get the OpenJDK libraries to work? >=20 >> There were two things I noticed with my teammates code that were using >> 1.7 features. @Override on interfaces and multi exception catch (like >> catch (IOException | OtherException e) ). >=20 > I'm sure it's possible. What would it take me to implement them? Should I CC a devel-mailinglist right here? Thank you for your time and answering my questions :) Ruben --E46cilFofxBPAkjCVipF0tacd2GqGBBfN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 473 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT7yfbAAoJEPgmWogSE9wQNPQIAL4384tNUmPr76q+y/jY0tWy XvLC2asLvQ4Ijw49vpWD0sW/iGp1RUqTdbMhP6ucLLhzjLAL7Yz3hars6TauiEqN b/wF5b48qmwgyZsC82Jb4Bm19vPtBKDYdZANqPwLIp4SpRIZTR7f2fT6WrZWYzBx T/I9f//8UCQt7lbOWSxsPjKvxl+uA9dwForfxNMr6/rOGAw/gl8uTuUtf2VhfSUY vrGdqMERLwA9QgnSj01hHY3tx+P2aYJx2HoXwn5j6hTiqghb4T5iAnmGRfCgadlT ndThKySM72MaiLLuRVC9fRU5Zg0wVzPUVjZUVuGU3VpcQQxLAATatXch1zMl4so= =DtIy -----END PGP SIGNATURE----- --E46cilFofxBPAkjCVipF0tacd2GqGBBfN--