Re: invoke ClassReader#accept twice

"luc peuvrier at home" <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <27B95BED96D4409A9002BB93E3326A59@peuvrierluc>
----- Original Message ----- 
From: "Tronje Krop" <[email protected]>
To: <[email protected]>; <[email protected]>
Sent: Monday, August 02, 2010 8:21 AM
Subject: Re: [asm] invoke ClassReader#accept twice


>
> [email protected] wrote:
>> using asm 3.3
>> If I do:
>> classReader.accept(classVisitorForStorable,ClassReader.SKIP_CODE|
>> ClassReader.SKIP_DEBUG |ClassReader.SKIP_FRAMES);
>> then
>> classReader.accept(classVisitor, 0);
>>
>> the second visit do not visit code.
>> I think it is a bug
>
> No it is absolutely naturally, because you activated 
> ClassReader.SKIP_CODE.
> This means you will just visit the structural class elements and not the
> method bodies with its code.
>
> CU Tronje
>
I do nat agree with you because the seconde call have not 
ClassReader.SKIP_CODE
It seems the class reader keep in memory than it already done: it is a bug 
or a feature ?
Luc Peuvrier
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.