[
https://issues.apache.org/jira/browse/JEXL-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Biestro updated JEXL-100:
-------------------------------
Description:
When caching is enabled, a cached array expression using an integer literal
will fail at evaluation, the integer literal throwing an exception trying to
coerce a ListGetExecutor to Integer.
Sole workaround is to disable cache entirely which is not always possible;
critical!
was:
When caching is enabled, a cached array expression tries to coerce a
ListGetExecutor to Integer which throws an exception.
Sole workaround is to disable cache entirely which is not always possible;
critical!
> Array access expressions fail when evaluated twice and cache is enabled
> -----------------------------------------------------------------------
>
> Key: JEXL-100
> URL: https://issues.apache.org/jira/browse/JEXL-100
> Project: Commons JEXL
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Henri Biestro
> Assignee: Henri Biestro
> Priority: Blocker
> Fix For: 2.0.1
>
>
> When caching is enabled, a cached array expression using an integer literal
> will fail at evaluation, the integer literal throwing an exception trying to
> coerce a ListGetExecutor to Integer.
> Sole workaround is to disable cache entirely which is not always possible;
> critical!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.