[squeak-dev] Re: 3.11 - File List broken

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Thu Feb 11 18:33:14 UTC 2010

2010/2/11 Andreas Raab <andreas.raab at gmx.de>:
> Nicolas Cellier wrote:
>> Removing FileList/FileList2 then reloading them create obsolete
>> references.
>> Andreas did modify MC to take care not removing moved methods, we
>> should do the same kind of trick for moved classes.
> It's not applicable. My fix handled the situation where, after moving a
> method from package OLD to package NEW, you'd load NEW and then OLD and MC
> would remove the method from the image even though it was no longer part of
> package OLD after loading package NEW. This doesn't happen with classes (and
> never has).
> The problem we're seeing here is simply that when you move classes from OLD
> to NEW, loading OLD before NEW will the classes cause to be removed and
> leaves obsolete behaviors around since re-adding the classes doesn't resolve
> them. The only way to fix that is by either issuing a config map which loads
> things in the right order (which I have done) or alternatively recompiling
> everything via "Compiler compileAll".

So loading NEW first, then OLD, does not remove the class ?
What I suggested seems already there :)
(of course depending on right load order, same as for methods).


> Cheers,
>  - Andreas

More information about the Squeak-dev mailing list