[Q] Safe way of removing class from system
tblanchard at mac.com
Mon Nov 6 06:00:01 UTC 2006
I start by browsing class refs and making sure no code refers to the
class by name.
Once you've done that, see if you can find out if anything is caching
instances and get them released.
Then just choose 'remove class'
On Nov 5, 2006, at 5:38 PM, Sungjin Chun wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Is there safe way of removing class from system without making
> ObsoleteClass? What I found is check whether there're instances of the
> class and remove all methods, instance variables and class variables,
> and make its superclass as Object, then remove the class and if
> ObsoleteClass, then I use becomeForward: like this: anObsoleteClass
> becomeForward: Object.
> I'm not sure my way of removing is correct thing.
> Thanks in advance.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v188.8.131.52 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
More information about the Squeak-dev