[Bug java/15133] gcjh generates wrong method signatures

rmathew at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 27 10:25:00 GMT 2004

------- Additional Comments From rmathew at gcc dot gnu dot org  2004-04-27 10:25 -------
The problem is that disambiguation using arguments should only happen
for *native* overloaded methods - in this case, even a non-native
method triggers the disambiguation logic.

More specifically, in gjavah.c we should also keep track of 
whether a method seen before was native and use this information in

I have a patch for this which I will submit shortly, assuming it
passes all tests - it certainly resolves this particular testcase
and also behaves correctly when more overloaded native methods
are present.



More information about the Java-prs mailing list