On 8/17/2010 6:24 PM, Eliot Miranda wrote:
On Tue, Aug 17, 2010 at 5:38 AM, Bert Freudenberg <bert@freudenbergs.de<mailto:bert@freudenbergs.de>> wrote:
I thought the three inst vars in Behavior was all the VM knew and
cared about? I'd consider everything else a bug ;)
That's right. See all implementors of initializeClassIndices:
BTW, you /can/ add an inst var to Behavior. Try and evaluate
Object subclass: #Behavior
instanceVariableNames: 'superclass methodDict format extra'
classVariableNames: 'ObsoleteSubclasses'
poolDictionaries: ''
category: 'Kernel-Classes'
Works for me in a 4.1 derived image.
The problem is in Interpreter>>classNameOf: aClass Is: className which uses the Class' name ivar directly. This causes several "interesting" issues with the SmartSyntaxBlaBlaPlugins (such as JPEGReadWriterPlugin).
Cheers,
- Andreas