The Trunk: SMBase-ar.111.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: SMBase-ar.111.mcz

commits-2
Andreas Raab uploaded a new version of SMBase to project The Trunk:
http://source.squeak.org/trunk/SMBase-ar.111.mcz

==================== 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') -----
  isPurged
+ "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!