[BUG][FIX] Class>>rename fix 6/2004

chris at funkyobjects.org chris at funkyobjects.org
Tue Jun 29 05:44:37 UTC 2004

In using the SystemChangeNotifier to detect class renames.  This caused
me a problem because the signal occurs when the rename is partially
complete, so the environment is in an inconsistent state when it enters
handler methods.

The inconsistency is that the new name of the class is not set by the
time the handler methods run.  The Smalltalk global dictionary has been
updated, so (Smalltalk at: #RenamedClass) name ~= #RenamedClass.  This
is an inconsistent state of the Smalltalk dictionary which causes my
program grief.  

It should either be a true post-op, this fix makes it a post-op.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Class>>rename fix 6/2004.cs.gz
Type: application/octet-stream
Size: 778 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040629/b2aaabfe/2004.cs.obj

More information about the Squeak-dev mailing list