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.

Reply via email to