[Q][BUG] 5905 double initialize ?

Ned Konz ned at bike-nomad.com
Sun May 2 15:03:53 UTC 2004


On Sunday 02 May 2004 4:58 am, Lic. Edgar J. De Cleene wrote:
> I have this weirdness and wish know someone have it
>
> Class method:
> start
>     super new initialize "This execute twice  instance initialize method"
>
> If I change to
>
> start
>     super new start "This execute only once"
>
> Can someone check this or explain ? Never see this before 5905.

Quite a while ago 'new' was made to call initialize.

So if you have callers in your image that call 'super new initialize' they may 
be initializing twice.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list