Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
8.7.0
-
None
-
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".