[
https://issues.apache.org/jira/browse/JEXL-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vishal Goenka updated JEXL-49:
------------------------------
Attachment: astblock.patch
Pretty trivial patch
> Block statements aren't parsed
> ------------------------------
>
> Key: JEXL-49
> URL: https://issues.apache.org/jira/browse/JEXL-49
> Project: Commons JEXL
> Issue Type: Bug
> Affects Versions: 1.1.1
> Environment: All
> Reporter: Vishal Goenka
> Priority: Critical
> Fix For: 1.1.1
>
> Attachments: astblock.patch
>
> Original Estimate: 0.17h
> Remaining Estimate: 0.17h
>
> The ExpressionFactory throws an exception when parsing a block statement such
> as:
> { a='b'; c='d'; }
> I traced it down to a missing check for ASTBlock in the ExpressionFactory.
> The patch is attached although it was generated against a local checkin of
> this file in my local svn, hence version numbers are different. The patch is
> simple, so I decided to attach it as is, rather than generating it against
> the apache-commons svn trunk. To apply this patch, you will need to manually
> edit the code and add the two lines added.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.