axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4873) JAX-WS: JAXBContext is improperly obtained from cache
Date Fri, 05 Nov 2010 13:11:42 GMT
JAX-WS: JAXBContext is improperly obtained from cache
-----------------------------------------------------

                 Key: AXIS2-4873
                 URL: https://issues.apache.org/jira/browse/AXIS2-4873
             Project: Axis2
          Issue Type: Bug
          Components: jaxws
            Reporter: Rich Scheuerle
            Assignee: Rich Scheuerle


I discovered two problems in the JAXBUtils code (which creates and pools the JAXBContext objects
for JAX-WS).

The first problem is that the JAXBContext cache is searched in the createJAXBContext method
with the original key even if "context/package loading" is disabled.

The second problem is that the JAXBContext is created using the Context ClassLoader even if
a specific ClassLoader was passed into the method.  (This normally will only cause a duplicate
construction call, but this flow should be removed).

I am currently testing these two small changes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message