Emmanuel Lecharny wrote:
In any case, the 'finalize' method is not one of my favorite method... Not
only it has a very specific usage, but there is no guarantee whatsoever to
be called by the GC. I will check if it's necessary to have it.

Good idea. Not only is it not guaranteed to get called, but finalize can cause some very unexpected memory behavior. See:

http://www.fasterj.com/articles/finalizer1.shtml
http://www.fasterj.com/articles/finalizer2.shtml

HTH,

DR

Reply via email to