[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1732) Threading problem in the PreferenceModelUtilities class

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed Feb 6 07:58:03 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1732?page=comments#action_12398435 ] 
            
Viacheslav Kabanovich commented on JBIDE-1732:
----------------------------------------------

I do not think that method createPreferenceModel in PreferenceModelUtilities needs further synchronizing. 
It returns new instance of XModel at each request. The bottleneck is method XModelMetaDataImpl.getInstance() which is now properly synchronized.

> Threading problem in the PreferenceModelUtilities class 
> --------------------------------------------------------
>
>                 Key: JBIDE-1732
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1732
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 2.0.0.GA
>            Reporter: Snjezana Peco
>         Assigned To: Viacheslav Kabanovich
>            Priority: Minor
>
> Xerces isn't thread-safe.
> The solution is to make synchronized all the methods in the PreferenceModelUtilities class. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list