gcj/298
Alexandre Petit-Bianco
apbianco@cygnus.com
Tue Oct 31 18:16:00 GMT 2000
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
More information about the Java-prs
mailing list