eliminate gcjh?

Andrew Haley aph@redhat.com
Mon Mar 8 17:41:00 GMT 2004


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.



More information about the Java mailing list