Re: Re: Analyzer does not use stack map frames

Eugene Kuleshov <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
> Sorry for not mentioning, I've been talking about
> org.objectweb.asm.tree.analysis.Analyzer
>
>>  I believe the Analyzer from analysis package is not using StackMap
>> data at all and that is on the purpose.
>
> Yes, quick glance at its code made me aware of this issue. But then,
> this Analyzer makes little sense if it ignores that. Could you clarify
> what the purpose was? Also, it cannot be mended by inheriting as its
> form leaves very little room for inheritance (large and hairy analyze
> method, private merge method)

  Have you studied a corresponding chapter in the ASMs User Guide book?
  Basically the intent is that you can implement/extend the
Interpreter, leaving the Analyzer unchanged. There is some examples in
the mentioned book.
  As for AnalyzerAdapter. Nothing stops you from adding it to the
chain before building in-memory tree.

  regards,
  Eugene
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.