public ClassLoader getContextClassLoader ( final Thread thread ) { return ( ClassLoader ) AccessController . doPrivileged ( new PrivilegedAction ( ) { public Object run ( ) { return thread . getContextClassLoader ( ) ; } } ) ; }
Retrieve the context classloader for the given thread