commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JEXL-202) Detect invalid (addition/subtraction/etc)-assignment operator usage with non-assignable l-value during script parsing
Date Wed, 06 Jul 2016 09:43:11 GMT

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

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

RELEASE-NOTES.txt
src/site/xdoc/changes.xml
src/main/java/org/apache/commons/jexl3/parser/JexlParser.java
src/test/java/org/apache/commons/jexl3/parser/ParserTest.java

Committed revision 1751647.

> Detect invalid (addition/subtraction/etc)-assignment operator usage with non-assignable
l-value during script parsing
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: JEXL-202
>                 URL: https://issues.apache.org/jira/browse/JEXL-202
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Dmitri Blinov
>            Assignee: Henri Biestro
>            Priority: Minor
>             Fix For: 3.0.1
>
>
> While the code like 
> {code}
> 2 = 3
> {code} throws exception "assignment error in .." during parsing, the code like 
> {code}
> 2 += 3
> {code} is parsed successfully and only throws exception "illegal assignment form 0" in
runtime which makes it harder for debug.



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

Mime
View raw message