Re: Invalid access flags: 33

Eric Bruneton <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
15/08/2011 08:57, Nikita Salnikov-Tarnovski wrote:
> Hi.
>
> I am getting the afore mentioned error from |CheckClassAdapter during
> ||visitInnerClass||. Looking into the code it seems that
> Opcodes.ACC_SUPER is not allowed for inner classes. Why? I was unable to
> find anything in JVM spec forbidding it. And this flag is from the
> original class I am instrumenting, not set by me.|

see p 143 of the class file format specification:

http://www.mobilefish.com/download/java/ClassFile-Java6.pdf

ACC_SUPER is not in the list of allowed acces flags for inner class 
attributes

Eric
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.