Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3585

FacesContextFactoryImpl is not released in FacesContextImpl.release()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.8
    • 2.0.15, 2.1.9
    • None
    • None

    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

          Activity

            People

              lu4242 Leonardo Uribe
              pavel.arnost Pavel Arnošt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: