[ 
https://issues.apache.org/jira/browse/AXIS2-4873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rich Scheuerle reopened AXIS2-4873:
-----------------------------------


I found another small bug in JAXBUtils.  The ClassFinder code is being 
incorrectly short-circuited.  I am working on a fix now.

> 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
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to