Re: Java > 1.5
Ruben De Smet <[email protected]> Sat, 16 Aug 2014 11:43:55 +0200
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
On 08/16/2014 10:13 AM, Andrew Haley wrote: > On 15/08/14 18:54, Ruben De Smet wrote: >> Dear [email protected] 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 needed. > > 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? > >> 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) ). > > 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
signature.asc
(application/pgp-signature, 473 B)
-----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-----