A final version of #recreateSpecialObjectsArray for your revision

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

A final version of #recreateSpecialObjectsArray for your revision

Igor Stasenko
As a result of discussion, started here
http://forum.world.st/recreateSpecialObjectsArray-woes-td1837186.html
we 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=7525

So, 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.