private ReflectionHelper() {
}
public static ClassLoader getClassLoaderFromContext() {
ClassLoader loader;
GetClassLoader action = GetClassLoader.fromContext();
if ( System.getSecurityManager() != null ) {
loader = AccessController.doPrivileged( action );
}
else {
loader = action.run();
}
return loader;
}