[Pharo-project] Issue 3658 in pharo: Dictionaries corrupt when loaded from image segment

pharo at googlecode.com pharo at googlecode.com
Sat Feb 5 16:56:04 CET 2011


Status: Accepted
Owner: adrian.l... at gmail.com

New issue 3658 by adrian.l... at gmail.com: Dictionaries corrupt when loaded  
from image segment
http://code.google.com/p/pharo/issues/detail?id=3658

Set and Dictionary were refactored and a common superclass HashedCollection  
introduced. All existing code that assumes that Dictionary is a subclass of  
Set must be fixed.

One such case that was overseen is in image segment where ... isKindOf: Set  
fails to capture dictionaries. This leads to potentially corrupted  
instances once dictionaries are loaded into the image through an image  
segment.

The attached changeset fixes this instance of the problem.

Attachments:
	FixImgSegHashedCollections.1.cs  2.1 KB





More information about the Pharo-project mailing list