WriteBarrier writes the generated subclass into GOODS

Avi Bryant avi.bryant at gmail.com
Sun Nov 21 14:35:27 UTC 2004


On Sun, 21 Nov 2004 22:17:09 +0800, Yar Hwee Boon <hboon at motionobj.com> wrote:
> It seems that I have an instance of a subclass that WriteBarrier generated
> in my GOODS database. When I try to inspect the collection holding that
> instances (PPGuardian), I get an error that says "Error: Could not find
> class for PPGuardian with write barrier". Tracing through, the
> KKClassRecord instance's name ivar is indeed set to "PPGuardian with write
> barrier". Does anyone what happened? Thanks.

Hm... which version of WriteBarrier are you using? 
WBClassBuilder>>installGOODSOverrides is supposed to take care of that
(it overrides #goodsClassName on the generated class to use its
superclass' name rather than its own).

Is this something you can reproduce with a fresh database?

Avi



More information about the Squeak-dev mailing list