[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9546) Reorganize synchronization in CDIProject

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Aug 15 15:32:02 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-9546:
----------------------------------

         Assignee: Viacheslav Kabanovich
    Fix Version/s: 3.3.0.M4
                       (was: 3.3.0.M3)
         Priority: Major
      Component/s: cdi
                       (was: cdi extensions)


> Reorganize synchronization in CDIProject
> ----------------------------------------
>
>                 Key: JBIDE-9546
>                 URL: https://issues.jboss.org/browse/JBIDE-9546
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: cdi
>    Affects Versions: 3.3.0.M3
>            Reporter: Fisheye JIRA Integration
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.M4
>
>
> Created by Alexey Kazakov from Denis Golovin's Crucible comment on CDIProject.java lines 1174-1194 https://source.jboss.org/cru/REV-JBIDE-8#c87 :
> It looks wrong, it rather should be in one synchronized(this) block
> {code}                synchronized (beansByPath) {
>                         beansByPath.clear();
>                 }
>                 synchronized (beansByName) {
>                         beansByName.clear();
>                 }
>                 synchronized (namedBeans) {
>                         namedBeans.clear();
>                 }
>                 synchronized (alternatives) {
>                         alternatives.clear();
>                 }
>                 synchronized (decorators) {
>                         decorators.clear();
>                 }
>                 synchronized (interceptors) {
>                         interceptors.clear();
>                 }
>                 synchronized (allBeans) {
>                         allBeans.clear();
>                 }{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list