jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JCR-3139) missing sync in InternalVersionManagerImpl.externalUpdate can cause ConcurrentModificationException
Date Mon, 07 Nov 2011 17:44:51 GMT

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

Julian Reschke resolved JCR-3139.
---------------------------------

    Resolution: Fixed

trunk: 1198827, 2.2: 1198836
                
> missing sync in InternalVersionManagerImpl.externalUpdate can cause ConcurrentModificationException
> ---------------------------------------------------------------------------------------------------
>
>                 Key: JCR-3139
>                 URL: https://issues.apache.org/jira/browse/JCR-3139
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, versioning
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>             Fix For: 2.2.10, 2.4
>
>
> In
>         for (Map.Entry<ItemId, InternalVersionItem> entry : versionItems.entrySet())
{
>             if (changes.has(entry.getKey())) {
>                 items.add(entry.getValue());
>             }
>         }
> we need to sync on versionItems, I believe.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message