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

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Mon Feb 4 17:10:03 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1732?page=comments#action_12398148 ] 
            
Snjezana Peco commented on JBIDE-1732:
--------------------------------------

ClassloaderUtil.init tries to solve this issue by early loading plugins. However, this issue can occur in other places (calling the createPreferenceModel(Properties p) method).  The best way is to call the xerces code synchronously. 

> 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