This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]