You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/03/09 13:42:38 UTC

[jira] [Resolved] (SLING-4485) JcrSystemUserValidator uses a non synchronized set

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

Carsten Ziegeler resolved SLING-4485.
-------------------------------------
    Resolution: Fixed

Changed the HashSet to a CopyOnWriteArraySet - which should be fine as we don't expect that many different users, but probably way more reads

> JcrSystemUserValidator uses a non synchronized set
> --------------------------------------------------
>
>                 Key: SLING-4485
>                 URL: https://issues.apache.org/jira/browse/SLING-4485
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Resource 2.5.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.5.2
>
>
> The set used in JcrSystemUserValidator is a simply HashSet which might be modified/read concurrently.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)