PackageInfo ... where?

Avi Bryant avi at beta4.com
Mon Oct 13 18:42:05 UTC 2003


ducasse wrote:

> so this is perfect.
> how do you do that? you check at unload time if you should reinstall a 
> method. What's happen if I have three methods
>
> P1>>C>>m
> P2>>C>>m
> P3>>C>>m
> with this load order
>
> Then unload P3 do I get P2?
>
> Then can I unload p2? i guess yes if there is no dependencies between 
> p2 and p3, so I should get p3>>C>>m 


If you unload P3 you would get P2.
If you then unload P2 you would get P1.

Or,

If you unload P2 first you would remain at P3.

But,

If you then unload P3, you would get P2, which is a bug.  P2 
doesn't/can't "unload" the shadowed version (which only exists in the 
.changes file) and so that stays in the stack.




More information about the Squeak-dev mailing list