[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scene transformation



Hello all,

I am trying to do a scene transformation by using soot framework. I am 
simply adding a method to a class, say try1.Hello1, which has a parameter of 
the same type, try1.Hello1. Then I am calling this method from try1.Hello, 
something like this :
Hello1 x = new Hello1;
x.method1(x);

When I am creating method1, I use "RefType.v(helloClass)" pattern for the 
parameter, where helloClass is a SootClass.

Everything looks all right after the transformation is done, but when I run 
the transformed class, I get the following error..

E:\fal00>java try1.Hello
main in java.lang.Object.try1.Hello
Exception in thread "main" java.lang.IncompatibleClassChangeError
        at deneme.Hello1.method1(deneme.Hello1.jasmin)
        at deneme.Hello.main(deneme.Hello.jasmin)

E:\fall00>

I do not understand why it is jasmin file, so I cannot fix the error.
I appreciate any help..
Thanks in advance..
Utku Irmak
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.