Jim Ma created CXF-8042:
---------------------------
Summary: 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, 3.2.9
Reporter: Jim Ma
Assignee: Jim Ma
Fix For: 3.3.3, 3.2.10
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)