Bug in Dynamic Protocols?

Damien Cassou damien.cassou at gmail.com
Mon Oct 15 05:16:09 UTC 2007


Hi Michael,

I can't reproduce the bug. I use a sq3.10-7158dev07.10.2.

1) Dynamic protocols and the Debugging protocol are activated
2) I create a Test class with a #test method containing 'self halt.
3) 'DPDebugging cache' now associates a set containing #test on the class Test.
4) If I remove the class, 'DPDebugging cache' does not contain the
pair class->set anymore.

Can you try again and tell me where your experience differs from mine?
Also, can you try with a more recent version of DynamicProtocols
and/or squeak-dev?

Thank you

2007/10/12, Michael Fremont <fremontmj at gmail.com>:
> I believe I've found a bug in the Debugging protocol.  If I have a
> selector with a 'self halt' in it, and then delete the class, the
> dynamic protocols cache still holds a reference to the deleted class.
> I land up with a new ObsoleteMethod.
>
> This happens even though I have dynamic protocols turned off!
>
> I don't know, but it's likely the other dynamic methods have a similar problem.
>
> Best,
>
> Mike
>
>


-- 
Damien Cassou



More information about the Squeak-dev mailing list