commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Blinov (JIRA)" <>
Subject [jira] [Commented] (JEXL-194) synchronize on iterableValue in foreach statement
Date Fri, 13 May 2016 15:12:12 GMT


Dmitri Blinov commented on JEXL-194:

Thanks for the hint, I'll give it a try

> synchronize on iterableValue in foreach statement
> -------------------------------------------------
>                 Key: JEXL-194
>                 URL:
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Dmitri Blinov
>            Assignee: Henri Biestro
>            Priority: Minor
> Since it is a requirement to synchronize on simple Collections and synchronized Collections
while iterating over them and since jexl has no instrument to control synchronization in script,
I think its reasonable to implement synchronization in jexl itself on iterableValue. In case
of concurrent collections it will possibly block other threads only if they are synchronizing
on those collections themselves, which will be complementary to required synchronization in

This message was sent by Atlassian JIRA

View raw message