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

Re: Patch to handle J2ME classes



Hi Stephen,

I will check the patch and incorporate it with the latest development
version if there is not conflict. Thanks!

Cheers,
===========================================================
Feng Qian                             fqian@sable.mcgill.ca

On Thu, 18 Apr 2002, Stephen Cheng wrote:

> > I don't think anyone has run into this problem before.  You're going to
> > have to hack the type inference so that it doesn't use Cloneable anymore;
> > you should be able to just clone it all out (since nothing is Cloneable).
>
> I have made some changes to Soot to handle J2ME. Included are the five files
> patched (based on 1.2.2.dev41). I have not extensively tested the changes. I
> have tried:
> -generating jimp, jimple from J2ME class files
> -generating class files back from jimple
>
> A new command line option has been added. This option must be turned on if
> you are dealing with J2ME classes, or jimple.
> -m or -j2me : ignores java.lang.Cloneable and java.lang.serializable
>
> It would be great if the next release could incorporate the change.
>
> Kind regards,
> Stephen Cheng
>