[FIX] ClassBuilder problem

Brent Vukmer bvukmer at blackboard.com
Thu Feb 27 22:58:06 UTC 2003


Thanks Andreas. BTW, I just finished creating a Swiki page documenting
the problem ( http://minnow.cc.gatech.edu/squeak/3058 )!  Obviously this
won't be a "known bug" for 3.4, if this fix is accepted.. :)

-----Original Message-----
From: Andreas Raab [mailto:andreas.raab at gmx.de]
Sent: Thursday, February 27, 2003 5:50 PM
To: 'The general-purpose Squeak developers list'
Subject: [FIX] ClassBuilder problem


Okay, restating the problem actually helped me to understand how to fix
it.

"Change Set:		MetaClassBuilderFix
Date:			27 February 2003
Author:			Andreas Raab

This change set fixes a rather obscure bug with reshaping the entire
class
hierarchy from ClassBuilder. The problem was introduced by accidentally
breaking the superclass/subclass invariant. The CS fixes this problem,
by
doing so actually removes some code and documents the critical
invariants
(both by putting comments into the methods affected and by making those
methods private which temporarily break the crucial invariants).

The class comment has been extended to document the fundamental
assumption
that ClassBuilder needs access to ALL of the subclasses no matter where
no
matter how they are created.
"



More information about the Squeak-dev mailing list