This is the mail archive of the java-prs@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcj/298


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]