[ 
https://issues.apache.org/jira/browse/WICKET-6799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sven Meier updated WICKET-6799:
-------------------------------
    Priority: Minor  (was: Major)

An application may define its own actions, see ActionPermissionsTest.

AFAIKS we cannot make the constructor protected.

> Constructor of  org.apache.wicket.authorization.Action should not be public
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-6799
>                 URL: https://issues.apache.org/jira/browse/WICKET-6799
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 8.7.0
>            Reporter: Hans Schäfer
>            Priority: Minor
>
> 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".
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to