Remove DynamicImport from jaxb databinding
------------------------------------------

                 Key: CXF-4097
                 URL: https://issues.apache.org/jira/browse/CXF-4097
             Project: CXF
          Issue Type: Improvement
          Components: JAXB Databinding
    Affects Versions: 2.5.2
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: 2.6


Currently the JAXB databinding does a dynamic import of com.sun.xml.bind.api 
and com.sun.xml.internal.bind.api. 
The only reference to it I found was in 
org.apache.cxf.jaxb.JAXBContextInitializer.createTypeReference. I think this 
can be replaced by a simple new for the class.

Does anyone know why we do the dynamic import? If it is needed I think we 
should document it well as it is not obvious to understand.
Are there any test cases I can do to check if my change works?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to