eliminate gcjh?

Per Bothner per@bothner.com
Tue Mar 9 18:38:00 GMT 2004


Tom Tromey wrote:

> Suppose we have a Java .class file that has one of these bridge
> methods.  In essence it looks like:
> 
>   class foo extends something {
>      Object m () { ... }
>      String m () { ... }
>   }
> 
> Now suppose we generate a .h file from this.
 >
 > If you rename either method, ...

To repeat myself:  The right thing for gcjh to do is to ignore
the first method.  This is easy to do, because it is marked as
"Synthetic" and "Bridge".
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Java mailing list