Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-883

RenderKitDecorator.getRenderKit should not call getFactory on every call

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.4-core
    • 1.0.7-core, 1.2.7-core
    • None
    • None

    Description

      org.apache.myfaces.trinidadinternal.renderkit.RenderKitDecorator.getRenderKit() tries to get a instance of RenderKitFactory on every call. The problem is that getFactory call results in locking. Since, according to documentation, RenderKitFactory::getFactory returns a per-web-application instance of the appropriate implementation class for the specified JavaServer Faces factory class, RenderKitDecorator.getRenderKit() should just used cached RenderKitFactory

      Attachments

        Activity

          People

            gabrielle Gabrielle Crawford
            smalesevic Stevan Malesevic
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: