[ https://issues.apache.org/jira/browse/CXF-8042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841210#comment-16841210 ]
Jim Ma commented on CXF-8042: ----------------------------- [~coheigea] You are right. These lines code doesn't exist in 3.2.x. I've updated the fix version. Thanks. > 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.3.2 > Reporter: Jim Ma > Assignee: Jim Ma > Priority: Major > Fix For: 3.3.3 > > 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)