[ https://issues.apache.org/jira/browse/CXF-8042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Ma resolved CXF-8042. ------------------------- Resolution: Fixed > 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)