[Cuis-dev] [BUG] --- deleting an instance variable may install duplicate classes

Juan Vuletich JuanVuletich at zoho.com
Mon Jan 3 07:24:15 PST 2022


On 12/28/2021 1:57 PM, Andres Valloud via Cuis-dev wrote:
> Hi, if you try removing an instance variable from a class, and there 
> are processes that began in instances of that class, then
>
>     ClassDescription>>updateInstancesFrom:
>
> complains that you can potentially break the system if the processes 
> start accessing the instance using the wrong instance variable indices.
>
> The problem is that if you then close the debugger, by that time the 
> compilation process has installed duplicate classes in the system.  
> So, the test should run first, and if it passes then the new class 
> should be created and installed in the system.
>
> Andres.

Thanks for the report, Andrés!

I fixed the problem. The update is already at GitHub, and is part of Cuis 6.

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
@JuanVuletich



More information about the Cuis-dev mailing list