[Glass] order of classvars changed after load
Johan Brichau via Glass
glass at lists.gemtalksystems.com
Thu May 19 12:46:51 PDT 2016
Hi Richard,
Thanks for your reply.
I was indeed surprised because I never noticed this in the past.
This is in a 2.4.4.1 stone. We are working on migrating everything to 3.2.
So, that should then probably be an issue of the past soon :)
Johan
> On 19 May 2016, at 21:00, Richard Sargent via Glass <glass at lists.gemtalksystems.com> wrote:
>
> Since the class variables are held in a Dictionary, there really is no
> "order", per se. While the class creation method may require an Array
> argument, the order implied by the collection is not preserved.
>
> If you look at the implementation of
> #'subclass:instVarNames:classVars:classInstVars:poolDictionaries:inDictionary:newVersionOf:description:options:',
> you will see that it tests for equivalency of the new definition to the
> existing one. There have been changes in recent times to this mechanism in
> order to reduce/eliminate the number of cases in which a new class version
> is created unnecessarily. I think this was in one of the 3.2 releases, but I
> don't recall which one.
>
> What version of GemStone are you using?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20160519/f6e3fdf7/attachment.html>
More information about the Glass
mailing list