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

Re: J2ME CLDC



On Wed, 17 Apr 2002, Stephen Cheng wrote:

> java soot.Main --soot-classpath C:\Nokia_Developers_Suite\Emulators\No
> kia_6310i_MIDP_SDK_Beta_0_1\lib;.\ -J example.delivery.DeliveryMIDlet
> Soot started on Thu Jan 17 12:15:17 GMT 2002
> Transforming example.delivery.DeliveryMIDlet...
> Aborting: can't find classfilejava.lang.Cloneable
>
> I believe this problem has to do with the fact that java.lang.Cloneable
> interface is not part of the J2ME CLDC API. Looking at the Soot source,
> package soot.jimple.toolkits.typing has a number of classes which do special
> things to class with the Cloneable interface. It seems to throw a dummy
> since the Cloneable interface is not defined in the --soot-classpath.
>
> Has anyone come across this problem before? Is there any suggestion how I
> could fix it (or go around it)?

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).

pat