Description
ProxyClassLoaderCache logs the classloader with "currentInterface.getClassLoader()". This should use getClassLoader(currentInterface) under a doPrivileged block.
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; }
Attachments
Issue Links
- links to