[Seaside-dev] Dictionary backtracking compatibility in Squeak 4.1

Andreas Raab andreas.raab at gmx.de
Wed Mar 31 06:30:20 UTC 2010


Thanks a lot for the quick help. It's greatly appreciated.

Cheers,
   - Andreas

On 3/30/2010 11:23 PM, Lukas Renggli wrote:
>> Since I'd like to see the issue addressed before 4.1 goes out, I'm asking
>> about advice on how to resolve it best. The options that I see:
>>
>> 1. Implement #snapshotCopy and #restoreFromSnapshot: in Dictionary in the
>> Grease-Pharo-Core package. To me, this is the best way to fix the issue
>> because it seems likely that Pharo will follow suit with HashedCollection
>> which will require Seaside to provide this compatibility implementation
>> anyway. Implementing this now is simply an anticipation of this situation at
>> virtually no extra cost.
>
> I've copied the snapshot code from Set to Dictionary in
> Grease-Pharo-Core. I think this is the cleanest solution and will
> avoid compatibility problems not only with Squeak, but also if Pharo
> introduces the HashedCollection:
>
> Name: Seaside-Pharo-Core-lr.6
> Author: lr
> Time: 31 March 2010, 8:20:18 am
> UUID: 7c64361d-8194-4883-94b7-740fcd54d8e0
> Ancestors: Seaside-Pharo-Core-lr.5
>
> - duplicate the snapshot code from Set into Dictionary (in Squeak
> Dictionary is not a subclass of Set)
>
> Thanks for raising the issue.
>
> Lukas
>


More information about the seaside-dev mailing list