[jboss-jira] [JBoss JIRA] Updated: (JBXB-202) Incosistent initialization of XSImplementation

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Mon May 25 07:16:56 EDT 2009


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

Thomas Diesler updated JBXB-202:
--------------------------------

        Fix Version/s:     (was: JBossXB-2.0.1.GA)
    Affects Version/s: JBossXB-2.0.1.GA


> Incosistent initialization of XSImplementation
> ----------------------------------------------
>
>                 Key: JBXB-202
>                 URL: https://jira.jboss.org/jira/browse/JBXB-202
>             Project: JBoss XML Binding (JBossXB)
>          Issue Type: Bug
>    Affects Versions: JBossXB-2.0.1.GA
>            Reporter: Thomas Diesler
>
> In Util there is 
>     private static XSImplementation xsImpl;
> which gets initialized lazily  in
>    public static XSModel loadSchema(String xsdURL, SchemaBindingResolver schemaResolver)
>    {
>       if(xsImpl == null)
>       {
>          xsImpl = getXSImplementation();
>       }
> All other loadSchema method do not reuse the static property
> Also, 
>     private static XSImplementation getXSImplementation()
> relies on the thread context classloader, which is not available in an OSGi environment.
> Could you please provide an JBossXB initialization entry point that is public and does not make an assumption on the availability of the TCCL

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

        



More information about the jboss-jira mailing list