Patch: RFA: Fix java/20697
Andrew Haley
aph@redhat.com
Wed Jun 22 18:16:00 GMT 2005
Bryce McKinlay writes:
> 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
>
> 2005-06-15 Bryce McKinlay <mckinlay@redhat.com>
>
> PR java/20697
> * parse.y (find_most_specific_methods_list): Remove special case for
> inner classes.
OK, thanks.
Andrew.
More information about the Java-patches
mailing list