This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: eliminate gcjh?
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/