Access flags for inner classes
Eric Blake
ebb9@email.byu.edu
Thu Feb 27 03:02:00 GMT 2003
Inner classes have their attributes listed in two sections. At the
header of the .class file, the JVMS requires that all classes be public
or unmarked (default). The InnerClasses attribute is where the real
listing is made. I'm not sure if japitools is reporting the difference
between the two locations correctly.
Here is what SHOULD be happening:
class declared .class header InnerClasses
public public public
protected public protected
<default> <default> <default>
private <default> private
Tom Tromey wrote:
>>>>>>"Michael" == Michael Koch <konqueror@gmx.de> writes:
>>>>>>> Michael> japitools made me wonder if we set the access flags for inner
> Michael> classes correctly.
>> We may not. ISTR bugs in this area in the past. I don't know the
> current status. I think the thing to do would be to sit down with the
> JLS and figure out what we're supposed to do. Then see what we
> actually do.
>> Looking at the Jacks tests in this area would also be helpful.
>> Tom
>
--
This signature intentionally left boring.
Eric Blake ebb9@email.byu.edu
BYU student, free software programmer
More information about the Java
mailing list