This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Android cloning my instances!


Dear Kawanians,

it seems that Android clones instances of non-Android classes by default
for some reason. This forces me to implement java.lang.Cloneable
whenever I define a class from Kawa. Now the problem is that the clone
method doesn't clone object attributes by default. I'm wondering whether
there is a default way to make Kawa generate an appropriate clone
automatically or would I have to define a custom macro to do that?

Thanks in advance for your hints
Moritz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]