You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (JIRA)" <ji...@apache.org> on 2015/08/28 18:29:49 UTC
[jira] [Created] (JEXL-179) new() operator is broken
Dmitri Blinov created JEXL-179:
----------------------------------
Summary: new() operator is broken
Key: JEXL-179
URL: https://issues.apache.org/jira/browse/JEXL-179
Project: Commons JEXL
Issue Type: Bug
Affects Versions: 3.0
Reporter: Dmitri Blinov
As an example,
{code}
x = new ("java.util.HashSet"); x.add(1); x
{code}
The following script generates log output
{code}
[DEBUG] EvaluationContext.evaluateScript: expr: x = new ("java.util.HashSet"); x.add(1); x
[WARN ] org.apache.commons.jexl3.JexlEngine: EvaluationContext.evaluateScript@493 java.util.HashSet
[WARN ] org.apache.commons.jexl3.JexlEngine: EvaluationContext.evaluateScript@493![30,38]: 'x = new('java.util.HashSet');
x.add(1);
x;
' null value variable x
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)