[Q] Safe way of removing class from system

Todd Blanchard 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:

> Hash: SHA1
> Hi,
> 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  
> there's
> ObsoleteClass, then I use becomeForward: like this: anObsoleteClass
> becomeForward: Object.
> I'm not sure my way of removing is correct thing.
> Thanks in advance.
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> iD8DBQFFTpInQqspS1+XJHgRAkQuAKCmF8MPtS6BQh2atFqdBP0wz0qAegCgrdYr
> u7IwxAul05pgY/v/38y2kC4=
> =aii4

More information about the Squeak-dev mailing list