Issue 3716 in pharo: Different return value for adoptInstance: depending on VM
Posted by
pharo on
Feb 16, 2011; 12:23pm
URL: https://forum.world.st/Issue-3716-in-pharo-Different-return-value-for-adoptInstance-depending-on-VM-tp3308687.html
Status: Accepted
Owner:
[hidden email]
Labels: Milestone-1.2 Milestone-1.3
New issue 3716 by
[hidden email]: Different return value for
adoptInstance: depending on VM
http://code.google.com/p/pharo/issues/detail?id=3716This method which is new in 1.2, returns differently depending on whether
the primitive is present in VM, as the primitive returns the class, while
the fallback changeClassTo: returns the instance whose class was changed.
Slices for 1.2 and 1.3 will be in inbox shortly for consistently returning
the class on all VM's.