[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-9546) Reorganize synchronization in CDIProject
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Tue Aug 16 13:48:17 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Viacheslav Kabanovich resolved JBIDE-9546.
------------------------------------------
Resolution: Done
> 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.M3
>
>
> 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