Mariano, Am 21.06.10 11:49 schrieb Mariano Martinez Peck:
Hi Joachim: if you figured out how to do it, it would be cool to write it down in the http://book.pharo-project.org/
The problem is a bug in Squeak and Pharo, apparently at the VM level. Subclasses of classes in the specialObjectsArray create instances of their superclass when sent #new or #basicNew. I have already submitted a bug report for Pharo and should probably enter a similar one for Squeak: http://code.google.com/p/pharo/issues/detail?id=2523 I have tested this only on Mac OS X 10.6, so it is possible that only the Mac OS X VM has this problem. It should be easy to check if it happens with other VMs too. Concerning contributions to Pharo and Squeak: I will restrict my work to JNIPort and won't get involved in any work on Pharo or Squeak. The reason is that I have a very limited amount of time to spend on open source projects, so I have to draw a strict borderline. Cheers, Joachim Geidel