Le 25-nov.-08 à 14:00, Marcus Denker a écrit :
Very strage... I think in general it is not good to use the doesNotUnderstand trick so deeply in the system... for example, even #hash and #= and will be taken from the wrappee (the compiledMethod), but not #==, as it's in ProtoObject. And #class
will never get forwarded (as it's a bytecode).


So maybe the #hash is the problem: on the image side, #hash gets forwarded to the wrappee, but what does the VM do? There could be a mismatch. (and recompiling the whole image, what bytesurgeon installer does, could change something wrt. to hashing that
this makes it a problem whereas it might not been a problem before)

I think you're right. Having a CompiledMethod as wrapper instead of a class with the doesNotUnderstand trick makes it work. Your explanation perfectly fits that for me :)

Thank you,

Antoine _______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to