[jboss-jira] [JBoss JIRA] (AS7-5718) Client deserialising objects using wrong classloader
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Oct 23 16:03:01 EDT 2012
[ https://issues.jboss.org/browse/AS7-5718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry resolved AS7-5718.
-----------------------------------
Resolution: Done
The test pull request was merged.
Thanks!
> Client deserialising objects using wrong classloader
> ----------------------------------------------------
>
> Key: AS7-5718
> URL: https://issues.jboss.org/browse/AS7-5718
> Project: Application Server 7
> Issue Type: Bug
> Components: Naming
> Affects Versions: 7.1.3.Final (EAP)
> Reporter: James Livingston
> Assignee: James Livingston
> Fix For: 7.2.0.Alpha1, 7.1.4.Final (EAP)
>
>
> The commands in org.jboss.naming.remote.protocol.v1.Protocol deserialize objects using the Unmarshaller from ReadUtil. That does not explicitly set a ClassResolver, so it defaults to using the TCCL. Since the handle*Message methods are run in a thread pool, the TCCL could be set to anything, so the commands need to ensure that the correct classloader (presumably the one calling the Context methods) is used.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list