[Pkg] The Trunk: SMBase-nice.101.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Mar 29 22:41:14 UTC 2010

Nicolas Cellier uploaded a new version of SMBase to project The Trunk:

==================== Summary ====================

Name: SMBase-nice.101
Author: nice
Time: 29 March 2010, 11:41:10.037 pm
UUID: 399af411-fc32-274d-a921-5b2687209411
Ancestors: SMBase-laza.100

Attempt to fix http://bugs.squeak.org/view.php?id=7485
SMSqueakMap default objects dictionary do not resurrect in a usable state from image segment.
It needs to be rehashed.
Do it in #copyFrom: just after #reload.

=============== Diff against SMBase-laza.100 ===============

Item was changed:
  ----- Method: SMSqueakMap>>copyFrom: (in category 'private') -----
  copyFrom: aMap
  	"Copy all relevant info from the other map."
  	objects := aMap objects.
  	objects do: [:o | o map: self].
+ 	objects rehash.
  	accounts := users := packages := categories := nil.
  	checkpointNumber := aMap checkpointNumber!

More information about the Packages mailing list