Still about methodClass
Klaus D. Witzel
klaus.witzel at cobss.com
Sat Jul 29 11:56:12 UTC 2006
Here's a shortcut for letting the COMPUTER do it:
(nil systemNavigation allMethodsSelect: [:method |
(method methodClass methodDictionary includesIdentity: method) not])
do: [:cltr | cltr actualClass compileAll]
It presupposes the (already discussed) script from Andreas embraced by my
nilifying (for throwing non-methodClass methods out of the image into
nil-heaven):
ProcessBrowser classPool associations do: [:each | each value: nil].
WeakArray restartFinalizationProcess.
MethodChangeRecord allInstancesDo: [:each | each noteNewMethod: nil].
Delay startTimerInterruptWatcher.
WorldState allInstancesDo: [:each | each convertAlarms; convertStepList].
ExternalDropHandler initialize.
ScrollBar initializeImagesCache.
"SokobanMorph initFields."
Vocabulary initialize.
GradientFillStyle initPixelRampCache.
Smalltalk garbageCollect.
ProcessBrowser initialize.
/Klaus
On Fri, 28 Jul 2006 16:24:18 +0200, Marcus Denker wrote:
> On 27.07.2006, at 18:48, Klaus D. Witzel wrote:
>
>> Marcus,
>>
>> can you confirm that the following collection is not empty in #7048
>>
>> (nil systemNavigation allMethodsSelect: [:cm |
>> (cm methodClass methodDictionary includesIdentity: cm) not
>> ]) asArray inspect
>>
>> These methods have methodClass whose method dictionary doesn't
>> include the method :-(
>>
>> Did a #compileAll on the respective classes and now the collection
>> is empty. Please put on the list for the next to come image. Thanks
>> in advance.
>
> Ok, I will recompile them.
>
> Marcus
More information about the Squeak-dev
mailing list
|