[ 
https://issues.apache.org/jira/browse/MYFACES-3585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe resolved MYFACES-3585.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.9
                   2.0.15

Thanks to Pavel Arnošt for provide this patch
                
> FacesContextFactoryImpl is not released in FacesContextImpl.release()
> ---------------------------------------------------------------------
>
>                 Key: MYFACES-3585
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3585
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.8
>            Reporter: Pavel Arnošt
>            Assignee: Leonardo Uribe
>            Priority: Minor
>             Fix For: 2.0.15, 2.1.9
>
>
> There is a bug in release method of FacesContextImpl class:
>     @Override
>     public final void release()
>     {
>         assertNotReleased();
>         _messages = null;
>         _orderedMessages = null;
>         _currentPhaseId = null;
>         _responseStream = null;
>         _responseWriter = null;
>         _maximumSeverity = null;
>         _partialViewContext = null;
>         _facesContextFactory = null;
>         _renderKitFactory = null;
>         _partialViewContextFactory = null;
>         if (_facesContextFactory != null)
>         {
>             _facesContextFactory.release();
>             _facesContextFactory = null;
>         }
> _facesContextFactory is set to null and then tested for null. 
> _facesContextFactory is neved released then.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to