Alireza Fattahi created WW-5217:
-----------------------------------

             Summary: new OgnlContext() is removed
                 Key: WW-5217
                 URL: https://issues.apache.org/jira/browse/WW-5217
             Project: Struts 2
          Issue Type: Bug
          Components: Expression Language
            Reporter: Alireza Fattahi


We used the OGNL in our classes as below

 
{code:java}
OgnlExpression ognlExpression = new OgnlExpression(expressionString);
ognlExpression.getValue(new OgnlContext(), rootObject);{code}
 

After upgrade to version 6, the `new OgnlContext()` constructor seems to be 
removed. I test the `new OgnlContext(null,null,null)` but got illegal argument 
exception.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to