[ 
https://issues.apache.org/jira/browse/JEXL-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henri Biestro resolved JEXL-201.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.1

Modified Interpreter.java & InterpreterBase.java

> Allow Interpreter to use live values from JexlEngine.Option interface 
> implemented by JexlContext 
> -------------------------------------------------------------------------------------------------
>
>                 Key: JEXL-201
>                 URL: https://issues.apache.org/jira/browse/JEXL-201
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Dmitri Blinov
>            Assignee: Henri Biestro
>             Fix For: 3.0.1
>
>
> Interpreter caches the current values of JexlEngine.Option in constructor if 
> JexlEngine.Option interface is implemented by the provided JexlContext. This 
> prevents JexlContext from dynamically influencing Interpreter behaviour by 
> adjusting its values during script evaluation. The intention is to implement 
> for example @silent/@verbose @strict/lenient annotations so that selected 
> parts of the script could be evaluated with the desired mode. I think good 
> point is to allow values from other methods of JexlEngine.Option interface 
> such as isCancellable() and getArithmeticMathScale() not to be cached in 
> Interpreter and JexlArithmetic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to