Description
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.
Attachments
Issue Links
- is duplicated by
-
MYFACES-3615 Memory Leak related to ThreadLocal with org.apache.myfaces.context.servlet.ServletExternalContextImpl
- Closed