This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: eliminate gcjh?
- From: Andrew Haley <aph at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Adam Megacz <megacz at gcc dot gnu dot org>, java at gcc dot gnu dot org
- Date: Mon, 8 Mar 2004 17:40:31 +0000
- Subject: Re: eliminate gcjh?
- References: <m1vflhnxid.fsf@nowhere.com><8765df2rrx.fsf@fleche.redhat.com>
Tom Tromey writes:
> >>>>> "Adam" == Adam Megacz <megacz@gcc.gnu.org> writes:
>
> Adam> Has there been any talk of integrating gcjh into gcj so that
> Adam> gcj -Istuff.jar foo.cc
> Adam> would infer the headers from the class files in stuff.jar?
>
> It's been thought of, but nobody has tried implementing it.
> Really you would be integrating this into g++, not gcj.
It would be much easier to do this in the gcj wrapper than in cc1plus.
> We're going to be facing some real problems with gcjh once we start
> looking at 1.5. For instance, 1.5 has covariant methods, I don't
> think you can express this in C++.
When is anyone going to need to write native covariant methods?
Andrew.