You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2017/04/23 09:32:04 UTC

[jira] [Created] (WW-4789) ActionContext should be immutable

Lukasz Lenart created WW-4789:
---------------------------------

             Summary: ActionContext should be immutable
                 Key: WW-4789
                 URL: https://issues.apache.org/jira/browse/WW-4789
             Project: Struts 2
          Issue Type: Improvement
          Components: Core
            Reporter: Lukasz Lenart
            Assignee: Lukasz Lenart
             Fix For: 2.6


Right now ActionContext is a bag of different contexts with mixed responsibility. Also some of them lay in ThreadLocal variable, but some are accessed directly. Also it is easily to modify the internal state which shouldn't be possible. The context should be constant during whole action execution period.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)