[squeak-dev] Mirror prims

Bert Freudenberg bert at freudenbergs.de
Wed Dec 16 10:21:53 UTC 2009


On 16.12.2009, at 03:11, David T. Lewis wrote:
> 
> On Tue, Dec 15, 2009 at 08:35:55PM +0100, Levente Uzonyi wrote:
>> 
>> We should definitely keep the tests. After a bit of googling I found 
>> Eliot's email which didn't get much attention: 
>> http://lists.squeakfoundation.org/pipermail/vm-dev/2009-September/003161.html
>> This explains everything about mirror primitives. I wonder why these 
>> changes aren't integrated into VMMaker. (Note that ContextPart >> 
>> #objectClass: is missing from the attached source, I added an 
>> implementation to the trunk). I marked the failing tests as expected 
>> failures.
>> 
> 
> Thanks for the pointer. I somehow completely overlooked this posting
> on the vm-dev list. I opened a Mantis issue for "Add Mirror Primitives
> to the VM" to track it.
> 
>  http://bugs.squeak.org/view.php?id=7429
> 
> Dave


IIUC these new primitives break object encapsulation, which is fundamental change to the VM.

Do we care?

If so, do we still want them? 

If yes, should there be a way to disable them, similarly to how we can disable file access?

- Bert -




More information about the Squeak-dev mailing list