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

David T. Lewis lewis at mail.msen.com
Thu Feb 11 19:07:02 UTC 2010


On Thu, Feb 11, 2010 at 11:01:27AM -0800, Andreas Raab wrote:
> Nicolas Cellier wrote:
> >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 ?
> 
> Precisely.

In any case, mea culpa, and thanks to Andreas for updating the configuration
map to fix it.

Dave




More information about the Squeak-dev mailing list