[Vm-dev] About the image

Andreas Raab andreas.raab at gmx.de
Wed Aug 18 01:41:07 UTC 2010


On 8/17/2010 6:24 PM, Eliot Miranda wrote:
> On Tue, Aug 17, 2010 at 5:38 AM, Bert Freudenberg <bert at freudenbergs.de
> <mailto:bert at 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


More information about the Vm-dev mailing list