[squeak-dev] Re: Bug in object finalization?

Andreas Raab andreas.raab at gmx.de
Wed Jun 18 17:02:11 UTC 2008


Norbert Hartl wrote:
> On Wed, 2008-06-18 at 09:22 -0700, Andreas Raab wrote:
>> Norbert Hartl wrote:
>>> There was a test in 3.9 testing this (it failed). In 3.10
>>> the test got removed but I think it is a bug.
>>>
>>> What do you think?
>> The test itself is buggy (see http://bugs.squeak.org/view.php?id=6347) 
>> but once you fix the test it illustrates a problem in WeakRegistry which 
>> needs to use a WeakIdentityKeyDictionary instead of a WeakKeyDictionary.
>>
> Ok, what I said. Do you see an harmful side effects by exchanging
> the dictionary?

No - we've fixed this a long time ago in our code base.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list