[ 
https://issues.apache.org/jira/browse/CXF-8042?focusedWorklogId=243059&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-243059
 ]

ASF GitHub Bot logged work on CXF-8042:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/May/19 02:34
            Start Date: 16/May/19 02:34
    Worklog Time Spent: 10m 
      Work Description: jimma commented on pull request #554: [CXF-8042]:Fix 
doPrivileged block doesn't totally work in ProxyClassLoader
URL: https://github.com/apache/cxf/pull/554
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 243059)
    Time Spent: 20m  (was: 10m)

> doPrivileged block doesn't totally work in ProxyClassLoaderCache
> ----------------------------------------------------------------
>
>                 Key: CXF-8042
>                 URL: https://issues.apache.org/jira/browse/CXF-8042
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.2.9, 3.3.2
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>            Priority: Major
>             Fix For: 3.3.3, 3.2.10
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> ProxyClassLoaderCache logs the classloader with  
> "currentInterface.getClassLoader()". This should use 
> getClassLoader(currentInterface) under a doPrivileged block.
> {code:java}
>     private ClassLoader createProxyClassLoader(Class<?> proxyInterface) {
>        ....
>         for (Class<?> currentInterface : PROXY_INTERFACES.get()) {
>             ret.addLoader(getClassLoader(currentInterface));
>             LOG.log(Level.FINE, "interface for new created ProxyClassLoader 
> is "
>                 + currentInterface.getName());
>             LOG.log(Level.FINE, "interface's classloader for new created 
> ProxyClassLoader is "
>                 + currentInterface.getClassLoader());
>         }
>         return ret;
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to