Patch: RFA: Fix java/20697

Bryce McKinlay mckinlay@redhat.com
Wed Jun 15 23:18:00 GMT 2005


This patch fixes bug java/20697 (aka java/22060). 
find_most_specific_method_list() contained a special case that assigns a 
higher "specific count" to inner classes. This doesn't appear to serve 
any useful purpose and probably dates from when 
find_applicable_accessible_methods_list() used to incorrectly dig 
through enclosing contexts in search of candidate methods. Because of 
this, a regular class and its inner-class super could end up with the 
same count and trigger a bogus ambiguity error.

No testsuite regressions (including JACKS). OK?

Bryce

-------------- next part --------------
A non-text attachment was scrubbed...
Name: java-PR20697.patch
Type: text/x-patch
Size: 1037 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050615/037373db/attachment.bin>


More information about the Java-patches mailing list