Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0F18A200B4B for ; Wed, 6 Jul 2016 09:13:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0DC94160A36; Wed, 6 Jul 2016 07:13:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4C981160A64 for ; Wed, 6 Jul 2016 09:13:12 +0200 (CEST) Received: (qmail 92338 invoked by uid 500); 6 Jul 2016 07:13:11 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 92307 invoked by uid 99); 6 Jul 2016 07:13:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2016 07:13:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F32F22C02A6 for ; Wed, 6 Jul 2016 07:13:10 +0000 (UTC) Date: Wed, 6 Jul 2016 07:13:10 +0000 (UTC) From: "Dmitri Blinov (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (JEXL-202) Detect invalid (addition/subtraction/etc)-assignment operator usage with non-assignable l-value during script parsing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 06 Jul 2016 07:13:13 -0000 Dmitri Blinov created JEXL-202: ---------------------------------- Summary: 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 Priority: Minor 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)