Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.8, 2.1.2
    • Component/s: JSR-314
    • Labels:
      None

      Description

      Doing some tests, I notice org.apache.myfaces.view.facelets.compiler.UILeaf does not override attributes map, and it should be.

      This cause some side effects. Component attributes map is used to store org.apache.myfaces.view.facelets.MARK_ID key, but do that creates 2 HashMap instances (state helper, state helper attributes key) with default size, but in practice only 1 attribute will be set. This component is just a reference to render markup, so there it is a waste of memory resources, more if you consider that jsf pages are a mixture between markup (backed by UILeaf) and stateful components.

        Activity

        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leonardo Uribe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.8 [ 12316514 ]
        Fix Version/s 2.1.2 [ 12316512 ]
        Resolution Fixed [ 1 ]
        Leonardo Uribe created issue -

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Leonardo Uribe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development