Affects Version/s: 2.1.1
Fix Version/s: 3.0
take a look at this example:
JexlEngine jexlEngine = new JexlEngine();
Expression jexlExpresssion = jexlEngine.createExpression("first.second.name");
HashMap map = new HashMap();
MapContext context = new MapContext(map);
Object value = jexlExpresssion.evaluate(context);
System.err.println("Value:" + value);
I would expect getting "Value:RIGHT" printed out but it was "Value:WRONG".
If I don't put "first.second.name" in the map, the output is "Value:WRONG", too. Here I would expect NULL as result.