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] Reopened: (AXIS2-4873) JAX-WS: JAXBContext is improperly obtained from cache
Date Sat, 06 Nov 2010 13:17:41 GMT

     [ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message