This is the mail archive of the
java-prs@sources.redhat.com
mailing list for the Java project.
Re: gcj/298
- To: apbianco at cygnus dot com
- Subject: Re: gcj/298
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: 1 Nov 2000 02:16:00 -0000
- Cc: java-prs at sourceware dot cygnus dot com,
- Reply-To: Alexandre Petit-Bianco <apbianco at cygnus dot com>
The following reply was made to PR gcj/298; it has been noted by GNATS.
From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: Bryce McKinlay <bryce@albatross.co.nz>
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/298
Date: Tue, 31 Oct 2000 18:07:50 -0800 (PST)
Bryce McKinlay writes:
> When a method's signature matches exactly a method declared in an
> outer context, the innermost definition is always used, unless the
> call is explicitly qualified with "Outerclass.this".
OK.
> However, outer contexts still need to be checked, because in the
> case where an intermediate context inherits a method that hides a
> method in an outer context, javac throws an error. eg:
OK.
This makes sense -- do you happen to know where in the LRM all this is
specified.
./A