On Mar 26, 2010, at 12:03 PM, Bouraqadi Noury wrote:

> On 24 mars 10, at 16:51, Marcus Denker wrote:
> 
>> 
>> On Mar 24, 2010, at 4:45 PM, Bouraqadi Noury wrote:
>> 
>>> InternetConfiguration
>> 
>> 
>> this one is in the startup list, on Macos.
>> 
> It is then strange (bug) that I get an empty references set for it, 
> especially that I'm on Mac too.
> 

The problem is that the class as an Object is registered with the startup 
logic. (someone called
"Smalltalk addToStartUpList:" at some point in the past).

This could be detected, a safe delete would check for: References, subclasses, 
instances and
and known pointers like this.

But in general, using reflection will give you situations where static analyis 
fails.

e.g.

(Smalltalk classNamed: 'Obj', 'ect')

is a use of Object, but hard to detect, especially if the string is the result 
of some real computation.

                Marcus

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to