struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <>
Subject [jira] [Created] (WW-4789) ActionContext should be immutable
Date Sun, 23 Apr 2017 09:32:04 GMT
Lukasz Lenart created WW-4789:

             Summary: ActionContext should be immutable
                 Key: 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

View raw message