[
https://issues.apache.org/jira/browse/JEXL-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066421#comment-13066421
]
Henri Biestro commented on JEXL-117:
------------------------------------
No defined date and most likely a 2.1 instead (see
http://apache-commons.680414.n4.nabble.com/JEXL-Towards-a-JEXL-2-1-release-tt3669436.html).
In the mean time, you can use a 2.0.2-SNAPSHOT available in
https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-jexl/
.
Cheers,
Henrib
> JEXL not evaluating java Long
> -----------------------------
>
> Key: JEXL-117
> URL: https://issues.apache.org/jira/browse/JEXL-117
> Project: Commons JEXL
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Dave Marion
> Assignee: Henri Biestro
> Labels: Long, NumberFormatException
> Fix For: 2.0.2
>
>
> Trying to evaluate a long in a Jexl expression and the engine tries to cast
> it to an Integer.
> Expression e = engine.createExpression("TIMESTAMP > 20100102000000");
> JexlContext ctx = new MapContext();
> ctx.set("TIMESTAMP", new Long("20100103000000"));
> e.evaluate(ctx);
> throws a NumberFormatException at Integer.parseInt().
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira