RFR [JDK8]: 7153951: -Xlint:auxiliaryclass

Joel Borggrén-Franck joel.franck at oracle.com
Tue Sep 25 13:15:16 PDT 2012


On Sep 25, 2012, at 8:44 PM, Fredrik Öhrström <oehrstroem at gmail.com> wrote:

> 2012/9/24 Jonathan Gibbons <jonathan.gibbons at oracle.com>:
>> 
>> Does this work correctly with inner classes, which are initially treated as
>> top level classes, but then subsequently converted to inner classes, when
>> more of the necessary info is known?
> 
> It seems like it works properly. When in ClassReader the test against Kinds.PCK
> is done, inner classes do report their owner to be Kinds.TYP.
> 

The check is triggered in Attr. Inner classes from a class-file should have been sorted out by then, right?

cheers
/Joel


More information about the compiler-dev mailing list