[jboss-jira] [JBoss JIRA] Resolved: (JBXB-202) Inconsistent initialization of XSImplementation

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Wed Jul 27 07:47:29 EDT 2011


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

Thomas Diesler resolved JBXB-202.
---------------------------------

    Resolution: Out of Date


Out of Date

> Inconsistent initialization of XSImplementation
> -----------------------------------------------
>
>                 Key: JBXB-202
>                 URL: https://issues.jboss.org/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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list