[squeak-dev] The Trunk: SMBase-ar.111.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Apr 14 03:48:47 UTC 2010

Andreas Raab uploaded a new version of SMBase to project The Trunk:

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

Name: SMBase-ar.111
Author: ar
Time: 13 April 2010, 8:48:22.789 pm
UUID: 8e8debd9-dcc9-4149-aee4-36acf7595015
Ancestors: SMBase-ar.110

Add a workaround for the 'SMDependencyTest problem'. The issue appears to be caused by 'SMSqueakMap new synchWithDisk' creating an invalid checkpoint file (no objects in it) which when loaded later causes constant failure. 

This may not be the intended behavior as it will cause the user being asked whether to upgrade the map from the net when opening the Tools tab in the object tools. However, it beats having a broken SqueakMap lingering around.

=============== Diff against SMBase-ar.110 ===============

Item was changed:
  ----- Method: SMSqueakMap>>isPurged (in category 'public') -----
+ 	"Is this instance purged (empty)?
+ 	ar 4/13/2010: Added the test for object isNil as a workaround for 4.1.
+ 	Without the test 'SMSqueakMap new syncWithDisk' creates an invalid
+ 	checkpoint file and fails forever after."
+ 	^checkpointNumber isZero or:[objects isNil]!
- 	"Is this instance purged (empty)?"
- 	^checkpointNumber isZero!

More information about the Squeak-dev mailing list