Re: Re: Class Parsing Error "Incompatible stack heights"

Eugene Kuleshov <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
  I guess you will find out when you run your code.

  regards,
  Eugene

On Mon, Jan 31, 2011 at 8:30 PM, Buu Vinh <[email protected]> wrote:

> Sorry Eugene, I'm now using mailing list as you suggested.
>
> Regarding the error "Incompatible stack heights", I used
> ClassReader.SKIP_FRAMES to get rid of these error during parsing. Is this a
> desirable solution? Thanks.
>
> --- On *Mon, 1/31/11, Eugene Kuleshov <[email protected]>* wrote:
>
>
> From: Eugene Kuleshov <[email protected]>
> Subject: [asm] Re: Class Parsing Error "Incompatible stack heights"
> To: [email protected]
> Date: Monday, January 31, 2011, 5:52 PM
>
>
>
>   Please address mailing list for such questions.
>   The code you producing has different stack sizes at one of the merge
> points of execution branches.
>
>   regards,
>   Eugene
>
>
> On Mon, Jan 31, 2011 at 6:25 PM, Buu Vinh <[email protected]<http://mc/[email protected]>
> > wrote:
>
> Correction: I used ClassWriter.COMPUTE_MAXS for the automatic computation
> of maxLocals, maxStack and frames.
>
> --- On *Mon, 1/31/11, Buu Vinh <[email protected]<http://mc/[email protected]>
> >* wrote:
>
>
> From: Buu Vinh <[email protected] <http://mc/[email protected]>>
> Subject: [asm] Class Parsing Error "Incompatible stack heights"
> Date: Monday, January 31, 2011, 3:20 PM
>
>
> According to CheckClassAdapter, class parsing resulted in error
> "Incompatible stack hights" even though I used ClassReader.EXPAND_FRAMES to
> ensure that maxStacks, maxLocals and frames are automatically computed by
> ASM. Please provide some scenarios that might cause "incompatible stack
> hights" so that I can figure it out which area of my code that need to be
> reviewed. Thanks.
>
>
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.