You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2009/09/02 14:42:32 UTC

[jira] Created: (PIVOT-264) Concurrent modification check in ArrayList is too naive

Concurrent modification check in ArrayList is too naive
-------------------------------------------------------

                 Key: PIVOT-264
                 URL: https://issues.apache.org/jira/browse/PIVOT-264
             Project: Pivot
          Issue Type: Bug
          Components: core-collections
    Affects Versions: 1.3
            Reporter: Greg Brown
            Assignee: Greg Brown
             Fix For: 1.3.1


The current logic is not sufficient to detect item updates, only length changes. ArrayList needs to maintain a modificationCount variable that tracks all changes. This applies to LinkedList as well, which currently performs no concurrent modification checks.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-264) Concurrent modification check in ArrayList is too naive

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Volkert updated PIVOT-264:
-------------------------------

    Fix Version/s:     (was: 1.3.1)
                   1.3

> Concurrent modification check in ArrayList is too naive
> -------------------------------------------------------
>
>                 Key: PIVOT-264
>                 URL: https://issues.apache.org/jira/browse/PIVOT-264
>             Project: Pivot
>          Issue Type: Bug
>          Components: core-collections
>    Affects Versions: 1.3
>            Reporter: Greg Brown
>            Assignee: Greg Brown
>             Fix For: 1.3
>
>
> The current logic is not sufficient to detect item updates, only length changes. ArrayList needs to maintain a modificationCount variable that tracks all changes. This applies to LinkedList as well, which currently performs no concurrent modification checks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PIVOT-264) Concurrent modification check in ArrayList is too naive

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown resolved PIVOT-264.
------------------------------

    Resolution: Fixed

> Concurrent modification check in ArrayList is too naive
> -------------------------------------------------------
>
>                 Key: PIVOT-264
>                 URL: https://issues.apache.org/jira/browse/PIVOT-264
>             Project: Pivot
>          Issue Type: Bug
>          Components: core-collections
>    Affects Versions: 1.3
>            Reporter: Greg Brown
>            Assignee: Greg Brown
>             Fix For: 1.3.1
>
>
> The current logic is not sufficient to detect item updates, only length changes. ArrayList needs to maintain a modificationCount variable that tracks all changes. This applies to LinkedList as well, which currently performs no concurrent modification checks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.