You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2006/10/20 18:27:36 UTC

[jira] Resolved: (JAMES-611) Remove finalizers and make sure we always call dispose when unreferencing objects

     [ http://issues.apache.org/jira/browse/JAMES-611?page=all ]

Stefano Bagnara resolved JAMES-611.
-----------------------------------

    Resolution: Fixed

In trunk there are no more finalizers (only 1 in mordred and 1 in PoolConnEntry).
So the previous fixes seem to work.

> Remove finalizers and make sure we always call dispose when unreferencing objects
> ---------------------------------------------------------------------------------
>
>                 Key: JAMES-611
>                 URL: http://issues.apache.org/jira/browse/JAMES-611
>             Project: James
>          Issue Type: Task
>          Components: James Core
>            Reporter: Stefano Bagnara
>         Assigned To: Stefano Bagnara
>             Fix For: Trunk
>
>
> Java does not ensure that finalizers are called when an object is no more referenced.
> So we should make sure we always dispose resources we allocate.
> A first review would be to remove the current finalizers (our objects already have the dispose method) and see what temporary files are not removed from temp after running our tests.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org