Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.1.2
-
None
Description
XWork 2.0.4 allows calls to static method by default. The default value in 2.1.x is to disallow this:
StaticMemberAcess.allowStaticMethodAccess is set in its constructor which is called from OgnlValueStackFactory. The default value sent in is "false" which makes calls to static methods not work. As such, code that worked fine using 2.0.4 doesn't get executed using 2.1.x without additional configuration.