You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (JIRA)" <ji...@apache.org> on 2018/10/28 17:15:00 UTC
[jira] [Resolved] (JEXL-278) Ambiguous exceptions should point to
actual statement ambiguity
[ https://issues.apache.org/jira/browse/JEXL-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Biestro resolved JEXL-278.
--------------------------------
Resolution: Fixed
- refined logic to better capture ambiguous statements src/main/java/org/apache/commons/jexl3/parser/Parser.jjt src/test/java/org/apache/commons/jexl3/Issues200Test.java src/main/java/org/apache/commons/jexl3/JexlException.java src/main/java/org/apache/commons/jexl3/parser/JexlParser.java
revision : 1d2be49e6fc0fd8bf70a98cf633991c970657136
> Ambiguous exceptions should point to actual statement ambiguity
> ---------------------------------------------------------------
>
> Key: JEXL-278
> URL: https://issues.apache.org/jira/browse/JEXL-278
> Project: Commons JEXL
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Henri Biestro
> Assignee: Henri Biestro
> Priority: Minor
> Fix For: 3.2
>
>
> WHAT:
> During parsing, if a JexlException.Ambiguous exception is raised, the location information (JexlInfo) points to the last token before the ambiguity.
> HOW:
> When detecting a parsing ambiguity, use the next parsed token as location information.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)