As a result of discussion, started here
http://forum.world.st/recreateSpecialObjectsArray-woes-td1837186.htmlwe came to solution, which is following:
1. fix the interpreterProxy spec, so all VMs will include addRoot() & friends
2. create a single and _final_ version of #recreateSpecialObjectsArray
3. remove overrides of this method from both FFI and Alien packages.
4. Optionally, rewrite plugins to use own special objects at initialization, so
they no longer need extending specialObjectsArray, and hence use of
#recreateSpecialObjectsArray
The [1] is almost everywhere now, if i'm not mistaken.
The [2] is here for your revision:
http://bugs.squeak.org/view.php?id=7525So, what is left, is [3] which should be updated in official FFI and
Alien sources.
We should really prohibit altering this method by external packages.
This method, ultimately, should belong to kernel and should not be overridden.
--
Best regards,
Igor Stasenko AKA sig.