Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6799

Constructor of org.apache.wicket.authorization.Action should not be public

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 8.7.0
    • None
    • wicket
    • None

    Description

      Action is a subclass of EnumeratedType. Every instantiation of class Action leads to an extra instance that is stored in an ArrayList, that is statically kept.

      This leads to an MemoryLeak, if a programmer uses "new Action(Action.RENDER))" instead of "Component.RENDER".

      Please make the constructor of Action "protected".

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            hosea Hans Schäfer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: