The Trunk: System-eem.348.mcz

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

The Trunk: System-eem.348.mcz

commits-2
Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.348.mcz

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