Class MessageTally not initialized in 6.0 images

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

Class MessageTally not initialized in 6.0 images

Jaromir Matas
Hi, I've noticed the the MessageTally class is not initialized in 6.0 images
(my latest is Squeak6.0alpha-20194-64bit.image) -> as a result ShowProcesses
= nil and spyOn fails.

Tried MessageTally initialize and then it indeed works.

Please help me understand how this works: the downloaded image normally
contains all classes initialized. What causes that a class becomes
uninitialized?
Thanks and regards,





-----
Jaromir
^[^
--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html

^[^ Jaromir
Reply | Threaded
Open this post in threaded view
|

Re: Class MessageTally not initialized in 6.0 images

marcel.taeumel
Thanks! Fixed in System-mt.1215

Best,
Marcel

Am 17.02.2021 09:07:30 schrieb Jaromir <[hidden email]>:

Hi, I've noticed the the MessageTally class is not initialized in 6.0 images
(my latest is Squeak6.0alpha-20194-64bit.image) -> as a result ShowProcesses
= nil and spyOn fails.

Tried MessageTally initialize and then it indeed works.

Please help me understand how this works: the downloaded image normally
contains all classes initialized. What causes that a class becomes
uninitialized?
Thanks and regards,





-----
Jaromir
^[^
--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html



Reply | Threaded
Open this post in threaded view
|

Re: Class MessageTally not initialized in 6.0 images

Jaromir Matas
Marcel, unfortunately initializing ShowProcesses in an accessor won't help;
#spyOn: accesses the ShowProcesses variable directly... I still wonder why
initializing via the class #initialize doesn't work.
Thanks,



-----
Jaromir
^[^
--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html

^[^ Jaromir
Reply | Threaded
Open this post in threaded view
|

Re: Class MessageTally not initialized in 6.0 images

marcel.taeumel
Hi Jaromir,

ah, thanks again. I fixed it in System-mt.1216.

I still wonder why initializing via the class #initialize doesn't work.

Because a class-side #initialize will only be called when its code changes, which does not happen automatically for release building / CI.

Best,
Marcel

Am 17.02.2021 21:44:54 schrieb Jaromir <[hidden email]>:

Marcel, unfortunately initializing ShowProcesses in an accessor won't help;
#spyOn: accesses the ShowProcesses variable directly... I still wonder why
initializing via the class #initialize doesn't work.
Thanks,



-----
Jaromir
^[^
--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html