This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: RFA: Fix java/20697
- From: Andrew Haley <aph at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 22 Jun 2005 18:50:07 +0100
- Subject: Re: Patch: RFA: Fix java/20697
- References: <42B0B70B.9010802@redhat.com>
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.