Hi Andrew,

        Thank you for your help regarding this. Currently, everything
seems to be fine..
        but will post, if I find some probs after extensive testing 

Thank you
Reddy


>-----Original Message-----
>From: Andrew Huntwork [mailto:[EMAIL PROTECTED] 
>Sent: Mittwoch, 9. Februar 2005 15:52
>To: BCEL Users List
>Subject: Re: Query regarding index of local variables
>
>
>you didn't get the error i was expecting because you wrote the code i 
>was going to suggest to avoid it.  so it looks like you're in 
>good shape 
>now.
>
>Koduru, Rajendra Kumar Reddy wrote:
>> 
>>      Andrew, I did not get that type of error, however could you
>> please let me know , why were you expecting this??
>>      in non void methods, I was using 
>> 
>>      1.      new ASTORE(x)   // storing the result
>>      2.      jsr call                // calling jsr
>>      3.      new ALOAD(x)    // loading back the result
>>      4.      return          // returning the result
>> 
>>      and all the branches were reidrected to 1 (i.e store statement)
>> in case of non void methods
>> 
>>      so could you please let me know , why were you expecting an
>> error?? So that I could rectify it
>>      am I right in doing like this???
>> 
>>      However just to mention, I was also using methodgen.setMaxStack
>> before returning the isntrumented method
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to