[Pkg] The Trunk: System-eem.348.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Jul 3 04:50:37 UTC 2010

Eliot Miranda uploaded a new version of System to project The Trunk:

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

Name: System-eem.348
Author: eem
Time: 2 July 2010, 9:49:52.442 pm
UUID: 94a31c6e-f957-4277-87e9-f0bffe6563f1
Ancestors: System-cmm.347

Flush the class name cache when removing keys from
Smalltalk globals

=============== Diff against System-cmm.347 ===============

Item was changed:
  ----- Method: SystemDictionary>>flushClassNameCache (in category 'classes and traits') -----
  	"Smalltalk flushClassNameCache"
+ 	"Force recomputation of the cached list of class names."
- 	"Forse recomputation of the cached list of class names."
  	cachedClassNames := nil!

Item was added:
+ ----- Method: SystemDictionary>>removeKey:ifAbsent: (in category 'removing') -----
+ removeKey: key ifAbsent: aBlock
+ 	"Remove key (and its associated value) from the receiver. If key is not in
+ 	the receiver, answer the result of evaluating aBlock. Otherwise, answer
+ 	the value externally named by key."
+ 	self flushClassNameCache.
+ 	^super removeKey: key ifAbsent: aBlock!

More information about the Packages mailing list