[jboss-jira] [JBoss JIRA] Commented: (JASSIST-75) SerializedProxy should use TCCL in readResolve

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Thu Mar 26 08:22:37 EDT 2009


    [ https://jira.jboss.org/jira/browse/JASSIST-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12459182#action_12459182 ] 

Shigeru Chiba commented on JASSIST-75:
--------------------------------------

I applied the patch to the source tree.

> SerializedProxy should use TCCL in readResolve
> ----------------------------------------------
>
>                 Key: JASSIST-75
>                 URL: https://jira.jboss.org/jira/browse/JASSIST-75
>             Project: Javassist
>          Issue Type: Bug
>            Reporter: Ales Justin
>            Assignee: Shigeru Chiba
>             Fix For: 3.10.0.GA
>
>         Attachments: TCCL_usage_.patch
>
>
> When loading classes in SerializedProxy::readResolve
> we should use TCCL instaed of caller CL.
> e.g.
> ClassLoader cl = Thread.currentThread().getContextClassLoader();
> cl.loadClass(name);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list