aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alasdair Nottingham (JIRA)" <j...@apache.org>
Subject [jira] Created: (ARIES-533) ContextProvider incorrectly closes Context when GCed
Date Fri, 07 Jan 2011 10:22:46 GMT
ContextProvider incorrectly closes Context when GCed
----------------------------------------------------

                 Key: ARIES-533
                 URL: https://issues.apache.org/jira/browse/ARIES-533
             Project: Aries
          Issue Type: Bug
    Affects Versions: 0.3
            Reporter: Alasdair Nottingham
            Assignee: Alasdair Nottingham
             Fix For: 0.3


If I do the following:

Context ctx = new InitialContext().lookup("")

the ContextProvider becomes eligible for GC and if finalize is called will close the context
which is still reachable.

Fix is to remove the finalize method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message